]>
Commit | Line | Data |
---|---|---|
cbae498b EB |
1 | 2009-11-24 Eric Botcazou <ebotcazou@adacore.com> |
2 | ||
3 | * exp_util.adb (Make_CW_Equivalent_Type): Do not mark the type as | |
4 | frozen for targets that do not require front-end layout. | |
5 | (New_Class_Wide_Subtype): Always reset the freezing status to False. | |
6 | * exp_ch8.adb: Do not 'with' Targparm. | |
7 | (Expand_N_Object_Renaming_Declaration): Always freeze a class-wide | |
8 | subtype that has been built from the expression. | |
9 | * exp_intr.adb (Expand_Unc_Deallocation): If the designated type is | |
10 | class wide, freeze the implicit type that has been built from the | |
11 | expression at the dereference point. | |
12 | * freeze.adb (Freeze_Entity): Adjust comment. | |
13 | * gcc-interface/decl.c (Gigi_Equivalent_Type) <E_Class_Wide_Type>: | |
14 | Remove useless test. | |
15 | * gcc-interface/trans.c (process_freeze_entity): Do not special-case | |
16 | class-wide subtypes. | |
17 | ||
18 | * s-osinte-aix.adb (clock_gettime): Fix comment. | |
19 | * s-osinte-darwin.adb (clock_gettime): Likewise. | |
20 | ||
44059479 EB |
21 | 2009-11-23 Eric Botcazou <ebotcazou@adacore.com> |
22 | ||
23 | * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Variable>: Pass the list | |
24 | of attributes when building the corresponding variable of a constant. | |
25 | * gcc-interface/utils.c (create_var_decl_1): Do not process attributes | |
26 | for constants. | |
27 | ||
bf925694 EB |
28 | 2009-11-23 Laurent GUERBY <laurent@guerby.net> |
29 | Eric Botcazou <ebotcazou@adacore.com> | |
a7194bfe EB |
30 | |
31 | PR ada/42153 | |
bf925694 EB |
32 | * s-osinte-linux.ads (struct_timeval): Delete. |
33 | * s-osinte-hpux.ads (struct_timeval, To_Duration, To_Timeval): Delete. | |
34 | * s-osinte-kfreebsd-gnu.ads: Likewise. | |
35 | * s-osinte-rtems.ads: Likewise. | |
36 | * s-osinte-aix.ads: Likewise. | |
37 | * s-osinte-hpux-dce.ads: Likewise. | |
38 | * s-osinte-darwin.ads: Likewise. | |
39 | * s-osinte-solaris-posix.ads: Likewise. | |
40 | * s-osinte-irix.ads: Likewise. | |
41 | * s-osinte-solaris.ads: Likewise. | |
42 | * s-osinte-hpux-dce.adb (To_Duration, To_Timeval): Delete. | |
43 | * s-osinte-irix.adb: Likewise. | |
44 | * s-osinte-solaris.adb: Likewise. | |
45 | * s-osinte-rtems.adb: Likewise. Minor reformatting. | |
46 | * s-osinte-aix.adb (To_Duration, To_Timeval): Delete. | |
47 | (clock_gettime): Use cal.c's timeval_to_duration. | |
48 | * s-osinte-darwin.adb: Likewise. | |
a7194bfe | 49 | |
75d05d2a RO |
50 | 2009-11-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
51 | ||
52 | * adaint.h: Assume large file support on IRIX only if _LFAPI. | |
53 | ||
bf925694 EB |
54 | 2009-11-21 Laurent GUERBY <laurent@guerby.net> |
55 | Eric Botcazou <ebotcazou@adacore.com> | |
435697aa | 56 | |
bf925694 EB |
57 | * s-osinte-linux.ads (struct_timeval, To_Duration, To_Timeval, |
58 | gettimeofday): Delete. | |
59 | * s-osinte-posix.adb (To_Duration, To_Timeval): Delete. | |
60 | * s-osprim-posix.adb (struct_timezone, struct_timeval, gettimeofday): | |
61 | Delete. | |
62 | (Clock): Use cal.c's timeval_to_duration. | |
63 | * s-taprop-linux.adb (Monotonic_Clock): Likewise. | |
435697aa | 64 | |
3a2f6fac EB |
65 | 2009-11-12 Eric Botcazou <ebotcazou@adacore.com> |
66 | Laurent GUERBY <laurent@guerby.net> | |
67 | ||
68 | * init.c (GNU/Linux Section): Enable for all architectures. | |
69 | ||
c587836d EB |
70 | 2009-11-10 Eric Botcazou <ebotcazou@adacore.com> |
71 | ||
72 | PR ada/20548 | |
73 | * system-linux-alpha.ads (Stack_Check_Probes): Set to true. | |
74 | * system-linux-hppa.ads (Stack_Check_Probes): Likewise. | |
75 | * system-linux-sparc.ads (Stack_Check_Probes): Likewise. | |
76 | * system-linux-sparcv9.ads (Stack_Check_Probes): Likewise. | |
77 | ||
f1faf79d EB |
78 | 2009-11-10 Eric Botcazou <ebotcazou@adacore.com> |
79 | ||
80 | * system-linux-alpha.ads (AAMP, Compiler_System_Version, OpenVMS, | |
81 | Front_End_ZCX_Support, High_Integrity_Mode, Long_Shifts_Inlined): | |
82 | Delete. | |
83 | (Stack_Check_Limits, Always_Compatible_Rep): New. | |
84 | * system-linux-mips.ads (AAMP, Compiler_System_Version, OpenVMS, | |
85 | Front_End_ZCX_Support, High_Integrity_Mode, Long_Shifts_Inlined): | |
86 | Delete. | |
87 | (Stack_Check_Limits, Always_Compatible_Rep): New. | |
88 | * system-linux-mips64el.ads (AAMP, Compiler_System_Version, OpenVMS, | |
89 | Functions_Return_By_DSP, Front_End_ZCX_Support, High_Integrity_Mode, | |
90 | Long_Shifts_Inlined): Delete. | |
91 | (Stack_Check_Limits, Always_Compatible_Rep): New. | |
92 | * system-linux-mipsel.ads (AAMP, Compiler_System_Version, OpenVMS, | |
93 | Front_End_ZCX_Support, High_Integrity_Mode, Long_Shifts_Inlined): | |
94 | Delete. | |
95 | (Stack_Check_Limits, Always_Compatible_Rep): New. | |
96 | * system-linux-s390.ads (AAMP, Compiler_System_Version, OpenVMS, | |
97 | Front_End_ZCX_Support, High_Integrity_Mode, Long_Shifts_Inlined): | |
98 | Delete. | |
99 | (Stack_Check_Limits, Always_Compatible_Rep): New. | |
100 | * system-linux-s390x.ads (AAMP, Compiler_System_Version, OpenVMS, | |
101 | Front_End_ZCX_Support, High_Integrity_Mode, Long_Shifts_Inlined): | |
102 | Delete. | |
103 | (Stack_Check_Limits, Always_Compatible_Rep): New. | |
104 | * system-linux-sh4.ads (Stack_Check_Limits, Always_Compatible_Rep): | |
105 | New. | |
106 | * system-linux-sparc.ads (AAMP, Compiler_System_Version, OpenVMS, | |
107 | Front_End_ZCX_Support): Delete. | |
108 | (Stack_Check_Limits, Always_Compatible_Rep): New. | |
109 | * system-linux-sparcv9.ads (AAMP, Compiler_System_Version, OpenVMS, | |
110 | Front_End_ZCX_Support, High_Integrity_Mode, Long_Shifts_Inlined): | |
111 | Delete. | |
112 | (Stack_Check_Limits, Always_Compatible_Rep): New. | |
113 | * system-rtems.ads (OpenVMS): Delete. | |
114 | (Stack_Check_Limits, Always_Compatible_Rep): New. | |
115 | ||
d770e88d EB |
116 | 2009-11-08 Eric Botcazou <ebotcazou@adacore.com> |
117 | ||
118 | * gcc-interface/decl.c (make_packable_type): Fix oversight. | |
119 | (gnat_to_gnu_field): Do not attempt to change the form of the type | |
120 | if the field requires strict alignment. Always change the form of | |
121 | the type if the specified size is smaller than its size. | |
122 | ||
2799d18c EB |
123 | 2009-11-05 Eric Botcazou <ebotcazou@adacore.com> |
124 | ||
125 | * gcc-interface/utils.c (gnat_type_for_mode): Handle vector modes. | |
126 | ||
22d12fc2 EB |
127 | 2009-11-05 Eric Botcazou <ebotcazou@adacore.com> |
128 | ||
129 | * gcc-interface/trans.c (lvalue_required_p) <N_Unchecked_Conversion>: | |
130 | New case. | |
131 | ||
62f9f3ce EB |
132 | 2009-10-30 Eric Botcazou <ebotcazou@adacore.com> |
133 | ||
134 | * gcc-interface/utils.c (MAX_FIXED_MODE_SIZE): Delete. | |
135 | (create_field_decl): Update description. In a packed record, round | |
136 | the size up to a byte boundary only if the field's type has BLKmode. | |
137 | * gcc-interface/gigi.h (create_field_decl): Update description. | |
138 | ||
6528a7ed AC |
139 | 2009-10-30 Emmanuel Briot <briot@adacore.com> |
140 | ||
141 | * make.adb (Start_Compile_If_Possible): Compute location of resulting | |
142 | ALI file in this procedure instead of after the compilation itself, | |
143 | since the current directory might have changed in between when using | |
144 | -j<n>. | |
145 | ||
146 | * osint.ads: Addded missing alignment clause. | |
147 | ||
148 | * adaint.c, adaint.h, osint.adb (__gnat_reset_attributes, | |
149 | __gnat_size_of_file_attributes): Rename reset_attributes and | |
150 | size_of_file_attributes. | |
151 | ||
152 | 2009-10-30 Javier Miranda <miranda@adacore.com> | |
153 | ||
154 | * sem_scil.adb (Adjust_SCIL_Node): Add missing management of sequences | |
155 | of statements when searching for SCIL nodes. | |
156 | ||
157 | 2009-10-30 Tristan Gingold <gingold@adacore.com> | |
158 | ||
159 | * gnatlink.adb, link.c: By default use shared libgcc on darwin. | |
160 | ||
cafdbd2e AC |
161 | 2009-10-30 Emmanuel Briot <briot@adacore.com> |
162 | ||
163 | * make.adb, osint.adb (Add_Lib_Search_Dir): Do not add if dir is | |
164 | already in the list. | |
165 | This saves system calls when looking for ALI files | |
166 | (Scan_Make_Args): The parameter to gnatmake's -D is now converted to an | |
167 | absolute PATH (so that the above improvement properly occurs if both | |
168 | -D<dir> and -aO<dir> are specified). | |
169 | ||
170 | 2009-10-30 Thomas Quinot <quinot@adacore.com> | |
171 | ||
172 | * a-direct.adb: Minor reformatting | |
173 | ||
48263c9a EB |
174 | 2009-10-30 Emmanuel Briot <briot@adacore.com> |
175 | ||
176 | * make.adb, adaint.c, adaint.h, osint.adb, osint.ads, bcheck.adb | |
177 | (*_attr): new subprograms. | |
178 | (File_Length, File_Time_Stamp, Is_Writable_File): new subprograms | |
179 | (Read_Library_Info_From_Full, Full_Library_Info_Name, | |
180 | Full_Source_Name): Now benefit from a previous cache of the file | |
181 | attributes, to further save on system calls. | |
182 | (Smart_Find_File): now also cache the file attributes. This makes the | |
183 | package File_Stamp_Hash_Table useless, and it was removed. | |
184 | (Compile_Sources): create subprograms for the various steps of the main | |
185 | loop, for readibility and to avoid sharing variables between the | |
186 | various steps. | |
187 | ||
b11cb5fd EB |
188 | 2009-10-30 Emmanuel Briot <briot@adacore.com> |
189 | ||
190 | * make.adb, osint.adb, osint.ads (Library_File_Stamp): Removed, since | |
191 | unused. | |
192 | (Read_Library_Info_From_Full): New subprogram. | |
193 | ||
5fd3fd79 AC |
194 | 2009-10-30 Robert Dewar <dewar@adacore.com> |
195 | ||
196 | * a-tideio.adb: Minor reformatting | |
197 | * a-wtdeio.adb, a-ztdeio.adb: Update comments, code clean up. | |
198 | ||
199 | * a-reatim.adb, a-tideau.adb, a-ngelfu.adb, a-ztdeau.adb, a-ngrear.adb, | |
200 | a-wtedit.adb, a-ststio.adb, a-ztedit.adb: Minor code reorganization | |
201 | (use conditional expressions). | |
202 | ||
203 | 2009-10-30 Ed Schonberg <schonberg@adacore.com> | |
204 | ||
205 | * gnat_ugn.texi: Additional info on gnatw.i and gnatw.I | |
206 | ||
207 | * sem_case.adb: Improved error message. | |
208 | ||
209 | 2009-10-30 Emmanuel Briot <briot@adacore.com> | |
210 | ||
211 | * a-direct.adb, gnatcmd.adb, gnatname.adb, makeutl.adb, opt.ads, | |
212 | osint.adb, prj-ext.adb, switch-m.adb (Follow_Links_For_Dirs): Now | |
213 | defaults to False, and controlled by -eL. | |
214 | * a-direct.adb: Add comments. | |
215 | * osint.adb (File_Stamp): Avoid unneeded duplicate system call | |
216 | ||
4b2d2c13 AC |
217 | 2009-10-30 Robert Dewar <dewar@adacore.com> |
218 | ||
219 | * sem_res.adb (Resolve_Type_Conversion): Avoid false positive when | |
220 | converting non-static subtype to "identical" static subtype. | |
221 | ||
222 | 2009-10-30 Ed Schonberg <schonberg@adacore.com> | |
223 | ||
224 | * usage.adb: Add -gnatw.i switch. | |
225 | ||
226 | 2009-10-30 Vincent Celier <celier@adacore.com> | |
227 | ||
228 | * xsnamest.adb: Update comments with regards to the template files | |
229 | snames.*.tmpl | |
230 | ||
110fcc77 AC |
231 | 2009-10-30 Bob Duff <duff@adacore.com> |
232 | ||
233 | * s-fileio.adb (Errno_Message): Suppress VMS-specific warning. | |
234 | ||
235 | 2009-10-30 Ed Schonberg <schonberg@adacore.com> | |
236 | ||
237 | * sem_case.adb (Check_Choices): Add explanatory message when there are | |
238 | missing alternatives when the required range of alternatives is given | |
239 | by the base type of the case expression or discriminant in a variant | |
240 | part. | |
241 | ||
242 | * opt.ads: New flag Warn_On_Overlap, to enable warnings on potentially | |
243 | dangerous overlap between actuals in a call, activated by -gnatw.i | |
244 | * sem_warn.adb (Set_Dot_Warning_Switch): set flag. | |
245 | (Warn_On_Overlapping_Actuals): use new flag. | |
246 | ||
247 | * gnat_ugn.texi: Document -gnatw.i, warning on overlapping actuals | |
248 | ||
249 | 2009-10-30 Robert Dewar <dewar@adacore.com> | |
250 | ||
251 | * exp_aggr.adb, exp_ch9.adb: Minor reformatting | |
252 | ||
ff67c0a5 EB |
253 | 2009-10-29 Eric Botcazou <ebotcazou@adacore.com> |
254 | ||
255 | * gcc-interface/decl.c (make_type_from_size) <INTEGER_TYPE>: Do not | |
256 | create integer types with precision 0. | |
257 | ||
d8e94f79 EB |
258 | 2009-10-29 Eric Botcazou <ebotcazou@adacore.com> |
259 | ||
a684a364 | 260 | PR ada/41870 |
d8e94f79 EB |
261 | * gcc-interface/decl.c (array_type_has_nonaliased_component): Swap |
262 | parameters and rewrite comments. For a derived type, return the | |
263 | setting of its parent type. | |
264 | (gnat_to_gnu_entity): Do an alias set copy for derived types if they | |
265 | are composite. Adjust calls to above function. | |
266 | ||
6b1cce3a EB |
267 | 2009-10-29 Eric Botcazou <ebotcazou@adacore.com> |
268 | ||
269 | * gcc-interface/trans.c (Attribute_to_gnu) <Attr_Object_Size>: Do not | |
270 | return the RM size for padded types. | |
271 | ||
eb444402 AC |
272 | 2009-10-28 Robert Dewar <dewar@adacore.com> |
273 | ||
274 | * sem_type.adb: Minor reformatting | |
275 | ||
276 | 2009-10-28 Arnaud Charlet <charlet@adacore.com> | |
277 | ||
278 | * exp_ch9.adb (Build_Task_Proc_Specification): Generate a different | |
279 | suffix for task type bodies. | |
280 | ||
281 | 2009-10-28 Ed Schonberg <schonberg@adacore.com> | |
282 | ||
283 | * exp_aggr.adb (Convert_Aggr_In_Allocator): Do not look for a | |
284 | finalization list if the designated type requires no control actions, | |
285 | to prevent a useless semantic dependence on ada.tags. | |
286 | ||
68523ddb AC |
287 | 2009-10-28 Bob Duff <duff@adacore.com> |
288 | ||
289 | * s-fileio.adb: Give more information in exception messages. | |
290 | ||
291 | 2009-10-28 Robert Dewar <dewar@adacore.com> | |
292 | ||
293 | * gnat_ugn.texi: Document new -gnatyt requirement for space after right | |
294 | paren if next token starts with digit or letter. | |
295 | * styleg.adb (Check_Right_Paren): New rule for space after if next | |
296 | character is a letter or digit. | |
297 | ||
66a63e0d AC |
298 | 2009-10-28 Thomas Quinot <quinot@adacore.com> |
299 | ||
300 | * s-crtl.ads (System.CRTL.strerror): New function. | |
301 | ||
302 | 2009-10-28 Ed Schonberg <schonberg@adacore.com> | |
303 | ||
304 | * sem_type.adb: Add guard to recover some type errors. | |
305 | ||
fc475a08 AC |
306 | 2009-10-28 Vincent Celier <celier@adacore.com> |
307 | ||
308 | * prj-nmsc.adb (Add_To_Or_Remove_From_List): New name of procedure | |
309 | Add_If_Not_In_List to account to the fact that a directory may be | |
310 | removed from the list. Only remove directory if Removed is True. | |
311 | ||
312 | 2009-10-28 Gary Dismukes <dismukes@adacore.com> | |
313 | ||
314 | * a-textio.ads, a-textio.ads: Put back function EOF_Char in private | |
315 | part. Put back body of function EOF_Char. | |
316 | * a-tienau.adb: Remove with of Interfaces.C_Streams and change EOF back | |
317 | to EOF_Char. | |
318 | ||
319 | 2009-10-28 Emmanuel Briot <briot@adacore.com> | |
320 | ||
321 | * prj-tree.adb (Free): Fix memory leak. | |
322 | ||
323 | 2009-10-28 Thomas Quinot <quinot@adacore.com> | |
324 | ||
325 | * s-fileio.adb: Minor reformatting | |
326 | ||
4d8f8ffe AC |
327 | 2009-10-28 Arnaud Charlet <charlet@adacore.com> |
328 | ||
329 | * gcc-interface/Make-lang.in: Update dependencies. | |
330 | ||
69ba91ed AC |
331 | 2009-10-28 Robert Dewar <dewar@adacore.com> |
332 | ||
333 | * exp_attr.adb, exp_ch9.adb, prj-nmsc.adb, tbuild.adb, ali.adb, | |
334 | types.ads: Minor reformatting | |
335 | ||
336 | 2009-10-28 Tristan Gingold <gingold@adacore.com> | |
337 | ||
338 | * init.c: Fix __gnat_error_handler for Darwin10 (Snow Leopard) | |
339 | ||
5f3f175d AC |
340 | 2009-10-28 Thomas Quinot <quinot@adacore.com> |
341 | ||
342 | * exp_ch4.adb (Expand_N_Type_Conversion): Perform Integer promotion for | |
343 | the operand of the unary minus and ABS operators. | |
344 | ||
345 | * sem_type.adb (Covers): A concurrent type and its corresponding record | |
346 | type are compatible. | |
347 | * exp_attr.adb (Expand_N_Attribute_Reference): Do not rewrite a 'Access | |
348 | attribute reference for the current instance of a protected type while | |
349 | analyzing an access discriminant constraint in a component definition. | |
350 | Such a reference is handled in the corresponding record's init proc, | |
351 | while initializing the constrained component. | |
352 | * exp_ch9.adb (Expand_N_Protected_Type_Declaration): When creating the | |
353 | corresponding record type, propagate components' | |
354 | Has_Per_Object_Constraint flag. | |
355 | * exp_ch3.adb (Build_Init_Procedure.Build_Init_Statements): | |
356 | For a concurrent type, set up concurrent aspects before initializing | |
357 | components with a per object constrain, because they may be controlled, | |
358 | and their initialization may call entries or protected subprograms of | |
359 | the enclosing concurrent object. | |
360 | ||
361 | 2009-10-28 Emmanuel Briot <briot@adacore.com> | |
362 | ||
363 | * prj-nmsc.adb (Add_If_Not_In_List): New subprogram, for better sharing | |
364 | of code. | |
365 | (Find_Source_Dirs): resolve links if Opt.Follow_Links_For_Dirs when | |
366 | processing the directories specified explicitly in the project file. | |
367 | ||
b87971f3 AC |
368 | 2009-10-28 Robert Dewar <dewar@adacore.com> |
369 | ||
370 | * a-ztexio.adb, a-ztexio.ads, a-witeio.ads, a-witeio.adb, | |
371 | a-textio.ads, a-textio.adb: Reorganize (moving specs from private part | |
372 | to body). | |
373 | (Initialize_Standard_Files): New procedure. | |
374 | * a-tienau.adb: Minor change to make EOF directly visible | |
375 | * a-tirsfi.ads, a-wrstfi.adb, a-wrstfi.ads, a-zrstfi.adb, | |
376 | a-zrstfi.ads, a-tirsfi.adb: New unit, initial version. | |
377 | * gnat_rm.texi: Add documentation for | |
378 | Ada.[Wide_[Wide_]]Text_IO.Reset_Standard_Files. | |
379 | * Makefile.rtl: Add entries for | |
380 | Ada.[Wide_[Wide_]]Text_IO.Reset_Standard_Files | |
381 | ||
382 | 2009-10-28 Thomas Quinot <quinot@adacore.com> | |
383 | ||
384 | * exp_ch9.ads: Minor reformatting | |
385 | * sem_ch3.adb: Minor reformatting | |
386 | * sem_aggr.adb: Minor reformatting. | |
387 | * sem_attr.adb: Minor reformatting | |
388 | * tbuild.adb, tbuild.ads, par-ch4.adb, exp_ch4.adb (Tbuild.New_Op_Node): | |
389 | New subprogram. | |
390 | Minor code reorganization/factoring. | |
391 | ||
73d28034 EB |
392 | 2009-10-27 Eric Botcazou <ebotcazou@adacore.com> |
393 | ||
394 | * gcc-interface/decl.c (purpose_member_field): New static function. | |
395 | (annotate_rep): Use it instead of purpose_member. | |
396 | ||
df66d165 EB |
397 | 2009-10-27 Eric Botcazou <ebotcazou@adacore.com> |
398 | ||
399 | * raise-gcc (db_region_for): Use _Unwind_GetIPInfo instead of | |
400 | _Unwind_GetIP if HAVE_GETIPINFO is defined. | |
401 | (db_action_for): Likewise. | |
402 | ||
65a07a30 RD |
403 | 2009-10-27 Robert Dewar <dewar@adacore.com> |
404 | ||
405 | * s-fileio.adb, s-fileio.ads, sem_util.adb, sem_warn.adb, | |
406 | sem_warn.ads: Minor reformatting | |
407 | ||
27cdc66a RD |
408 | 2009-10-27 Robert Dewar <dewar@adacore.com> |
409 | ||
410 | * sem_warn.adb, sem_util.adb, sem_util.ads: Minor reformatting. Add | |
411 | comments. | |
412 | ||
76b84bf0 AC |
413 | 2009-10-27 Robert Dewar <dewar@adacore.com> |
414 | ||
415 | * s-os_lib.ads, s-os_lib.adb, prj-err.adb, makeutl.adb: Minor | |
416 | reformatting. | |
417 | ||
418 | 2009-10-27 Ed Schonberg <schonberg@adacore.com> | |
419 | ||
420 | * sem.util.ads, sem_util.adb (Denotes_Same_Object, | |
421 | Denotes_Same_Prefix): New functions to detect overlap between actuals | |
422 | that are not by-copy in a call, when one of them is in-out. | |
423 | * sem_warn.ads, sem_warn.adb (Warn_On_Overlapping_Actuals): New | |
424 | procedure, called on a subprogram call to warn when an in-out actual | |
425 | that is not by-copy overlaps with another actual, thus leadind to | |
426 | potentially dangerous aliasing in the body of the called subprogram. | |
427 | Currently the warning is under control of the -gnatX switch. | |
428 | * sem_res.adb (resolve_call): call Warn_On_Overlapping_Actuals. | |
429 | ||
0c0c6f49 AC |
430 | 2009-10-27 Thomas Quinot <quinot@adacore.com> |
431 | ||
432 | * sem_ch12.adb (Install_Formal_Packages): Do not omit installation of | |
433 | visible entities when the formal package doesn't have a box. | |
434 | ||
435 | * checks.adb: Minor reformatting. | |
436 | ||
437 | 2009-10-27 Vincent Celier <celier@adacore.com> | |
438 | ||
439 | * prj-part.adb (Parse): Catch exception Types.Unrecoverable_Error and | |
440 | set Project to Empty_Node. | |
441 | ||
442 | 2009-10-27 Robert Dewar <dewar@adacore.com> | |
443 | ||
444 | * gnatbind.adb: Minor reformatting | |
445 | ||
477b99b6 AC |
446 | 2009-10-27 Arnaud Charlet <charlet@adacore.com> |
447 | ||
448 | * exp_aggr.adb: Fix comment. | |
449 | ||
450 | 2009-10-27 Emmanuel Briot <briot@adacore.com> | |
451 | ||
452 | * prj-err.adb (Error_Msg): take into account continuation lines when | |
453 | computing whether we have a warning. | |
454 | ||
455 | 2009-10-27 Vasiliy Fofanov <fofanov@adacore.com> | |
456 | ||
457 | * make.adb, s-os_lib.adb, s-os_lib.ads (Create_Temp_Output_File): New | |
458 | routine that is designed to create temp file descriptor specifically | |
459 | for redirecting an output stream. | |
460 | ||
e99c3ccc EB |
461 | 2009-10-24 Eric Botcazou <ebotcazou@adacore.com> |
462 | ||
463 | * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Record_Type>: When | |
464 | processing the parent type, build the COMPONENT_REF for a discriminant | |
465 | with the proper type. | |
466 | ||
2f18d9af EB |
467 | 2009-10-24 Eric Botcazou <ebotcazou@adacore.com> |
468 | ||
469 | * init.c (__gnat_adjust_context_for_raise): Mention _Unwind_GetIPInfo. | |
470 | * gcc-interface/Makefile.in (GNATLIBCFLAGS_FOR_C): Add HAVE_GETIPINFO. | |
471 | Pass GNATLIBCFLAGS_FOR_C to recursive invocations. | |
472 | ||
3c28a5f4 EB |
473 | 2009-10-21 Eric Botcazou <ebotcazou@adacore.com> |
474 | ||
475 | * gcc-interfaces/decl.c (build_subst_list): Convert the expression of | |
476 | the constraint to the type of the discriminant. | |
477 | ||
9a1c0fd9 EB |
478 | 2009-10-21 Eric Botcazou <ebotcazou@adacore.com> |
479 | ||
480 | * gcc-interfaces/decl.c (gnat_to_gnu_entity): Do not create a new | |
481 | TYPE_DECL when a type is padded if there is already one and reset | |
482 | TYPE_STUB_DECL in this case. | |
483 | ||
cfbb663c EB |
484 | 2009-10-21 Eric Botcazou <ebotcazou@adacore.com> |
485 | ||
486 | * gcc-interfaces/utils.c (create_subprog_decl): Do not redefine | |
487 | main_identifier_node. | |
488 | ||
431cfac1 EB |
489 | 2009-10-17 Eric Botcazou <ebotcazou@adacore.com> |
490 | ||
491 | * gcc-interface/utils.c (convert): When converting to a padded type | |
492 | with an inner type of self-referential size, pad the expression before | |
493 | doing the unchecked conversion. | |
494 | ||
3f273c8a EB |
495 | 2009-10-17 Eric Botcazou <ebotcazou@adacore.com> |
496 | ||
d622b427 | 497 | * gcc-interface/utils2.c (build_binary_op) <ARRAY_RANGE_REF>: Make |
3f273c8a EB |
498 | sure the element type is consistent. |
499 | ||
9f4afcd4 EB |
500 | 2009-10-17 Eric Botcazou <ebotcazou@adacore.com> |
501 | ||
502 | * gcc-interface/trans.c (addressable_p): Handle bitwise operations. | |
503 | ||
315cff15 EB |
504 | 2009-10-16 Eric Botcazou <ebotcazou@adacore.com> |
505 | ||
506 | * gcc-interface/ada-tree.h (TYPE_FAT_POINTER_P): Swap with... | |
507 | (TYPE_IS_FAT_POINTER_P): ...this. | |
508 | (TYPE_THIN_POINTER_P): Rename into... | |
509 | (TYPE_IS_THIN_POINTER_P): ...this. | |
510 | (TYPE_FAT_OR_THIN_POINTER_P): Rename into... | |
511 | (TYPE_IS_FAT_OR_THIN_POINTER_P): ...this. | |
512 | (TYPE_IS_PADDING_P): Change definition, move old one to... | |
513 | (TYPE_PADDING_P): ...this. | |
514 | * gcc-interface/decl.c (gnat_to_gnu_entity): Adjust for above changes. | |
515 | (get_unpadded_type): Likewise. | |
516 | (gnat_to_gnu_component_type): Likewise. | |
517 | (gnat_to_gnu_param): Likewise. | |
518 | (relate_alias_sets): Likewise. | |
519 | (make_packable_type): Likewise. | |
520 | (maybe_pad_type): Likewise. | |
521 | (gnat_to_gnu_field): Likewise. | |
522 | (is_variable_size): Likewise. | |
523 | (annotate_object): Likewise. | |
524 | (validate_size): Likewise. | |
525 | (set_rm_size): Likewise. | |
526 | (make_type_from_size): Likewise. | |
527 | (rm_size): Likewise. | |
528 | * gcc-interface/misc.c (gnat_print_type): Likewise. | |
529 | (gnat_get_alias_set): Likewise. | |
530 | * gcc-interface/trans.c (Identifier_to_gnu): Likewise. | |
531 | (Attribute_to_gnu): Likewise. | |
532 | (call_to_gnu): Likewise. | |
533 | (gnat_to_gnu): Likewise. | |
534 | (add_decl_expr): Likewise. | |
535 | (convert_with_check): Likewise. | |
536 | (addressable_p): Likewise. | |
537 | (maybe_implicit_deref): Likewise. | |
538 | (protect_multiple_eval): Likewise. | |
539 | (gnat_stabilize_reference_1): Likewise. | |
540 | * gcc-interface/utils.c (gnat_pushdecl): Likewise. | |
541 | (finish_record_type): Likewise. | |
542 | (rest_of_record_type_compilation): Likewise. | |
543 | (create_type_decl): Likewise. | |
544 | (gnat_types_compatible_p): Likewise. | |
545 | (build_template): Likewise. | |
546 | (convert_vms_descriptor64): Likewise. | |
547 | (convert_vms_descriptor32): Likewise. | |
548 | (build_unc_object_type_from_ptr): Likewise. | |
549 | (update_pointer_to): Likewise. | |
550 | (convert_to_fat_pointer): Likewise. | |
551 | (convert_to_fat_pointer): Likewise. | |
552 | (convert): Likewise. | |
553 | (remove_conversions): Likewise. | |
554 | (maybe_unconstrained_array): Likewise. | |
555 | (unchecked_convert): Likewise. | |
556 | (handle_vector_type_attribute): Likewise. | |
557 | * gcc-interface/utils2.c (build_binary_op): Likewise. | |
558 | (build_unary_op): Likewise. | |
559 | (build_allocator): Likewise. | |
560 | ||
afb4afcd EB |
561 | 2009-10-16 Eric Botcazou <ebotcazou@adacore.com> |
562 | ||
563 | * exp_dbug.ads: Adjust type names in comments. | |
564 | * gcc-interface/decl.c (maybe_pad_type): Remove NAME_TRAILER parameter, | |
565 | add new IS_COMPONENT_TYPE parameter. Adjust. Remove dead code. | |
566 | (gnat_to_gnu_entity): Adjust for above change. | |
567 | (gnat_to_gnu_component_type): Likewise. | |
568 | (gnat_to_gnu_field): Likewise. | |
569 | * gcc-interface/trans.c (call_to_gnu): Likewise. Do not unnecessarily | |
570 | call max_size. | |
571 | * gcc-interface/utils.c (finish_record_type): Remove obsolete code. | |
572 | * gcc-interface/gigi.h (maybe_pad_type): Adjust prototype. | |
573 | ||
ac2b9bbb JS |
574 | 2009-10-16 Joel Sherrill <joel.sherrill@oarcorp.com> |
575 | ||
576 | * s-osinte-rtems.ads: Add mutex type to pthread_mutexattr_t | |
577 | * s-stchop-rtems.adb: Correct binding to rtems_stack_checker_is_blown. | |
578 | ||
d5274ef6 RO |
579 | 2009-10-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
580 | ||
581 | * env.c [__alpha__ && __osf__] (AES_SOURCE): Define. | |
582 | ||
fdfea49e ST |
583 | 2009-10-10 Samuel Tardieu <sam@rfc1149.net> |
584 | ||
585 | * sem_eval.adb: Give a more precise error message. | |
586 | ||
2c12a292 ST |
587 | 2009-10-06 Samuel Tardieu <sam@rfc1149.net> |
588 | ||
589 | PR ada/41383 | |
590 | * a-rttiev.adb (Time_Of_Event): Return Time_First for unset event. | |
591 | ||
6fa30ef2 ST |
592 | 2009-10-06 Samuel Tardieu <sam@rfc1149.net> |
593 | ||
594 | PR ada/38333 | |
595 | * sem_prag.adb (Process_Import_Or_Interface): Forbid an abstract | |
596 | subprogram to be completed with a "pragma Import". | |
597 | ||
e9cfc9b5 EB |
598 | 2009-10-02 Eric Botcazou <ebotcazou@adacore.com> |
599 | ||
600 | * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Record_Subtype>: | |
601 | Generate an XVZ variable alongside the XVS type if the size is | |
602 | not constant. | |
603 | (maybe_pad_type): Minor tweak. | |
604 | ||
5004b234 EB |
605 | 2009-10-02 Eric Botcazou <ebotcazou@adacore.com> |
606 | ||
607 | * gcc-interface/decl.c (check_ok_for_atomic): Do nothing if the type | |
608 | doesn't come from source. | |
609 | ||
1aa8b1dd EB |
610 | 2009-10-02 Eric Botcazou <ebotcazou@adacore.com> |
611 | ||
612 | * gcc-interface/decl.c (gnat_to_gnu_component_type): Force at least | |
613 | unit size for the component size of an array with aliased components. | |
614 | (maybe_pad_type): Do not warn for MAX_EXPR. | |
615 | ||
95c1c4bb EB |
616 | 2009-09-29 Eric Botcazou <ebotcazou@adacore.com> |
617 | ||
2cac6017 EB |
618 | * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Array_Type>: Factor out |
619 | common code processing the component type into... | |
620 | <E_Array_Subtype>: Likewise. | |
621 | (gnat_to_gnu_component_type): ...this new static function. | |
622 | (maybe_pad_type): Minor cleanup. | |
623 | ||
624 | 2009-09-29 Eric Botcazou <ebotcazou@adacore.com> | |
625 | ||
626 | * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Record_Subtype>: Rewrite | |
627 | the handling of constrained discriminated record subtypes. | |
95c1c4bb EB |
628 | (components_to_record): Declare the type of the variants and of the |
629 | qualified union. | |
630 | (build_subst_list): Move around. | |
631 | (compute_field_positions): Rename into... | |
632 | (build_position_list): ...this. Return a TREE_VEC. | |
633 | (annotate_rep): Adjust for above renaming. | |
634 | (build_variant_list): New static function. | |
635 | (create_field_decl_from): Likewise. | |
636 | (get_rep_part): Likewise. | |
637 | (get_variant_part): Likewise. | |
638 | (create_variant_part_from): Likewise. | |
639 | (copy_and_substitute_in_size): Likewise. | |
640 | ||
2d3a1837 OH |
641 | 2009-09-28 Olivier Hainque <hainque@adacore.com> |
642 | ||
8244fa39 | 643 | PR ada/41100 |
2d3a1837 OH |
644 | * gcc-interface/targtyps.c (get_target_default_allocator_alignment): |
645 | Account for observable alignments out of default allocators. | |
646 | ||
384c400a RH |
647 | 2009-09-28 Richard Henderson <rth@redhat.com> |
648 | ||
649 | * gcc-interface/utils.c (gnat_install_builtins): Update call to | |
650 | build_common_builtin_nodes. | |
651 | ||
03b6f8a2 EB |
652 | 2009-09-26 Eric Botcazou <ebotcazou@adacore.com> |
653 | ||
654 | * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Array_Type>: Filter out | |
655 | negative size for the array dimensions like in the constrained case. | |
656 | <E_Array_Subtype>: Do not create an artificially non-constant high | |
657 | bound if the low bound is non-constant. Minor tweaks. | |
658 | ||
659 | * gcc-interface/trans.c (lvalue_required_p): Add CONSTANT parameter | |
660 | and turn ALIASED into a boolean parameter. Adjust calls to self. | |
661 | <N_Attribute_Reference>: Return 1 for more attributes. | |
662 | <N_Object_Renaming_Declaration>: Return 1 for non-constant objects. | |
663 | <N_Assignment_Statement>: Return 1 for the LHS. | |
664 | (Identifier_to_gnu): Adjust calls to lvalue_required_p. | |
665 | (call_to_gnu): Be prepared for wrapped boolean rvalues. | |
666 | ||
6ef41fd0 EB |
667 | 2009-09-25 Olivier Hainquqe <hainque@adacore.com> |
668 | Eric Botcazou <ebotcazou@adacore.com> | |
7948ae37 OH |
669 | |
670 | * gcc-interface/ada-tree.h (TYPE_REPRESENTATIVE_ARRAY): New language | |
671 | specific node. Representative array type for VECTOR_TYPE entities. | |
672 | * gcc-interface/utils.c (handle_vector_type_attribute): New handler. | |
673 | Turn an ARRAY_TYPE entity into a VECTOR_TYPE. | |
674 | (gnat_types_compatible_p): Handle VECTOR_TYPEs. | |
675 | (convert): Likewise. Arrange to produce VECTOR_CST out of constant | |
676 | array aggregates for VECTOR_TYPE entities. | |
677 | (unchecked_convert): Likewise. | |
678 | (maybe_vector_array): New function. If EXP has VECTOR_TYPE, return EXP | |
679 | converted to the associated TYPE_REPRESENTATIVE_ARRAY. | |
680 | (handle_pure_attribute, handle_sentinel_attribute, | |
681 | handle_noreturn_attribute, handle_malloc_attribute, | |
682 | handle_vector_size_attribute): Replace uses of qE format by qs. | |
683 | Remove GCC_DIAG_STYLE definition. | |
684 | * gcc-interface/trans.c (gnat_to_gnu) <N_Indexed_Component>: Convert | |
685 | vector input to representative array type on entry. | |
686 | <N_Op_Eq, etc>: Likewise. | |
687 | * gcc-interface/gigi.h (maybe_vector_array): Declare. | |
688 | (VECTOR_TYPE_P): New predicate. | |
689 | * gcc-interface/misc.c (gnat_print_type): Handle VECTOR_TYPE. | |
690 | ||
3f13dd77 EB |
691 | 2009-09-24 Eric Botcazou <ebotcazou@adacore.com> |
692 | ||
693 | * gcc-interface/ada.h: Fix outdated comment. | |
694 | * gcc-interface/ada-tree.h (SET_TYPE_RM_VALUE): Use MARK_VISITED in | |
695 | lieu of mark_visited. | |
696 | * gcc-interface/gigi.h (mark_visited): Change type of parameter. | |
697 | (MARK_VISITED): New macro. | |
698 | (gnat_truthvalue_conversion): Delete. | |
699 | * gcc-interface/decl.c (gnat_to_gnu_entity): Use MARK_VISITED in lieu | |
700 | of mark_visited. | |
701 | (annotate_rep): Fix formatting and tidy. | |
702 | (compute_field_positions): Get rid of useless variable. | |
703 | * gcc-interface/trans.c (gnat_to_gnu): Retrieve the Nkind of the GNAT | |
704 | node only once. Use IN operator for the Nkind in more cases. | |
705 | Remove calls to gnat_truthvalue_conversion. | |
706 | (mark_visited): Change type of parameter and adjust. | |
707 | (mark_visited_r): Dereference TP only once. | |
708 | (add_decl_expr): Use MARK_VISITED in lieu of mark_visited. | |
709 | * gcc-interface/utils2.c (gnat_truthvalue_conversion): Delete. | |
710 | (build_binary_op): Remove calls to gnat_truthvalue_conversion. | |
711 | (build_unary_op): Likewise. | |
712 | ||
42b9d34f DK |
713 | 2009-09-24 Dave Korn <dave.korn.cygwin@gmail.com> |
714 | ||
715 | * gcc-interface/Makefile.in (LIBGNAT_TARGET_PAIRS): Simplify test for | |
716 | a-except% in target pairs list; don't (implicitly) compare whitespace. | |
717 | ||
9f62cb92 JJ |
718 | 2009-09-24 Jakub Jelinek <jakub@redhat.com> |
719 | ||
720 | * gcc-interface/utils.c (gnat_pushdecl): Don't set | |
721 | DECL_NO_STATIC_CHAIN, set DECL_STATIC_CHAIN for | |
722 | nested functions. | |
723 | ||
6ef41fd0 | 724 | 2009-09-21 Joel Sherrill <joel.sherrill@oarcorp.com> |
9673668f JS |
725 | |
726 | * s-osinte-rtems.ad[bs]: Get_Page_Size cannot return 0. | |
727 | Bind to getpagesize() in RTEMS 4.10 and newer. | |
728 | ||
576891f9 RO |
729 | 2009-09-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
730 | ||
731 | * env.c [__alpha__ && __osf__] (_BSD): Define. | |
732 | * init.c [__alpha__ && __osf__] (__gnat_error_handler): Cast msg | |
733 | to const char *. | |
734 | ||
6465b6a7 AC |
735 | 2009-09-18 Pascal Obry <obry@adacore.com> |
736 | ||
737 | * mingw32.h: Activate Unicode support for x86-64 Windows platform. | |
738 | ||
739 | 2009-09-18 Vadim Godunko <godunko@adacore.com> | |
740 | ||
741 | * s-oscons-tmplt.c: Add circuit for handling IOV_MAX macro on IRIX. | |
742 | ||
743 | 2009-09-18 Javier Miranda <miranda@adacore.com> | |
744 | ||
745 | * exp_aggr.adb (Backend_Processing_Possible): Disable backend | |
746 | processing for array aggregates in the VM backend if the array has | |
747 | aliased components. | |
748 | ||
749 | 2009-09-18 Ed Schonberg <schonberg@adacore.com> | |
750 | ||
751 | * sem_ch4.adb (Analyze_Indexed_Component): Emit error if the type of | |
752 | the prefix indicates a previous semantic error, and this is the first | |
753 | error in the program. | |
754 | ||
755 | 2009-09-18 Bob Duff <duff@adacore.com> | |
756 | ||
757 | * gnat_ugn.texi: Minor editing. | |
758 | ||
0816e70c AC |
759 | 2009-09-18 Vincent Celier <celier@adacore.com> |
760 | ||
761 | * prj.ads, prj.adb (Project_Data): New component | |
762 | Imported_Directories_Switches. | |
763 | ||
764 | 2009-09-18 Pascal Obry <obry@adacore.com> | |
765 | ||
766 | * mingw32.h: Include standard _mingw.h file. | |
767 | Define _WIN32_WINNT only if not already defined. | |
768 | ||
f5e976a5 AC |
769 | 2009-09-18 Thomas Quinot <quinot@adacore.com> |
770 | ||
771 | * g-socket.adb (Is_Open): New function indicating whether a | |
772 | Selector_Type object is open. | |
773 | ||
774 | 2009-09-18 Vincent Celier <celier@adacore.com> | |
775 | ||
776 | * osint-c.adb (Create_Output_Library_Info): Make sure that the ALI file | |
777 | is deleted before creating it. | |
778 | ||
779 | 2009-09-18 Robert Dewar <dewar@adacore.com> | |
780 | ||
781 | * bindgen.adb: Minor reformatting | |
782 | ||
658cea5b AC |
783 | 2009-09-18 Arnaud Charlet <charlet@adacore.com> |
784 | ||
785 | * s-taprop-tru64.adb, s-taprop-linux.adb, s-taprop-solaris.adb, | |
786 | s-taprop-irix.adb, s-taprop-posix.adb (Abort_Task): Do nothing if no | |
787 | signal handler is installed. | |
788 | * s-tassta.adb (Finalize_Global_Tasks): Do not wait for independent | |
789 | tasks if Abort_Task_Interrupt cannot be used. | |
790 | ||
791 | 2009-09-18 Vincent Celier <celier@adacore.com> | |
792 | ||
793 | * prj-tree.ads: Minor comment update | |
794 | ||
0714aafa BD |
795 | 2009-09-17 Bob Duff <duff@adacore.com> |
796 | ||
797 | * g-socket.ads: Document the fact that Close_Selector has no effect on | |
798 | a closed selector. | |
799 | * g-socket.adb: Raise an exception when a Selector that should be open | |
800 | is closed. | |
801 | (Check_Selector): Declare RSig as a constant rather than a renames, | |
802 | less confusing. | |
803 | ||
3fc5d116 RD |
804 | 2009-09-17 Robert Dewar <dewar@adacore.com> |
805 | ||
806 | * exp_ch9.adb, exp_ch5.adb, exp_ch4.adb, prj-conf.adb, prj-env.ads, | |
0714aafa BD |
807 | prj-ext.adb, prj-ext.ads, prj-pars.adb, prj-part.adb, prj-proc.adb, |
808 | prj-tree.ads: Minor reformatting | |
3fc5d116 | 809 | |
1c6b973a AC |
810 | 2009-09-17 Emmanuel Briot <briot@adacore.com> |
811 | ||
812 | * prj-conf.adb, prj-env.adb, prj-env.ads (Create_Temp_File): Moved to | |
813 | spec. | |
814 | (Do_Autoconf): If the object directory does not exists, create auto.cgpr | |
815 | in a temporary directory instead | |
816 | ||
817 | 2009-09-17 Bob Duff <duff@adacore.com> | |
818 | ||
819 | * a-dynpri.adb (Set_Priority): Don't do anything if the task is already | |
820 | terminated. | |
821 | (Get_Priority): Correct message for "terminated" case -- it said "null". | |
822 | ||
823 | 2009-09-17 Robert Dewar <dewar@adacore.com> | |
824 | ||
825 | * exp_ch6.adb: Minor reformatting | |
826 | ||
52545f22 EB |
827 | 2009-09-17 Emmanuel Briot <briot@adacore.com> |
828 | ||
829 | * gnatcmd.adb, make.adb, prj-part.adb, prj-ext.adb, prj-ext.ads, | |
830 | switch-m.adb, switch-m.ads, clean.adb, prj-tree.ads | |
831 | (Project_Node_Tree_Data.Project_Path): New field. | |
832 | ||
833 | * prj-conf.adb (Do_Autoconf): Remove "creating auto.cgpr" message | |
834 | ||
d9b4a5d3 EB |
835 | 2009-09-17 Emmanuel Briot <briot@adacore.com> |
836 | ||
837 | * prj-ext.adb, prj-ext.ads, makeutl.adb (Is_External_Assignment): | |
838 | Remove duplicate code. | |
839 | (Prj.Ext): Fix memory leak | |
840 | (Check): Now allow the syntax "-Xfoo=" to set an empty value to the | |
841 | variable. This was previously allowed in the code in | |
842 | Is_External_Assignment, and some tests rely on it | |
843 | ||
daa72421 AC |
844 | 2009-09-17 Bob Duff <duff@adacore.com> |
845 | ||
846 | * gnat_rm.texi, s-oscons-tmplt.c: Minor typo | |
847 | ||
848 | 2009-09-17 Emmanuel Briot <briot@adacore.com> | |
849 | ||
850 | * gnatcmd.adb, prj-proc.adb, make.adb, prj-ext.adb, prj-ext.ads, | |
851 | makeutl.adb, makeutl.ads, clean.adb, prj-pars.adb, prj-pars.ads, | |
852 | prj-conf.adb, prj-conf.ads, prj-tree.adb, prj-tree.ads, prj-proc.ads, | |
853 | prj-nmsc.ads (Add, Value_Of, Reset): new parameter Tree. | |
854 | Scenario variables are now specific to each project tree loaded in | |
855 | memory. | |
856 | Code clean ups. | |
857 | ||
858 | 2009-09-17 Javier Miranda <miranda@adacore.com> | |
859 | ||
860 | * exp_disp.adb (Make_DT): Remove wrong line of code that was | |
861 | undocumented and probably added by mistake. | |
862 | ||
20faffe7 EB |
863 | 2009-09-16 Eric Botcazou <ebotcazou@adacore.com> |
864 | ||
865 | * gcc-interface/trans.c (Attribute_to_gnu) <Attr_Size>: Strip | |
866 | conversions between original and packable version of types from | |
867 | the expression. | |
868 | ||
839f2864 EB |
869 | 2009-09-16 Eric Botcazou <ebotcazou@adacore.com> |
870 | ||
871 | * gcc-interface/decl.c (gnat_to_gnu_field): Add DEBUG_INFO_P parameter. | |
872 | If a padding type was made for the field, declare it. | |
873 | (components_to_record): Add DEBUG_INFO_P parameter. Adjust call | |
874 | to gnat_to_gnu_field and call to self. | |
875 | (gnat_to_gnu_entity) <E_Array_Type>: Do not redeclare padding types. | |
876 | <E_Array_Subtype>: Likewise. | |
877 | Adjust calls to gnat_to_gnu_field and components_to_record. | |
878 | ||
c471e2da AC |
879 | 2009-09-16 Robert Dewar <dewar@adacore.com> |
880 | ||
881 | * prj-nmsc.adb: Minor reformatting | |
882 | ||
883 | 2009-09-16 Ed Schonberg <schonberg@adacore.com> | |
884 | ||
885 | * exp_ch4.adb (Expand_N_Conditional_Expression): If the type of the | |
886 | expression is a by-reference type (tagged or inherently limited) | |
887 | introduce an access type to capture references to the values of each | |
888 | branch of the conditional. | |
889 | ||
890 | 2009-09-16 Emmanuel Briot <briot@adacore.com> | |
891 | ||
892 | * prj-proc.adb, prj-part.adb, prj-tree.adb, prj-tree.ads | |
893 | (Project_Name_And_Node.Display_Name): new field | |
894 | The display name of a project (as written in the .gpr file) is now | |
895 | computed when the project file itself is parsed, not when it is | |
896 | processed. | |
897 | ||
75a64833 AC |
898 | 2009-09-16 Thomas Quinot <quinot@adacore.com> |
899 | ||
900 | * freeze.adb, exp_intr.adb (Expand_Intrinsic_Call): Leave calls to | |
901 | intrinsics untouched (to be expanded later on by gigi) if an external | |
902 | name has been specified. | |
903 | (Freeze_Entity): Do not generate a default external name for | |
904 | imported subprograms with convention Intrinsic (so that the above code | |
905 | can identify the case where an external name has been explicitly | |
906 | provided). | |
907 | ||
908 | * s-oscons-tmplt.c: Quote TARGET_OS early so that it is not erroneously | |
909 | replaced by something else due to an existing #define clause. | |
910 | ||
911 | 2009-09-16 Ed Schonberg <schonberg@adacore.com> | |
912 | ||
913 | * sinfo.ads, sinfo.adb (Is_Accessibility_Actual): New flag on | |
914 | Parameter_Association node, created for the extra actual generated for | |
915 | an access parameter of a function that dispatches on result, to prevent | |
916 | double generation of such actuals when the call is rewritten is a | |
917 | dispatching call. | |
918 | * exp_ch6.adb (Expand_Call): Set Is_Accessibility_Actual when needed. | |
919 | * exp_disp.adb (Expand_Dispatching_Call): Do not transfer extra actuals | |
920 | that carry this flag when rewriting the original call as a dispatching | |
921 | call, after propagating the controlling tag. | |
922 | ||
923 | 2009-09-16 Vincent Celier <celier@adacore.com> | |
924 | ||
925 | * prj-nmsc.adb (Add_Source): New parameter Source_Dir_Rank to be put | |
926 | in the source data. | |
927 | (Check_File): New parameter Source_Dir_Rank, to check if a duplicate | |
928 | source is allowed. | |
929 | (Find_Source_Dirs): New parameter Rank to be recorded with the source | |
930 | directories. | |
931 | (Search_Directories): Call Check_File with the rank of the directory | |
932 | * prj.adb (Project_Empty): Add new component Source_Dir_Ranks | |
933 | (Free): Free also Number_Lists | |
934 | (Reset): Init also Number_Lists | |
935 | * prj.ads (Number_List_Table): New dynamic table for lists of numbers | |
936 | (Source_Data): New component Source_Dir_Rank. Remove component | |
937 | Known_Order_Of_Source_Dirs, no longer needed. | |
938 | (Project_Data): New component Source_Dir_Ranks | |
939 | (Project_Tree_Data): New components Number_Lists | |
940 | ||
bac7206d AC |
941 | 2009-09-16 Vincent Celier <celier@adacore.com> |
942 | ||
943 | * gprep.adb (Yes_No): New global constant | |
944 | Unix_Line_Terminators: New global Boolean variable | |
945 | (Process_One_File): Create the out file with a "Text_Translation=" form | |
946 | that depends on the use of option -T. | |
947 | (Scan_Command_Line): Add option -T | |
948 | (Usage): Add line for option -T | |
949 | ||
950 | 2009-09-16 Ed Schonberg <schonberg@adacore.com> | |
951 | ||
952 | * exp_disp.ads, exp_disp.adb (Is_Predefined_Internal_Operation): New | |
953 | predicate that describes a proper subset of | |
954 | Is_Predefined_Dispatching_Operation and excludes stream operations, | |
955 | which can be overridden by the user. | |
956 | * sem_ch6.adb (Create_Extra_Formals): use | |
957 | Is_Predefined_Internal_Operation, so that stream operations get extra | |
958 | formals. | |
959 | * exp_ch6.adb (Prevent double generation of extra actuals in calls to | |
960 | 'Input, which may be expanded twice, first as a function call and then | |
961 | as a dispatching call. | |
962 | ||
f5bb1134 TQ |
963 | 2009-09-16 Thomas Quinot <quinot@adacore.com> |
964 | ||
965 | * s-oscons-tmplt.c (Target_OS, Target_Name): New constants. | |
966 | * g-expect.adb (Set_Up_Child_Communications): Use | |
967 | System.OS_Constants.Target_OS to determine whether running on Windows. | |
968 | ||
1c384bf1 RH |
969 | 2009-09-14 Richard Henderson <rth@redhat.com> |
970 | ||
971 | * gcc-interface/trans.c (Pragma_to_gnu): Use build5 for ASM_EXPR. | |
972 | ||
40c88b94 EB |
973 | 2009-09-14 Eric Botcazou <ebotcazou@adacore.com> |
974 | ||
975 | * exp_dbug.ads (Packed Array Encoding): Document the new encoding for | |
976 | the unconstrained case. | |
977 | * gcc-interfaces/decl.c (gnat_to_gnu_entity) <E_Array_Type>: Implement | |
978 | the encoding. Do not give a name to the pointer type to the XUT type. | |
979 | * gcc-interfaces/utils.c (gnat_pushdecl): Propagate DECL_ORIGINAL_TYPE | |
980 | for fat pointer types, if any. Make sure DECL_ARTIFICIAL is cleared | |
981 | on nodes with DECL_ORIGINAL_TYPE set. | |
982 | (update_pointer_to): Set DECL_ORIGINAL_TYPE to the original pointer | |
983 | for fat pointer types. Make sure DECL_ARTIFICIAL is cleared. | |
984 | ||
1d65f45c RH |
985 | 2009-09-14 Richard Henderson <rth@redhat.com> |
986 | ||
987 | * gcc-interface/misc.c (gnat_init_gcc_eh): Don't call | |
988 | default_init_unwind_resume_libfunc. | |
989 | * gcc-interface/trans.c (Exception_Handler_to_gnu_zcx): Use | |
990 | __builtin_eh_pointer. | |
991 | * gcc-interface/utils.c (gnat_install_builtins): Update call | |
992 | to build_common_builtin_nodes. | |
993 | ||
f9417da1 | 994 | 2009-09-13 Richard Guenther <rguenther@suse.de> |
ac914fa8 | 995 | Rafael Avila de Espindola <espindola@google.com> |
f9417da1 | 996 | |
ac914fa8 EB |
997 | * gcc-interface/misc.c (gnat_init_gcc_eh): Do not set variables |
998 | eh_personality_libfunc and lang_eh_runtime_type. | |
f9417da1 | 999 | (LANG_HOOKS_EH_PERSONALITY): Define. |
ac914fa8 EB |
1000 | (gnat_eh_personality_decl): New static variable. |
1001 | (gnat_eh_personality): New static function. | |
1002 | Include gt-ada-misc.h. | |
1003 | * gcc-interface/Make-lang.in (misc.o): Add gt-ada-misc.h dependency. | |
1004 | * gcc-interface/config-lang.in (gtfiles): Add misc.c. | |
f9417da1 | 1005 | |
1382ae05 RO |
1006 | 2009-09-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
1007 | ||
1008 | PR ada/18302 | |
1009 | * gcc-interface/Make-lang.in (check-acats): Export rootme, EXPECT. | |
1010 | ||
7c20033e EB |
1011 | 2009-09-08 Eric Botcazou <ebotcazou@adacore.com> |
1012 | ||
1013 | * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Array_Subtype>: Tidy | |
1014 | flow of control. | |
1015 | Avoid useless work when processing the Treat_As_Volatile flag. | |
1016 | ||
c673a2c7 EB |
1017 | 2009-09-08 Eric Botcazou <ebotcazou@adacore.com> |
1018 | ||
1019 | * gcc-interface/targtyps.c: Reorder include directives. | |
1020 | ||
2dcbb2c0 LG |
1021 | 2009-09-07 Laurent GUERBY <laurent@guerby.net> |
1022 | ||
1023 | * gcc-interface/targtyps.c: Add missing include for tm_p.h. | |
1024 | * gcc-interface/Make-lang.in: Update dependencies. | |
1025 | ||
e9491f46 LG |
1026 | 2009-09-07 Laurent GUERBY <laurent@guerby.net> |
1027 | ||
1028 | * make.adb: Add missing documentation for multilib handling. | |
1029 | ||
4537ec0c DN |
1030 | 2009-09-03 Diego Novillo <dnovillo@google.com> |
1031 | ||
1032 | * gcc-interface/misc.c (lang_hooks): Remove const qualifier. | |
1033 | ||
c1942361 RH |
1034 | 2009-09-02 Richard Henderson <rth@redhat.com> |
1035 | ||
1036 | * tb-gcc.c (__gnat_backtrace): Mark all arguments unused. | |
1037 | ||
35e46cd8 OH |
1038 | 2009-09-02 Olivier Hainque <hainque@adacore.com> |
1039 | ||
1040 | * init.c (__gnat_error_handler, AIX): Add ATTRIBUTE_UNUSED on si | |
1041 | and uc arguments. | |
1042 | ||
683ebd75 OH |
1043 | 2009-09-02 Olivier Hainque <hainque@adacore.com> |
1044 | ||
1045 | * gcc-interface/decl.c (cannot_be_superflat_p): Handle | |
1046 | Signed_Integer_Type_Definition Scalar_Ranges. | |
1047 | ||
42c08997 EB |
1048 | 2009-09-02 Eric Botcazou <ebotcazou@adacore.com> |
1049 | ||
1050 | * gcc-interface/trans.c (gnat_gimplify_expr) <ADDR_EXPR>: Gimplify the | |
1051 | SAVE_EXPR built for misaligned arguments. Remove redundant stuff. | |
1052 | (addressable_p): Return true for more rvalues. | |
1053 | ||
437926c0 JJ |
1054 | 2009-09-01 Jakub Jelinek <jakub@redhat.com> |
1055 | ||
1056 | * gcc-interface/utils2.c (maybe_wrap_malloc, maybe_wrap_free): Cast | |
1057 | POINTER_SIZE to HOST_WIDE_INT. | |
1058 | ||
58f986ca RG |
1059 | 2009-09-01 Richard Guenther <rguenther@suse.de> |
1060 | ||
1061 | * gcc-interface/misc.c (LANG_HOOKS_MARK_ADDRESSABLE): Remove. | |
1062 | ||
f76d6e6f EB |
1063 | 2009-08-25 Eric Botcazou <ebotcazou@adacore.com> |
1064 | ||
1065 | * gcc-interface/trans.c (call_to_gnu): Tidy. | |
1066 | (gnat_to_gnu) <N_Slice>: Set TYPE_ARRAY_MAX_SIZE if the slice has | |
1067 | non-constant size but the array itself has constant size. | |
1068 | * gcc-interface/utils.c (convert_vms_descriptor64): Fix type | |
1069 | consistency error. | |
1070 | (convert_vms_descriptor32): Likewise. | |
1071 | ||
92532234 AJ |
1072 | 2009-08-22 Aurelien Jarno <aurelien@aurel32.net> |
1073 | ||
1074 | * gcc-interface/Makefile.in: Add Ada support for | |
1075 | GNU/kFreeBSD x86_64. | |
1076 | * system-freebsd-x86_64.ads: New file based on | |
1077 | system-freebsd-x86.ads. | |
1078 | ||
f88facfe EB |
1079 | 2009-08-20 Eric Botcazou <ebotcazou@adacore.com> |
1080 | ||
1081 | * gcc-interface/utils.c (convert): In the padded case, do the final | |
1082 | conversion as an unchecked conversion if the underlying types are | |
1083 | array types with variable size. | |
1084 | ||
456976d8 EB |
1085 | 2009-08-20 Eric Botcazou <ebotcazou@adacore.com> |
1086 | ||
1087 | * gcc-interface/ada-tree.h (SET_TYPE_RM_VALUE): Mark the expression | |
1088 | as visited. | |
f88facfe | 1089 | * gcc-interface/misc.c (gnat_get_subrange_bounds): Always return the |
456976d8 EB |
1090 | bounds. |
1091 | * gcc-interface/trans.c (add_decl_expr): Do not mark gigi-specific | |
1092 | fields. | |
1093 | (gnat_gimplify_expr) <DECL_EXPR>: New case. | |
1094 | ||
dee28509 AJ |
1095 | 2009-08-17 Aurelien Jarno <aurelien@aurel32.net> |
1096 | ||
1097 | * s-osinte-kfreebsd-gnu.ads (SA_ONSTACK): New constant. | |
1098 | (stack_t): New record type. | |
1099 | (sigaltstack): New imported function. | |
1100 | (Alternate_Stack): New imported variable. | |
1101 | (Alternate_Stack_Size): New constant. | |
1102 | ||
241bea26 AC |
1103 | 2009-08-17 Vasiliy Fofanov <fofanov@adacore.com> |
1104 | ||
1105 | * a-calend-vms.adb: Fix typo. | |
1106 | ||
1107 | 2009-08-17 Tristan Gingold <gingold@adacore.com> | |
1108 | ||
1109 | * s-taprop-posix.adb: Round up the stack size to avoid failure on | |
1110 | Darwin. | |
1111 | ||
1112 | 2009-08-17 Gary Dismukes <dismukes@adacore.com> | |
1113 | ||
1114 | * sem_cat.adb (Validate_Static_Object_Name): Update comment. | |
1115 | ||
1116 | 2009-08-17 Vincent Celier <celier@adacore.com> | |
1117 | ||
1118 | * make.adb (Arguments_Collected): Unneeded, removed | |
1119 | (Change_To_Object_Directory): Use Project directly. Add pragma Assert to | |
1120 | ensure caller does not pass in No_Project. | |
1121 | (Compile): Add new parameter Project. Let procedure | |
1122 | Collect_Arguments_And_Compile provide the proper value. | |
1123 | ||
1124 | * switch-c.adb: Add documentation for -gnatea and -gnatez | |
1125 | ||
1126 | 2009-08-17 Ben Brosgol <brosgol@adacore.com> | |
1127 | ||
1128 | * gnat_ugn.texi: Changed name of package in SAL example, to avoid | |
1129 | clash with Ada 2005 reserved word (interface). | |
1130 | ||
1d5a85bd RD |
1131 | 2009-08-17 Robert Dewar <dewar@adacore.com> |
1132 | ||
5f2d216d RD |
1133 | * a-crbtgk.adb, a-crdlli.adb, a-direct.adb, a-caldel-vms.adb, |
1134 | a-calend-vms.adb, a-calfor.adb, a-cdlili.adb, a-chahan.adb, | |
1135 | a-cidlli.adb, a-coinve.adb, a-comlin.adb: Minor code reorganization | |
1136 | (use conditional expressions). | |
1d5a85bd | 1137 | |
b01bf852 AC |
1138 | 2009-08-17 Robert Dewar <dewar@adacore.com> |
1139 | ||
1140 | * make.adb: Add ??? comment | |
1141 | * tbuild.adb: Minor reformatting | |
1142 | ||
1143 | 2009-08-17 Thomas Quinot <quinot@adacore.com> | |
1144 | ||
1145 | * exp_ch4.adb (Exp_Ch4.Expand_N_Slice.Make_Temporary): Rename to | |
1146 | Make_Temporary_For_Slice to avoid confusion with Tbuild.Make_Temporary. | |
1147 | Use Tbuild.Make_Temporary to create entity for the temporary. | |
1148 | ||
1def9494 AC |
1149 | 2009-08-17 Arnaud Charlet <charlet@adacore.com> |
1150 | ||
1151 | * make.adb (Process_Multilib, Scan_Make_Arg): Refine previous change | |
1152 | and ignore -mieee switch to avoid spawning an extra gcc in this case. | |
1153 | ||
1154 | 2009-08-17 Thomas Quinot <quinot@adacore.com> | |
1155 | ||
1156 | * tbuild.adb: Minor reformatting | |
1157 | ||
5568b57c AC |
1158 | 2009-08-17 Ed Schonberg <schonberg@adacore.com> |
1159 | ||
1160 | * exp_ch3.adb (Build_Discriminant_Formals): If the discriminals already | |
1161 | exist, as is the case for synchronized types, use the type of the | |
1162 | discriminal in the parameter specification, to prevent a spurious | |
1163 | subtype mismatch in gigi. | |
1164 | ||
1165 | 2009-08-17 Robert Dewar <dewar@adacore.com> | |
1166 | ||
1167 | * prj-env.adb: Minor reformatting | |
1168 | * make.adb: Minor reformatting | |
1169 | Comment updates | |
1170 | ||
1171 | 2009-08-17 Javier Miranda <miranda@adacore.com> | |
1172 | ||
1173 | * exp_ch7.adb (Wrap_Transient_Expression): Update comments. | |
1174 | ||
1175 | 2009-08-17 Emmanuel Briot <briot@adacore.com> | |
1176 | ||
1177 | * prj-part.adb, prj.adb, prj.ads, prj-nmsc.adb, prj-conf.adb | |
1178 | (Processing_Flags.Require_Obj_Dirs): new field, which controls whether | |
1179 | object directories must be present. In the case of gprclean at least, | |
1180 | these are optional (if they do not exist there is nothing to clean) | |
1181 | ||
88eb6e62 AC |
1182 | 2009-08-17 Robert Dewar <dewar@adacore.com> |
1183 | ||
1184 | * prj-env.adb: Minor reformatting | |
1185 | * sem_ch3.adb: Minor reformatting | |
1186 | ||
1187 | 2009-08-17 Hristian Kirtchev <kirtchev@adacore.com> | |
1188 | ||
1189 | * sysdep.c (__gnat_localtime_tzoff): VxWorks case - Flip the sign of | |
1190 | the time zone since VxWorks chose positive values to represent west | |
1191 | time zones and negative for east zones. | |
1192 | ||
89c273b4 AC |
1193 | 2009-08-17 Ed Schonberg <schonberg@adacore.com> |
1194 | ||
1195 | * sem_ch3.adb (Access_Definition): Do not create an Itype reference for | |
1196 | an anonymous access type whose designated type is generic. | |
1197 | ||
1198 | 2009-08-17 Arnaud Charlet <charlet@adacore.com> | |
1199 | ||
1200 | * comperr.adb (Compiler_Abort): Do not generate a bug box when in | |
1201 | codepeer mode, friendlier. | |
1202 | ||
305418c8 LG |
1203 | 2009-08-10 Laurent GUERBY <laurent@guerby.net> |
1204 | ||
1205 | * make.adb: Handle multilib | |
1206 | ||
477eca00 AC |
1207 | 2009-08-10 Vincent Celier <celier@adacore.com> |
1208 | ||
1209 | * prj-env.adb (Create_Config_Pragmas_File.Write_Temp_File): Do not use | |
1210 | the temporary file name in the error message when the temporary file | |
1211 | cannot be created. | |
1212 | ||
1213 | 2009-08-10 Yannick Moy <moy@adacore.com> | |
1214 | ||
1215 | * gnat_ugn.texi: Fix typo | |
1216 | ||
68716ad5 AC |
1217 | 2009-08-10 Robert Dewar <dewar@adacore.com> |
1218 | ||
1219 | * exp_ch7.adb: Add ??? comment for last change | |
1220 | ||
1221 | 2009-08-10 Vincent Celier <celier@adacore.com> | |
1222 | ||
1223 | * prj-env.adb (Add_To_Buffer): New procedure | |
1224 | (Create_Config_Pragmas_File): Write to temporary file in one shot | |
1225 | (Create_Mapping_File): Ditto | |
1226 | (Set_Ada_Paths): Ditto | |
1227 | ||
6d93ae14 VC |
1228 | 2009-08-10 Vincent Celier <celier@adacore.com> |
1229 | ||
1230 | PR ada/17566 | |
1231 | * xref_lib.adb (Print_Xref): Make sure that there is at least one space | |
1232 | between a declaration name and its type. | |
1233 | ||
1c939d81 JM |
1234 | 2009-08-07 Javier Miranda <miranda@adacore.com> |
1235 | ||
1236 | * exp_ch7.adb (Wrap_Transient_Expression): Add missing adjustment of | |
1237 | SCIL node. | |
1238 | ||
005ae225 AC |
1239 | 2009-08-07 Robert Dewar <dewar@adacore.com> |
1240 | ||
1241 | * sem_warn.adb (Warn_On_Unreferenced_Entity): Fix obvious typo. | |
1242 | ||
1243 | 2009-08-07 Vincent Celier <celier@adacore.com> | |
1244 | ||
1245 | * gnatcmd.adb (GNATCmd): If -U is not used, one and only one main is | |
1246 | specified on the command line and there are switches in the Compiler | |
1247 | package of the project file, use these compilation switches to invoke | |
1248 | the tool. | |
1249 | ||
1250 | 2009-08-07 Ben Brosgol <brosgol@adacore.com> | |
1251 | ||
1252 | * gnat_ugn.texi: Wordsmithing edits at beginning of gnatcheck chapter. | |
1253 | ||
1254 | 2009-08-07 Ed Schonberg <schonberg@adacore.com> | |
1255 | ||
1256 | * sem_ch10.adb (Analyze_Proper_Body): Indicate name of missing subunit | |
1257 | even if not in main unit, to simplify debugging. | |
1258 | ||
1259 | 2009-08-07 Arnaud Charlet <charlet@adacore.com> | |
1260 | ||
1261 | * gcc-interface/Makefile.in: Fix handling of GCC_FOR_TARGET. | |
1262 | * gcc-interface/Make-lang.in: Update dependencies. | |
1263 | ||
fb25a60d AC |
1264 | 2009-08-07 Robert Dewar <dewar@adacore.com> |
1265 | ||
1266 | * types.ads: Minor reformatting | |
1267 | * sem_ch12.ads (Check_Generic_Child_Unit): Add missing documentation. | |
1268 | * frontend.adb, sem_warn.adb, sem_warn.ads: Fix spelling of | |
1269 | Output_Non_Modified_In_Out_Warnings. | |
1270 | * sem_ch13.adb: Remove ??? comment. | |
1271 | ||
1272 | 2009-08-07 Vincent Celier <celier@adacore.com> | |
1273 | ||
1274 | * mlib-prj.adb (Build_Library): Include binder generate object file | |
1275 | for SAL when library name is only one character. | |
1276 | ||
0a69df7c AC |
1277 | 2009-08-07 Thomas Quinot <quinot@adacore.com> |
1278 | ||
1279 | * targparm.adb: Minor reformatting | |
1280 | * sem.adb: Minor reformatting | |
1281 | * exp_ch4.adb (Expand_N_Conditional_Expression): Add comment. | |
1282 | ||
1283 | 2009-08-07 Emmanuel Briot <briot@adacore.com> | |
1284 | ||
1285 | * prj-conf.adb: Remove duplicate directory separator in the output when | |
1286 | an object directory does not exist. | |
1287 | ||
1288 | 2009-08-07 Robert Dewar <dewar@adacore.com> | |
1289 | ||
1290 | * exp_util.adb: Minor reformatting | |
1291 | ||
1292 | 2009-08-07 Vincent Celier <celier@adacore.com> | |
1293 | ||
1294 | * mlib-prj.adb (Build_Library): Fixed bug in name of ALI file (wrong | |
1295 | length used). | |
1296 | ||
1297 | 2009-08-07 Ed Schonberg <schonberg@adacore.com> | |
1298 | ||
1299 | * exp_ch9.adb (Expand_N_Protected_Type_Declaration): In Ravenscar mode, | |
1300 | detect non-static private components that will violate restriction | |
1301 | No_Implicit_Heap_Allocation. | |
1302 | ||
1303 | 2009-08-07 Ben Brosgol <brosgol@adacore.com> | |
1304 | ||
1305 | * gnat_ugn.texi: Edited Rule Exemption section of gnatcheck chapter. | |
1306 | ||
2fa03086 EB |
1307 | 2009-08-02 Eric Botcazou <ebotcazou@adacore.com> |
1308 | ||
1309 | * gcc-interface/gigi.h (end_subprog_body): Tweak comment. | |
1310 | * gcc-interface/utils.c (end_subprog_body): Likewise. | |
1311 | * gcc-interface/trans.c (gigi): Likewise. | |
1312 | (gnat_to_gnu): Likewise. | |
1313 | ||
3f5bb1b8 AC |
1314 | 2009-07-30 Ben Brosgol <brosgol@adacore.com> |
1315 | ||
1316 | * gnat_ugn.texi: Correct minor texi glitch. | |
1317 | ||
1318 | 2009-07-30 Ed Schonberg <schonberg@adacore.com> | |
1319 | ||
1320 | * exp_util.adb (Expand_Subtype_From_Expr): If the type of the | |
1321 | expression has an underlying representation that is an unchecked union, | |
1322 | there is no subtype to build. | |
1323 | ||
16c5f1c6 RD |
1324 | 2009-07-30 Robert Dewar <dewar@adacore.com> |
1325 | ||
1326 | * a-teioed.adb, exp_disp.adb, s-linux-hppa.ads, s-linux.ads, | |
1327 | s-tasini.adb, sem_ch13.adb, sem_ch3.adb, sem_ch3.ads, sem_ch6.adb, | |
3f5bb1b8 | 1328 | sem_ch7.adb, adaint.c: Minor reformatting |
16c5f1c6 | 1329 | |
3ff38f33 JM |
1330 | 2009-07-29 Javier Miranda <miranda@adacore.com> |
1331 | ||
1332 | * sem_ch3.ads, sem_ch3.adb (Add_Internal_Interface_Entities): Routine | |
1333 | moved from the expander to the semantic analyzer to allow the | |
1334 | generation of these internal entities when compiling with no code | |
1335 | generation. Required by ASIS. | |
1336 | * sem.adb (Analyze): Add processing for N_Freeze_Entity nodes. | |
1337 | * sem_ch13.ads, sem_ch13.adb (Analyze_Freeze_Entity): New subprogram. | |
1338 | * exp_ch3.adb (Add_Internal_Interface_Entities): Moved to sem_ch3 | |
1339 | (Expand_Freeze_Record_Type): Remove call to | |
1340 | Add_Internal_Interface_Entities because this routine is now called at | |
1341 | early stage --when the freezing node is analyzed. | |
1342 | ||
a73734f5 AC |
1343 | 2009-07-29 Robert Dewar <dewar@adacore.com> |
1344 | ||
1345 | * exp_atag.ads, exp_atag.adb, s-tasini.adb, s-soflin.ads, | |
1346 | exp_disp.adb, g-socket.adb: Minor reformatting | |
1347 | ||
1348 | 2009-07-29 Ed Schonberg <schonberg@adacore.com> | |
1349 | ||
1350 | * sem_ch7.adb (New_Private_Type): Create class-wide type after other | |
1351 | attributes have been established, so that they are all inherited by the | |
1352 | class-wide type. | |
1353 | * sem_cat.adb (Validate_Remote_Access_Object_Type_Declaration): Handle | |
1354 | properly named subtypes of class-wide types. | |
1355 | ||
53b10ce9 AC |
1356 | 2009-07-29 Ed Schonberg <schonberg@adacore.com> |
1357 | ||
1358 | * sem_ch6.adb (Check_Overriding_Indicator): Handle properly overriding | |
1359 | indicators on user-defined operators. | |
1360 | ||
1361 | 2009-07-29 Vadim Godunko <godunko@adacore.com> | |
1362 | ||
1363 | * g-socket.adb (Receive_Vector): Add comment. | |
1364 | ||
d06b3b1d JM |
1365 | 2009-07-29 Javier Miranda <miranda@adacore.com> |
1366 | ||
1367 | * frontend.adb (Frontend): Code cleanup. | |
1368 | * exp_atag.ads, exp_atag.adb (Build_Get_Predefined_Prim_Op_Address): | |
1369 | Rewriten as a procedure because it a new out-mode parameters to | |
1370 | keep up-to-date the controlling tag node in the caller. | |
1371 | (Build_Get_Prim_Op_Address): Rewriten as a procedure because it has a | |
1372 | new out-mode parameter to keep up-to-date the controlling tag node in | |
1373 | the caller. | |
1374 | * exp_ch7.adb, sem_ch5.adb, exp_util.adb, sem_util.adb, exp_ch4.adb, | |
1375 | exp_ch6.adb, sem_ch4.adb, exp_ch3.adb: Add new dependency on new | |
1376 | package Sem_SCIL. | |
1377 | * sem_aux.ads, sem_aux.adb (First_Non_SCIL_Node): Removed. Routine | |
1378 | available in new package Sem_SCIL. | |
1379 | (Next_Non_SCIL_Node): Ditto. | |
1380 | * exp_disp.adb (Adjust_SCIL_Node): Removed. Routine available in new | |
1381 | package Sem_SCIL. | |
1382 | (Expand_Dispatching_Call): Update call to modified Exp_Atags routines | |
1383 | plus complete decoration of SCIL dispatching node. | |
1384 | (Find_SCIL_Node): Removed. Routine available in new package Sem_SCIL. | |
1385 | * exp_disp.ads (Adjust_SCIL_Node): Removed. Routine available in new | |
1386 | package Sem_SCIL. | |
1387 | (Find_SCIL_Node): Removed. Routine available in new package Sem_SCIL. | |
1388 | * exp_ch3.adb (Build_Init_Procedure): Fix comment. | |
1389 | * sem_scil.ads, sem_scil.adb: New files. | |
1390 | * gcc-interface/Make-lang.in (GNAT_ADA_OBJS): Addition of sem_scil.o. | |
1391 | Update dependencies. | |
1392 | ||
8d12c865 RD |
1393 | 2009-07-28 Robert Dewar <dewar@adacore.com> |
1394 | ||
1395 | * adaint.h, einfo.ads, prj.adb, sem_util.adb, makeutl.ads, | |
1396 | makeutl.adb: Minor reformatting & code reorganization | |
1397 | * sem_ch3.adb: Minor reformatting. | |
1398 | Fix spelling error (constraint for constrain) in error msg. | |
1399 | ||
38990220 EB |
1400 | 2009-07-28 Emmanuel Briot <briot@adacore.com> |
1401 | ||
1402 | * make.adb, makeutl.adb, makeutl.ads (Project_Tree): Duplicates the | |
1403 | global variable that also exists in makeutl.ads, and that some routines | |
1404 | in that package use already. | |
1405 | (Check): Moved part of the code to makeutl.adb for better sharing with | |
1406 | gprbuild. | |
1407 | ||
fe8b685c AC |
1408 | 2009-07-28 Arnaud Charlet <charlet@adacore.com> |
1409 | ||
1410 | * gcc-interface/Make-lang.in: Update dependencies. | |
1411 | ||
f7e71125 AC |
1412 | 2009-07-28 Emmanuel Briot <briot@adacore.com> |
1413 | ||
1414 | * prj.adb, prj.ads (Compute_All_Imported_Projects): Make sure the | |
1415 | importing project does not end up in the list, in the case of extending | |
1416 | projects. | |
1417 | * make.adb, makeutl.adb, makeutl.ads (File_Not_A_Source_Of): Moved to | |
1418 | makeutl.ads, for better sharing with gprbuild. | |
1419 | ||
1420 | 2009-07-28 Arnaud Charlet <charlet@adacore.com> | |
1421 | ||
1422 | * gnat_ugn.texi: Fix typo. | |
1423 | ||
1424 | 2009-07-28 Ed Schonberg <schonberg@adacore.com> | |
1425 | ||
1426 | * sem_ch3.adb (Build_Derived_Concurrent_Type): Handle properly a | |
1427 | derivation that renames some discriminants and constrain others. | |
1428 | * exp_ch9.adb (Build_Protected_Subprogram_Call): If the type of the | |
1429 | prefix is a derived untagged type, convert to the root type to conform | |
1430 | to the signature of the protected operations. | |
1431 | ||
1432 | 2009-07-28 Robert Dewar <dewar@adacore.com> | |
1433 | ||
1434 | * sinfo.ads: Update comments. | |
1435 | * exp_attr.adb: Minor reformatting | |
1436 | ||
55603e5e AC |
1437 | 2009-07-28 Ed Schonberg <schonberg@adacore.com> |
1438 | ||
1439 | * sem_aggr.adb (Get_Value): A named association in a record aggregate | |
1440 | should be treated as a modification of the named component, not as a | |
1441 | reference. | |
1442 | ||
1443 | 2009-07-28 Quentin Ochem <ochem@adacore.com> | |
1444 | ||
1445 | * prj-tree.ads, prj-tree.adb (Free): Minor editing. | |
1446 | * prj.ads, prj.adb (Image): Ditto. | |
1447 | ||
e657b693 AC |
1448 | 2009-07-28 Arnaud Charlet <charlet@adacore.com> |
1449 | ||
1450 | * frontend.adb: Minor reformatting. | |
1451 | (Frontend): Only call Check_SCIL_Nodes if assertions are enabled, | |
1452 | for efficiency. | |
1453 | ||
1454 | 2009-07-28 Bob Duff <duff@adacore.com> | |
1455 | ||
1456 | * exp_attr.adb (Expand_Access_To_Protected_Op): Use 'Access instead of | |
1457 | 'Address to get a pointer to the protected body wrapper. | |
1458 | ||
327503f1 JM |
1459 | 2009-07-28 Javier Miranda <miranda@adacore.com> |
1460 | ||
1461 | * gnat1drv.adb (Adjust_Global_Switches): Disable generation of SCIL | |
1462 | nodes if we are not generating code. | |
1463 | * frontend.adb (Check_SCIL_Node): New subprogram. Used to check | |
1464 | attribute SCIL_Related_Node of SCIL dispatching nodes. | |
1465 | (Check_SCIL_Nodes): New instantiation of Traverse_Proc. | |
1466 | * sinfo.ads (Is_SCIL_Node,Set_Is_SCIL_Node): Removed | |
1467 | (SCIL_Nkind,Set_SCIL_Nkind): Removed. | |
1468 | (SCIL_Entity): Update documentation. | |
1469 | (SCIL_Related_Node): Update documentation. | |
1470 | (SCIL_Controlling_Tag): New attribute. | |
1471 | (SCIL_Target_Prim): Update documentation. | |
1472 | (N_Null_Statement): Remove attributes associated with SCIL nodes. | |
1473 | (N_SCIL_Dispatch_Table_Object_Init): New node. | |
1474 | (N_SCIL_Dispatch_Table_Tag_Init): New node. | |
1475 | (N_SCIL_Dispatching_Call): New node. | |
1476 | (N_SCIL_Tag_Init): New node. | |
1477 | * sinfo.adb (Is_SCIL_Node,Set_Is_SCIL_Node): Removed | |
1478 | (SCIL_Nkind,Set_SCIL_Nkind): Removed. | |
1479 | (SCIL_Controlling_Tag/Set_SCIL_Controlling_Tag): New subprogram. | |
1480 | (SCIL_Entity,Set_SCIL_Entity): Applicable only to SCIL nodes. | |
1481 | (SCIL_Related_Node,Set_SCIL_Related_Node): Applicable only to SCIL nodes | |
1482 | (SCIL_Target_Prim,Set_SCIL_Target_Prim): Applicable only to | |
1483 | N_SCIL_Dispatching_Call nodes. | |
1484 | * sem.adb (Analyze): No need to analyze SCIL nodes. | |
1485 | * sem_aux.ads, sem_aux.adb (First_Non_SCIL_Node): New subprogram | |
1486 | (Next_Non_SCIL_Node): New subprogram | |
1487 | * sem_ch4.adb (Analyze_Type_Conversion): Adjust relocated SCIL | |
1488 | dispatching nodes. | |
1489 | * sem_ch5.adb (Analyze_Iteration_Scheme): Adjust relocated SCIL | |
1490 | dispatching node. | |
1491 | * sem_util.adb (Insert_Explicit_Dereference): Adjust relocated SCIL | |
1492 | dispatching node. | |
1493 | * exp_ch3.adb (Build_Array_Init_Proc): Skip SCIL nodes when processing | |
1494 | null statement nodes. | |
1495 | (Build_Init_Procedure): Generate new SCIL node. | |
1496 | * exp_ch4.adb (Expand_N_And_Then): Adjust relocated SCIL dispatching | |
1497 | node. | |
1498 | * exp_ch6.adb (Is_Null_Procedure): Skip SCIL nodes. Required because | |
1499 | they are currently implemented as special N_Null_Statement nodes. | |
1500 | * exp_ch7.adb (Wrap_Transient_Statement): If the relocated node is a | |
1501 | procedure call then check if some SCIL node references it and needs | |
1502 | readjustment. | |
1503 | * exp_disp.ads (SCIL_Node_Kind): Removed. | |
1504 | (Adjust_SCIL_Node): New subprogram. | |
1505 | (Find_SCIL_Node): New subprogram. | |
1506 | (Get_SCIL_Node_Kind): Removed. | |
1507 | (New_SCIL_Node): Removed. | |
1508 | * exp_disp.adb (Adjust_SCIL_Node): New subprogram | |
1509 | (Expand_Dispatching_Call): Generate new SCIL dispatching node including | |
1510 | decoration of its new controlling_tag attribute. | |
1511 | (Get_SCIL_Node_Kind): Removed. | |
1512 | (Find_SCIL_Node): New subprogram. | |
1513 | (Make_Secondary_DT): Generate new SCIL nodes. | |
1514 | (Make_Tags): Generate new SCIL nodes. | |
1515 | (New_SCIL_Node): Removed. | |
1516 | * exp_util.adb (Insert_Actions): Handle SCIL nodes. | |
1517 | (Remove_Side_Effects): Check if relocated nodes require readjustment | |
1518 | of some SCIL dispatching node. | |
1519 | * gcc-interface/trans.c (gnat_to_gnu): Do nothing with new SCIL nodes. | |
1520 | ||
b125fe15 RD |
1521 | 2009-07-28 Robert Dewar <dewar@adacore.com> |
1522 | ||
1523 | * prj-nmsc.adb, g-expect.adb, prj.ads: Minor reformatting | |
1524 | ||
056b0f6f AC |
1525 | 2009-07-28 Sergey Rybin <rybin@adacore.com> |
1526 | ||
1527 | * gnat_ugn.texi: Add section about gnatcheck rule exemption. | |
1528 | ||
1529 | 2009-07-28 Vadim Godunko <godunko@adacore.com> | |
1530 | ||
1531 | * s-oscons-tmplt.c: Define _XOPEN_SOURCE on Linux, otherwise IOV_MAX is | |
1532 | not defined by limits.h. | |
1533 | ||
1534 | * g-socket.adb (Receive_Vector): Use minimum length from user's vector | |
1535 | length and maximum supported length of data vector. | |
1536 | ||
1537 | 2009-07-28 Gary Dismukes <dismukes@adacore.com> | |
1538 | ||
1539 | * usage.adb: Inhibit printing gcc-specific switches for AAMP target. | |
1540 | * make.adb: Call Get_Target_Parameters before calling Usage so that | |
1541 | VM_Target and AAMP_On_Target will be set. | |
1542 | ||
5391897d AC |
1543 | 2009-07-28 Olivier Hainque <hainque@adacore.com> |
1544 | ||
1545 | * g-ssinty.ads: Remove, pointless and just confusing at this stage. | |
1546 | * gnat_rm.texi: Remove documentation. | |
1547 | * g-sse.ads: Minor reorg along the way. | |
1548 | * gcc-interface/Makefile.in: Remove processing for g-ssinty. | |
1549 | * g-ssvety.ads: Minor comment updates. | |
1550 | ||
1551 | 2009-07-28 Sergey Rybin <rybin@adacore.com> | |
1552 | ||
1553 | * gnat_ugn.texi: gnatcheck 'Format of the Report File' section - update | |
1554 | for the new format of the report file. | |
1555 | ||
ecb955bc AC |
1556 | 2009-07-28 Sergey Rybin <rybin@adacore.com> |
1557 | ||
1558 | * gnat_ugn.texi: gnatcheck Deeply_Nested_Inlining rule: Update doc. | |
1559 | ||
1560 | 2009-07-28 Pascal Obry <obry@adacore.com> | |
1561 | ||
1562 | * g-expect.adb: Record standard handles only on Windows. | |
1563 | ||
e7f10ba9 EB |
1564 | 2009-07-27 Emmanuel Briot <briot@adacore.com> |
1565 | ||
1566 | * prj.ads, prj-nmsc.adb (Override_Kind): add debug trace | |
1567 | Add comments. | |
1568 | ||
fc53fe76 AC |
1569 | 2009-07-27 Sergey Rybin <rybin@adacore.com> |
1570 | ||
1571 | * gnat_ugn.texi: gnatcheck Unconstrained_Array_Returns rule: Add to the | |
1572 | rule definition the paragraph that explains that generic functions and | |
1573 | functions from generic packages are not checked. | |
1574 | ||
1575 | 2009-07-27 Gary Dismukes <dismukes@adacore.com> | |
1576 | ||
1577 | * sem_ch6.adb (New_Overloaded_Entity): Add test for an expanded null | |
1578 | procedure when determining whether to set the Overridden_Operation | |
1579 | field of a subprogram overriding an inherited subprogram. | |
1580 | ||
1581 | 2009-07-27 Robert Dewar <dewar@adacore.com> | |
1582 | ||
1583 | * a-except.adb, a-except-2005.ads: Minor reformatting | |
1584 | ||
cff7cd9b AC |
1585 | 2009-07-27 Robert Dewar <dewar@adacore.com> |
1586 | ||
1587 | * sem_util.adb, sem_util.ads (Kill_Current_Values): Reset Is_Known_Valid | |
1588 | ||
1589 | 2009-07-27 Javier Miranda <miranda@adacore.com> | |
1590 | ||
1591 | * exp_disp.adb (Expand_Dispatching_Call): Reverse previous patch and | |
1592 | add some documentation explaining why the SCIL nodes must be generated | |
1593 | at that point. | |
1594 | ||
1595 | 2009-07-27 Olivier Hainque <hainque@adacore.com> | |
1596 | ||
1597 | * a-except.adb: Bind to __builtin_longjmp directly. | |
1598 | * a-except-2005.ads: Provide direct binding to __builtin_longjmp | |
1599 | for sjlj variants. | |
1600 | * a-exexpr.adb: Use it. | |
1601 | * a-except-xi.adb: Likewise. | |
1602 | * raise.c (_gnat_builtin_longjmp): Remove and update comments. | |
1603 | * raise.h (_gnat_builtin_longjmp): Remove declaration. | |
1604 | ||
57036dcc ES |
1605 | 2009-07-27 Ed Schonberg <schonberg@adacore.com> |
1606 | ||
1607 | * sem_eval.adb (Compile_Time_Compare): More precise handling of | |
1608 | Known_Valid flag, to prevent spurious range deductions when scalar | |
1609 | variables may be uninitialized. New predicate Is_Known_Valid_Operand. | |
1610 | ||
d33744e4 RD |
1611 | 2009-07-27 Robert Dewar <dewar@adacore.com> |
1612 | ||
1613 | * gnatfind.adb, osint.ads, sem.adb, xr_tabls.adb: Minor reformatting | |
1614 | and code clean up. | |
1615 | ||
df7c3f62 ES |
1616 | 2009-07-27 Ed Schonberg <schonberg@adacore.com> |
1617 | ||
1618 | * exp_ch9.adb (Expand_N_Timed_Entry_Call): Do not attempt expansion in | |
1619 | Ravenscar mode. Error has already been posted on specification. | |
1620 | ||
1621 | * sem.adb: Further code clean ups. | |
1622 | ||
0e47ff5c AC |
1623 | 2009-07-27 Robert Dewar <dewar@adacore.com> |
1624 | ||
1625 | * g-sse.ads: Minor reformatting | |
1626 | ||
1627 | 2009-07-27 Arnaud Charlet <charlet@adacore.com> | |
1628 | ||
1629 | * xref_lib.adb (Add_Xref_File_Internal, Find_ALI_Files): Add support for | |
1630 | alternate ali extension. | |
1631 | * xr_tabls.adb (ALI_File_Name, Get_File, Set_Unvisited): Take into | |
1632 | account Osint.ALI_Suffix. | |
1633 | * osint.ads (ALI_Suffix): Make visible. | |
1634 | * gnatfind.adb (Gnatfind): Add support for --ext= switch. | |
1635 | * gnat_ugn.texi: Document new gnatfind --ext= switch. | |
1636 | ||
1637 | 2009-07-27 Ed Schonberg <schonberg@adacore.com> | |
1638 | ||
1639 | * sem.adb (Walk_Library_Items): If main unit is an instance body, do | |
1640 | its spec first. | |
1641 | ||
1642 | 2009-07-27 Javier Miranda <miranda@adacore.com> | |
1643 | ||
1644 | * exp_disp.adb (Expand_Dispatching_Call): Generate the SCIL node after | |
1645 | the dispatching call has is expanded. | |
1646 | ||
dbf04430 AC |
1647 | 2009-07-27 Ed Schonberg <schonberg@adacore.com> |
1648 | ||
1649 | * exp_attr.adb (Expand_Attribute_Reference, case 'Valid): Reset the | |
1650 | Is_Known_Valid flag on the temporary created for the value whose | |
1651 | validity is being checked. | |
1652 | ||
1653 | * sem.adb (Do_Unit_And_Dependents): Further code reorganization to | |
1654 | handle properly main units that are package specifications. | |
1655 | ||
1656 | 2009-07-27 Geert Bosch <bosch@adacore.com> | |
1657 | ||
1658 | * einfo.ads (Checks_May_Be_Suppressed): Fix typo in comment | |
1659 | * sem_aux.ads: Fix typo in comment | |
1660 | * sem_util.ads (Is_LHS): Adjust comment to match body | |
1661 | ||
1662 | 2009-07-27 Sergey Rybin <rybin@adacore.com> | |
1663 | ||
1664 | * gnat_ugn.texi (gnatcheck Complex_Inlined_Subprograms rule): Update | |
1665 | rule definition. | |
1666 | ||
1667 | 2009-07-27 Olivier Hainque <hainque@adacore.com> | |
1668 | ||
1669 | * g-sse.ads, g-ssvety.ads: Update comments. | |
1670 | ||
4524c32c AC |
1671 | 2009-07-27 Sergey Rybin <rybin@adacore.com> |
1672 | ||
1673 | * gnat_ugn.texi: Update gnatcheck doc. | |
1674 | ||
1675 | 2009-07-27 Arnaud Charlet <charlet@adacore.com> | |
1676 | ||
1677 | * lib-xref.ads: Allocate/document 'o' char for use by references to | |
1678 | spark 'own' variables. | |
1679 | ||
9337aa0a AC |
1680 | 2009-07-27 Gary Dismukes <dismukes@adacore.com> |
1681 | ||
1682 | * sem_ch6.adb (Analyze_Function_Return): Set Referenced on return | |
1683 | objects, since these are implicitly referenced by the return statement. | |
1684 | * sem_warn.adb (Warn_On_Unreferenced_Entity): No longer a need to test | |
1685 | Is_Return_Object in this procedure, as return objects will never make | |
1686 | it here since they're now marked as Referenced. | |
1687 | ||
1688 | 2009-07-27 Robert Dewar <dewar@adacore.com> | |
1689 | ||
1690 | * exp_ch2.adb, sem_util.adb, sem_util.ads: Minor reformnatting | |
1691 | ||
75ba322d AC |
1692 | 2009-07-27 Robert Dewar <dewar@adacore.com> |
1693 | ||
1694 | * exp_ch6.adb (Expand_Call): Reset Is_Known_Valid after call | |
1695 | ||
1696 | * sem_ch3.adb, sem_eval.adb, sem_aux.adb: Minor comment reformatting | |
1697 | ||
1698 | 2009-07-27 Geert Bosch <bosch@adacore.com> | |
1699 | ||
1700 | * checks.adb (Find_Check): Minor streamlining of logic. | |
1701 | * gnat1drv.adb(Gnat1drv): Put Check_Rep_Info in its alphabetical order. | |
1702 | * debug.adb: Document -gnatdX debug flag | |
1703 | * exp_ch2.adb(Expand_Entity_Reference): Implement new -gnatdX flag to | |
1704 | list information about reads from scalar entities. | |
1705 | Also slightly simplify condition for Expand_Current_Value. | |
1706 | * sem_util.ads, sem_util.adb (Is_LHS, Is_Actual_Out_Parameter): New | |
1707 | functions. | |
1708 | ||
1709 | 2009-07-26 Dave Korn <dave.korn.cygwin@gmail.com> | |
f6c7fcc0 DK |
1710 | |
1711 | PR bootstrap/40578 | |
1712 | * adaint.h (FOPEN, STAT, FSTAT, LSTAT, STRUCT_STAT): Rename from these | |
1713 | (GNAT_FOPEN, GNAT_STAT, GNAT_FSTAT, GNAT_LSTAT, GNAT_STRUCT_STAT): ... | |
1714 | to these. | |
1715 | (__gnat_stat): Adjust reference to STAT in prototype. | |
1716 | * adaint.c (__gnat_try_lock, __gnat_fopen, __gnat_file_length, | |
1717 | __gnat_named_file_length, __gnat_file_time_name, __gnat_file_time_fd, | |
1718 | __gnat_get_libraries_from_registry, __gnat_stat, __gnat_file_exists, | |
1719 | __gnat_is_regular_file, __gnat_is_directory, __gnat_is_readable_file, | |
1720 | __gnat_is_writable_file, __gnat_is_executable_file, | |
1721 | __gnat_set_writable, __gnat_set_executable, __gnat_set_non_writable, | |
1722 | __gnat_set_readable, __gnat_set_non_readable, __gnat_is_symbolic_link, | |
1723 | __gnat_copy_attribs): Adjust all references to the above. | |
1724 | * cstreams.c (__gnat_is_regular_file_fd): Likewise. | |
1725 | ||
e27b834b AC |
1726 | 2009-07-23 Ed Schonberg <schonberg@adacore.com> |
1727 | ||
1728 | * sem.adb (Do_Unit_And_Dependents): Now that specs and bodies are not | |
1729 | done at the same time, guard against listing a body more than once. | |
1730 | ||
1731 | 2009-07-23 Robert Dewar <dewar@adacore.com> | |
1732 | ||
1733 | * exp_ch6.adb: Minor reformatting | |
1734 | ||
1735 | 2009-07-23 Ed Schonberg <schonberg@adacore.com> | |
1736 | ||
1737 | * sem_ch3.adb (Analyze_Object_Declaration): A scalar constant with a | |
1738 | static expression is known valid. | |
1739 | * sem_eval.adb (Compile_Time_Compare): Handle properly non-static | |
1740 | operands of a subtype with a single value. | |
1741 | ||
5c20b5e2 ES |
1742 | 2009-07-23 Ed Schonberg <schonberg@adacore.com> |
1743 | ||
1744 | * sem.adb (Do_Units_And_Dependents): Process bodies only for units that | |
1745 | are in the context of the main unit body. | |
1746 | ||
ce14c577 AC |
1747 | 2009-07-23 Sergey Rybin <rybin@adacore.com> |
1748 | ||
1749 | * gnat_ugn.texi (Misnamed_Controlling_Parameters gnatcheck rule): Fix | |
1750 | misprint in rule description. | |
1751 | ||
1752 | 2009-07-23 Gary Dismukes <dismukes@adacore.com> | |
1753 | ||
1754 | * exp_ch6.adb (Make_Build_In_Place_Call_In_Object_Declaration): Replace | |
1755 | test that the object declaration is within an extended return statement | |
1756 | with direct test of whether the declared object associated with the | |
1757 | build-in-place call is a return object, since the enclosing function | |
1758 | might not even be a build-in-place function. | |
1759 | ||
1760 | 2009-07-23 Robert Dewar <dewar@adacore.com> | |
1761 | ||
1762 | * freeze.adb, prj-nmsc.adb, errout.adb: Minor reformatting | |
1763 | Minor code reorganization | |
1764 | ||
1765 | 2009-07-23 Arnaud Charlet <charlet@adacore.com> | |
1766 | ||
1767 | * sem_prag.adb (Analyze_Pragma): Do not ignore pragma Pack on records | |
1768 | for static analysis, only packed arrays are causing troubles. | |
1769 | ||
c37845f8 AC |
1770 | 2009-07-23 Gary Dismukes <dismukes@adacore.com> |
1771 | ||
1772 | * sem_aggr.adb (Resolve_Extension_Aggregate): Report an error when the | |
1773 | ancestor part is a call to a limited function with an unconstrained | |
1774 | result subtype unless the aggregate has a null extension type. | |
1775 | * sem_ch3.adb (Is_Null_Extension): Use the base type when retrieving | |
1776 | the parent type declaration to avoid blowups on subtype cases. | |
1777 | ||
1778 | 2009-07-23 Robert Dewar <dewar@adacore.com> | |
1779 | ||
1780 | * par-ch4.adb (P_Aggregate_Or_Paren_Expr): Better message for missing | |
1781 | comma. | |
1782 | ||
1783 | * sem_util.adb (Wrong_Type): Special message for cases like A and B = 0 | |
1784 | ||
1785 | * s-regexp.adb: Minor reformatting | |
1786 | * scos.ads: Minor reformatting. | |
1787 | ||
1788 | 2009-07-23 Arnaud Charlet <charlet@adacore.com> | |
1789 | ||
1790 | * freeze.adb (Set_Small_Size): Remove extra space for consistency with | |
1791 | other similar messages. | |
1792 | * sem_prag.adb (Freeze_Record_Type, Freeze_Entity): Disable error | |
1793 | messages/implicit packing in CodePeer mode. | |
1794 | (Analyze_Pragma [case pragma Pack]): Ignore pragma in CodePeer mode. | |
1795 | * errout.adb (Special_Msg_Delete): Suppress 'size too small' message in | |
1796 | CodePeer mode. | |
1797 | ||
1798 | 2009-07-23 Pascal Obry <obry@adacore.com> | |
1799 | ||
1800 | * prj-nmsc.adb: Fix spec/body naming extension on case insensitive | |
1801 | systems. | |
1802 | ||
d994a6e2 RD |
1803 | 2009-07-23 Robert Dewar <dewar@adacore.com> |
1804 | ||
1805 | * einfo.ads, g-ssvety.ads, s-regexp.adb, g-sse.ads: Update comment. | |
1806 | Minor reformatting. | |
1807 | ||
19f21e11 AC |
1808 | 2009-07-23 Yannick Moy <moy@adacore.com> |
1809 | ||
1810 | * s-regexp.adb (Check_Well_Formed_Pattern): Called before compiling the | |
1811 | pattern. | |
1812 | (Raise_Exception_If_No_More_Chars): Remove extra blank in exception | |
1813 | string. | |
1814 | (Raise_Exception): Ditto. | |
1815 | ||
1816 | 2009-07-23 Olivier Hainque <hainque@adacore.com> | |
1817 | ||
1818 | * g-sse.ads: Simplify comment. | |
1819 | ||
4b956d8b AC |
1820 | 2009-07-23 Olivier Hainque <hainque@adacore.com> |
1821 | ||
1822 | * g-ssinty.ads: New unit. GNAT.SSE.Internal_Types. Factorize | |
1823 | low level internal type definitions for distinct higher level | |
1824 | binding development activities (user type definitions and | |
1825 | operations). | |
1826 | * gnat_rm.texi: Document it. | |
1827 | * g-ssvety.ads: Use it. | |
1828 | * gcc-interface/Makefile.in: (x86 32/64 linux, cygwin32 sections): Add | |
1829 | g-ssinty.o to EXTRA_GNATRTL_NONTASKING_OBJS. | |
1830 | * gcc-interface/utils.c (gnat_internal_attribute_table): Add entry | |
1831 | for the "may_alias" attribute. | |
1832 | ||
1833 | 2009-07-23 Thomas Quinot <quinot@adacore.com> | |
1834 | ||
1835 | * scos.ads: Minor typo fix | |
f698757b | 1836 | |
4b956d8b AC |
1837 | * gcc-interface/decl.c (validate_alignment): For the case of an |
1838 | implicit array base type, look for alignment clause on first subtype. | |
f698757b EB |
1839 | |
1840 | 2009-07-23 Robert Dewar <dewar@adacore.com> | |
1841 | ||
1842 | * gcc-interface/decl.c (gnat_to_gnu_field): Don't check for overlap | |
1843 | with tagged parent if tagged parent is fully repped. | |
4b956d8b AC |
1844 | |
1845 | 2009-07-23 Ed Schonberg <schonberg@adacore.com> | |
1846 | ||
1847 | * sem.adb (Walk_Library_Units): Handle properly the case where a unit | |
1848 | in the context depends on the spec of the main unit, by delaying | |
1849 | processing of the main unit body until all other units have been | |
1850 | processed. | |
1851 | ||
f8c6086b AC |
1852 | 2009-07-23 Arnaud Charlet <charlet@adacore.com> |
1853 | ||
1854 | * a-convec.adb: Add comments about suspicious/subtle code. | |
1855 | ||
1856 | 2009-07-23 Ed Schonberg <schonberg@adacore.com> | |
1857 | ||
1858 | * einfo.ads: Document use of Alias in private overriding | |
1859 | ||
1860 | 2009-07-23 Thomas Quinot <quinot@adacore.com> | |
1861 | ||
1862 | * sem_ch13.adb (Analyze_Attribute_Definition_Clause): For the case of | |
1863 | an array type, propagate alignment from first subtype to implicit base | |
1864 | type so that other subtypes (such as the itypes for aggregates of the | |
1865 | type) also receive the expected alignment. | |
1866 | ||
1867 | * g-comlin.ads: Minor documentation clarification/rewording. | |
1868 | * scos.ads: Minor comments update. | |
1869 | * lib-writ.ads: Minor reformatting | |
1870 | ||
dfcfdc0a AC |
1871 | 2009-07-23 Gary Dismukes <dismukes@adacore.com> |
1872 | ||
1873 | * exp_ch3.adb (Expand_N_Object_Declaration): For an initialized object | |
1874 | of a class-wide interface type that is a return object of a | |
1875 | build-in-place function, bypass the interface-related expansions into | |
1876 | renamings with displacement conversions, etc. | |
1877 | * exp_ch5.adb (Expand_N_Extended_Return_Statement): Add an assertion | |
1878 | for the case where a renaming occurs in a build-in-place context, to | |
1879 | assert that the bypassing of the build-in-place treatment only occurs | |
1880 | in the case of a renaming that is an expansion of a return expression | |
1881 | that is itself a build-in-place function call. | |
1882 | ||
1883 | 2009-07-23 Ed Schonberg <schonberg@adacore.com> | |
1884 | ||
1885 | * sem_ch4.adb (Try_Primitive_Operation): A primitive operation is a | |
1886 | valid candidate interpretation in a prefixed view if it is hidden, but | |
1887 | overrides an inherited operation declared in the visible part. | |
1888 | ||
1889 | 2009-07-23 Robert Dewar <dewar@adacore.com> | |
1890 | ||
1891 | * exp_ch4.adb (Expand_N_Type_Conversion): Don't promote integer | |
1892 | division operands to 64-bit at all in any circumstances. | |
1893 | ||
5d5e9775 AC |
1894 | 2009-07-23 Robert Dewar <dewar@adacore.com> |
1895 | ||
1896 | * exp_ch4.adb (Analyze_N_Op_Rem): Assume operands are valid when | |
1897 | checking ranges for mod/rem to see if conditional jump will be | |
1898 | generated. | |
1899 | (Analyze_N_Op_Rem): Don't try to check actual lower bounds for | |
1900 | generating special -1 test for rem, generate it whenever both | |
1901 | operands can be negative (match circuit in Sem_Res). | |
1902 | (Analyze_N_Op_Rem): Don't go to base type, no longer needed and | |
1903 | destroys memory of positive range. | |
1904 | * sem_res.adb (Resolve_Arithmetic_Op): Assume operands are valid when | |
1905 | checking ranges for mod/rem to see if conditional jump will be generated | |
1906 | ||
1907 | 2009-07-23 Ed Schonberg <schonberg@adacore.com> | |
1908 | ||
1909 | * exp_ch3.adb (Build_Equivalent_Record_Aggregate): If the type of a | |
1910 | scalar components has non-static bounds, the equivalent aggregate | |
1911 | cannot be built, even if the expression is static, because range checks | |
1912 | will be generated. | |
1913 | ||
27f55f3c RD |
1914 | 2009-07-23 Robert Dewar <dewar@adacore.com> |
1915 | ||
1916 | * exp_ch4.adb (Expand_N_Type_Conversion): Don't promote integer | |
1917 | division operands to 64-bit inside a conversion if 64-bit division not | |
1918 | available. | |
1919 | ||
1c5c721a AC |
1920 | 2009-07-23 Sergey Rybin <rybin@adacore.com> |
1921 | ||
1922 | * gnat_ugn.texi: Update doc on Misnamed_Identifiers rule. | |
1923 | ||
1924 | 2009-07-23 Javier Miranda <miranda@adacore.com> | |
1925 | ||
1926 | * sinfo.ads, sinfo.adb (SCIL_Entity/Set_SCIL_Entity): new subprograms | |
1927 | (Entity/Set_Entity): not available in N_Null_Statement nodes | |
1928 | (Is_Scil_Node): renamed as Is_SCIL_Node | |
1929 | (Scil_Nkind): renamed as SCIL_Nkind | |
1930 | (Scil_Related_Node): renamed as SCIL_Related_Node | |
1931 | (Scil_Target_Prim): renamed as SCIL_Target_Prim | |
1932 | (Set_Is_Scil_Node): Renamed as Set_Is_SCIL_Node | |
1933 | (Set_Scil_Related_Node): Renamed as Set_SCIL_Related_Node | |
1934 | (Set_Scil_Target_Prim): Renamed as Set_SCIL_Target_Prim | |
1935 | Update documentation | |
1936 | * exp_disp.ads (Scil_Node_Kind): Renamed as SCIL_Node_Kind | |
1937 | (Get_Scil_Node_Kind): Renamed as Get_SCIL_Node_Kind | |
1938 | (New_Scil_Node): Renamed as New_SCIL_Node | |
1939 | * exp_disp.adb Update all occurrences of New_Scil_Node to New_SCIL_Node. | |
1940 | (Get_Scil_Node_Kind): Renamed as Get_SCIL_Node_Kind | |
1941 | (New_Scil_Node): Renamed as New_SCIL_Node | |
1942 | * exp_ch3.adb Update occurrence of New_Scil_Node to New_SCIL_Node. | |
1943 | ||
1944 | 2009-07-23 Robert Dewar <dewar@adacore.com> | |
1945 | ||
1946 | * sem_prag.adb: No_Return is an Ada 2005 pragma, not a GNAT pragma | |
1947 | * snames.ads-tmpl: No_Return is an Ada 2005 pragma, not a GNAT pragma | |
1948 | * einfo.adb: Minor reformatting | |
1949 | ||
eaa826f8 RD |
1950 | 2009-07-23 Robert Dewar <dewar@adacore.com> |
1951 | ||
1952 | * checks.adb (Apply_Arithmetic_Overflow_Check): Add comments | |
1953 | cross-referencing the new related code in | |
1954 | Exp_Ch4.Expand_N_Type_Conversion. | |
1955 | * exp_ch4.adb (Expand_N_Type_Conversion): Avoid unnecessary overflows | |
1956 | ||
1957 | * exp_disp.adb, exp_disp.ads, sinfo.ads: Minor reformatting. | |
1958 | Add comment. | |
1959 | ||
a50790d1 JM |
1960 | 2009-07-23 Javier Miranda <miranda@adacore.com> |
1961 | ||
1962 | * sinfo.ads (Is_Scil_Node, Scil_Nkind, Scil_Related_Node, | |
1963 | Scil_Target_Prim, N_Has_Entity): Add missing documentation. | |
1964 | * exp_disp.ads (Scil_Node_Kind): Ditto. | |
1965 | * exp_disp.adb (Make_DT, Make_Tags): Ditto. | |
1966 | * exp_ch3.adb (Build_Init_Procedure): Ditto. | |
1967 | ||
7205254b JM |
1968 | 2009-07-23 Javier Miranda <miranda@adacore.com> |
1969 | ||
1970 | * einfo.adb (Component_Type): Add missing assertion. | |
1971 | * sem_res.adb (Resolve_Call): Ensure proper kind of entity before | |
1972 | reading attribute Component_Size. | |
1973 | * exp_ch4.adb (Is_Safe_In_Place_Array_Op): Ensure proper kind of entity | |
1974 | before reading attributes Component_Size and Component_Type. | |
1975 | * exp_ch3.adb (Build_Initialization_Call): Ensure proper kind of entity | |
1976 | before reading attribute Component_Type. | |
1977 | ||
212863c0 AC |
1978 | 2009-07-23 Olivier Hainque <hainque@adacore.com> |
1979 | ||
1980 | * gnat_rm.texi: Document the GNAT.SSE units. | |
1981 | ||
1982 | 2009-07-23 Ed Schonberg <schonberg@adacore.com> | |
1983 | ||
1984 | * sem_ch6.adb (Analyze_Return_Type): Do not create itype reference for | |
1985 | not null return if it appears on a subunit. | |
1986 | ||
97cb64f0 RD |
1987 | 2009-07-23 Robert Dewar <dewar@adacore.com> |
1988 | ||
1989 | * exp_ch5.adb (Expand_N_Assignment_Statement): Do left-side validity | |
1990 | check right away so it does not get skipped for early returns, e.g. | |
1991 | array assignments. | |
1992 | (Expand_N_Assignment_Statement): Don't propagate Is_Known_Valid to | |
1993 | left-side unless we really know the value is valid. | |
1994 | ||
1995 | * errout.adb, exp_ch3.adb, exp_disp.ads, sinfo.ads, exp_disp.adb: Minor | |
1996 | reformatting. Minor code reorganization. Add comments. | |
1997 | ||
839de535 RD |
1998 | 2009-07-23 Robert Dewar <dewar@adacore.com> |
1999 | ||
2000 | * get_scos.adb (Skip_EOL): Fix error of mishandling end of line after | |
2001 | complex condition. | |
2002 | ||
81d93365 AC |
2003 | 2009-07-23 Gary Dismukes <dismukes@adacore.com> |
2004 | ||
2005 | * sem_ch6.adb (Check_Return_Subtype_Indication): Replace type equality | |
2006 | with test of coverage, to allow specific type objects in extended | |
2007 | returns of class-wide functions. Remove now-unnecessary special-case | |
2008 | tests that allowed this in certain cases of expanded extended returns. | |
2009 | ||
2010 | 2009-07-23 Javier Miranda <miranda@adacore.com> | |
2011 | ||
2012 | * sinfo.ads,sinfo.adb (Entity/Set_Entity): Attribute available in | |
2013 | N_Null_Statements (for SCIL nodes). | |
2014 | (Is_Scil_Node/Set_Is_Scil_Node): New attribute (for SCIL nodes). | |
2015 | (Scil_Nkind/Set_Scil_Nkind): New attribute (for SCIL nodes). | |
2016 | (Scil_Related_Node/Set_Scil_Related_Node): New attribute (for SCIL | |
2017 | nodes). | |
2018 | (Scil_Target_Prim/Set_Scil_Target_Prim): New attribute (for SCIL nodes). | |
2019 | * exp_disp.adb (Expand_Dispatching_Call): Add generation of SCIL node | |
2020 | associated with dispatching call. | |
2021 | (Get_Scil_Node_Kind): New function that returns the kind of SCIL node. | |
2022 | (Make_DT, Make_Tags): Add generation of SCIL nodes associated with | |
2023 | initialization of dispatch tables and initialization of tags. | |
2024 | (New_Scil_Node): New function that creates a new SCIL node. | |
2025 | (Build_Init_Procedure): Add generation of SCIL node associated with the | |
2026 | initialization of tags done in the IP subprogram. | |
2027 | ||
2028 | 2009-07-23 Ed Schonberg <schonberg@adacore.com> | |
2029 | ||
2030 | * errout.adb (Error_Msg_NEL): If the entity in the initial message has | |
2031 | Warnings_Off, do not emit continuation messages. | |
2032 | ||
2033 | * sem_ch10.adb: Set Is_Compilation_Unit on generated child subprogram | |
2034 | spec. | |
2035 | ||
2036 | 2009-07-23 Emmanuel Briot <briot@adacore.com> | |
2037 | ||
2038 | * ali.adb: Minor comment update | |
2039 | ||
2040 | 2009-07-23 Vasiliy Fofanov <fofanov@adacore.com> | |
2041 | ||
2042 | * s-win32.ads (HANDLE): Define to be the same size as address type. | |
2043 | Fix copyright. | |
2044 | ||
2045 | 2009-07-23 Olivier Hainque <hainque@adacore.com> | |
2046 | ||
2047 | * g-sse.ads: New file. Root of the SSE facilities trees, with | |
2048 | general description and common declarations. | |
2049 | * g-ssvety.ads: New file. Expose user level SSE vector types. | |
2050 | * impunit.adb (Non_Imp_File_Names_95): Register new units. | |
2051 | * gcc-interface/Makefile.in (x86 32/64 linux, win32): Add | |
2052 | EXTRA_GNATRTL_NONTASKING_OBJS entries for SSE units. | |
2053 | ||
2054 | 2009-07-23 Ben Brosgol <brosgol@adacore.com> | |
2055 | ||
2056 | * gnat_ugn.texi: Wordsmithing. | |
2057 | ||
8b17c58e AC |
2058 | 2009-07-23 Arnaud Charlet <charlet@adacore.com> |
2059 | ||
2060 | * prj-conf.ads, prj-conf.adb: Switch to GPLv3. | |
2061 | ||
240fe2a4 AC |
2062 | 2009-07-22 Eric Botcazou <ebotcazou@adacore.com> |
2063 | ||
2064 | * exp_aggr.adb (Gen_Loop): Do not qualify the bounds of the range if | |
2065 | they are already of the base type of the index. | |
2066 | ||
2067 | 2009-07-22 Brett Porter <porter@adacore.com> | |
2068 | ||
2069 | * sysdep.c, init.c: Fix typo: _SPE_ should have been __SPE__. | |
2070 | ||
2071 | 2009-07-22 Robert Dewar <dewar@adacore.com> | |
2072 | ||
2073 | * vms_data.ads: Add entry for SCO_OUTPUT (-gnateS) | |
2074 | * gnat_ugn.texi: Add documentation for -gnateS switch | |
2075 | * ug_words: Add entry for -gnateS /SCO_OUTPUT | |
fe8b685c | 2076 | * gcc-interface/Make-lang.in: Update dependencies. |
240fe2a4 AC |
2077 | |
2078 | * get_scos.adb, get_scos.ads, gnat1drv.adb, par_sco.adb, | |
2079 | par_sco.ads, put_scos.adb, put_scos.ads, scos.adb, scos.ads: Initial | |
2080 | complete information for SCO input/output. | |
2081 | ||
f7f0159d AC |
2082 | 2009-07-22 Sergey Rybin <rybin@adacore.com> |
2083 | ||
2084 | * gnat_ugn.texi: Update doc for some gnatcheck rules. | |
2085 | ||
2086 | 2009-07-22 Robert Dewar <dewar@adacore.com> | |
2087 | ||
2088 | * par_sco.adb, par_sco.ads (pscos): New debug routine to output | |
2089 | contents of SCO tables. | |
2090 | * put_scos.adb, put_scos.ads, get_scos.adb, get_scos.ads, | |
2091 | scos.adb, scos.ads: New files. | |
2092 | * gcc-interface/Make-lang.in: Update dependencies. | |
2093 | ||
2094 | * lib-util.ads, gnatbind.ads, ali.ads, binderr.ads: Minor comment | |
2095 | fixes and reformatting. | |
2096 | ||
fa031669 AC |
2097 | 2009-07-22 Robert Dewar <dewar@adacore.com> |
2098 | ||
2099 | * g-socket.ads: Minor reformatting | |
2100 | ||
2101 | 2009-07-22 Gary Dismukes <dismukes@adacore.com> | |
2102 | ||
2103 | * sem_warn.adb (Warn_On_Unreferenced_Entity): Add warning messages that | |
2104 | include the entity kind for following cases of unreferenced entities: | |
2105 | E_Label, E_Discriminant, E_Package, E_Exception, and Formal_Object_Kind. | |
2106 | ||
e1aca343 AC |
2107 | 2009-07-22 Ed Falis <falis@adacore.com> |
2108 | ||
2109 | * s-vxwext-kernel.adb, s-vxwext-kernel.ads: Replace use of taskStop | |
2110 | with taskSuspend. | |
2111 | ||
2112 | 2009-07-22 Arnaud Charlet <charlet@adacore.com> | |
2113 | ||
2114 | * adadecode.c: Make this file compilable outside of GCC. | |
2115 | ||
2116 | 2009-07-22 Thomas Quinot <quinot@adacore.com> | |
2117 | ||
2118 | * g-socket.adb, g-socket.ads (Check_Selector): Make sure that | |
2119 | (partially) default-initialized socket sets are handled properly by | |
2120 | clearing their Set component. | |
2121 | ||
2122 | 2009-07-22 Bob Duff <duff@adacore.com> | |
2123 | ||
2124 | * gnat_ugn.texi: Clarify the -gnatVx (validity checking) switches. | |
2125 | ||
74462a6a AC |
2126 | 2009-07-22 Robert Dewar <dewar@adacore.com> |
2127 | ||
2128 | * gnat_ugn.texi: Minor reformatting | |
2129 | ||
2130 | 2009-07-22 Ed Schonberg <schonberg@adacore.com> | |
2131 | ||
2132 | * errout.adb (Error_Msg): A style message within an instantiation | |
2133 | should not be labelled as an error. | |
2134 | ||
2f4f3f3f AC |
2135 | 2009-07-22 Ed Schonberg <schonberg@adacore.com> |
2136 | ||
2137 | * freeze.adb (Freeze_Entity): Do not generate extra formal for function | |
2138 | in initialization expression if function does not have convention Ada. | |
2139 | ||
2140 | 2009-07-22 Sergey Rybin <rybin@adacore.com> | |
2141 | ||
2142 | * gnat_ugn.texi, vms_data.ads: Add qualifier for new gnatpp option | |
2143 | '--separate-label' to control label layout. | |
2144 | ||
1d1bd8ad AC |
2145 | 2009-07-22 Robert Dewar <dewar@adacore.com> |
2146 | ||
2147 | * exp_tss.ads, sem_eval.adb: Minor reformatting | |
2148 | ||
2149 | 2009-07-22 Bob Duff <duff@adacore.com> | |
2150 | ||
2151 | * exp_dist.adb, exp_dist.ads: Update comments. | |
2152 | ||
09494c32 AC |
2153 | 2009-07-22 Brett Porter <porter@adacore.com> |
2154 | ||
2155 | * init.c (__gnat_init_float): For SPE, set bits in SPEFSCR instead of | |
2156 | FPSCR. | |
2157 | * sysdep.c (__gnat_get_task_options): Set task option enabling SPE. | |
2158 | ||
2159 | 2009-07-22 Gary Dismukes <dismukes@adacore.com> | |
2160 | ||
2161 | * exp_ch5.adb, sem_util.adb, sem_attr.adb, exp_dbug.ads, exp_ch2.adb, | |
2162 | exp_tss.ads, exp_ch4.adb, sem_ch4.adb: Correct spelling error. | |
2163 | Minor reformatting. | |
2164 | * sem_res.adb (Resolve_Explicit_Dereference): Reword one comment that | |
2165 | used poor terminology. | |
2166 | ||
2167 | 2009-07-22 Robert Dewar <dewar@adacore.com> | |
2168 | ||
2169 | * freeze.adb, sem_ch3.adb, sem_prag.adb: Minor reformatting | |
2170 | * sem_eval.adb, exp_tss.adb: Minor comment update. | |
2171 | * stylesw.adb: Code clean up. | |
2172 | ||
5a989c6b AC |
2173 | 2009-07-22 Ed Schonberg <schonberg@adacore.com> |
2174 | ||
2175 | * freeze.adb (Freeze_Entity): If Implicit_Packing is enabled, and the | |
2176 | component size is an exact number of bytes, an array type can have a | |
2177 | size clause that forces packing even though the array type itself is | |
2178 | not bit-packed. | |
2179 | ||
2180 | 2009-07-22 Thomas Quinot <quinot@adacore.com> | |
2181 | ||
2182 | * sem_ch3.adb (Analyze_Object_Declaration): For a constant declaration, | |
2183 | if there is a previous entity with the same name in the scope, ignore | |
2184 | it if it is the renaming declaration for a generic package introduced | |
2185 | in instances. | |
2186 | ||
2187 | 2009-07-22 Nicolas Roche <roche@adacore.com> | |
2188 | ||
2189 | * seh_init.c: use RtlAddFunctionTable to register our SEH exception | |
2190 | handler on x86_64 windows. | |
2191 | ||
2192 | 2009-07-22 Arnaud Charlet <charlet@adacore.com> | |
2193 | ||
2194 | * sem_prag.adb (Analyze_Pragma): Initialize/Normalize_Scalars create | |
2195 | false positives in CodePeer, so ignore this pragma in this mode. | |
2196 | ||
9d0c3761 AC |
2197 | 2009-07-22 Thomas Quinot <quinot@adacore.com> |
2198 | ||
2199 | * sem_util.adb, sem_ch10.adb: Minor reformatting | |
2200 | ||
2201 | * g-socket.adb (Receive_Socket, recvfrom(2) variant): Apply required | |
2202 | special handling for the case of no data received and Item'First = | |
2203 | Stream_Element_Offset'First. | |
2204 | (Last_Index): New subprogram factoring the above special handling | |
2205 | over the various locations where it is required. | |
2206 | ||
2207 | 2009-07-22 Arnaud Charlet <charlet@adacore.com> | |
2208 | ||
2209 | * gnat1drv.adb (Gnat1drv): Also disable division by zero and alignment | |
2210 | checks in CodePeer_Mode. | |
2211 | * gcc-interface/Make-lang.in: Update dependencies. | |
2212 | ||
2213 | 2009-07-22 Ed Schonberg <schonberg@adacore.com> | |
2214 | ||
2215 | * sem_aggr.adb: Improve error message. | |
2216 | ||
2217 | * sem_ch13.adb: If Ignore_Rep_Clauses is enabled, do a minimal analysis | |
2218 | of an address representation clause. | |
2219 | * freeze.adb (Freeze_Static_Object): An local imported object is legal | |
2220 | if it has an address clause. | |
2221 | ||
f6256631 AC |
2222 | 2009-07-22 Thomas Quinot <quinot@adacore.com> |
2223 | ||
2224 | * sem_elab.adb (Insert_Elab_Check): When relocating an overloaded | |
2225 | expression to insert an elab check using a conditional expression, be | |
2226 | sure to carry the original list of interpretations to the new location. | |
2227 | ||
2228 | 2009-07-22 Gary Dismukes <dismukes@adacore.com> | |
2229 | ||
2230 | * gnat1drv.adb: Fix spelling error. | |
2231 | ||
2232 | 2009-07-22 Javier Miranda <miranda@adacore.com> | |
2233 | ||
2234 | * sem_type.ads, sem_type.adb (In_Generic_Actual): Leave this subprogram | |
2235 | at the library level and fix a hidden bug in its implementation: its | |
2236 | functionality for renaming objects was broken because | |
2237 | N_Object_Renaming_Declarations nodes are not a subclass of | |
2238 | N_Declaration nodes (as documented in sinfo.ads). | |
2239 | * sem_util.adb (Check_Dynamically_Tagged_Expression): Include in this | |
2240 | check nodes that are actuals of generic instantiations. | |
2241 | ||
2242 | 2009-07-22 Ed Schonberg <schonberg@adacore.com> | |
2243 | ||
2244 | * sinfo.ads, sinfo.adb (Pending_Context): New flag to indicate that the | |
2245 | context of a compilation unit is being analyzed. Used to detect | |
2246 | circularities created by with_clauses that are not detected by the | |
2247 | loading machinery. | |
2248 | * sem_ch10.adb (Analyze_Compilation_Unit): Set Pending_Context before | |
2249 | analyzing the context of the current compilation unit, to detect | |
2250 | possible circularities created by with_clauses. | |
2251 | ||
4eb317cc TQ |
2252 | 2009-07-22 Thomas Quinot <quinot@adacore.com> |
2253 | ||
2254 | * sem_type.adb (Get_First_Interp): Fix wrong loop exit condition. | |
2255 | ||
a36c1c3e RD |
2256 | 2009-07-22 Robert Dewar <dewar@adacore.com> |
2257 | ||
2258 | * sem_res.adb (Check_No_Direct_Boolean_Operators): Add check for -gnatyB | |
2259 | * style.ads, styleg.adb, styleg.ads (Check_Boolean_Operator): New | |
2260 | procedure. | |
2261 | * usage.adb, stylesw.ads, stylesw.adb: Add handling of -gnatyB switch | |
2262 | * gnat_ugn.texi: Add documentation of -gnatyB | |
2263 | * vms_data.ads: Add entry for -gnatyB (STYLE=BOOLEAN_OPERATORS) | |
2264 | ||
d1ced162 RD |
2265 | 2009-07-22 Robert Dewar <dewar@adacore.com> |
2266 | ||
2267 | * s-stchop.adb, a-direct.adb, a-ztexio.adb, gnatchop.adb, prj-proc.adb, | |
2268 | make.adb, s-regpat.adb, ali-util.adb, a-ngcefu.adb, prep.adb, | |
2269 | s-tassta.adb, a-tifiio.adb, a-textio.adb, prj.adb, uintp.adb, | |
2270 | s-valrea.adb, a-ngelfu.adb, prepcomp.adb, sinput-l.adb, vms_conv.adb, | |
2271 | errout.adb, g-alleve.adb, repinfo.adb, a-wtedit.adb, ali.adb, | |
2272 | a-witeio.adb, prj-dect.adb, prj-nmsc.adb, sinput-c.adb, binde.adb, | |
2273 | s-regexp.adb, s-imgrea.adb, a-teioed.adb, errutil.adb, prj-util.adb, | |
2274 | a-ztedit.adb, gnatls.adb, prj-conf.adb, bcheck.adb, s-scaval.adb, | |
2275 | erroutc.adb, osint.adb, a-strfix.adb, s-fileio.adb: Make sure sources | |
2276 | obey short-circuit style rule. | |
2277 | ||
5a1ccfb1 AC |
2278 | 2009-07-20 Bob Duff <duff@adacore.com> |
2279 | ||
2280 | * sem_ch13.adb (Analyze_Record_Representation_Clause): Use "and then" | |
2281 | instead of "and", because otherwise Parent_Last_Bit is read | |
2282 | uninitialized in the case where it's not a tagged type, or the tagged | |
2283 | parent does not have a complete rep clause. | |
2284 | ||
2285 | 2009-07-20 Robert Dewar <dewar@adacore.com> | |
2286 | ||
2287 | * stylesw.ads: Minor documentation change. | |
2288 | ||
2289 | * types.ads: Minor reformatting | |
2290 | ||
2291 | 2009-07-20 Javier Miranda <miranda@adacore.com> | |
2292 | ||
2293 | * exp_disp.ads (Apply_Access_Checks): New subprogram that takes care of | |
2294 | generating the tag checks associated with dispatching calls. | |
2295 | * exp_disp.adb (Apply_Access_Checks): New subprogram. | |
2296 | (New_Value): This routine was previously local to expand dispatching | |
2297 | calls but it is now used also by Apply_Access_Checks. | |
2298 | (Expand_Dispatching_Calls): Cleanup code because the functionality of | |
2299 | tag checks is now provided by Apply_Access_Checks. | |
2300 | * exp_ch6.adb (Expand_Call): Incorporate generation of tag checks in | |
2301 | case of dispatching calls. | |
2302 | ||
2303 | 2009-07-20 Arnaud Charlet <charlet@adacore.com> | |
2304 | ||
2305 | * gnat1drv.adb (Gnat1drv): Also disable Elaboration_Check in | |
2306 | CodePeer_Mode. | |
2307 | ||
1be9633f AC |
2308 | 2009-07-20 Gary Dismukes <dismukes@adacore.com> |
2309 | ||
2310 | * exp_prag.adb (Expand_Pragma_Import_Export_Exception): When compiling | |
2311 | for VMS, only rewrite the first component of the associated exception's | |
2312 | aggregate init (as 'V'), and eliminate the bogus rewrites of the second | |
2313 | and third components that were being replaced with 'M' and 'S'. | |
2314 | ||
2315 | 2009-07-20 Arnaud Charlet <charlet@adacore.com> | |
2316 | ||
2317 | * gnat1drv.adb (Gnat1drv): Suppress access checks in CodePeer mode. | |
2318 | Also do not generate error when parsing a spec in CodePeer mode. | |
2319 | ||
2320 | 2009-07-20 Javier Miranda <miranda@adacore.com> | |
2321 | ||
2322 | * checks.adb (Apply_Access_Check): Avoid checks on availability of | |
2323 | runtime function Offset_To_Top_Ptr when compiling with no tagged | |
2324 | types expansion. | |
2325 | * exp_ch3.adb (Build_Init_Procedure): Leave open the possibility of | |
2326 | adding code to the init proc when compiling for VM backends. | |
2327 | ||
2328 | 2009-07-20 Vincent Celier <celier@adacore.com> | |
2329 | ||
151293b5 VC |
2330 | * switch-m.ads, switch-m.adb (Normalize_Compiler_Switches): Take into |
2331 | account switches -gnatw.? | |
1be9633f AC |
2332 | |
2333 | 2009-07-20 Thomas Quinot <quinot@adacore.com> | |
2334 | ||
2335 | * sem_dist.adb, exp_dist.adb: Minor reformatting | |
2336 | ||
2337 | * Make-generated.in: New file. | |
2338 | ||
2339 | * gcc-interface/Make-lang.in: Use Make-generated.in fragment. | |
2340 | ||
4755cce9 JM |
2341 | 2009-07-20 Javier Miranda <miranda@adacore.com> |
2342 | ||
2343 | * sem_util.ads, sem_util.adb (Check_Dynamically_Tagged_Expression): New | |
2344 | subprogram. | |
2345 | * sem_aggr.adb (Resolve_Array_Aggregate): Check incorrect use of | |
2346 | dynamically tagged expression. | |
2347 | * sem_ch3.adb (Analyze_Object_Declaration): Call new routine that | |
2348 | factorizes code. | |
2349 | * sem_ch6.adb (Analyze_Function_Return, Process_Formals): Ditto. | |
2350 | * sem_ch8.adb (Analyze_Object_Renaming): Ditto. | |
2351 | ||
46fe0142 AC |
2352 | 2009-07-20 Arnaud Charlet <charlet@adacore.com> |
2353 | ||
2354 | * gnat1drv.adb (Gnat1drv): Set operating mode to Generate_Code when | |
2355 | CodePeer_Mode is set, to benefit from full front-end expansion | |
2356 | (e.g. generics). | |
2357 | ||
2358 | 2009-07-20 Ed Schonberg <schonberg@adacore.com> | |
2359 | ||
2360 | * sem_res.adb: Add guard. | |
2361 | ||
2362 | * exp_disp.adb, sem_disp.adb (Make_DT): Check underlying view of type | |
2363 | for possible attribute definition of External_Tag, in case clause | |
2364 | appears in the private part of a package. | |
2365 | ||
f043707f JG |
2366 | 2009-07-20 Jerome Guitton <guitton@adacore.com> |
2367 | ||
2368 | * gcc-interface/Makefile.in: cleanup powerpc linux target pairs. | |
2369 | ||
ff7139c3 AC |
2370 | 2009-07-20 Vadim Godunko <godunko@adacore.com> |
2371 | ||
2372 | * a-coorma.adb: Minor reformatting. | |
2373 | ||
2374 | 2009-07-20 Ed Schonberg <schonberg@adacore.com> | |
2375 | ||
2376 | * sem_ch3 (Build_Itype_Reference): Make public, for use on non-null | |
2377 | access return types. | |
2378 | * sem_ch6.adb (Analyze_Return_Type): If return is a not null subtype, | |
2379 | provide an itype reference to gigi to force elaboration of the subtype | |
2380 | at the proper point. | |
2381 | ||
2382 | 2009-07-20 Tristan Gingold <gingold@adacore.com> | |
2383 | ||
2384 | * g-expect.adb: Avoid closeing already closed handle. | |
2385 | ||
2386 | 2009-07-20 Robert Dewar <dewar@adacore.com> | |
2387 | ||
2388 | * sprint.adb (Write_Subprogram_Name): New procedure to output | |
2389 | subprogram name with possible preceding $ (replaces | |
2390 | Note_Implicit_Run_Time_Call). | |
2391 | ||
6fb4cdde AC |
2392 | 2009-07-20 Robert Dewar <dewar@adacore.com> |
2393 | ||
2394 | * vms_data.ads: Minor reformatting | |
2395 | ||
2396 | * einfo.ads, einfo.adb (Parent_Subtype): Now allowed on record subtype, | |
2397 | applies to base type. | |
2398 | (Parent_Subtype): Now allowed on record subtype, applies to base type | |
2399 | * exp_ch5.adb (Expand_Assign_Record): Handle Componentwise_Assignment | |
2400 | for case of fully repped tagged type. | |
2401 | (Make_Tag_Ctrl_Assignment): Set Componentwise_Assignment and avoid | |
2402 | tag save/restore for fully repped tagged type case. | |
2403 | * exp_util.ads, exp_util.adb (Is_Fully_Repped_Tagged_Type): New function | |
2404 | * fe.h (Is_Fully_Repped_Tagged_Type): New function | |
2405 | * sem_ch13.adb (Analyze_Recorrd_Representation_Clause): Check for | |
2406 | overlap of tagged type components with parent type if parent type is | |
2407 | fully repped. | |
2408 | * sinfo.ads, sinfo.adb (Componentwise_Assignment): New flag | |
2409 | ||
2410 | * sem_res.adb (Check_No_Direct_Boolean_Operators): Remove handling of | |
2411 | comparisons. | |
2412 | (Resolve_Comparison_Operators): Remove No_Direct_Boolean_Operators check | |
2413 | (Resolve_Equality_Op): Remove No_Direct_Boolean_Operators check | |
2414 | ||
2415 | * gnat_rm.texi: Restriction No_Direct_Boolean_Operators includes only | |
2416 | logical operators (AND/OR/XOR), not comparison operators. | |
2417 | ||
2418 | * sprint.ads: Minor reformatting | |
2419 | ||
2420 | 2009-07-20 Ed Schonberg <schonberg@adacore.com> | |
2421 | ||
2422 | * sem_intr.adb (Check_Intrinsic_Call): For Import_Value and related | |
2423 | intrinsics, check that argument is a string literal, rather than | |
2424 | checking for staticness. | |
2425 | ||
ae65d635 AC |
2426 | 2009-07-20 Robert Dewar <dewar@adacore.com> |
2427 | ||
2428 | * sem_ch13.adb: Minor reformatting | |
2429 | ||
2430 | * einfo.ads: Minor reformatting | |
2431 | Component_Bit_Offset is no longer considered obsolescent | |
2432 | ||
2433 | 2009-07-20 Nicolas Roche <roche@adacore.com> | |
2434 | ||
2435 | * a-calend.adb: Redefine time_t as signed integer with same size as | |
2436 | Address type. | |
2437 | * s-os_lib.ads: Redefine OS_Time as signed integer with same size as | |
2438 | Address type | |
2439 | * adaint.h: On Windows 64bits declare OS_Time as long long instead of | |
2440 | long | |
2441 | ||
2442 | 2009-07-20 Javier Miranda <miranda@adacore.com> | |
2443 | ||
2444 | * exp_tss.adb (Init_Proc): Add missing support for non-default C++ | |
2445 | constructors that have anonymous access type formals. | |
2446 | ||
2447 | * sem_res.adb (Resolve_Actuals): Disable checks associated with Ada | |
2448 | class-wide arguments in case of imported C++ subprograms. | |
2449 | ||
2450 | * exp_ch3.adb (Build_Initialization_Call): Add assertion. | |
2451 | ||
2452 | 2009-07-20 Sergey Rybin <rybin@adacore.com> | |
2453 | ||
2454 | * vms_data.ads: Update qualifiers. | |
2455 | ||
5132708f RD |
2456 | 2009-07-20 Robert Dewar <dewar@adacore.com> |
2457 | ||
2458 | * einfo.ads, switch.adb, gnatls.adb, inline.adb, sem_ch13.adb: Minor | |
2459 | reformatting | |
2460 | ||
a406865a RG |
2461 | 2009-07-17 Richard Guenther <rguenther@suse.de> |
2462 | ||
2463 | PR c/40401 | |
1f55686a AC |
2464 | * gcc-interface/utils.c (end_subprog_body): Revert to pre-tuples |
2465 | state. Remove unused parameter. | |
a406865a RG |
2466 | (gnat_gimplify_function): Do not gimplify here. |
2467 | Fold into its only caller and remove. | |
2468 | (gnat_builtin_function): Adjust for end_subprog_body signature change. | |
2469 | (gnat_write_global_declarations): Also finalize the CU. | |
1f55686a AC |
2470 | * gcc-interface/misc.c (gnat_parse_file): Do not finalize the CU here. |
2471 | * gcc-interface/trans.c (gigi): Revert to pre-tuples state. | |
a406865a RG |
2472 | (Subprogram_Body_to_gnu): Adjust for end_subprog_body signature |
2473 | change. | |
1f55686a | 2474 | * gcc-interface/gigi.h (end_subprog_body): Remove unused parameter. |
a406865a | 2475 | |
fde4b6f5 AC |
2476 | 2009-07-15 Arnaud Charlet <charlet@adacore.com> |
2477 | ||
2478 | * gcc-interface/Make-lang.in: Update dependencies | |
2479 | ||
2480 | * gcc-interface/Makefile.in: Add target pairs for PPC/Xenomai | |
2481 | ||
9cd33a66 AC |
2482 | 2009-07-15 Robert Dewar <dewar@adacore.com> |
2483 | ||
2484 | * par_sco.adb (Traverse_Declarations_Or_Statements): Add processing for | |
2485 | N_Label. Remove SCO table entry for entry point (not used). | |
2486 | ||
2487 | * par_sco.ads: Remove SCO entry point type (not used) | |
2488 | ||
2489 | * switch.adb: Minor code clean up. | |
2490 | ||
2491 | 2009-07-15 Eric Botcazou <ebotcazou@adacore.com> | |
2492 | ||
2493 | * exp_dbug.ads (Base Record Types): Document enhanced encoding. | |
2494 | ||
2495 | 2009-07-15 Thomas Quinot <quinot@adacore.com> | |
2496 | ||
2497 | * gnatls.adb: Minor reformatting | |
2498 | ||
2499 | * gnatcmd.adb: Minor code reorganization | |
2500 | ||
2501 | 2009-07-15 Ed Schonberg <schonberg@adacore.com> | |
2502 | ||
2503 | * exp_util.adb (Component_May_Be_Bit_Aligned): Use underlying type to | |
2504 | determine whether a component of a private type has a composite type. | |
2505 | ||
6eab5a95 AC |
2506 | 2009-07-15 Robert Dewar <dewar@adacore.com> |
2507 | ||
2508 | * sem_ch10.adb: Minor reformatting throughout | |
2509 | Minor code reorganization (put nested subprograms in alpha order) | |
2510 | ||
2511 | 2009-07-15 Ed Schonberg <schonberg@adacore.com> | |
2512 | ||
2513 | * exp_ch6.adb (Expand_Call): Prevent double attachment of the result | |
2514 | when compiling a call to a protected function that returns a controlled | |
2515 | object. | |
2516 | ||
2517 | 2009-07-15 Hristian Kirtchev <kirtchev@adacore.com> | |
2518 | ||
2519 | * sysdep.c (__gnat_localtime_tzoff): Consolidate the Lynx cases into | |
2520 | one. Add task locking and unlocking around the critical region which | |
2521 | mentions localtime_r and global variable timezone for various targets. | |
2522 | Comment reformatting. | |
2523 | ||
3eb532e6 RD |
2524 | 2009-07-15 Robert Dewar <dewar@adacore.com> |
2525 | ||
2526 | * gnat_rm.texi: Document s-ststop.ads | |
2527 | ||
2528 | * impunit.ad: (Map_Array): New table of alternative names | |
2529 | (Get_Kind_Of_Unit): Return possible suggested alternative name | |
2530 | ||
2531 | * impunit.ads (Get_Kind_Of_Unit): Return possible suggested | |
2532 | alternative name. | |
2533 | ||
2534 | * sem_ch10.adb (Analalyze_With_Clause): Add name of possible | |
2535 | alternative unit if an implementation unit is with'ed. | |
2536 | ||
4cd029c7 RD |
2537 | 2009-07-15 Robert Dewar <dewar@adacore.com> |
2538 | ||
2539 | * gnat_ugn.texi: Minor updates. | |
2540 | ||
2541 | * snames.ads-tmpl: Minor comment updates for Ada 2005 fully implemented | |
2542 | ||
892125cd AC |
2543 | 2009-07-15 Ed Schonberg <schonberg@adacore.com> |
2544 | ||
2545 | * sem_warn.adb (Warn_On_Constant_Condition): Handle properly constant | |
2546 | conditions of a derived boolean type. | |
2547 | Minor reformatting | |
2548 | ||
2549 | 2009-07-15 Robert Dewar <dewar@adacore.com> | |
2550 | ||
2551 | * gnat1drv.adb: Initialize SCO tables | |
2552 | ||
2553 | * par-load.adb: Call SCO_Record for main unit spec | |
2554 | ||
2555 | * par.adb: Make call to SCO_Record for main unit | |
2556 | ||
2557 | * par_sco.adb (Unit_Table): Change format to facilitate sort | |
2558 | (Process_Decisions): New procedure with list argument | |
2559 | (Traverse_Generic_Package_Declaration): New procedure | |
2560 | (Initialize): New procedure, replaces Init | |
2561 | (SCO_Output): Sort unit table before output | |
2562 | (SCO_Record): Avoid duplications | |
2563 | (SCO_Record): Handle remaining cases of units | |
2564 | (Traverse_Declarations_Or_Statements): Handle generics | |
2565 | ||
2566 | * par_sco.ads (Initialize): New peocedure (replaces Init) | |
2567 | ||
2568 | * sem_ch10.adb (Analyze_Proper_Body): Make call to SCO_Record for | |
2569 | subunit. | |
2570 | ||
2571 | 2009-07-15 Arnaud Charlet <charlet@adacore.com> | |
2572 | ||
2573 | * debug.adb: Add -gnatd.J switch for now to support scil generation in | |
2574 | parallel. Add missing doc for -gnatd.I and -gnatd.O | |
2575 | ||
671eb586 RD |
2576 | 2009-07-15 Robert Dewar <dewar@adacore.com> |
2577 | ||
2578 | * lib-load.adb: Minor reformatting | |
2579 | ||
2580 | * lib-writ.adb (Write_ALI): Fix handling of SCO_Output wrt Generate_SCO. | |
2581 | ||
8aaeba8f RD |
2582 | 2009-07-15 Robert Dewar <dewar@adacore.com> |
2583 | ||
2584 | * par.adb: Minor reformatting | |
2585 | Add ??? comment for possible bad comment | |
2586 | ||
2587 | * par-ch10.adb: Minor reformatting | |
2588 | ||
00838d9a AC |
2589 | 2009-07-15 Ed Schonberg <schonberg@adacore.com> |
2590 | ||
2591 | * sem_warn.adb (Warn_On_Constant_Condition): if the constant condition | |
2592 | is a literal of a derived boolean type, it appears as an unchecked | |
2593 | conversion. Retrieve actual value from expression of conversion. | |
2594 | ||
2595 | 2009-07-15 Robert Dewar <dewar@adacore.com> | |
2596 | ||
2597 | * sem_ch3.adb: Minor reformatting | |
2598 | ||
2599 | * lib-xref.ads, lib-xref.adb, lib.ads, par_sco.ads, par_sco.adb, | |
2600 | lib-writ.ads, lib-writ.adb: Minor reformatting. | |
2601 | Fix problem with SCO format in ALI files | |
2602 | ||
faf387e1 AC |
2603 | 2009-07-15 Robert Dewar <dewar@adacore.com> |
2604 | ||
2605 | * exp_ch7.adb, exp_util.adb, tbuild.adb, tbuild.ads, exp_ch4.adb, | |
2606 | exp_aggr.adb: Minor code reorganization (better calling sequence for | |
2607 | Make_Temporary). | |
2608 | ||
2609 | 2009-07-15 Thomas Quinot <quinot@adacore.com> | |
2610 | ||
2611 | * opt.ads: Minor comment edits | |
2612 | ||
ece6940b TG |
2613 | 2009-07-15 Tristan Gingold <gingold@adacore.com> |
2614 | ||
2615 | * gcc-interface/Makefile.in: Special rule for seh_init.o no longer | |
2616 | needed. | |
2617 | ||
6f12117a RD |
2618 | 2009-07-15 Robert Dewar <dewar@adacore.com> |
2619 | ||
6f12117a RD |
2620 | * lib-writ.adb (Write_Unit_Information): Use SCO_Output to output SCO |
2621 | information. | |
2622 | ||
2623 | * lib-writ.ads: Document addition of SCO lines to ALI file | |
2624 | ||
2625 | * par_sco.ads, par_sco.adb: New files. | |
2626 | ||
2627 | * opt.ads (Generate_SCO): New switch | |
2628 | ||
2629 | * par.adb (Par): Call SCO_Record to record SCO information | |
2630 | ||
2631 | * sem_warn.adb (Warn_On_Constant_Condition): Adjust SCO condition | |
2632 | ||
2633 | * switch-c.adb: Recognize -gnateS to generate SCO information | |
2634 | ||
2635 | * usage.adb: Add line for -gnateS | |
2636 | ||
2637 | * gcc-interface/Make-lang.in: Add dependency on par_sco.o for gnat1 | |
2638 | ||
3a336262 AC |
2639 | 2009-07-15 Robert Dewar <dewar@adacore.com> |
2640 | ||
2641 | * sinfo.ads, make.adb, par.ads, par.adb, sem_warn.adb: Minor | |
2642 | reformatting. | |
2643 | ||
2644 | 2009-07-15 Thomas Quinot <quinot@adacore.com> | |
2645 | ||
2646 | * g-socthi-mingw.adb: Minor comment addition | |
2647 | ||
2648 | * g-socthi-mingw.ads (WSAStartup): First argument is a WORD not an int. | |
2649 | ||
1b73fbc4 RD |
2650 | 2009-07-15 Robert Dewar <dewar@adacore.com> |
2651 | ||
2652 | * g-htable.ads, s-htable.ads: Minor reformatting | |
2653 | ||
6b3fc735 RD |
2654 | 2009-07-15 Robert Dewar <dewar@adacore.com> |
2655 | ||
2656 | * switch-c.adb, sem_ch10.adb, sem_warn.adb, sem_warn.ads: Implement | |
2657 | new switch -gnatw.g. | |
2658 | (Set_GNAT_Mode_Warnings): New procedure. | |
2659 | ||
2660 | * lib-xref.adb: Minor reformatting | |
2661 | ||
124e3829 RD |
2662 | 2009-07-15 Robert Dewar <dewar@adacore.com> |
2663 | ||
2664 | * exp_aggr.adb, tbuild.ads, tbuild.adb: Minor reformatting | |
2665 | Minor code reorganization | |
2666 | ||
2a4c0366 TG |
2667 | 2009-07-14 Taras Glek <tglek@mozilla.com> |
2668 | Rafael Espindola <espindola@google.com> | |
2669 | ||
2670 | * gcc-interface/Make-lang.in (ada.install-plugin): New target for | |
2671 | installing plugin headers. | |
2672 | ||
ae525aa8 ES |
2673 | 2009-07-13 Ed Schonberg <schonberg@adacore.com> |
2674 | ||
2675 | * exp_ch7.adb, exp_util.adb, tbuild.adb, tbuild.ads, exp_ch4.adb, | |
2676 | exp_aggr.adb (Make_Temporary): Utility to create a defining identifier | |
2677 | and link it to the expression whose value it captures. | |
2678 | ||
a7209434 AC |
2679 | 2009-07-13 Robert Dewar <dewar@adacore.com> |
2680 | ||
2681 | * output.adb: Minor comment addition for last change | |
2682 | ||
2683 | * sinfo.ads: Minor reformatting | |
2684 | ||
2685 | 2009-07-13 Vasiliy Fofanov <fofanov@adacore.com> | |
2686 | ||
2687 | * adaint.c (__gnat_portable_no_block_spawn): on Windows, return -1 when | |
2688 | spawn failed like on all other targets. | |
2689 | ||
2690 | 2009-07-13 Ed Schonberg <schonberg@adacore.com> | |
2691 | ||
2692 | * exp_ch7.adb: Indicate origin of temporary for transient expression. | |
2693 | ||
ef76538f AC |
2694 | 2009-07-13 Thomas Quinot <quinot@adacore.com> |
2695 | ||
2696 | * s-oscons-tmplt.c: Add comment. | |
2697 | ||
2698 | 2009-07-13 Robert Dewar <dewar@adacore.com> | |
2699 | ||
2700 | * sinfo.adb, sinfo.ads, sem_util.adb, atree.adb, atree.ads: Minor | |
2701 | reformatting. Minor code reorganization (add 9 argument version of | |
2702 | Nkind_In). | |
2703 | ||
2704 | * impunit.adb: Remove s-os_lib from list of system extensions. | |
2705 | ||
2706 | * sem_util.ads: Minor reformatting | |
2707 | ||
2708 | * output.adb: Add warnings off/on around System.OS_Lib. | |
2709 | ||
690001a2 BD |
2710 | 2009-07-13 Bob Duff <duff@adacore.com> |
2711 | ||
2712 | * exp_dist.adb: Minor comment updates. | |
2713 | ||
a712aa03 AC |
2714 | 2009-07-13 Gary Dismukes <dismukes@adacore.com> |
2715 | ||
2716 | * sem_ch10.adb, sem_ch12.adb, gnat1drv.adb, exp_ch4.adb: Fix casing of | |
2717 | several references to CodePeer. | |
2718 | ||
2719 | 2009-07-13 Bob Duff <duff@adacore.com> | |
2720 | ||
2721 | * exp_dist.adb (Build_From_Any_Function,Build_To_Any_Function, | |
2722 | Build_TypeCode_Function_All): Do not recurse if the type is the base | |
2723 | type. | |
2724 | ||
76efd572 AC |
2725 | 2009-07-13 Robert Dewar <dewar@adacore.com> |
2726 | ||
2727 | * exp_ch4.adb: Minor comment change | |
2728 | ||
2729 | 2009-07-13 Ed Schonberg <schonberg@adacore.com> | |
2730 | ||
2731 | * sem_ch5.adb (Analyze_Iteration_Scheme): Generate dummy reference for | |
2732 | type of iteration, to prevent spurious warnings. | |
2733 | ||
2734 | 2009-07-13 Nicolas Roche <roche@adacore.com> | |
2735 | ||
2736 | * s-oscons-tmplt.c: On VxWorks target ensure that vxWorks.h is always | |
2737 | included. | |
2738 | ||
2739 | 2009-07-13 Arnaud Charlet <charlet@adacore.com> | |
2740 | ||
2741 | * switch-c.adb, usage.adb, sem_ch9.adb, gnat_ugn.texi, rtsfind.adb, | |
2742 | gnat1drv.adb, opt.ads, sem_ch13.adb (Inspector_Mode): Renamed to | |
2743 | Generate_SCIL. | |
2744 | (CodePeer_Mode): New -gnatC switch. | |
2745 | (Adjust_Global_Switches): Adjust settings for Generate_SCIL and | |
2746 | CodePeer_Mode. | |
2747 | ||
10475800 EB |
2748 | 2009-07-13 Eric Botcazou <ebotcazou@adacore.com> |
2749 | ||
2750 | * checks.adb (Selected_Range_Checks): Do not consider that a non-static | |
2751 | integer bound forces the check if it is compared to its subtype range. | |
2752 | ||
7b00e31d AC |
2753 | 2009-07-13 Robert Dewar <dewar@adacore.com> |
2754 | ||
2755 | * prj.ads, prj-dect.adb, prj-err.ads, prj-err.adb, prj-nmsc.adb, | |
2756 | prj-strt.ads: Minor reformatting | |
2757 | ||
2758 | 2009-07-13 Thomas Quinot <quinot@adacore.com> | |
2759 | ||
2760 | * exp_dist.adb (Build_From_Any_Call): For the case of a generic type, | |
2761 | set the type of the From_Any call to the base type. | |
2762 | ||
2763 | 2009-07-13 Doug Rupp <rupp@adacore.com> | |
2764 | ||
2765 | * symbols-processing-vms-ia64.adb (Process): Add variables and | |
2766 | constants to retrieve and check for symbol visibility. | |
2767 | ||
2768 | 2009-07-13 Javier Miranda <miranda@adacore.com> | |
2769 | ||
2770 | * exp_ch4.adb (Expand_N_Unchecked_Type_Conversion): If conversion is to | |
2771 | the identical type we remove the conversion completely because | |
2772 | it is useless. | |
2773 | ||
0e41a941 AC |
2774 | 2009-07-13 Emmanuel Briot <briot@adacore.com> |
2775 | ||
2776 | * prj-err.adb (Error_Msg): One more case where a message should be | |
2777 | considered as a warning. | |
2778 | ||
2779 | * gnatcmd.adb (GNATCmd): Fix previous change, which negated a test. | |
2780 | ||
2781 | 2009-07-13 Thomas Quinot <quinot@adacore.com> | |
2782 | ||
2783 | * exp_dist.adb (Expand_All_Calls_Remote_Subprogram_Call): Analyze | |
2784 | calling stubs in the (library level) scope of the RCI locator, where it | |
2785 | is attached, not in the caller's scope. | |
2786 | ||
2787 | 2009-07-13 Javier Miranda <miranda@adacore.com> | |
2788 | ||
2789 | * sem_ch3.adb (Analyze_Object_Declaration): In case of class-wide | |
2790 | interface object declarations we delay the generation of the equivalent | |
2791 | record type declarations until its expansion because there are cases in | |
2792 | which they are not required. | |
2793 | ||
2794 | * sem_util.adb (Implements_Interface): Add missing support for subtypes. | |
2795 | ||
2796 | * sem_disp.adb (Check_Controlling_Formals): Minor code cleanup plus | |
2797 | addition of assertion. | |
2798 | ||
2799 | * exp_util.adb (Expand_Subtype_From_Expr): Renamings of class-wide | |
2800 | interface types require no equivalent constrained type declarations | |
2801 | because the expanded code only references the tag component associated | |
2802 | with the interface. | |
2803 | (Find_Interface_Tag): Improve management of interfaces that are | |
2804 | ancestors of tagged types. | |
2805 | ||
2806 | * exp_ch3.adb (Expand_N_Object_Declaration): Improve the expansion of | |
2807 | class-wide object declarations to add missing support to statically | |
2808 | displace the pointer to the object to reference the tag component | |
2809 | associated with the interface. | |
2810 | ||
2811 | * exp_disp.adb (Make_Tags) Avoid generation of internally generated | |
2812 | auxiliary types associated with user-defined dispatching calls if the | |
2813 | type has no user-defined primitives. | |
2814 | ||
75069667 VF |
2815 | 2009-07-13 Vasiliy Fofanov <fofanov@adacore.com> |
2816 | ||
2817 | * mingw32.h: Make it explicit that we need XP or later. | |
2818 | ||
2819 | * initialize.c: Remove useless extern symbol declaration. | |
2820 | ||
2821 | * adaint.h: Ditto, also expose __gnat_win32_remove_handle to allow | |
2822 | code reuse in expect.c. | |
2823 | ||
2824 | * adaint.c: Changes throughout the Windows section to redesign storage | |
2825 | of the child process list and the process identification. | |
2826 | ||
2827 | * expect.c (__gnat_kill, __gnat_waitpid): Simplify, cleanup, use pids | |
2828 | for interfacing, fix errors. | |
2829 | (__gnat_expect_portable_execvp): use function in adaint.c | |
2830 | ||
e2d9085b EB |
2831 | 2009-07-13 Emmanuel Briot <briot@adacore.com> |
2832 | ||
2833 | * prj-proc.adb, prj-part.adb, prj-part.ads, prj-strt.adb, | |
2834 | prj-strt.ads, prj.adb, prj.ads, prj-makr.adb, prj-makr.ads, | |
2835 | prj-dect.adb, prj-dect.ads, prj-nmsc.adb, prj-pars.adb, errutil.adb, | |
2836 | errutil.ads, prj-conf.adb, gnatname.adb, prj-err.adb, prj-err.ads | |
2837 | (Prj.Nmsc.Report_Error): Removed, no longer needed. | |
2838 | Always use Prj.Err.Report_Message. | |
2839 | ||
442c0581 RD |
2840 | 2009-07-13 Robert Dewar <dewar@adacore.com> |
2841 | ||
2842 | * prj.adb, sem_ch4.adb, sem_res.adb, prj-nmsc.adb: Minor reformatting | |
2843 | & comment edits. | |
2844 | ||
3c2815d8 RD |
2845 | 2009-07-13 Robert Dewar <dewar@adacore.com> |
2846 | ||
2847 | * opt.ads, prj-conf.adb, prj-env.adb, prj-ext.adb, prj-nmsc.adb, | |
2848 | prj-proc.adb, prj-tree.adb, prj-tree.ads: Minor reformatting | |
2849 | ||
197e4514 AC |
2850 | 2009-07-13 Emmanuel Briot <briot@adacore.com> |
2851 | ||
2852 | * prj.adb, prj.ads, prj-env.adb, prj-conf.adb, prj-tree.adb, | |
2853 | mlib-prj.adb (Private_Part.Ada_Prj_Objects_File_Set, | |
2854 | Ada_Prj_Include_File_Set): Removed, since not needed | |
2855 | Code clean up. | |
2856 | ||
2857 | 2009-07-13 Ed Schonberg <schonberg@adacore.com> | |
2858 | ||
2859 | * sem_ch4.adb (Analyze_Set_Membership): New procedure, subsidiary of | |
2860 | Analyze_Membership_Op. | |
2861 | ||
2862 | * sem_res.adb (Resolve_Set_Membership): New procedure, subsidiary of | |
2863 | Resolve_Membership_Op. | |
2864 | ||
2865 | * exp_ch4.adb (Expand_Set_Membership): New procedure, subsidiary of | |
2866 | Expand_N_In. | |
2867 | ||
2868 | 2009-07-13 Robert Dewar <dewar@adacore.com> | |
2869 | ||
2870 | * clean.adb: Minor reformattting | |
2871 | ||
7bccff24 EB |
2872 | 2009-07-13 Emmanuel Briot <briot@adacore.com> |
2873 | ||
2874 | * gnatcmd.adb, prj-proc.adb, make.adb, mlib-prj.adb, prj-ext.adb, | |
2875 | gnat_ugn.texi, prj.adb, prj.ads, clean.adb, prj-nmsc.adb, prj-util.adb, | |
2876 | prj-conf.adb, gnatname.adb, prj-env.adb, prj-env.ads, prj-tree.adb, | |
2877 | prj-tree.ads (Prj.Tree.Create*): New subprograms to create new packages | |
2878 | and attributes in a project tree. | |
2879 | (Add_Default_GNAT_Naming_Scheme): Provide real implementation. | |
2880 | Remove last remaining mode-specific code (ada_only or | |
2881 | multi_language). This was duplicating code | |
2882 | (Get_Mode, Set_Mode): removed, no longer used. | |
2883 | (Initialize_Project_Path): all tools will now take into account both | |
2884 | GPR_PROJECT_PATH and ADA_PROJECT_PATH (in that order). | |
2885 | Remove some global variables and subprograms no longer used | |
2886 | Make temporary files tree-specific, to avoid interferences between | |
2887 | trees loaded in memory at the same time. | |
2888 | (Prj.Delete_Temporary_File): new subprogram | |
2889 | (Object_Paths, Source_Paths): fields no longer stored in the project | |
2890 | tree, since they are only needed locally in Set_Ada_Paths. | |
2891 | (Set_Mapping_File_Initial_State_To_Empty): removed, since had no | |
2892 | effect in practice. | |
2893 | (Project_Tree_Data.Ada_Path_Buffer): removed, since it can be replaced | |
2894 | by local variables in the appropriate subprograms | |
2895 | (Has_Foreign_Sources): removed. | |
2896 | ||
2897 | * gcc-interface/Makefile.in: prj-pp.o is now needed to build gnatmake | |
2898 | ||
5a64837c AC |
2899 | 2009-07-13 Arnaud Charlet <charlet@adacore.com> |
2900 | ||
2901 | * gnat1drv.adb (Adjust_Global_Switches): No longer set | |
2902 | Back_Annotate_Rep_Info in inspector mode. | |
2903 | (Gnat1Drv): Need to call the back-end in inspector mode to generate SCIL | |
2904 | ||
2905 | * opt.ads: Update comment. | |
2906 | ||
2c011ce1 RD |
2907 | 2009-07-13 Robert Dewar <dewar@adacore.com> |
2908 | ||
2909 | * lib.adb, prj-nmsc.adb, prj-proc.adb, prj-proc.ads, prj.adb, | |
2910 | prj.ads: Minor reformatting and code reorganization. | |
2911 | ||
2912 | * par-ch3.adb (Check_Restricted_Expression): New procedure | |
2913 | ||
99269cf5 ES |
2914 | 2009-07-13 Ed Schonberg <schonberg@adacore.com> |
2915 | ||
2916 | * exp_attr.adb (Rewrite_Stream_Proc_Call): When rewriting a stream | |
2917 | attribute into a call of the corresponding suprogram, create extra | |
2918 | formals for the subprogram, because it may be a renaming whose | |
2919 | analysis does not create extra formals. | |
2920 | ||
32404665 EB |
2921 | 2009-07-13 Emmanuel Briot <briot@adacore.com> |
2922 | ||
2923 | * gnatcmd.adb, prj-proc.adb, prj-proc.ads, make.adb, prj-part.adb, | |
2924 | prj.adb, prj.ads, clean.adb, prj-nmsc.adb, prj-nmsc.ads, prj-pars.adb, | |
2925 | prj-pars.ads, prj-conf.adb, prj-conf.ads, prj-env.adb, prj-tree.adb, | |
2926 | prj-tree.ads: Minor reformatting. | |
2927 | (Processing_Flags): new record to encapsulate the set of common | |
2928 | parameters to several subprograms in the project manager. | |
2929 | (Prj.Nmsc.Process_Naming_Scheme): renames Check, and moved to body | |
2930 | Remove the need for the Current_Dir parameter in subprograms. | |
2931 | (Look_For_Sources): minor refactoring, now that we no longer need to | |
2932 | share subprograms between the two Ada_Only and Multi_Language modes | |
2933 | (Processing_Flags): New field Error_On_Unknown_Language. | |
2934 | Merge tests for library project between gnatmake and gprbuild. | |
2935 | ||
959dd7d8 AC |
2936 | 2009-07-13 Arnaud Charlet <charlet@adacore.com> |
2937 | ||
2938 | * lib.adb, make.adb, mlib.adb, exp_dist.adb: Update comments. | |
2939 | Minor reformatting. | |
2940 | ||
23c4ff9b AC |
2941 | 2009-07-13 Emmanuel Briot <briot@adacore.com> |
2942 | ||
2943 | * prj-env.adb (Create_Config_Pragmas_File): Iterate on sources rather | |
2944 | than units. | |
2945 | ||
2946 | 2009-07-13 Thomas Quinot <quinot@adacore.com> | |
2947 | ||
2948 | * sem_ch3.adb (Process_Full_View): Propagate Has_Specified_Stream_{Read, | |
2949 | Write,Input,Output} from private view to full view. | |
2950 | ||
2951 | * sem_type.adb, sem_type.ads: Minor reformatting | |
2952 | ||
2953 | 2009-07-13 Nicolas Setton <setton@adacore.com> | |
2954 | ||
2955 | * exp_dbug.ads: Add documentation note on the utility of | |
2956 | DW_AT_GNAT_encoding for IDEs. | |
2957 | ||
2958 | 2009-07-13 Robert Dewar <dewar@adacore.com> | |
2959 | ||
2960 | * g-socthi-vxworks.adb: Minor reformatting | |
2961 | ||
2962 | * gnatcmd.adb: Minor reformatting | |
2963 | ||
72a3d7c7 AC |
2964 | 2009-07-13 Thomas Quinot <quinot@adacore.com> |
2965 | ||
2966 | * rtsfind.ads, exp_dist.adb (RE_Allocate_Buffer): Runtime entry | |
2967 | removed, not used anymore. | |
2968 | (Exp_Dist.PolyORB_Support.Helpers.Assign_Opaque_From_Any): | |
2969 | New subprogram, implements copy of an Any value into a limited object. | |
2970 | (Exp_Dist.PolyORB_Support.Build_General_Calling_Stubs, | |
2971 | Exp_Dist.PolyORB_Support.Build_Subprogram_Receiving_Stubs, | |
2972 | Exp_Dist.PolyORB_Support.Helpers.Build_From_Any_Function): For the case | |
2973 | of parameters of a limited type, use the above new subprogram. | |
2974 | ||
2975 | 2009-07-13 Emmanuel Briot <briot@adacore.com> | |
2976 | ||
2977 | * prj-nmsc.adb, prj-proc.adb, mlib.adb (Add_Source): new parameter | |
2978 | Location. | |
2979 | (Copy_ALI_Files): Avoid calls to read when pointing outside of the | |
2980 | allocated space. | |
2981 | (Error_Report): Remove global variable, replaced by parameters. | |
2982 | ||
223eab97 AC |
2983 | 2009-07-13 Thomas Quinot <quinot@adacore.com> |
2984 | ||
2985 | * g-socthi-vxworks.adb (C_Sendto): VxWorks does not support the | |
2986 | standard sendto(2) interface for connected sockets (passing a null | |
2987 | destination address). Use send(2) instead for that case. | |
2988 | ||
2989 | 2009-07-13 Pascal Obry <obry@adacore.com> | |
2990 | ||
2991 | * adaint.c: Fix __gnat_stat() with Win32 UNC paths. | |
2992 | ||
fdd7e7bb EB |
2993 | 2009-07-13 Emmanuel Briot <briot@adacore.com> |
2994 | ||
2995 | * prj-proc.adb, prj-proc.ads, prj.ads, prj-nmsc.adb, prj-nmsc.ads, | |
2996 | prj-pars.adb, prj-conf.adb, prj-conf.ads: Remove all remaining global | |
2997 | variables and tables in prj-nmsc.adb. | |
2998 | (Tree_Processing_Data): Renames Processing_Data, some new fields added | |
2999 | (Project_Processing_Data): New record | |
3000 | Simplify/unify check for missing sources. | |
3001 | ||
fc2c32e2 EB |
3002 | 2009-07-13 Emmanuel Briot <briot@adacore.com> |
3003 | ||
3004 | * gnatcmd.adb, make.adb, mlib-prj.adb, prj-part.adb, mlib.adb, | |
3005 | prj.adb, prj.ads, clean.adb, prj-nmsc.adb, prj-nmsc.ads, prj-pars.adb, | |
3006 | prj-pars.ads, prj-conf.adb, prj-conf.ads, prj-tree.adb, | |
3007 | prj-tree.ads (Immediate_Directory_Of): Removed. | |
3008 | (Prj.Pars): Now parse the project simulating a default config file. | |
3009 | (Add_Default_GNAT_Naming_Scheme): New subprogram | |
3010 | (Check_Naming_Multi_Lang): Fix default value for Dot_Replacement. | |
3011 | Remove gnatmake-specific parsing of source files. | |
3012 | (Check_Illegal_Suffix): Renames Is_Illegal_Suffix, since it now raises | |
3013 | the error itself to provide more precise diagnostics. | |
3014 | (Process_Exceptions_Unit_Based): Avoid duplicate error message when | |
3015 | a unit belongs to several projects. | |
3016 | (Copy_Interface_Sources): Search the full path of files to copy in the | |
3017 | list of sources of the application rather than in the list of units. | |
3018 | (Parse_Project_And_Apply_Config): Do not reset the name of the main | |
3019 | project file. | |
3020 | (Check_File): Use htables to find out whether a source is duplicated. | |
3021 | (Add_Source): check whether the source or unit were already seen earlier | |
3022 | ||
3023 | * gcc-interface/Makefile.in: Update gnatmake dependencies. | |
3024 | ||
1629f700 RD |
3025 | 2009-07-13 Robert Dewar <dewar@adacore.com> |
3026 | ||
3027 | * par-ch3.adb (P_Discrete_Choice_List): Choice can only be simple | |
3028 | expression if extensions permitted. | |
3029 | ||
3030 | * par-ch4.adb (P_Membership_Test): New procedure (implement membership | |
3031 | set tests). | |
3032 | (P_Relation): Use P_Membership_Test | |
3033 | ||
3034 | * par.adb (P_Membership_Test): New procedure (implement membership set | |
3035 | tests). | |
3036 | ||
3037 | * sinfo.ads, sinfo.adb (N_In, N_Not_In) Add Alternatives field for sets. | |
3038 | ||
3039 | * sprint.adb (Sprint_Node): Handle set form for membership tests. | |
3040 | ||
c6f39437 AC |
3041 | 2009-07-13 Thomas Quinot <quinot@adacore.com> |
3042 | ||
3043 | * exp_dist.adb (Add_RACW_Primitive_Declarations_And_Bodies): | |
3044 | Do not attempt to generate stubs for predefined primitives of | |
3045 | synchronized interfaces. | |
3046 | (Add_Stub_Type): Factor some code from the PCS-specific variants of | |
3047 | Build_Stub_Type. | |
3048 | ||
3049 | 2009-07-13 Ed Schonberg <schonberg@adacore.com> | |
3050 | ||
3051 | * sem_disp.adb (Override_Dispatching_Operation): Functions inherit the | |
3052 | Controlling_Result flag from the operation they override. | |
3053 | ||
d97a04d0 AC |
3054 | 2009-07-13 Arnaud Charlet <charlet@adacore.com> |
3055 | ||
3056 | * gcc-interface/Make-lang.in: Update dependencies | |
3057 | ||
01957849 AC |
3058 | 2009-07-13 Robert Dewar <dewar@adacore.com> |
3059 | ||
3060 | * gnat_ugn.texi: The gnatf switch no longer is needed to get full | |
3061 | details on unsupported constructs. | |
3062 | ||
3063 | * rtsfind.adb: Remove references to All_Errors_Mode, give errors | |
3064 | unconditionally. | |
3065 | ||
3066 | * s-trafor-default.adb: Correct some warnings | |
3067 | ||
3068 | * s-valwch.adb, a-calend.adb, freeze.adb, prj.ads, s-vmexta.adb, | |
3069 | sem.adb, sem_ch10.adb, sem_ch6.adb, sem_disp.adb, vxaddr2line.adb: | |
3070 | Minor reformatting. | |
3071 | ||
3072 | * par-ch4.adb (Conditional_Expression): Capture proper location for | |
3073 | conditional expression, should point to IF. | |
3074 | ||
3075 | * s-tassta.adb, a-wtdeau.adb, s-tasren.adb, s-arit64.adb, s-imgdec.adb, | |
3076 | s-direio.adb, s-tpobop.adb, g-socket.adb, s-tposen.adb, s-taskin.adb, | |
3077 | g-calend.adb, s-regpat.adb, s-scaval.adb, g-catiio.adb: Minor code | |
3078 | reorganization (use conditional expressions). | |
3079 | ||
3080 | 2009-07-13 Ed Schonberg <schonberg@adacore.com> | |
3081 | ||
3082 | * exp_util.adb (Remove_Side_Effects): If the expression is a call to a | |
3083 | build-in-place function that returns an inherently limited type (not | |
3084 | just a task type) create proper object declaration so that extra | |
3085 | build-in-place actuals are properly added to the call. | |
3086 | ||
79afa047 AC |
3087 | 2009-07-13 Robert Dewar <dewar@adacore.com> |
3088 | ||
3089 | * freeze.adb (Freeze_Entity): Implement Warn_On_Suspicious_Modulus_Value | |
3090 | ||
3091 | * gnat_ugn.texi: Add documentation for -gnatw.m/.M | |
3092 | ||
3093 | * opt.ads (Warn_On_Suspicious_Modulus_Value): New flag | |
3094 | ||
3095 | * sem_warn.adb (Set_Dot_Warning_Flag): Set/reset | |
3096 | Warn_On_Suspicious_Modulus_Value. | |
3097 | ||
3098 | * ug_words: Add entries for -gnatw.m/-gnatw.M. | |
3099 | ||
3100 | * usage.adb: Add lines for -gnatw.m/.M switches. | |
3101 | ||
3102 | * vms_data.ads: Add [NO]SUSPICIOUS_MODULUS for -gnatw.m/w.M | |
3103 | ||
3104 | 2009-07-13 Javier Miranda <miranda@adacore.com> | |
3105 | ||
3106 | * sem_ch6.adb (Check_Synchronized_Overriding): Add missing check before | |
3107 | reading the Is_Interface attribute of the dispatching type. | |
3108 | ||
3109 | 2009-07-13 Robert Dewar <dewar@adacore.com> | |
3110 | ||
3111 | * a-convec.adb: Minor code reorganization (use conditional expressions) | |
3112 | ||
67b3acf8 RD |
3113 | 2009-07-13 Robert Dewar <dewar@adacore.com> |
3114 | ||
3115 | * freeze.adb (Check_Suspicious_Modulus): New procedure. | |
3116 | ||
cfb120b5 AC |
3117 | 2009-07-13 Robert Dewar <dewar@adacore.com> |
3118 | ||
3119 | * i-cobol.ads: Minor code fix (2**4 instead of 16 as modulus to avoid | |
3120 | warning). | |
3121 | ||
3122 | * par-ch4.adb: Minor reformatting | |
3123 | ||
3124 | 2009-07-13 Ed Schonberg <schonberg@adacore.com> | |
3125 | ||
3126 | * freeze.adb, freeze.ads, exp_aggr.adb: Rename Expand_Atomic_Aggregate | |
3127 | => Is_Atomic_Aggregate | |
3128 | ||
fb2e11ee AC |
3129 | 2009-07-13 Emmanuel Briot <briot@adacore.com> |
3130 | ||
3131 | * prj-nmsc.adb: Avoid traversing the list of source files if | |
3132 | we have already processed all locally removed files. | |
3133 | ||
3134 | 2009-07-13 Jose Ruiz <ruiz@adacore.com> | |
3135 | ||
3136 | * gnat_ugn.texi: Fix typo. | |
3137 | ||
3138 | 2009-07-13 Robert Dewar <dewar@adacore.com> | |
3139 | ||
3140 | * freeze.adb: Minor reformatting | |
3141 | Minor code reorganization (use Nkind_In) | |
3142 | ||
01e17342 | 3143 | * exp_ch6.adb, prj.adb, sem_res.adb: Minor reformatting |
fb2e11ee | 3144 | |
f4cd2542 EB |
3145 | 2009-07-11 Eric Botcazou <ebotcazou@adacore.com> |
3146 | ||
3147 | * checks.adb (Apply_Address_Clause_Check): Remove Size_Warning_Output | |
3148 | local variable and do not test it in Compile_Time_Bad_Alignment. | |
3149 | Do not issue size or alignment warnings for the X'Address form. | |
3150 | * sem_util.ads (Find_Overlaid_Object): Delete. | |
3151 | (Find_Overlaid_Entity): New procedure. | |
3152 | * sem_util.adb (Find_Overlaid_Object): Rename to... | |
3153 | (Find_Overlaid_Entity): ...this and turn into a procedure. Report | |
3154 | whether the address is offseted within the overlaid entity. | |
3155 | (Has_Compatible_Alignment): Track the offset globally instead of | |
3156 | passing it to Check_Offset. For an indexed component, compute the | |
3157 | full offset when possible. If the resulting offset is zero, only | |
3158 | check the prefix. | |
3159 | (Check_Offset): Delete. | |
3160 | * sem_ch13.adb (Address_Clause_Check_Record): Add Off field. | |
3161 | (Address_Aliased_Entity): Delete. | |
3162 | (Analyze_Attribute_Definition_Clause) <Attribute_Address>: Call | |
3163 | Find_Overlaid_Entity to find the overlaid entity and the offset. | |
3164 | Adjust throughout for above change. | |
3165 | (Validate_Address_Clauses): Always use attributes of entities, not of | |
3166 | their type. Tweak message for warning. Call Has_Compatible_Alignment | |
3167 | if the address is offseted to warn about incompatible alignments. | |
3168 | * gcc-interface/gigi.h (annotate_object): Declare. | |
3169 | * gcc-interface/decl.c (gnat_to_gnu_entity) <object>: Annotate renaming | |
3170 | entity. Call annotate_object instead of annotating manually objects. | |
3171 | (annotate_object): New function. | |
3172 | * gcc-interface/trans.c (Subprogram_Body_to_gnu): Annotate parameters | |
3173 | at the end. | |
3174 | ||
7635b357 EB |
3175 | 2009-07-11 Eric Botcazou <ebotcazou@adacore.com> |
3176 | ||
3177 | * gcc-interface/ada-tree.h: Minor reorganization. | |
3178 | * gcc-interface/misc.c (gnat_print_decl): Minor tweaks. | |
3179 | (gnat_print_type): Likewise. | |
3180 | ||
b0159fbe AC |
3181 | 2009-07-11 Thomas Quinot <quinot@adacore.com> |
3182 | ||
3183 | * sem_util.adb, sem_res.adb, sem_warn.adb: Minor comment editing: | |
3184 | Lvalue -> lvalue | |
3185 | ||
3186 | * exp_ch6.adb: Minor reformatting | |
3187 | ||
3188 | 2009-07-11 Ed Schonberg <schonberg@adacore.com> | |
3189 | ||
3190 | * freeze.adb (Expand_Atomic_Aggregate): Clean up code, take into | |
3191 | account possible type qualification to determine whether aggregate | |
3192 | needs a target temporary to respect atomic type or object. | |
3193 | ||
3194 | * exp_aggr.adb (Expand_Record_Aggregate): Use new version of | |
3195 | Expand_Atomic_Aggregate. | |
3196 | ||
3197 | 2009-07-11 Emmanuel Briot <briot@adacore.com> | |
3198 | ||
3199 | * prj.adb, prj.ads, prj-nmsc.adb (Mark_Excluded_Sources): Speed up | |
3200 | algorithm. | |
3201 | (Excluded_Sources_Htable): No longer a global table. | |
3202 | Change error message to indicate which files are illegal in the list | |
3203 | of excluded files, as opposed to only the location in the project | |
3204 | file. | |
3205 | (Find_Source): New subprogram. | |
3206 | ||
811c6a85 AC |
3207 | 2009-07-10 Thomas Quinot <quinot@adacore.com> |
3208 | ||
3209 | * exp_ch7.adb: Update comments. | |
3210 | ||
3211 | 2009-07-10 Arnaud Charlet <charlet@adacore.com> | |
3212 | ||
3213 | * exp_ch13.adb (Expand_N_Record_Representation_Clause): Ignore mod | |
3214 | clause if -gnatI is set instead of crashing. | |
3215 | ||
3216 | 2009-07-10 Ed Schonberg <schonberg@adacore.com> | |
3217 | ||
3218 | * sem_ch11.adb (Same_Expression): Null is always equal to itself. | |
3219 | Additional work to remove redundant successive raise statements, in | |
3220 | this case access checks. | |
3221 | ||
3222 | 2009-07-10 Vincent Celier <celier@adacore.com> | |
3223 | ||
3224 | * make.adb (Compile): Always create a deep copy of the mapping file | |
3225 | argument (-gnatem=...) as it may be deallocate/reallocate by | |
3226 | Normalize_Arguments. | |
3227 | ||
3228 | 2009-07-10 Javier Miranda <miranda@adacore.com> | |
3229 | ||
3230 | * einfo.adb (Directly_Designated_Type): Add assertion. | |
3231 | ||
3232 | * sem_res.adb (Check_Fully_Declared_Prefix): Add missing check on | |
3233 | access types before using attribute Directly_Designated_Type. | |
3234 | ||
3235 | 2009-07-10 Emmanuel Briot <briot@adacore.com> | |
3236 | ||
3237 | * prj.ads: Minor typo fix | |
3238 | ||
3239 | 2009-07-10 Ed Schonberg <schonberg@adacore.com> | |
3240 | ||
3241 | * sem_ch6.adb (Add_Extra_Formal): Protected operations do no need | |
3242 | special treatment. | |
3243 | ||
3244 | * exp_ch6.adb (Expand_Protected_Subprogram_Call): If rewritten | |
3245 | subprogram is a function call, resolve properly, to ensure that extra | |
3246 | actuals are added as needed. | |
3247 | ||
2be0bff8 TQ |
3248 | 2009-07-10 Thomas Quinot <quinot@adacore.com> |
3249 | ||
3250 | * sem_aggr.adb: Minor comments editing | |
3251 | ||
3252 | * exp_tss.adb, exp_ch3.adb: Minor reformatting | |
3253 | ||
ac7120ce RD |
3254 | 2009-07-10 Robert Dewar <dewar@adacore.com> |
3255 | ||
3256 | * exp_util.adb: Minor code reorganization (use N_Short_Circuit) | |
3257 | ||
3258 | * exp_ch4.adb: Add ??? comment for conditional expressions on limited | |
3259 | types. | |
3260 | ||
3261 | * checks.adb (In_Declarative_Region_Of_Subprogram_Body): New procedure, | |
3262 | replaces Safe_To_Capture_In_Parameter_Value, and properly handles the | |
3263 | case of conditional expressions that may not be elaborated. | |
3264 | ||
3265 | * sem_util.adb (Safe_To_Capture_Value): Properly handle case of | |
3266 | conditional expression where we may not execute then then or else | |
3267 | branches. | |
3268 | ||
514d0fc5 AC |
3269 | 2009-07-10 Arnaud Charlet <charlet@adacore.com> |
3270 | ||
3271 | * i-cexten.ads (bool): New type. | |
3272 | ||
3273 | 2009-07-10 Robert Dewar <dewar@adacore.com> | |
3274 | ||
3275 | * sinfo.ads (N_Short_Circuit): New definition | |
3276 | ||
3277 | * sem_ch13.adb, sem_ch6.adb, sem_eval.adb, sem_res.adb, | |
3278 | treepr.adb: Minor code reorganization (use N_Short_Circuit) | |
3279 | ||
7b4db06c JM |
3280 | 2009-07-10 Javier Miranda <miranda@adacore.com> |
3281 | ||
3282 | * exp_ch3.adb (Expand_Freeze_Record_Type): Handle constructors of | |
3283 | non-tagged record types. | |
3284 | ||
3285 | * sem_prag.adb | |
3286 | (Process_Import_Or_Interface): Allow the use of "pragma Import (CPP,..)" | |
3287 | with non-tagged types. Required to import C++ classes that have no | |
3288 | virtual primitives. | |
3289 | (Analyze_Pragma): For pragma CPP_Constructor. Allow the use of functions | |
3290 | returning non-tagged types. For backward compatibility, if the | |
3291 | constructor returns a class wide type we internally change the | |
3292 | returned type to the corresponding non class-wide type. | |
3293 | ||
3294 | * sem_aggr.adb | |
3295 | (Valid_Ancestor_Type): CPP_Constructors code cleanup. | |
3296 | (Resolve_Extension_Aggregate): CPP_Constructors code cleanup. | |
3297 | (Resolve_Aggr_Expr): CPP_Constructors code cleanup. | |
3298 | (Resolve_Record_Aggregate): CPP_Constructors code cleanup. | |
3299 | ||
3300 | * sem_ch3.adb | |
3301 | (Analyze_Object_Declaration): CPP_Constructors code cleanup. | |
3302 | ||
3303 | * sem_ch5.adb (Analyze_Assignment): CPP_Constructors code cleanup. | |
3304 | ||
3305 | * sem_util.adb (Is_CPP_Constructor_Call): Code cleanup. | |
3306 | ||
3307 | * sem_res.adb (Resolve_Allocator): CPP_Constructors code cleanup. | |
3308 | ||
3309 | * exp_ch4.adb (Expand_Allocator_Expression): CPP_Constructors code | |
3310 | cleanup. | |
3311 | ||
3312 | * exp_aggr.adb (Build_Record_Aggr_Code): CPP_Constructors code clean up. | |
3313 | ||
3314 | * gnat_rm.texi | |
3315 | (pragma CPP_Class): Document that it can be used now with non-tagged | |
3316 | record types. | |
3317 | (pragma CPP_Constructor): Document that it can be used now with | |
3318 | functions returning specific types. For backward compatibility | |
3319 | we also support functions returning class-wide types. | |
3320 | ||
3321 | * gnat_ugn.texi | |
3322 | (Interfacing with C++ constructors): Update the examples to incorporate | |
3323 | the new syntax in which the functions used to import C++ constructors | |
3324 | return specific types. | |
3325 | (Interfacing with C++ at the Class Level): Update the examples to | |
3326 | incorporate the new syntax in which the functions used to import | |
3327 | C++ constructors return specific types. | |
3328 | ||
f2abc637 AC |
3329 | 2009-07-10 Thomas Quinot <quinot@adacore.com> |
3330 | ||
3331 | * exp_disp.adb (Make_Disp_Asynchronous_Select_Body, | |
3332 | Make_Disp_Conditional_Select_Body, | |
3333 | Make_Disp_Timed_Select_Body): For the case of a type that is neither an | |
3334 | interface nor a concurrent type, the primitive body is empty. Generate | |
3335 | a null statement so that it remains well formed. | |
3336 | ||
3337 | 2009-07-10 Ed Schonberg <schonberg@adacore.com> | |
3338 | ||
3339 | * exp_aggr.adb (Build_Record_Aggr_Code): If the type has discriminants, | |
3340 | replace references to them in defaulted component expressions with | |
3341 | references to the values of the discriminants of the target object. | |
3342 | ||
b603e37b AC |
3343 | 2009-07-10 Ed Schonberg <schonberg@adacore.com> |
3344 | ||
3345 | * sem_prag.adb (Analyze pragma, case Task_Name): Analyze argument of | |
3346 | pragma, to capture global references if the context is generic. | |
3347 | ||
3348 | * exp_ch2.adb (Expand_Discriminant): If a task type discriminant | |
3349 | appears within the initialization procedure for the corresponding | |
3350 | record, replace it with the proper discriminal. | |
3351 | ||
3352 | 2009-07-10 Vincent Celier <celier@adacore.com> | |
3353 | ||
3354 | * make.adb: Do not include object directories or library ALI | |
3355 | directories of library projects in the object path. | |
3356 | ||
3357 | 2009-07-10 Javier Miranda <miranda@adacore.com> | |
3358 | ||
3359 | * exp_util.adb (Find_Interface_Tag): Reorder processing of incoming | |
3360 | Typ argument to ensure proper management of access types. | |
3361 | ||
3362 | 2009-07-10 Ed Schonberg <schonberg@adacore.com> | |
3363 | ||
3364 | * exp_ch7.adb (Build_Final_List): If the list is being built for a | |
3365 | Taft-Amendment type, place the finalization list in the package body, | |
3366 | to ensure that the tree for the spec is identical whenever it is | |
3367 | compiled. | |
3368 | ||
3369 | 2009-07-10 Javier Miranda <miranda@adacore.com> | |
3370 | ||
3371 | * sem_ch3.adb (Build_Derived_Record_Type): Use the full-view when | |
3372 | inheriting attributes from a private Parent_Base. | |
3373 | ||
3374 | 2009-07-10 Ed Schonberg <schonberg@adacore.com> | |
3375 | ||
3376 | * sem_ch11.adb (analyze_raise_xxx_error): Remove consecutive raise | |
3377 | statements with the same condition. | |
3378 | ||
3379 | 2009-07-10 Robert Dewar <dewar@adacore.com> | |
3380 | ||
3381 | * exp_ch4.adb (Raise_Accessibility_Error): New procedure | |
3382 | ||
a80b0574 TT |
3383 | 2009-07-09 Tom Tromey <tromey@redhat.com> |
3384 | ||
3385 | * raise-gcc.c: Include dwarf2h (unconditionally). | |
3386 | ||
24da37f2 AC |
3387 | 2009-07-09 Ed Schonberg <schonberg@adacore.com> |
3388 | ||
3389 | * sem_ch10.adb (Install_Context): If the unit is a package body, | |
3390 | install the private with_clauses of the corresponding package | |
3391 | declaration. | |
3392 | ||
3393 | 2009-07-09 Robert Dewar <dewar@adacore.com> | |
3394 | ||
3395 | * checks.adb: Minor reformatting | |
3396 | ||
3397 | 2009-07-09 Vasiliy Fofanov <fofanov@adacore.com> | |
3398 | ||
3399 | * ug_words, gnat_ugn.texi: Move VMS equivalents of the last check in | |
3400 | into ug_words. | |
3401 | ||
3402 | 2009-07-09 Thomas Quinot <quinot@adacore.com> | |
3403 | ||
3404 | * sem_ch13.adb (Analyze_Attribute_Definition_Clause, case Address): | |
3405 | Do not warn for a constant overlaying any constant object | |
3406 | ||
3407 | 2009-07-09 Ed Schonberg <schonberg@adacore.com> | |
3408 | ||
3409 | * sem_ch10.adb (Install_Context): If the unit is a package body, | |
3410 | install the private with_clauses of the corresponding package | |
3411 | declaration. | |
3412 | ||
3413 | 2009-07-09 Robert Dewar <dewar@adacore.com> | |
3414 | ||
3415 | * checks.adb: Minor reformatting | |
3416 | ||
3417 | 2009-07-09 Vasiliy Fofanov <fofanov@adacore.com> | |
3418 | ||
3419 | * ug_words, gnat_ugn.texi: Move VMS equivalents of the last check in | |
3420 | into ug_words. | |
3421 | ||
3422 | 2009-07-09 Thomas Quinot <quinot@adacore.com> | |
3423 | ||
3424 | * sem_ch13.adb (Analyze_Attribute_Definition_Clause, case Address): | |
3425 | Do not warn for a constant overlaying any constant object | |
3426 | ||
d97a04d0 | 3427 | 2009-07-09 Arnaud Charlet <charlet@adacore.com> |
24da37f2 AC |
3428 | |
3429 | * gcc-interface/Make-lang.in: Update dependencies | |
3430 | ||
7a5debc9 AC |
3431 | 2009-07-09 Thomas Quinot <quinot@adacore.com> |
3432 | ||
3433 | * g-socket.adb (Check_Selector): Do not create local copies of the | |
3434 | socket sets on the stack. | |
3435 | ||
3436 | 2009-07-09 Vasiliy Fofanov <fofanov@adacore.com> | |
3437 | ||
3438 | * gnat_ugn.texi: Add missing VMS translations. | |
3439 | ||
3f92c93b AC |
3440 | 2009-07-09 Ed Schonberg <schonberg@adacore.com> |
3441 | ||
3442 | * sem_prag.adb (Analyze_Pragma, case Precondition): Do not analyze the | |
3443 | condition, to prevent generation of visible code during expansion, | |
3444 | when Check is not enabled. | |
3445 | ||
3446 | 2009-07-09 Gary Dismukes <dismukes@adacore.com> | |
3447 | ||
3448 | * checks.adb (Install_Static_Check): Call Possible_Local_Raise so that | |
3449 | the check gets registered for any available local handler | |
3450 | (Set_Local_Raise). | |
3451 | ||
3452 | * sem_util.adb: Add with and use of Exp_Ch11. | |
3453 | (Apply_Compile_Time_Constraint_Error): Call Possible_Local_Raise so | |
3454 | that the check gets registered for any available local handler. | |
3455 | ||
3456 | * exp_ch4.adb (Expand_N_Slice): Remove call to Enable_Range_Check | |
3457 | on slice ranges. | |
3458 | ||
3459 | 2009-07-09 Steve Baird <baird@adacore.com> | |
3460 | ||
3461 | * exp_ch11.adb (Force_Static_Allocation_Of_Referenced_Objects): New | |
3462 | function. | |
3463 | (Expand_N_Exception_Declaration): Fix handling of exceptions | |
3464 | declared in a subprogram. | |
3465 | ||
f6cf5b85 AC |
3466 | 2009-07-09 Emmanuel Briot <briot@adacore.com> |
3467 | ||
3468 | * prj-nmsc.adb (Find_Sources): Avoid error messages from gprbuild from | |
3469 | multi-unit files. | |
3470 | ||
3471 | 2009-07-09 Thomas Quinot <quinot@adacore.com> | |
3472 | ||
3473 | * freeze.adb: Minor reformatting | |
3474 | ||
3475 | * exp_ch3.adb: Minor comment fix. | |
3476 | ||
3477 | * sinfo.ads: Minor comment fix | |
3478 | ||
3479 | 2009-07-09 Ed Schonberg <schonberg@adacore.com> | |
3480 | ||
3481 | * exp_ch4.adb (Expand_N_Conditional_Expression): Set Related_Expression. | |
3482 | ||
7aedb36a AC |
3483 | 2009-07-09 Ed Schonberg <schonberg@adacore.com> |
3484 | ||
3485 | * freeze.adb (Freeze_Expression): If the expression is the name of a | |
3486 | function in a call, and the function has not been frozen yet, create | |
3487 | extra formals for it to ensure that the proper actuals are created | |
3488 | when expanding the call. | |
3489 | ||
3490 | 2009-07-09 Emmanuel Briot <briot@adacore.com> | |
3491 | ||
3492 | * prj-pp.adb (Print): Fix handling of source index when set on a | |
3493 | declaration node. | |
3494 | ||
a4941eec ES |
3495 | 2009-07-09 Ed Schonberg <schonberg@adacore.com> |
3496 | ||
3497 | * einfo.ads, einfo.adb: New attribute Related_Expression, used to link | |
3498 | a temporary to the source expression whose value it captures. | |
3499 | ||
3500 | * exp_util.adb (Remove_Side_Effects): Set Related_Expression as needed. | |
3501 | ||
5e278028 MLI |
3502 | 2009-07-07 Manuel López-Ibáñez <manu@gcc.gnu.org> |
3503 | ||
a729ce28 | 3504 | * gcc-interface/trans.c (gnat_gimplify_expr): Replace EXPR_LOCUS by |
5e278028 MLI |
3505 | EXPR_LOCATION. |
3506 | ||
c2369146 AC |
3507 | 2009-07-07 Gary Dismukes <dismukes@adacore.com> |
3508 | ||
3509 | * exp_ch6.adb (Expand_Actuals): Call Add_Call_By_Copy_Code for in out | |
3510 | parameters when the subtype of the actual is not known to be a subrange | |
3511 | of the formal's subtype. | |
3512 | (Expand_Call): Generate a range check only in the E_In_parameter case | |
3513 | (in out parameter range checks are now handled in Expand_Actuals). | |
3514 | ||
3515 | * exp_ch4.adb (Expand_N_Slice): Restore code that calls | |
3516 | Enable_Range_Check. | |
3517 | ||
3518 | 2009-07-07 Robert Dewar <dewar@adacore.com> | |
3519 | ||
3520 | * a-stwise.adb, a-stzsea.adb, a-strsea.adb: Add comments | |
3521 | ||
3522 | 2009-07-07 Javier Miranda <miranda@adacore.com> | |
3523 | ||
3524 | * exp_disp.adb (Expand_Interface_Conversion): Handle access type whose | |
3525 | designated type comes from a limited views. | |
3526 | ||
3527 | 2009-07-07 Emmanuel Briot <briot@adacore.com> | |
3528 | ||
3529 | * prj.ads, prj-nmsc.adb (Mark_Excluded_Sources): Fix handling of | |
3530 | locally removed files that are later made visible again in an importing | |
3531 | project. | |
3532 | ||
3533 | 2009-07-07 Robert Dewar <dewar@adacore.com> | |
3534 | ||
3535 | * gnat_rm.texi: Clarify documentation of Stream_Convert pragma | |
3536 | ||
3537 | 2009-07-07 Sergey Rybin <rybin@adacore.com> | |
3538 | ||
3539 | * gnat_ugn.texi: Add an example to the description of gnatcheck | |
3540 | 'Style_Checks' rule option. | |
3541 | ||
3542 | 2009-07-07 Tristan Gingold <gingold@adacore.com> | |
3543 | ||
3544 | * seh_init.c: Fix inline assembly statement in seh_init.c | |
3545 | ||
3546 | 2009-07-07 Ed Schonberg <schonberg@adacore.com> | |
3547 | ||
3548 | * sem_warn.adb (Check_References): Do not emit warnings on formals of | |
3549 | an entry body. Only the formals of the entry declaration are traced. | |
3550 | ||
75a5a487 RD |
3551 | 2009-07-07 Robert Dewar <dewar@adacore.com> |
3552 | ||
a729ce28 | 3553 | * s-osprim-mingw.adb: Minor code reorganization |
75a5a487 | 3554 | |
85686ad9 AC |
3555 | 2009-07-07 Robert Dewar <dewar@adacore.com> |
3556 | ||
3557 | * prj-nmsc.adb: Minor reformatting | |
3558 | ||
3559 | 2009-07-07 Pascal Obry <obry@adacore.com> | |
3560 | ||
3561 | * a-stwise.adb, a-stzsea.adb, a-strsea.adb (Index): properly handle | |
3562 | cases where Pattern is longer than Source. | |
3563 | ||
3564 | 2009-07-07 Pascal Obry <obry@adacore.com> | |
3565 | ||
3566 | * s-osprim-mingw.adb (Get_Base_Time): Avoid infinite loop. | |
3567 | ||
54ecb428 AC |
3568 | 2009-07-07 Emmanuel Briot <briot@adacore.com> |
3569 | ||
3570 | * prj-nmsc.adb (Process_Naming): canonicalize file suffixes read in the | |
3571 | project file. | |
3572 | ||
3573 | 2009-07-07 Ed Schonberg <schonberg@adacore.com> | |
3574 | ||
3575 | * exp_ch3.adb (Expand_Freeze_Record_Type): Add extra formals to | |
3576 | primitive operations, in case one of them is called in the | |
3577 | initialization procedure for the type. | |
3578 | ||
84157c9a RD |
3579 | 2009-07-07 Robert Dewar <dewar@adacore.com> |
3580 | ||
3581 | * a-calend.adb: Minor code reorganization (use conditional expressions) | |
3582 | ||
3583 | * s-stusta.ads, s-interr-hwint.adb, g-expect-vms.adb, s-secsta.ads, | |
3584 | prj-nmsc.adb, a-teioed.adb, output.ads, prj-attr.ads, a-textio.adb, | |
3585 | s-taskin.ads, scans.ads, s-osinte-vms.adb, s-taprop-solaris.adb, | |
3586 | s-tpopsp-posix-foreign.adb, s-trafor-default.adb, gnat1drv.adb, | |
3587 | s-stchop-vxworks.adb, s-tpopsp-posix.adb, prj-env.adb, prj-env.ads, | |
3588 | g-comlin.adb, exp_ch11.adb: Minor reformatting. | |
3589 | ||
d79e621a GD |
3590 | 2009-07-07 Gary Dismukes <dismukes@adacore.com> |
3591 | ||
3592 | * checks.adb (Generate_Range_Check): Replace type conversions with | |
3593 | unchecked conversions to support the case of performing range checks | |
3594 | on Enum'Val (permits integer values to be converted to enumeration). | |
3595 | ||
3596 | * exp_attr.adb (Expand_N_Attribute_Reference, cases Attribute_Pred, | |
3597 | Attribute_Succ): Set Do_Range_Check to False before calling | |
3598 | Expand_Pred_Succ, to prevent gigi from generating any range checks. | |
3599 | (Expand_N_Attribute_Reference, case Attribute_Val): | |
3600 | Generate a range check when needed (and set Do_Range_Check to False). | |
3601 | ||
3602 | * exp_ch3.adb (Expand_N_Object_Declaration): Generate a range check on | |
3603 | scalar object initialization if needed. | |
3604 | ||
3605 | * exp_ch4.adb (Expand_Allocator_Expression): Generate range checks | |
3606 | when needed on scalar allocators. | |
3607 | (Expand_N_Qualified_Expression): Generate range check when needed. | |
3608 | (Expand_N_Slice): Remove call to Enable_Range_Check on slice ranges. | |
3609 | Checks on slice ranges handled in Resolve_Slice. | |
3610 | ||
3611 | * exp_ch5.adb (Expand_N_Assignment_Statement): Generate a range check, | |
3612 | when needed, for all scalar assignments, not just discrete. | |
3613 | (Expand_Simple_Function_Return): Resolve the conversion created for a | |
3614 | scalar function return so that the conversion will get expanded to | |
3615 | generate a possible constraint check. | |
3616 | ||
3617 | * exp_ch6.adb (Expand_Actuals): Call Add_Call_By_Copy_Code for out and | |
3618 | in out scalar actuals when subtypes don't match, to ensure generation | |
3619 | of return checks (and set Do_Range_Check to False). | |
3620 | (Expand_Call): Uncomment code to perform range checks, but make it apply | |
3621 | only to in and in out parameters (checks on parameter returns are | |
3622 | handled in Expand_Actuals). If a scalar actual for a call to a derived | |
3623 | subprogram is marked as needing a range check, peform it here (and set | |
3624 | Do_Range_Check to False). | |
3625 | ||
3626 | * sem_aggr.adb (Resolve_*_Aggregate.Resolve_Aggr_Expr): Generate a | |
3627 | range check on scalar component associations when needed. | |
3628 | ||
3629 | * sem_eval.adb (In_Subrange_Of): Return False when the first type has | |
3630 | infinities but the second type does not, as these aren't compatible | |
3631 | floating-point types. | |
3632 | ||
3633 | * sem_res.adb (Resolve_Slice): In the case where the prefix of the | |
3634 | slice is itself a slice, pick up the Etype of the prefix. This handles | |
3635 | the case where the prefix was an Image attribute expanded to a slice, | |
3636 | and ensures that we get the subtype with the slice constraint rather | |
3637 | than the unconstrained subbtype of the 'Image. | |
3638 | ||
e0ba1bfd ES |
3639 | 2009-07-07 Ed Schonberg <schonberg@adacore.com> |
3640 | ||
3641 | * sem_ch4.adb (Analyze_Conditional_Expression): handle properly | |
3642 | overloaded expressions in a conditional expressions. | |
3643 | ||
3644 | * sem_res.adb (Resolve): Handle properly overloaded conditional | |
3645 | expressions. | |
3646 | ||
b46be8a2 RD |
3647 | 2009-07-07 Robert Dewar <dewar@adacore.com> |
3648 | ||
3649 | * scng.adb: Minor reformattting | |
3650 | ||
3651 | * par-ch2.adb (Scan_Pragma_Argument_Association): Pragma argument | |
3652 | association allows conditional expression without parens. | |
3653 | ||
3654 | * par-ch4.adb (P_Name): Attribute arguments can be conditional | |
3655 | expressions without enclosing parentheses, and also as parameters, | |
3656 | indexing expressions etc. | |
3657 | (P_Conditional_Expression): New procedure | |
3658 | (P_Expression_If_OK): New procedure | |
3659 | ||
3660 | * par.adb (P_Conditional_Expression): New procedure | |
3661 | (P_Expression_If_OK): New procedure | |
3662 | ||
3663 | * sem_ch4.adb (Analyze_Conditional_Expression): Allow for two argument | |
3664 | form of conditional expression. | |
3665 | ||
3666 | * sem_res.adb (Resolve_Conditional_Expression): Deal with supplying | |
3667 | missing True argument if ELSE argument missing. | |
3668 | ||
3669 | * sinfo.adb (Is_Elsif): New flag | |
3670 | ||
3671 | * sinfo.ads (N_Conditional_Expression): This node is now a syntactic | |
3672 | part of the language, and the documentation is modified accordingly. | |
3673 | (Is_Elsif): New flag | |
3674 | ||
4fd263a6 OH |
3675 | 2009-07-06 Olivier Hainque <hainque@adacore.com> |
3676 | ||
3677 | * gcc-interface/trans.c (Handled_Sequence_Of_Statements_to_gnu, | |
3678 | setjmp_longjmp): Attach the exception propagation reraise fallback | |
3679 | to the sequence end label location when we have it. | |
3680 | ||
d5b7dccd FXC |
3681 | 2009-07-04 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> |
3682 | ||
3683 | PR ada/40608 | |
3684 | * init.c (APPLE): Include <mach/mach_init.h>. | |
27778058 | 3685 | (__gnat_error_handler, APPLE): Add ATTRIBUTE_UNUSED marker. |
d5b7dccd | 3686 | |
9ce8e057 EB |
3687 | 2009-07-04 Eric Botcazou <ebotcazou@adacore.com> |
3688 | ||
3689 | * ada-tree.h (SET_TYPE_LANG_SPECIFIC): Rewrite. | |
3690 | (SET_DECL_LANG_SPECIFIC): Likewise. | |
3691 | (TYPE_RM_VALUE): New macro. | |
3692 | (SET_TYPE_RM_VALUE): Likewise. | |
3693 | (TYPE_RM_SIZE): Rewrite in terms of TYPE_RM_VALUE. | |
3694 | (TYPE_RM_MIN_VALUE): Likewise. | |
3695 | (TYPE_RM_MAX_VALUE): Likewise. | |
3696 | (SET_TYPE_RM_SIZE): Rewrite in terms of SET_TYPE_RM_VALUE. | |
3697 | (SET_TYPE_RM_MIN_VALUE): Likewise. | |
3698 | (SET_TYPE_RM_MAX_VALUE): Likewise. | |
3699 | * decl.c (gnat_to_gnu_entity) <E_Array_Subtype>: Remove kludge. | |
3700 | ||
d8bf0ab8 LG |
3701 | 2009-07-04 Laurent GUERBY <laurent@guerby.net> |
3702 | ||
3703 | PR ada/40631 | |
3704 | * tracebak.c (__gnat_backtrace): Fix old-style definition. | |
27778058 | 3705 | |
74c9e852 RO |
3706 | 2009-07-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
3707 | ||
3708 | * tracebak.c [i386 && sun] (IS_BAD_PTR): Use -1UL in comparison. | |
3709 | ||
882e35a6 JDA |
3710 | 2009-07-01 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
3711 | ||
3712 | PR ada/40609 | |
bf92f919 EB |
3713 | * init.c (__gnat_error_handler, HP-UX): Add ATTRIBUTE_UNUSED marker to |
3714 | ucontext argument. | |
882e35a6 | 3715 | |
c29fe0c8 EB |
3716 | 2009-07-01 Eric Botcazou <ebotcazou@adacore.com> |
3717 | ||
3718 | * init.c (__gnat_error_handler, Solaris): Add ATTRIBUTE_UNUSED marker. | |
3719 | ||
342f368c EB |
3720 | 2009-06-30 Eric Botcazou <ebotcazou@adacore.com> |
3721 | ||
3722 | * gcc-interface/utils2.c (build_binary_op) <MODIFY_EXPR>: Do not use | |
3723 | the type of the left operand if it pads a self-referential type when | |
3724 | the right operand is a constructor. | |
3725 | ||
3726 | * gcc-interface/lang-specs.h: Fix copyright date. | |
3727 | ||
f82a627c EB |
3728 | 2009-06-30 Eric Botcazou <ebotcazou@adacore.com> |
3729 | ||
3730 | * gcc-interface/decl.c: Include tree-inline.h. | |
3731 | (annotate_value) <CALL_EXPR>: Try to inline the call in the expression. | |
3732 | * gcc-interface/utils.c (max_size) <CALL_EXPR>: Likewise. | |
3733 | * gcc-interface/utils2.c: Include tree-inline. | |
3734 | (known_alignment) <CALL_EXPR>: Likewise. | |
3735 | ||
a2350322 EB |
3736 | 2009-06-30 Eric Botcazou <ebotcazou@adacore.com> |
3737 | ||
b6a1a144 | 3738 | * raise-gcc.c: Include dwarf2.h conditionally. |
a2350322 | 3739 | |
bbf531f0 TT |
3740 | 2009-06-29 Tom Tromey <tromey@redhat.com> |
3741 | ||
3742 | * raise-gcc.c: Include elf/dwarf2.h. | |
3743 | ||
6ccbcf32 LG |
3744 | 2009-06-27 Laurent GUERBY <laurent@guerby.net> |
3745 | ||
3746 | * tb-gcc.c (trace_callback): Add casts to silence warning. | |
3747 | ||
463d9ac4 EB |
3748 | 2009-06-27 Eric Botcazou <ebotcazou@adacore.com> |
3749 | ||
3750 | * tb-gcc.c: Fix copyright notice. | |
3751 | ||
c6bd4220 EB |
3752 | 2009-06-27 Eric Botcazou <ebotcazou@adacore.com> |
3753 | ||
3754 | * init.c (__gnat_set_globals): Add prototype. | |
3755 | * adaint.c (__gnat_binder_supports_auto_init): Likewise. | |
3756 | (__gnat_sals_init_using_constructors): Likewise. | |
3757 | * gcc-interface/utils.c (gnat_pushlevel): Likewise. | |
3758 | (get_block_jmpbuf_decl): Likewise. | |
3759 | (gnat_poplevel): Likewise. | |
3760 | (merge_sizes): Rename local variable. | |
3761 | (copy_type): Likewise. | |
3762 | (build_vms_descriptor32): Likewise. | |
3763 | (build_vms_descriptor): Likewise. | |
3764 | (convert_vms_descriptor64): Likewise. | |
3765 | (convert_vms_descriptor32): Likewise. | |
3766 | (convert_to_fat_pointer): Likewise. | |
3767 | (maybe_unconstrained_array): Likewise. | |
3768 | (def_fn_type): Use promoted type with va_arg. | |
3769 | * gcc-interface/decl.c (gnat_to_gnu_entity): Add declaration. | |
3770 | (substitute_in_type): Rename local variable. | |
3771 | * gcc-interface/Make-lang.in (ada-warn): Use STRICT_WARN. | |
3772 | ||
6bf68a93 LG |
3773 | 2009-06-26 Laurent GUERBY <laurent@guerby.net> |
3774 | ||
3775 | * tb-gcc.c (trace_callback): Use char* instead of void*. | |
91dc2352 EB |
3776 | * gcc-interface/misc.c (enumerate_modes): Make loop C++ compatible. |
3777 | * gcc-interface/trans.c (parm_attr): Rename to parm_attr_d. | |
3778 | (Attribute_to_gnu): Adjust for above change. | |
3779 | (Subprogram_Body_to_gnu): Likewise. | |
3780 | * gcc-interface/utils.c (merge_sizes): Rename local variable. | |
3781 | (copy_type): Likewise. | |
3782 | (build_vms_descriptor32): Likewise. | |
3783 | (build_vms_descriptor): Likewise. | |
3784 | (convert_vms_descriptor64): Likewise. | |
3785 | (convert_vms_descriptor32): Likewise. | |
3786 | (convert_to_fat_pointer): Likewise. | |
3787 | (maybe_unconstrained_array): Likewise. | |
3788 | * gcc-interface/decl.c (substitute_in_type): Likewise. | |
3789 | ||
f45f9664 EB |
3790 | 2009-06-26 Eric Botcazou <ebotcazou@adacore.com> |
3791 | ||
3792 | * gcc-interface/decl.c (cannot_be_superflat_p): New predicate. | |
3793 | (gnat_to_gnu_entity) <E_Array_Subtype>: Use it to build the expression | |
3794 | of the upper bound of the index types. | |
3795 | ||
c0e1e108 EB |
3796 | 2009-06-26 Eric Botcazou <ebotcazou@adacore.com> |
3797 | ||
3798 | * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Array_Subtype>: Factor | |
3799 | out common predicate. Use the maximum to compute the upper bound of | |
3800 | the index type only when it is not wider than sizetype. Perform the | |
3801 | comparison in the index type for the generic expression. Use real | |
3802 | precision to decide whether to generate special types for debugging | |
3803 | information. | |
3804 | ||
ffa5876f AC |
3805 | 2009-06-26 Matthew Gingell <gingell@adacore.com> |
3806 | ||
3807 | * adaint.c: Do not use the dummy version of convert_addresses on LynxOS | |
3808 | ||
3809 | 2009-06-26 Vincent Celier <celier@adacore.com> | |
3810 | ||
3811 | * prj.ads (No_Language_Config): Value of Dependency_Kind is None by | |
3812 | default. | |
3813 | ||
3814 | 2009-06-26 Robert Dewar <dewar@adacore.com> | |
3815 | ||
3816 | * exp_ch4.adb, gnatcmd.adb, make.adb: Minor reformatting | |
3817 | ||
4e6602a8 EB |
3818 | 2009-06-26 Eric Botcazou <ebotcazou@adacore.com> |
3819 | ||
3820 | * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Array_Type>: Pass | |
3821 | correct arguments to create_field_decl. Remove redundant iteration. | |
3822 | Rewrite computation of the maximum size. | |
3823 | <E_Array_Subtype>: Reorder and simplify handling of special cases. | |
3824 | Rewrite computation of the maximum size. Use consistent naming. | |
3825 | * gcc-interface/trans.c (Attribute_to_gnu) <Attr_Length>: Swap | |
3826 | comparison order for consistency. Use generic integer node to | |
3827 | build the operator and fold the result. | |
3828 | ||
2a31c32b AC |
3829 | 2009-06-25 Vincent Celier <celier@adacore.com> |
3830 | ||
3831 | * vms_data.ads: Minor comment change | |
3832 | ||
3833 | 2009-06-25 Gary Dismukes <dismukes@adacore.com> | |
3834 | ||
3835 | * exp_ch5.adb (Expand_N_Extended_Return_Statement): Don't build an | |
3836 | assignment statement to targeting a caller-provided object when the | |
3837 | result type is an interface type. | |
3838 | ||
3839 | * exp_ch6.adb (Expand_Call): Remove redundant test of | |
3840 | Is_Limited_Interface (Is_Inherently_Limited is sufficient). | |
3841 | (Is_Build_In_Place_Function): Remove test for Is_Limited_Interface. | |
3842 | ||
3843 | * sem_aggr.adb (Check_Expr_OK_In_Limited_Aggregate): Add type in call | |
3844 | to OK_For_Limited_Init. | |
3845 | ||
3846 | * sem_aux.adb (Is_Inherently_Limited_Type): Revise limited type | |
3847 | condition so that True is returned for all limited interfaces, not | |
3848 | just synchronized ones. Ignore components of an interface type when | |
3849 | checking for limited components (such a component can be a parent | |
3850 | component). | |
3851 | ||
3852 | * sem_ch3.ads (OK_For_Limited_Init_In_05): Add type parameter. | |
3853 | (OK_For_Limited_Init): Add type parameter. | |
3854 | ||
3855 | * sem_ch3.adb (Check_Initialization): Add type in call to | |
3856 | OK_For_Limited_Init. | |
3857 | (OK_For_Limited_Init): Add new type param in call to | |
3858 | OK_For_Limited_Init_In_05. | |
3859 | (OK_For_Limited_Init_In_05): Permit arbitrary expressions of a | |
3860 | nonlimited type when the context type is a limited interface. Add type | |
3861 | on recursive calls. | |
3862 | ||
3863 | * sem_ch4.adb (Analyze_Allocator): Add type in call to | |
3864 | OK_For_Limited_Init. | |
3865 | ||
3866 | * sem_ch6.adb (Check_Limited_Return): Add type in call to | |
3867 | OK_For_Limited_Init. | |
3868 | ||
3869 | * sem_ch12.adb (Analyze_Formal_Object_Declaration): Add type in call to | |
3870 | OK_For_Limited_Init. | |
3871 | (Instantiate_Object): Add type in call to OK_For_Limited_Init. | |
3872 | ||
3873 | * sem_type.adb (Interface_Present_In_Ancestor): In the case of a | |
3874 | class-wide interface, get the base type before applying Etype, in order | |
3875 | to account for class-wide subtypes. | |
3876 | ||
fadcf313 AC |
3877 | 2009-06-25 Emmanuel Briot <briot@adacore.com> |
3878 | ||
3879 | * gnatcmd.adb, prj-proc.adb, make.adb, prj.adb, prj.ads, prj-nmsc.adb, | |
3880 | prj-util.adb, prj-env.adb, prj-env.ads: Merge handling of naming_data | |
3881 | between gnatmake and gprbuild. | |
3882 | (Naming_Data): Removed, no longer used | |
3883 | (Naming_Table, Project_Tree_Ref.Namings): Removed, since this is only | |
3884 | needed locally in one subprogram, no need to store forever in the | |
3885 | structure. | |
3886 | (Check_Naming_Scheme, Check_Package_Naming): Merged, since they play | |
3887 | a similar role. | |
3888 | (Body_Suffix_Of, Body_Suffix_Id_Of, Register_Default_Naming_Scheme, | |
3889 | Same_Naming_Scheme, Set_Body_Suffix, Set_Spec_Suffix, Spec_Suffix_Of, | |
3890 | Spec_Suffix_Id_Of): removed, no longer used. | |
3891 | ||
3892 | 2009-06-25 Javier Miranda <miranda@adacore.com> | |
3893 | ||
3894 | * sem_res.adb (Resolve_Allocator): Skip test requiring exact match of | |
3895 | types on qualified expression in calls to imported C++ constructors. | |
3896 | ||
3897 | * exp_ch4.adb (Expand_Allocator_Expression): Add missing support for | |
3898 | imported C++ constructors. | |
3899 | ||
3900 | 2009-06-25 Sergey Rybin <rybin@adacore.com> | |
3901 | ||
3902 | * vms_data.ads: Add qualifier for new gnatcheck '-t' option. | |
3903 | ||
5b900a45 AC |
3904 | 2009-06-25 Vincent Celier <celier@adacore.com> |
3905 | ||
3906 | * s-os_lib.adb (Normalize_Pathname.Get_Directory): If directory | |
3907 | provided, on Windows change all '/' to '\'. | |
3908 | ||
3909 | * fmap.ads, fmap.adb (Remove_Forbidden_File_Name): Remove, no longer | |
3910 | used. Minor comment changes | |
3911 | ||
3912 | * prj-nmsc.adb: Do not call Fmap.Add_Forbidden_File_Name or | |
3913 | Remove_Forbidden_File_Name. | |
3914 | ||
3915 | 2009-06-25 Quentin Ochem <ochem@adacore.com> | |
3916 | ||
3917 | * prj.ads (Unit_Index): Now general access type. | |
fadcf313 | 3918 | |
a2b62f99 PO |
3919 | 2009-06-25 Pascal Obry <obry@adacore.com> |
3920 | ||
3921 | * a-stwise.adb, a-stzsea.adb: Fix confusion between 'Length and 'Last. | |
3922 | ||
1d24fc5e EB |
3923 | 2009-06-25 Emmanuel Briot <briot@adacore.com> |
3924 | ||
3925 | * fmap.ads, make.adb, prj.adb, prj.ads, prj-nmsc.adb, prj-env.adb, | |
3926 | prj-env.ads (Source_Data.Get_Object): Field removed, since it can be | |
3927 | computed efficiently from the other fields. | |
3928 | (Object_To_Global_Archive): New subprogram | |
3929 | (Create_Mapping): Remove unneeded call to Remove_Forbidden_File_Name. | |
3930 | (Override_Kind): Fix handling of separates in Ada. | |
3931 | (Create_Mapping_File): Remove duplicate code | |
3932 | (Naming_Data.Implementation_Exception, Specification_Exception): | |
3933 | field removed, since never used. | |
3934 | (Naming_Data.Specs, .Bodies): field removed, since this is only | |
3935 | used while processing the project and is not needed once the tree | |
3936 | is in memory. This brings Naming_Data and Lang_Naming_Data | |
3937 | closer (same content now, but different use still). | |
3938 | ||
8f2eeab7 PO |
3939 | 2009-06-25 Pascal Obry <obry@adacore.com> |
3940 | ||
3941 | * sem_ch4.adb: Minor reformatting. | |
3942 | ||
3943 | * a-strsea.adb: Fix confusion between 'Length and 'Last. | |
3944 | ||
bea993f9 AC |
3945 | 2009-06-25 Ed Schonberg <schonberg@adacore.com> |
3946 | ||
3947 | * exp_attr.adb (Expand_N_Attribute_Reference, case 'Access and | |
3948 | Unchecked_Access): If the context is an interface type, and the prefix | |
3949 | is of the corresponding class-wide type, do not insert a conversion | |
3950 | because the pointer displacement has already taken place, and we must | |
3951 | retain the class-wide type in a dispatching context. | |
3952 | ||
3953 | 2009-06-25 Emmanuel Briot <briot@adacore.com> | |
3954 | ||
3955 | * prj-nmsc.adb, prj-env.adb (Override_Kind): Unset the unit field of | |
3956 | the previous source file. | |
3957 | (Create_Mapping): Iterate on sources rather than on units. | |
3958 | ||
cabadd1c AC |
3959 | 2009-06-25 Emmanuel Briot <briot@adacore.com> |
3960 | ||
3961 | * gnatcmd.adb, make.adb, mlib-prj.adb, prj.adb, prj.ads, prj-nmsc.adb, | |
3962 | prj-env.adb, prj-env.ads (Slash): removed, no longer used | |
3963 | (Source_Data): no longer use Path.Name to point to a locally removed | |
3964 | file. Instead we use the field Locally_Removed which is clearer | |
3965 | ||
3966 | 2009-06-25 Arnaud Charlet <charlet@adacore.com> | |
3967 | ||
3968 | * gcc-interface/Make-lang.in: Remove references to sem_maps.o | |
3969 | ||
3970 | * sem_maps.adb, sem_maps.ads: Removed, not used. | |
3971 | ||
9763f8c8 AC |
3972 | 2009-06-25 Ed Falis <falis@adacore.com> |
3973 | ||
3974 | * s-vxwext-rtp.ads: Add missing declaration | |
3975 | ||
3976 | 2009-06-25 Matthew Gingell <gingell@adacore.com> | |
3977 | ||
3978 | * a-stwise.adb, a-stzsea.adb (Count, Index): Avoid local copy on stack, | |
3979 | speed up unmapped case. | |
3980 | ||
3981 | 2009-06-25 Vincent Celier <celier@adacore.com> | |
3982 | ||
3983 | * prj-nmsc.adb (Check): Change error message for illegal abstract | |
3984 | projects. | |
3985 | ||
3986 | 2009-06-25 Robert Dewar <dewar@adacore.com> | |
3987 | ||
3988 | * gnat_ugn.texi: Add note on use of -gnatct for ASIS | |
3989 | ||
3990 | 2009-06-25 Emmanuel Briot <briot@adacore.com> | |
3991 | ||
3992 | * fmap.ads: Add documentation on mapping files | |
3993 | ||
d6533e74 RD |
3994 | 2009-06-25 Robert Dewar <dewar@adacore.com> |
3995 | ||
3996 | * exp_ch6.adb, g-socket.ads, g-socket.adb, sem_ch3.adb: Minor | |
3997 | reformatting | |
3998 | ||
e1f3cb58 AC |
3999 | 2009-06-24 Robert Dewar <dewar@adacore.com> |
4000 | ||
4001 | * prj-nmsc.adb, prj-nmsc.ads, prj-proc.adb, prj.adb: Minor reformatting | |
4002 | ||
4003 | * a-strsea.adb (Count): Avoid local copy on stack, speed up unmapped | |
4004 | case. | |
4005 | (Index): Ditto. | |
4006 | ||
4007 | 2009-06-24 Ed Schonberg <schonberg@adacore.com> | |
4008 | ||
4009 | * sem_ch4.adb (Analyze_One_Call): Check that at least one actual is | |
4010 | present when checking whether a call may be interpreted as an indexing | |
4011 | of the result of a call. | |
4012 | ||
4013 | * exp_ch9.adb (Expand_N_Subprogram_Declaration): Place the generated | |
4014 | body for a null procedure on the freeze actions for the procedure, so | |
4015 | that it will be analyzed at the proper place without premature freezing | |
4016 | of actuals. | |
4017 | ||
4018 | * sem_ch3.adb (Check_Completion): Code cleanup. | |
4019 | Do not diagnose a null procedure without a body, if previous errors | |
4020 | have disabled expansion. | |
4021 | ||
4022 | 2009-06-24 Doug Rupp <rupp@adacore.com> | |
4023 | ||
4024 | * init.c [VMS] Resignal C$_SIGKILL | |
4025 | ||
4026 | 2009-06-24 Ed Falis <falis@adacore.com> | |
4027 | ||
4028 | * s-vxwext.adb, s-vxwext-kernel.adb: Add s-vxwext body for VxWorks 5 | |
4029 | Define ERROR in body for VxWorks 6 kernel | |
4030 | ||
4031 | 2009-06-24 Pascal Obry <obry@adacore.com> | |
4032 | ||
4033 | * g-socket.adb, g-socket.ads: Fix possible unexpected constraint error | |
4034 | in [Send/Receive]_Socket. | |
4035 | ||
c9287857 EB |
4036 | 2009-06-24 Emmanuel Briot <briot@adacore.com> |
4037 | ||
4038 | * prj-proc.adb, prj-proc.ads, prj.ads, prj-nmsc.adb, prj-nmsc.ads, | |
4039 | prj-conf.adb, prj-conf.ads (Allow_Duplicate_Basenames): New parameter | |
4040 | to several subprograms. | |
4041 | (Source_Data.Other_Part): Removed, since can be computed from the | |
4042 | language. | |
4043 | (Other_Part): New subprogram. | |
4044 | ||
2b426674 EB |
4045 | 2009-06-24 Emmanuel Briot <briot@adacore.com> |
4046 | ||
4047 | * gnat_ugn.texi, prj-nmsc.adb (Suffix_Matches): A suffix can also match | |
4048 | the full base name of the file when the suffix doesn't start with a '.'. | |
4049 | ||
95cd3246 AC |
4050 | 2009-06-24 Vincent Celier <celier@adacore.com> |
4051 | ||
4052 | * prj-nmsc.adb (Check): A project declared abstract is legal if no | |
4053 | attribute Source_Dirs, Source_Files, Source_List_File or Languages is | |
4054 | declared. | |
4055 | ||
4056 | 2009-06-24 Robert Dewar <dewar@adacore.com> | |
4057 | ||
4058 | * clean.adb, gnatcmd.adb, make.adb, mlib-prj.adb, | |
4059 | prj-env.adb: Minor reformatting | |
4060 | ||
4061 | 2009-06-24 Ed Falis <falis@adacore.com> | |
4062 | ||
4063 | * s-taprop-vxworks.adb, s-osinte-vxworks.ads, s-vxwext.ads, | |
4064 | s-vxwext-kernel.adb, s-vxwext-kernel.ads, s-vxwext-rtp.adb, | |
4065 | s-tasinf-vxworks.ads, gcc-interface/Makefile.in: Add processor affinity | |
4066 | support for VxWorks SMP. | |
4067 | ||
4068 | * gcc-interface/Make-lang.in: Update dependencies | |
4069 | ||
5a66a766 EB |
4070 | 2009-06-24 Emmanuel Briot <briot@adacore.com> |
4071 | ||
4072 | * gnatcmd.adb, make.adb, mlib-prj.adb, prj.adb, prj.ads, clean.adb, | |
4073 | prj-nmsc.adb, prj-env.adb, prj-proc.adb (Units_Table): Removed, since | |
4074 | no longer useful. | |
4075 | (Source_Data.Lang_Kind): Removed, since it duplicates information | |
4076 | already available through Language.Config. | |
4077 | (Source_Data.Compile): Removed, since information is already available | |
4078 | through the language. | |
4079 | (Is_Compilable): New subprogram. | |
4080 | (Source_Data.Dependency): Removed, since already available through | |
4081 | the language. | |
4082 | (Source_Data.Object_Exist, Object_Linked): Removed since available | |
4083 | through the language already. | |
4084 | (Unit_Data.File_Names): Is now also set in multi_language mode, to | |
4085 | bring the two modes closer in the resulting data structures. | |
4086 | (Source_Data.Unit): Now a direct pointer to the unit data, rather than | |
4087 | just the name that would point into a hash table. | |
4088 | (Get_Language_From_Name): New subprogram. | |
4089 | ||
852dba80 AC |
4090 | 2009-06-24 Javier Miranda <miranda@adacore.com> |
4091 | ||
4092 | * exp_ch4.adb (Expand_N_Type_Conversion): Handle entities that are | |
4093 | visible through limited-with context clauses. In addition, avoid an | |
4094 | extra tag check that is not required when the class-wide | |
4095 | designated types of the operand and target types are | |
4096 | the same entity. | |
4097 | (Tagged_Membership): Handle entities from the limited view. | |
4098 | ||
4099 | 2009-06-24 Emmanuel Briot <briot@adacore.com> | |
4100 | ||
4101 | * gnatcmd.adb, make.adb, mlib-prj.adb, prj.ads, clean.adb, | |
4102 | prj-nmsc.adb, prj-env.adb (File_Name_Data): removed | |
4103 | (Spec_Or_Body): now a subtype of Source_Kind, to avoid using two | |
4104 | different vocabularies for similar concepts (Impl/Body_Part and | |
4105 | Spec/Specification). | |
4106 | (Unit_Data): now points directly to a Source_Id, rather than duplicating | |
4107 | some of the information in File_Name_Data. This also saves a bit of | |
4108 | memory. However, since we are now using a pointer we need to test | |
4109 | for null explicitly in several places of the code | |
4110 | ||
950d217a AC |
4111 | 2009-06-24 Javier Miranda <miranda@adacore.com> |
4112 | ||
4113 | * exp_ch4.adb (Expand_N_Type_Conversion): return immediately | |
4114 | from processing the type conversion when the node is | |
4115 | replaced by an N_Raise_Program_Error node. | |
4116 | ||
4117 | 2009-06-24 Hristian Kirtchev <kirtchev@adacore.com> | |
4118 | ||
4119 | * sem_ch6.adb (Designates_From_With_Type): New routine. | |
4120 | (Process_Formals): Since anonymous access types are no longer flagged | |
4121 | as from with types, traverse the designated type to determine whether | |
4122 | it is coming from a limited view. | |
4123 | ||
4124 | * sem_res.adb: Remove with and use clauses for Sem_Ch10. | |
4125 | (Full_Designated_Type): Use Available_View to extract the non-limited / | |
4126 | full view of a type. | |
4127 | ||
dd3e1ff5 AC |
4128 | 2009-06-24 Robert Dewar <dewar@adacore.com> |
4129 | ||
4130 | * exp_ch6.adb: Minor reformatting | |
4131 | ||
4132 | * layout.adb: Minor reformatting | |
4133 | ||
4134 | * make.adb: Minor reformatting | |
4135 | ||
4136 | 2009-06-24 Thomas Quinot <quinot@adacore.com> | |
4137 | ||
4138 | * sem_ch10.adb: Minor code reorganization. | |
4139 | ||
0386aad1 AC |
4140 | 2009-06-24 Eric Botcazou <ebotcazou@adacore.com> |
4141 | ||
4142 | * ttypes.ads: Minor editing. | |
4143 | ||
4144 | 2009-06-24 Robert Dewar <dewar@adacore.com> | |
4145 | ||
4146 | * exp_ch6.adb (Expand_Actuals): Use Is_Volatile, not Treat_As_Volatile | |
4147 | in deciding to do call-by-copy code. | |
4148 | ||
4149 | 2009-06-24 Vincent Celier <celier@adacore.com> | |
4150 | ||
4151 | * make.adb (Gnatmake): To decide if an executable should be rebuilt, | |
4152 | check if an externally built library file is more current than the | |
4153 | executable. | |
4154 | ||
2724e58f OH |
4155 | 2009-06-23 Olivier Hainque <hainque@adacore.com> |
4156 | ||
4157 | * gcc-interface/utils.c (handle_vector_size_attribute): Import from | |
4158 | c-common.c and populate in gnat_internal_attribute_table. | |
4159 | ||
14e33999 AC |
4160 | 2009-06-23 Ed Schonberg <schonberg@adacore.com> |
4161 | ||
4162 | * sem_res.adb (Valid_Conversion, Full_Designated_Type): Use | |
4163 | Available_View only when designated type of an anonymous access type | |
4164 | is limited view. | |
4165 | ||
4166 | 2009-06-23 Robert Dewar <dewar@adacore.com> | |
4167 | ||
4168 | * sem_ch10.adb: Minor reformatting | |
4169 | ||
792569a9 RD |
4170 | * ali.ads: Mino reformatting. |
4171 | ||
14e33999 AC |
4172 | * gnat1drv.adb (Adjust_Global_Switches): New procedure (take care of |
4173 | turning off inlining if ASIS mode active). | |
4174 | ||
4175 | * switch-c.adb: Remove fiddling with Inspector_Mode and ASIS_Mode | |
4176 | This belongs in gnat1drv.adb after switches are scanned. | |
4177 | ||
c0985d4e HK |
4178 | 2009-06-23 Hristian Kirtchev <kirtchev@adacore.com> |
4179 | ||
4180 | * sem_attr.adb: Add with and use clauses for Sem_Ch10. | |
4181 | (Check_Not_Incomplete_Type): Minor reformatting. Retrieve the root type | |
4182 | when dealing with class-wide types. Detect a legal shadow entity and | |
4183 | retrieve its non-limited view. | |
4184 | ||
4185 | * sem_ch10.adb (Has_With_Clause): Move the spec and body of the | |
4186 | subprogram to top package level from Intall_Limited_Withed_Unit. | |
4187 | (Install_Limited_Withed_Unit): Remove spec and body of Has_With_Clause. | |
4188 | Add check which prevents the installation of a limited view if the | |
4189 | non-limited view is already visible through a with clause. | |
4190 | (Is_Legal_Shadow_Entity_In_Body): New routine. Detect a residual, but | |
4191 | legal shadow entity which may occur in subprogram formals of anonymous | |
4192 | access type. | |
4193 | ||
4194 | * sem_ch10.ads (Is_Legal_Shadow_Entity_In_Body): New routine. | |
4195 | ||
4196 | * sem_ch3.adb (Access_Definition): Remove the propagation of flag | |
4197 | From_With_Type from the designated type to the generated anonymous | |
4198 | access type. Remove associated comment. | |
4199 | ||
4200 | * sem_res.adb Add with and use clauses for Sem_Ch10. | |
4201 | (Full_Designated_Type): Detect a legal shadow entity and retrieve its | |
4202 | non-limited view. Since the shadow entity may replace a regular | |
4203 | incomplete type, return the available full view. | |
4204 | ||
0d354370 AC |
4205 | 2009-06-23 Ed Schonberg <schonberg@adacore.com> |
4206 | ||
4207 | * sem_ch10.adb (Remove_Limited_With_Clause): Clean up code that handles | |
4208 | incomplete type declarations. Previous code was potentially quadratic | |
4209 | in the number of visible declarations in any package appearing in a | |
4210 | limited_with_clause. | |
4211 | ||
4212 | 2009-06-23 Robert Dewar <dewar@adacore.com> | |
4213 | ||
4214 | * prj-conf.ads, prj-part.adb, prj-proc.adb, prj-proc.ads, sem_ch8.adb, | |
4215 | xref_lib.adb: Minor reformatting | |
4216 | ||
85b7d482 RD |
4217 | 2009-06-23 Robert Dewar <dewar@adacore.com> |
4218 | ||
4219 | * a-stzhas.adb: Provide dummy body to avoid build problems with old | |
4220 | versions which did have a body for this unit. | |
4221 | ||
efc81a89 AC |
4222 | 2009-06-23 Vincent Celier <celier@adacore.com> |
4223 | ||
4224 | * prj-attr.adb: Attribute names Initial_Required_Switches and | |
4225 | Final_Required_Switches changed to Leading_Required_Switches and | |
4226 | Trailing_Required_Switches. | |
4227 | ||
4228 | * prj-nmsc.adb (Process_Compiler): Attribute names | |
4229 | Initial_Required_Switches and Final_Required_Switches changed to | |
4230 | Leading_Required_Switches and Trailing_Required_Switches. | |
4231 | ||
4232 | * prj.ads (Language_Config): Component Initial_Required_Switches and | |
4233 | Final_Required_Switches changed to Leading_Required_Switches and | |
4234 | Trailing_Required_Switches. | |
4235 | ||
4236 | * snames.ads-tmpl: Remove standard names Initial_Required_Switches and | |
4237 | Final_Required_Switches; add standard names Leading_Required_Switches | |
4238 | and Trailing_Required_Switches. | |
4239 | ||
4240 | 2009-06-23 Thomas Quinot <quinot@adacore.com> | |
4241 | ||
4242 | * prj-conf.adb: Minor reformatting | |
4243 | ||
4244 | * xref_lib.adb: Minor cleanup | |
4245 | ||
1290ef14 AC |
4246 | 2009-06-23 Emmanuel Briot <briot@adacore.com> |
4247 | ||
4248 | * prj-proc.adb, prj-proc.ads, prj-nmsc.adb, prj-nmsc.ads, prj-conf.adb, | |
4249 | prj-conf.ads (Check_Configuration): New parameter | |
4250 | Compiler_Driver_Mandatory. | |
4251 | ||
4252 | 2009-06-23 Ed Schonberg <schonberg@adacore.com> | |
4253 | ||
4254 | * sem_ch10.adb (Analyze_With_Clause): If a subprogram instance in the | |
4255 | context of the current unit has an inline pragma, the instance is not | |
4256 | rewritten as the declaration of the package wrapper. Handle both | |
4257 | possibilities when retrieving the visible subprogram that renames the | |
4258 | instantiation itself. | |
4259 | ||
d6a24cdb AC |
4260 | 2009-06-23 Javier Miranda <miranda@adacore.com> |
4261 | ||
4262 | * exp_ch4.adb (Displace_Allocator_Pointer, Expand_N_Allocator): Handle | |
4263 | designated types referencing entities from the limited view. | |
4264 | ||
f91c36dc AC |
4265 | 2009-06-23 Robert Dewar <dewar@adacore.com> |
4266 | ||
4267 | * s-strhas.adb, s-strhas.ads: Restrict to 32-bit modular types | |
4268 | ||
4269 | * s-imgdec.adb (Set_Decimal_Digits): Fix error of too many digits for | |
4270 | small values | |
4271 | ||
4272 | * prj-conf.ads: Minor reformatting | |
4273 | ||
4274 | * prj-conf.adb: Minor reformatting | |
4275 | ||
4276 | 2009-06-23 Vasiliy Fofanov <fofanov@adacore.com> | |
4277 | ||
4278 | * g-debpoo.adb (Dump_Gnatmem): Output dummy timestamps for allocations | |
4279 | to correspond to the log format that gnatmem now expects. | |
4280 | ||
4281 | 2009-06-23 Vincent Celier <celier@adacore.com> | |
4282 | ||
4283 | * prj-attr.adb: New attributes Initial_Required_Switches, | |
4284 | Final_Required_Switches and Object_File_Switches | |
4285 | ||
4286 | * prj-nmsc.adb (Process_Compiler): Process new attributes | |
4287 | Name_Final_Required_Switches, Name_Initial_Required_Switches and | |
4288 | Name_Object_File_Switches. | |
4289 | ||
4290 | * prj.ads (Language_Config): New component | |
4291 | Compiler_Initial_Required_Switches (replace Compiler_Required_Switches), | |
4292 | Compiler_Final_Required_Switches and Object_File_Switches. | |
4293 | ||
4294 | * snames.ads-tmpl: New standard names Initial_Required_Switches, | |
4295 | Final_Required_Switches and Object_File_Switches | |
4296 | ||
35262047 AC |
4297 | 2009-06-23 Pascal Obry <obry@adacore.com> |
4298 | ||
4299 | * s-strhas.adb, s-strhas.ads: Minor reformatting. | |
4300 | ||
4301 | 2009-06-23 Ed Schonberg <schonberg@adacore.com> | |
4302 | ||
4303 | * sem_ch10.adb (Install_Limited_Withed_Unit): a null procedure does | |
4304 | not indicate that the enclosing unit needs a body. | |
4305 | ||
abe19d88 EB |
4306 | 2009-06-23 Emmanuel Briot <briot@adacore.com> |
4307 | ||
4308 | * prj-conf.ads, prj-conf.adb: New files part of the project manager. | |
4309 | ||
af268547 ES |
4310 | 2009-06-23 Ed Schonberg <schonberg@adacore.com> |
4311 | ||
4312 | * sem_ch3.adb (Derive_Subprogram): If the inherited subprogram is a | |
4313 | primitive equality include it with its source name even if the | |
4314 | operation is currently invisible, to make sure that the corresponding | |
4315 | slot in the dispatch table is reserved for the internal equality | |
4316 | subsequently generated during expansion. | |
4317 | ||
a3e3b8da MG |
4318 | 2009-06-23 Matthew Gingell <gingell@adacore.com> |
4319 | ||
4320 | * Makefile.rtl, a-stwiha.adb: Add a-stwiha.adb back. | |
4321 | ||
f61580d4 AC |
4322 | 2009-06-22 Jose Ruiz <ruiz@adacore.com> |
4323 | ||
4324 | * sysdep.c (__gnat_localtime_tzoff for RTX): | |
4325 | SystemTimeToTzSpecificLocalTime is not supported by RTX. Use | |
4326 | GetTimeZoneInformation instead. | |
4327 | ||
4328 | 2009-06-22 Robert Dewar <dewar@adacore.com> | |
4329 | ||
4330 | * sem_res.adb (Check_No_Direct_Boolean_Operators): New procedure | |
4331 | ||
4332 | 2009-06-22 Ed Schonberg <schonberg@adacore.com> | |
4333 | ||
4334 | * sem_ch12.adb (Collect_Previous_Instances): Do not collect | |
4335 | instantiations declared in a previous generic package body. | |
4336 | ||
4337 | 2009-06-22 Robert Dewar <dewar@adacore.com> | |
4338 | ||
4339 | * gnat_rm.texi: Add doc that X=True and X=False is allowed for the | |
4340 | restriction No_Direct_Boolean_Operators. | |
4341 | ||
4342 | 2009-06-22 Thomas Quinot <quinot@adacore.com> | |
4343 | ||
4344 | * bindusg.adb: Minor fixes to gnatbind usage message | |
4345 | ||
4346 | * sem_eval.adb: Minor reformatting | |
4347 | ||
6823270c AC |
4348 | 2009-06-22 Javier Miranda <miranda@adacore.com> |
4349 | ||
4350 | * sem_ch3.adb (Analyze_Object_Declaration, Freeze_Entity): Move to the | |
4351 | freezing point the check on the use of abstract types in object | |
4352 | declarations. Done to allow the declaration of C++ imported variables | |
4353 | or constants whose type corresponds with an imported C++ classes for | |
4354 | which the constructor is not imported. | |
4355 | ||
4356 | 2009-06-22 Thomas Quinot <quinot@adacore.com> | |
4357 | ||
4358 | * sem_ch6.adb: Minor reformatting | |
4359 | ||
4360 | 2009-06-22 Ed Schonberg <schonberg@adacore.com> | |
4361 | ||
4362 | * exp_ch3.adb (Build_Initialization_Call): If a discriminated record | |
4363 | component is constrained with an expression rather than with a | |
4364 | discriminant of the enclosing type, use that expression when building | |
4365 | the call to default-initialize the component, when the call is part of | |
4366 | an aggregate with box initialization. | |
4367 | ||
c9e7bd8e AC |
4368 | 2009-06-22 Ed Schonberg <schonberg@adacore.com> |
4369 | ||
4370 | * sem_ch6.adb (Check_Overriding_Indicator): Clean up code, make warning | |
4371 | unconditional rather than a style check, because a formal name out of | |
4372 | order is suspicious. | |
4373 | ||
4374 | 2009-06-22 Vincent Celier <celier@adacore.com> | |
4375 | ||
4376 | * prj-nmsc.adb (Locate_Directory): Indicate the project name when | |
4377 | creating a directory automatically. | |
4378 | ||
4379 | 2009-06-22 Eric Botcazou <ebotcazou@adacore.com> | |
4380 | ||
4381 | * sem_ch3.adb (Create_Constrained_Components): For a subtype of an | |
4382 | untagged derived type, add a hidden component for every constrained | |
4383 | discriminant of the parent type to keep record layout consistent. | |
4384 | ||
d88a51b1 AC |
4385 | 2009-06-22 Thomas Quinot <quinot@adacore.com> |
4386 | ||
4387 | * exp_ch3.adb: Minor code reorganization (avoid an unnecessary tree | |
4388 | copy). | |
4389 | ||
4390 | 2009-06-22 Matthew Gingell <gingell@adacore.com> | |
4391 | ||
4392 | * a-stzhas.adb, a-stwiha.adb, impunit.adb, a-swbwha.adb, a-shcain.adb, | |
4393 | s-htable.adb, a-szuzha.adb, a-stunha.adb, a-stboha.adb, a-strhas.adb, | |
4394 | g-spitbo.adb, s-strhas.adb, a-szbzha.adb, s-strhas.ads, Makefile.rtl, | |
4395 | a-swuwha.adb: New unit System.String_Hash. | |
4396 | Refactor redundant cut and pasted hash functions with instances of a | |
4397 | new generic hash function. | |
4398 | Implement a new string hashing algorithm which appears in testing to | |
4399 | be move effective than to previous approach. | |
4400 | ||
4401 | 2009-06-22 Ed Falis <falis@adacore.com> | |
4402 | ||
4403 | * sysdep.c: remove include for nfsLib.h and an NFS specific error | |
4404 | message for VxWorks 653 vThreads: not supported by the OS. | |
4405 | ||
4406 | * gsocket.h: disable sockets for VxWorks 653 vThreads. | |
4407 | ||
4408 | 2009-06-22 Robert Dewar <dewar@adacore.com> | |
4409 | ||
4410 | * sem_ch6.adb: Add ??? comment for bad use of Style_Check | |
4411 | ||
e7d72fb9 AC |
4412 | 2009-06-22 Robert Dewar <dewar@adacore.com> |
4413 | ||
4414 | * sinput.adb, sinput.ads (Expr_First_Char, Expr_Last_Char): Replaced | |
4415 | by Sloc_Range. | |
4416 | ||
4417 | * freeze.adb: Minor comment updates | |
4418 | ||
4419 | * s-valrea.adb (Bad_Based_Value): New procedure | |
4420 | (Scan_Real): Raise exceptions with messages | |
4421 | ||
4422 | 2009-06-22 Matthew Gingell <gingell@adacore.com> | |
4423 | ||
4424 | * adaint.h: Complete previous change. | |
4425 | ||
4426 | 2009-06-22 Thomas Quinot <quinot@adacore.com> | |
4427 | ||
4428 | * exp_ch7.ads, exp_ch3.adb: Minor reformatting | |
4429 | ||
4430 | 2009-06-22 Ed Schonberg <schonberg@adacore.com> | |
4431 | ||
4432 | * sem_ch6.adb (Check_Overriding_Indicator): When style checks are | |
4433 | enabled, emit warning when a non-controlling argument of the overriding | |
4434 | operation appears out of place vis-a-vis of the formal of the | |
4435 | overridden operation. | |
4436 | ||
03456e44 AC |
4437 | 2009-06-22 Vincent Celier <celier@adacore.com> |
4438 | ||
4439 | * gnatcmd.adb (Check_Files): Close temporary files after all file names | |
4440 | have been written into it. | |
4441 | ||
4442 | 2009-06-22 Matthew Gingell <gingell@adacore.com> | |
4443 | ||
4444 | * adaint.c, adaint.h, cstreams.c: Call stat64 on platforms where it is | |
4445 | available. | |
4446 | ||
4447 | 2009-06-22 Thomas Quinot <quinot@adacore.com> | |
4448 | ||
4449 | * sem_disp.adb (Check_Direct_Call): Handle the case where the full | |
4450 | view of the root type is visible at the point of the call. | |
4451 | ||
4452 | 2009-06-22 Pat Rogers <rogers@adacore.com> | |
4453 | ||
4454 | * gnat_ugn.texi: Revised a sentence to correct a minor grammar error. | |
4455 | ||
59366db6 JL |
4456 | 2009-06-22 Jerome Lambourg <lambourg@adacore.com> |
4457 | ||
4458 | * freeze.adb: Add comments. | |
4459 | ||
f3b57ab0 AC |
4460 | 2009-06-21 Thomas Quinot <quinot@adacore.com> |
4461 | ||
4462 | * exp_ch3.adb, exp_prag.adb, exp_util.adb, exp_util.ads, freeze.adb, | |
4463 | sem_ch13.adb, sem_elab.adb (Exp_Prag.Expand_Pragma_Import_Or_Interface): | |
4464 | Factor out code to new subprogram... | |
4465 | (Exp_Util.Find_Init_Call): New shared routine to find the init proc call | |
4466 | for a default initialized variable. | |
4467 | (Freeze.Check_Address_Clause): Do not reset Has_Delayed_Freeze on an | |
4468 | entity that has an associated freeze node. | |
4469 | (Sem_Ch13.Analyze_Attribute_Definition_Clause, case Address): | |
4470 | If there is an init call for the object, defer it to the object freeze | |
4471 | point. | |
4472 | (Check_Elab_Call.Find_Init_Call): Rename to Check_Init_Call, to avoid | |
4473 | name clash with new subprogram introduced in Exp_Util. | |
4474 | ||
4475 | 2009-06-21 Robert Dewar <dewar@adacore.com> | |
4476 | ||
4477 | * einfo.ads: Minor reformatting | |
4478 | ||
4f91a255 AC |
4479 | 2009-06-21 Ed Falis <falis@adacore.com> |
4480 | ||
4481 | * env.c (__gnat_environ): return NULL for vThreads - unimplemented | |
4482 | ||
4483 | 2009-06-21 Eric Botcazou <ebotcazou@adacore.com> | |
4484 | ||
4485 | * einfo.ads: Update comments. | |
4486 | ||
4487 | 2009-06-21 Hristian Kirtchev <kirtchev@adacore.com> | |
4488 | ||
4489 | * sem_disp.adb (Check_Direct_Call): New routine. Dispatching calls | |
4490 | where the controlling formal is of private class-wide type whose | |
4491 | completion is a synchronized type can be converted into direct calls. | |
4492 | ||
4493 | 2009-06-21 Vincent Celier <celier@adacore.com> | |
4494 | ||
4495 | * gnatcmd.adb (Check_Files): When all sources of the project are to be | |
4496 | indicated to gnatcheck, gnatpp or gnatmetric, always specify the list | |
4497 | of sources using -files=, so that the distinction can be made by the | |
4498 | tool of a call with no source (to display the usage) from a call with | |
4499 | a project file that contains no source. | |
4500 | ||
4501 | 2009-06-21 Jerome Lambourg <lambourg@adacore.com> | |
4502 | ||
4503 | * exp_ch3.adb (Build_Array_Init_Proc): Do not build the init proc in | |
4504 | case of VM convention arrays. | |
4505 | ||
8a45323c RD |
4506 | 2009-06-20 Robert Dewar <dewar@adacore.com> |
4507 | ||
4508 | * a-nudira.adb: Minor reformatting | |
4509 | ||
5afaf827 AC |
4510 | 2009-06-20 Ed Schonberg <schonberg@adacore.com> |
4511 | ||
4512 | * exp_ch3.adb (Build_Record_Init_Proc): When copying initial | |
4513 | expressions (possibly from a parent type) indicate that the scope of | |
4514 | the new itypes is the initialization procedure being built. | |
4515 | ||
4516 | 2009-06-20 Robert Dewar <dewar@adacore.com> | |
4517 | ||
4518 | * a-nudira.adb (Fits_In_32_Bits): New name (inverted sense) for | |
4519 | Needs_64, and now computed without anomolies for some dynamic types. | |
4520 | ||
4521 | 2009-06-20 Thomas Quinot <quinot@adacore.com> | |
4522 | ||
4523 | * sem_prag.adb: Minor reformatting | |
4524 | ||
4525 | * exp_disp.ads: Minor reformatting | |
4526 | ||
e80d72ea ES |
4527 | 2009-06-20 Ed Schonberg <schonberg@adacore.com> |
4528 | ||
4529 | * sem_ch3.adb (Is_OK_For_Limited_Init): An unchecked conversion of a | |
4530 | function call is a legal expression to initialize a limited object. | |
4531 | ||
4532 | * exp_ch3.adb: Rename various freeze operations that perform expansion | |
4533 | actions, to prevent confusion with subprograms in the freeze package. | |
4534 | ||
6ca063eb AC |
4535 | 2009-06-20 Ed Schonberg <schonberg@adacore.com> |
4536 | ||
4537 | * sem.adb (Walk_Library_Units): Check instantiations first. | |
4538 | ||
4539 | * sem_ch6.adb (Analyze_Subprogram_Declaration): Mark a subprogram as a | |
4540 | private primitive if it is a function with a controlling result that is | |
4541 | a type extension with progenitors. | |
4542 | ||
4543 | * exp_ch9.adb (Build_Wrapper_Spec, Build_Wrapper_Body): Handle properly | |
4544 | a primitive operation of a synchronized tagged type that has a | |
4545 | controlling result. | |
4546 | ||
4547 | 2009-06-20 Thomas Quinot <quinot@adacore.com> | |
4548 | ||
4549 | * einfo.ads: Fix typo. | |
4550 | ||
4551 | 2009-06-20 Ed Falis <falis@adacore.com> | |
4552 | ||
4553 | * s-vxwext.ads, s-vxwext-kernel.adb: Complete previous change. | |
4554 | ||
502c4bb9 EB |
4555 | 2009-06-19 Eric Botcazou <ebotcazou@adacore.com> |
4556 | ||
4557 | * gcc-interface/trans.c (emit_check): Do not wrap up the result | |
4558 | in a SAVE_EXPR. | |
4559 | (protect_multiple_eval): Always protect complex expressions. | |
4560 | ||
659819b9 AC |
4561 | 2009-06-19 Emmanuel Briot <briot@adacore.com> |
4562 | ||
4563 | * prj-ext.adb, makeutl.adb, makeutl.ads (Executable_Prefix_Path): Now | |
4564 | make sure we always return a name ending with a path separator. | |
4565 | ||
4566 | 2009-06-19 Javier Miranda <miranda@adacore.com> | |
4567 | ||
4568 | * sem_ch12.adb (Instantiate_Package_Body, Instantiate_Subprogram_Body): | |
4569 | Save and restore the visibility of the parent when installed. | |
4570 | ||
4571 | 2009-06-19 Jose Ruiz <ruiz@adacore.com> | |
4572 | ||
4573 | * s-tposen.ads (Protection_Entry): Replace fields L, Ceiling, and Owner | |
4574 | by Common which contains all these fields. | |
4575 | ||
4576 | * s-tposen.adb (Initialize_Protection_Entry, Lock_Entry, | |
4577 | Lock_Read_Only_Entry, Timed_Protected_Single_Entry_Call, Unlock_Entry): | |
4578 | Remove code duplication in this package by means of calling the | |
4579 | equivalent code in s-taprob. | |
4580 | ||
4581 | 2009-06-19 Robert Dewar <dewar@adacore.com> | |
4582 | ||
4583 | * a-einuoc.ads: Minor reformatting | |
4584 | ||
0eed21bd EF |
4585 | 2009-06-19 Ed Falis <falis@adacore.com> |
4586 | ||
4587 | * a-einuoc.ads, s-osinte-vxworks.ads, s-vxwext.ads, s-vxwext-kernel.adb, | |
4588 | s-vxwext-kernel.ads, s-vxwext-rtp.ads: Code clean up. | |
4589 | ||
93c3fca7 AC |
4590 | 2009-06-19 Eric Botcazou <ebotcazou@adacore.com> |
4591 | ||
4592 | * einfo.ads (Handling of Type'Size Values): Fix Object_Size values. | |
4593 | ||
4594 | 2009-06-19 Robert Dewar <dewar@adacore.com> | |
4595 | ||
4596 | * a-nudira.adb (Need_64): Handle negative ranges and also dynamic | |
4597 | ranges | |
4598 | ||
4599 | * checks.adb (Determine_Range): Move the test for generic types later. | |
4600 | ||
4601 | * sem_eval.adb (Compile_Time_Compare): Improve circuitry to catch more | |
4602 | cases. | |
4603 | (Eval_Relational_Op): Fold more cases including string compares | |
4604 | ||
4605 | * sem_util.ads, sem_util.adb (References_Generic_Formal_Type): New | |
4606 | function. | |
4607 | ||
e29e2483 AC |
4608 | 2009-06-19 Robert Dewar <dewar@adacore.com> |
4609 | ||
4610 | * sem_type.ads, sem_ch12.adb: Minor reformatting | |
4611 | ||
4612 | * s-wchcnv.adb (UTF_32_To_Char_Sequence): Handle invalid data properly | |
4613 | ||
4614 | 2009-06-19 Ed Schonberg <schonberg@adacore.com> | |
4615 | ||
4616 | * exp_ch9.adb (Build_Wrapper_Spec): Handle properly an overridden | |
4617 | primitive operation of a rivate extension whose controlling argument | |
4618 | is an out parameter. | |
4619 | ||
4620 | * sem.adb (Walk_Library_Units): exclude generic package declarations | |
4621 | from check. | |
4622 | ||
f26d5cd3 AC |
4623 | 2009-06-19 Thomas Quinot <quinot@adacore.com> |
4624 | ||
4625 | * i-vxwoio.ads: Add comments | |
4626 | ||
4627 | 2009-06-19 Thomas Quinot <quinot@adacore.com> | |
4628 | ||
4629 | * socket.c, g-socthi-vms.adb, g-socthi-vms.ads, g-socthi-vxworks.adb, | |
4630 | g-socthi-vxworks.ads, g-socthi-mingw.adb, g-socthi-mingw.ads, | |
4631 | g-socthi.adb, g-socthi.ads, g-socket.adb, g-sothco.ads | |
4632 | (GNAT.Sockets.Thin.C_Ioctl): Rename to Socket_Ioctl. | |
4633 | (GNAT.Sockets.Thin.Socket_Ioctl): Use new function | |
4634 | Thin_Common.Socket_Ioctl. | |
4635 | (GNAT.Sockets.Thin_Common.Socket_Ioctl): Binding to new C wrapper | |
4636 | __gnat_socket_ioctl. | |
4637 | (__gnat_socket_ioctl): Wrapper for ioctl(2) called with a single int* | |
4638 | argument after the file descriptor and request code. | |
4639 | ||
4640 | 2009-06-19 Robert Dewar <dewar@adacore.com> | |
4641 | ||
4642 | * checks.adb: Minor reformatting | |
4643 | ||
1abad480 AC |
4644 | 2009-06-19 Jose Ruiz <ruiz@adacore.com> |
4645 | ||
4646 | * env.c (__gnat_environ): RTX does not support this functionality. | |
4647 | ||
4648 | 2009-06-19 Ed Schonberg <schonberg@adacore.com> | |
4649 | ||
4650 | * sem.adb (Walk_Library_Items): Include bodies in the list of units to | |
4651 | traverse, to account for front-end inlining and instantiations in a | |
4652 | spec or in the main unit. | |
4653 | ||
4654 | 2009-06-19 Robert Dewar <dewar@adacore.com> | |
4655 | ||
4656 | * checks.adb (Determine_Range): Do not attempt to get range of generic | |
4657 | type. | |
4658 | ||
c38e990f SR |
4659 | 2009-06-19 Sergey Rybin <rybin@adacore.com> |
4660 | ||
4661 | * gnat_ugn.texi, vms_data.ads: Add the documentation for the new | |
4662 | gnatmetric option for generating the schema file for gnatmetric XML | |
4663 | output. Add corresponding VMS qualifier. | |
4664 | ||
1175f0b6 AC |
4665 | 2009-06-19 Robert Dewar <dewar@adacore.com> |
4666 | ||
4667 | * g-cgi.adb: Minor reformatting | |
4668 | ||
4669 | 2009-06-19 Eric Botcazou <ebotcazou@adacore.com> | |
4670 | ||
4671 | * s-intman-solaris.adb (Notify_Exception): Do not discriminate on the | |
4672 | signal code for SIGFPE and raise Program_Error for SIGILL. | |
4673 | ||
4674 | * s-osinte-solaris.ads: Remove signal code constants for SIGFPE. | |
4675 | ||
4676 | 2009-06-19 Ed Schonberg <schonberg@adacore.com> | |
4677 | ||
4678 | * sem_ch8.adb (Nvis_Messages): Do not list an entity declared in a | |
4679 | generic package if there is a visibility candidate that is declared in | |
4680 | a regular package. | |
4681 | ||
4c1a9016 OH |
4682 | 2009-06-18 Olivier Hainque <hainque@adacore.com> |
4683 | ||
4684 | * system-aix64.ads: New file. | |
4685 | * gcc-interface/Makefile.in (aix LIBGNAT_TARGET_PAIRS): Use the | |
4686 | 64bit system.ads for ppc64 multilib variants. | |
4687 | ||
d81b4c61 RD |
4688 | 2009-06-16 Robert Dewar <dewar@adacore.com> |
4689 | Olivier Hainque <hainque@adacore.com> | |
4690 | ||
4691 | Relax constraints on Machine_Attribute argument types: | |
4692 | * sem_prag.adb (Check_Arg_Is_Static_Expression): Allow for | |
4693 | missing type. | |
4694 | (Analyze_Attribute, case Machine_Attribute): Allow any type for arg 3. | |
4695 | * gcc-interface/decl.c (prepend_attributes): Accept static | |
4696 | expressions of any type as attribute arguments, not only string | |
4697 | literals. | |
4698 | * gnat_rm.texi (pragma Machine_Attribute section): Adjust to reflect | |
4699 | the relaxation of the restriction on the Info argument type. | |
4700 | ||
c172df28 AH |
4701 | 2009-06-13 Aldy Hernandez <aldyh@redhat.com> |
4702 | ||
4703 | * gcc-interface/utils.c (record_builtin_type): Pass location | |
4704 | argument to build_decl. | |
4705 | (create_type_stub_decl): Same. | |
4706 | (create_type_decl): Same. | |
4707 | (create_var_decl_1): Same. | |
4708 | (create_field_decl): Same. | |
4709 | (create_param_decl): Same. | |
4710 | (create_label_decl): Same. | |
c172df28 AH |
4711 | (create_subprog_decl): Same. |
4712 | * gcc-interface/decl.c (gnat_to_gnu_entity): Same. | |
4713 | * gcc-interface/trans.c (Case_Statement_to_gnu): Pass location | |
4714 | argument to create_artificial_label. | |
c172df28 AH |
4715 | (Loop_Statement_to_gnu): Same. |
4716 | (Subprogram_Body_to_gnu): Same. | |
4717 | (gnat_gimplify_stmt): Same. | |
4718 | ||
53b2323e RH |
4719 | 2009-06-11 Richard Henderson <rth@redhat.com> |
4720 | ||
cd19075f EB |
4721 | * gcc-interface/misc.c (gnat_handle_option): Rename OPT_gdwarf_ to |
4722 | OPT_gdwarfplus. | |
53b2323e | 4723 | |
2995ebee AC |
4724 | 2009-06-11 Ed Schonberg <schonberg@adacore.com> |
4725 | ||
4726 | * sem_attr.adb (Resolve_Attribute, case 'access): Add missing | |
4727 | accessibiliy check on access_to_subprogram in the context of an | |
4728 | anonymous access that is not an access parameter. | |
4729 | ||
4730 | 2009-06-11 Eric Botcazou <ebotcazou@adacore.com> | |
4731 | ||
4732 | * tracebak.c (i386 section): Define IS_BAD_PTR on Solaris. | |
4733 | ||
4734 | 2009-06-11 Quentin Ochem <ochem@adacore.com> | |
4735 | ||
4736 | * sem_warn.adb, scng.adb, sfn_scan.adb, freeze.adb: Add CODEFIX | |
4737 | comments for message handled by GPS. | |
4738 | ||
4739 | 2009-06-11 Matthew Gingell <gingell@adacore.com> | |
4740 | ||
4741 | * adaint.c: Use fopen64 instead of fopen on platforms where we know | |
4742 | it's supported. | |
4743 | ||
4744 | 2009-06-11 Pascal Obry <obry@adacore.com> | |
4745 | ||
4746 | * g-cgi.ads: Fix comment typo. | |
4747 | ||
4748 | * g-cgi.adb: Properly decode "+" in CGI parameters as spaces. | |
4749 | ||
c244bf8f EB |
4750 | 2009-06-10 Eric Botcazou <ebotcazou@adacore.com> |
4751 | ||
4752 | * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Record_Subtype>: Use | |
4753 | a reference to the original type for the type of the field of the | |
4754 | XVS type. | |
4755 | (maybe_pad_type): Likewise. | |
4756 | ||
4757 | * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Record_Type>: Factor | |
4758 | common predicate and remove redundant setting of TYPE_BY_REFERENCE_P. | |
4759 | Pass correctly typed arguments to create_field_decl. | |
4760 | <E_Record_Subtype>: Set BLKmode for tagged and limited types in the | |
4761 | case of contrained discriminants as well. Use the padded base type | |
4762 | in the other case as well. Rename temporary variable. Tweak test. | |
4763 | Factor common access pattern. Set GNU_SIZE only once. | |
4764 | ||
ff346f70 OH |
4765 | 2009-06-09 Olivier Hainque <hainque@adacore.com> |
4766 | ||
4767 | * gcc-interface/utils2.c (build_call_alloc_dealloc_proc): New | |
4768 | helper for build_call_alloc_dealloc with arguments to be interpreted | |
4769 | identically. Process the case where a GNAT_PROC to call is provided. | |
4770 | (maybe_wrap_malloc): New helper for build_call_alloc_dealloc, to build | |
4771 | and return an allocator for DATA_SIZE bytes aimed at containing a | |
4772 | DATA_TYPE object, using the default __gnat_malloc allocator. Honor | |
4773 | DATA_TYPE alignments greater than what the latter offers. | |
4774 | (maybe_wrap_free): New helper for build_call_alloc_dealloc, to | |
4775 | release a DATA_TYPE object designated by DATA_PTR using the | |
4776 | __gnat_free entry point. | |
4777 | (build_call_alloc_dealloc): Expect object data type instead of naked | |
4778 | alignment constraint. Use the new helpers. | |
4779 | (build_allocator): Remove special processing for the super-aligned | |
4780 | case, now handled by build_call_alloc_dealloc. Pass data | |
4781 | type instead of the former alignment argument, as expected by the new | |
4782 | interface. | |
4783 | * gcc-interface/gigi.h (build_call_alloc_dealloc): Adjust prototype | |
4784 | and comment. | |
4785 | * gcc-interface/trans.c (gnat_to_gnu) <case N_Free_Statement>: | |
4786 | Remove special processing for the super-aligned case, now handled | |
4787 | by build_call_alloc_dealloc. Pass data type instead of the former | |
4788 | alignment argument, as expected by the new interface. | |
4789 | ||
2153915d AO |
4790 | 2009-06-08 Alexandre Oliva <aoliva@redhat.com> |
4791 | ||
4792 | * lib-writ.adb (flag_compare_debug): Import. | |
4793 | (Write_ALI): Skip during -fcompare-debug-second. | |
4794 | ||
cdaa0e0b EB |
4795 | 2009-06-03 Eric Botcazou <ebotcazou@adacore.com> |
4796 | ||
4797 | * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Record_Type>: When | |
4798 | adjusting the discriminant nodes in an extension, use the full view | |
4799 | of the parent subtype if it is of a private kind. | |
4800 | ||
a6a29d0c EB |
4801 | 2009-06-03 Eric Botcazou <ebotcazou@adacore.com> |
4802 | ||
4803 | * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Record_Type>: Add the | |
4804 | _Parent field, if any, to the record before adding the other fields. | |
4805 | <E_Record_Subtype>: Put the _Controller field before the other fields | |
4806 | except for the _Tag or _Parent fields. | |
4807 | (components_to_record): Likewise. Retrieve the _Parent field from the | |
4808 | record type. | |
4809 | ||
8cd28148 EB |
4810 | 2009-06-03 Eric Botcazou <ebotcazou@adacore.com> |
4811 | ||
4812 | * gcc-interface/decl.c (substitution_list): Rename to build_subst_list, | |
4813 | remove unused parameter and simplify. | |
4814 | (gnat_to_gnu_entity) <E_Record_Type>: Do not set TYPE_FIELDS. Factor | |
4815 | common predicate. Rewrite loop for clarity. Use GNU_TYPE directly | |
4816 | as context for all discriminants. Fix formatting nits. | |
4817 | <E_Record_Subtype>: Add cosmetic 'break'. Test Has_Discriminants | |
4818 | before Discriminant_Constraint. Adjust for above renaming. Do not | |
4819 | set GNU_TYPE more than once. | |
4820 | (elaborate_entity): Test Has_Discriminants on the entity and use | |
4821 | Implementation_Base_Type. | |
4822 | (components_to_record): Rename component_list to gnat_component_list. | |
4823 | Retrieve the _Parent field from the list. Fix nits in comments. | |
4824 | Clarify logic in loop. Pass correct arguments to create_field_decl. | |
4825 | ||
beb7e030 EB |
4826 | 2009-06-02 Eric Botcazou <ebotcazou@adacore.com> |
4827 | ||
4828 | * gcc-interface/Make-lang.in: Fix formatting. | |
4829 | ||
db868e1e | 4830 | 2009-06-01 Olivier Hainque <hainque@adacore.com> |
53b2323e | 4831 | Eric Botcazou <ebotcazou@adacore.com> |
db868e1e OH |
4832 | |
4833 | * gcc-interface/utils.c (convert) <CONSTRUCTOR case>: When converting | |
4834 | to the packable version of the type, clear TREE_STATIC/TREE_CONSTANT | |
4835 | on the result if at least one of the input fields couldn't be output | |
4836 | as a static constant any more. | |
4837 | ||
324c9b02 | 4838 | 2009-06-01 Olivier Hainque <hainque@adacore.com> |
53b2323e | 4839 | Eric Botcazou <ebotcazou@adacore.com> |
324c9b02 OH |
4840 | |
4841 | * gcc-interface/utils2.c (gnat_build_constructor): Factor | |
18d6353c | 4842 | out code. Use initializer_constant_valid_for_bitfield_p and |
324c9b02 OH |
4843 | CONSTRUCTOR_BITFIELD_P for bit-fields. |
4844 | ||
7980bfb8 ILT |
4845 | 2009-05-26 Ian Lance Taylor <iant@google.com> |
4846 | ||
4847 | * gcc-interface/Makefile.in (COMPILER): Define. | |
4848 | (COMPILER_FLAGS, ALL_COMPILERFLAGS): Define. | |
4849 | (.c.o, cio.o, init.o, initialize.o, targext.o): Use $(COMPILER). | |
4850 | (seh_init.o, tracebak.o): Likewise. | |
4851 | * gcc-interface/Make-lang.in (ada/targext.o): Likewise. | |
4852 | (ada/cio.o, ada/init.o, ada/initialize.o, ada/raise.o): Likewise. | |
4853 | (ada/tracebak.o, ada/cuintp.o, ada/decl.o, ada/misc.o): Likewise. | |
4854 | (ada/targtyps.o, ada/trans.o, ada/utils.o): Likewise. | |
4855 | (ada/utils2.o): Likewise. | |
4856 | ||
6e00e546 OH |
4857 | 2009-05-24 Olivier Hainque <hainque@adacore.com> |
4858 | ||
4859 | * switch.adb (Is_Internal_GCC_Switch, Switch_Last): Bodies of ... | |
4860 | * switch.ads (Is_Internal_GCC_Switch, Switch_Last): New functions. | |
4861 | Add -auxbase variants to the list of recognized internal switches. | |
4862 | * back_end.adb (Scan_Back_End_Switches): Use the new functions and | |
4863 | adjust comments. | |
4864 | * lib.ads: Make comment on internal GCC switches more general. | |
4865 | * gcc-interface/lang-specs.h (specs for Ada): Pass -auxbase variants | |
4866 | as for C. | |
4867 | ||
22702f93 EB |
4868 | 2009-05-23 Eric Botcazou <ebotcazou@adacore.com> |
4869 | ||
4870 | * gcc-interface/misc.c (gnat_get_subrange_bounds): Fix thinko. | |
4871 | ||
03049a4e EB |
4872 | 2009-05-23 Eric Botcazou <ebotcazou@adacore.com> |
4873 | ||
4874 | * gcc-interface/decl.c (set_rm_size): Bypass the check for packed array | |
4875 | types. | |
4876 | ||
aae8570a EB |
4877 | 2009-05-23 Eric Botcazou <ebotcazou@adacore.com> |
4878 | ||
4879 | * gcc-interface/decl.c (gnat_to_gnu_entity) <object>: Do not modify the | |
4880 | original type because of the alignment when there is an address clause. | |
4881 | ||
3f6f0eb2 EB |
4882 | 2009-05-20 Eric Botcazou <ebotcazou@adacore.com> |
4883 | ||
4884 | * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Record_Subtype>: When | |
4885 | discriminants affect the shape of the subtype, retrieve the GCC type | |
4886 | directly from the original field if the GNAT types for the field and | |
4887 | the original field are the same. | |
4888 | ||
84fb43a1 EB |
4889 | 2009-05-15 Eric Botcazou <ebotcazou@adacore.com> |
4890 | ||
4891 | * gcc-interface/ada-tree.h (TYPE_GCC_MIN_VALUE, TYPE_GCC_MAX_VALUE): | |
4892 | New macros. | |
4893 | (TYPE_RM_VALUES): Likewise. | |
4894 | (TYPE_RM_SIZE): Rewrite in terms of TYPE_RM_VALUES. | |
4895 | (SET_TYPE_RM_SIZE): New macro. | |
4896 | (TYPE_RM_MIN_VALUE, TYPE_RM_MAX_VALUE): Likewise. | |
4897 | (SET_TYPE_RM_SIZE, SET_TYPE_RM_MAX_VALUE): Likewise. | |
4898 | (TYPE_MIN_VALUE, TYPE_MAX_VALUE): Redefine. | |
4899 | * gcc-interface/gigi.h (create_range_type): Declare. | |
4900 | * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Modular_Integer_Type> | |
4901 | Use SET_TYPE_RM_MAX_VALUE to set the upper bound on the UMT type. | |
4902 | <E_Signed_Integer_Subtype>: Build a regular integer type first and | |
4903 | then set the RM bounds. Use SET_TYPE_RM_SIZE to set the RM size. | |
4904 | <E_Floating_Point_Subtype>: Build a regular floating-point type first | |
4905 | and then set the RM bounds. | |
4906 | <E_Array_Type>: Use create_range_type instead of build_range_type. | |
4907 | <E_Array_Subtype>: Build a regular integer type first and then set | |
4908 | the RM bounds for the extra subtype. | |
4909 | <E_String_Literal_Subtype>: Use create_range_type instead of | |
4910 | build_range_type. | |
4911 | <all>: Set the RM bounds for enumeration types and the GCC bounds for | |
4912 | floating-point types. | |
4913 | (set_rm_size): Use SET_TYPE_RM_SIZE to set the RM size. | |
4914 | (make_type_from_size) <INTEGER_TYPE>: Use SET_TYPE_RM_{MIN,MAX}_VALUE | |
4915 | to set the bounds. Use SET_TYPE_RM_SIZE to set the RM size. | |
4916 | (substitute_in_type) <INTEGER_TYPE>: Deal with GCC bounds for domain | |
4917 | types and with RM bounds for subtypes. | |
4918 | * gcc-interface/misc.c (LANG_HOOKS_GET_SUBRANGE_BOUNDS): Define. | |
4919 | (gnat_print_type) <REAL_TYPE>: New case. | |
4920 | <ENUMERAL_TYPE>: Fall through to above case. | |
4921 | (gnat_get_subrange_bounds): New function. | |
4922 | * gcc-interface/trans.c (add_decl_expr): Mark the trees rooted as | |
4923 | TYPE_RM_MIN_VALUE and TYPE_RM_MAX_VALUE, if any. | |
4924 | * gcc-interface/utils.c (gnat_init_decl_processing): Use precision 8 | |
4925 | for booleans. Adjust and use SET_TYPE_RM_SIZE to set the RM size. | |
4926 | (create_range_type): New function. | |
4927 | (create_param_decl): Build a regular integer type first and then set | |
4928 | the RM bounds for the extra subtype. | |
4929 | (unchecked_convert): Remove kludge for 'Valid. | |
4930 | * gcc-interface/utils2.c (build_binary_op) <ARRAY_RANGE_REF>: Convert | |
4931 | the index to sizetype instead of TYPE_DOMAIN. | |
4932 | ||
a531043b EB |
4933 | 2009-05-14 Eric Botcazou <ebotcazou@adacore.com> |
4934 | ||
4935 | * gcc-interface/decl.c (elaborate_expression_1): Remove GNAT_EXPR | |
4936 | parameter and move check for static expression to... | |
4937 | (elaborate_expression): ...here. Adjust call to above function. | |
4938 | (gnat_to_gnu_entity): Likewise for all calls. Use correct arguments | |
4939 | in calls to elaborate_expression. | |
4940 | (elaborate_entity): Likewise. | |
4941 | (substitution_list): Likewise. | |
4942 | (maybe_variable): Fix formatting. | |
4943 | (substitute_in_type) <REAL_TYPE>: Merge with INTEGER_TYPE case and add | |
4944 | missing guard. | |
4945 | * gcc-interface/trans.c (protect_multiple_eval): Minor cleanup. | |
4946 | ||
59141a28 AC |
4947 | 2009-05-07 Arnaud Charlet <charlet@adacore.com> |
4948 | ||
c608b4d2 | 4949 | * gcc-interface/Make-lang.in: Update dependencies. |
59141a28 | 4950 | |
c608b4d2 EB |
4951 | 2009-05-06 Laurent GUERBY <laurent@guerby.net> |
4952 | ||
4953 | * s-linux.ads, s-linux-alpha.ads, s-linux-hppa.ads, osinte-linux.ads: | |
4954 | Define sa_handler_pos. | |
4955 | * s-osinte-linux.ads: Use it. | |
4956 | * s-linux-mipsel.ads: New. | |
4957 | * system-linux-mips64el.ads: New. | |
4958 | * gcc-interface/Makefile.in: Multilib handling for mipsel-linux and | |
4959 | mips64el-linux. | |
e84efdce | 4960 | |
1f110335 AC |
4961 | 2009-05-06 Arnaud Charlet <charlet@adacore.com> |
4962 | ||
4963 | * exp_ch5.adb, exp_util.adb, exp_attr.adb, sem_util.adb, sem_res.adb, | |
4964 | targparm.adb, targparm.ads, exp_ch4.adb, exp_ch6.adb, exp_disp.adb, | |
4965 | opt.ads, exp_aggr.adb, exp_intr.adb, sem_disp.adb, exp_ch3.adb | |
4966 | (Tagged_Type_Expansion): New flag. | |
4967 | Replace use of VM_Target related to tagged types expansion by | |
4968 | Tagged_Type_Expansion, since tagged type expansion is not necessarily | |
4969 | linked to VM targets. | |
4970 | ||
e0bf7d65 RD |
4971 | 2009-05-06 Robert Dewar <dewar@adacore.com> |
4972 | ||
1f110335 AC |
4973 | * sem_attr.adb: Add processing for Standard'Compiler_Version |
4974 | ||
e0bf7d65 RD |
4975 | * sinput.adb (Expr_Last_Char): Fix some copy-paste errors for paren |
4976 | skipping. | |
4977 | (Expr_First_Char): Add ??? comment that paren skipping needs work | |
4978 | (Expr_Last_Char): Add ??? comment that paren skipping needs work | |
4979 | ||
4980 | * exp_attr.adb: Add processing for Compiler_Version | |
4981 | ||
4982 | * sem_attr.adb: New attribute Compiler_Version | |
4983 | ||
4984 | * snames.ads-tmpl: Add entries for Compiler_Version attribute | |
4985 | ||
4986 | * gnat_rm.texi: Document Compiler_Version attribute | |
4987 | ||
483c78cb RD |
4988 | 2009-05-06 Robert Dewar <dewar@adacore.com> |
4989 | ||
4990 | * errout.adb: Minor reformatting | |
4991 | ||
4992 | * scng.adb, sem_prag.adb, par-ch4.adb, sem_res.adb, par-ch6.adb, | |
4993 | sem_ch6.adb, par-prag.adb, sem_ch8.adb, sem_warn.adb, par-util.adb, | |
4994 | styleg.adb: Add stylized comments to error messages that are included | |
4995 | in the codefix circuitry of IDE's such as GPS. | |
4996 | ||
4e7a4f6e AC |
4997 | 2009-05-06 Sergey Rybin <rybin@adacore.com> |
4998 | ||
4999 | * gnat_ugn.texi: For Misnamed_Identifiers rule all description of the | |
5000 | new form of the rule parameter that allows to specify the suffix for | |
5001 | access-to-access type names. | |
5002 | ||
5003 | 2009-05-06 Robert Dewar <dewar@adacore.com> | |
5004 | ||
5005 | * sem_warn.adb (Warn_On_Useless_Assignment): Avoid false negative for | |
5006 | out parameter assigned when exception handlers are present. | |
5007 | ||
5008 | * sem_ch5.adb (Analyze_Exit_Statement): Kill current value last | |
5009 | assignments on exit. | |
5010 | ||
5011 | * par-ch9.adb, sem_aggr.adb, par-endh.adb, sem_res.adb, par-ch6.adb, | |
5012 | sinput-l.adb, par-load.adb, errout.ads, sem_ch4.adb, lib-load.adb, | |
5013 | prj-dect.adb, par-ch12.adb, sem_ch8.adb, par-util.adb, par-ch3.adb, | |
5014 | par-tchk.adb, par-ch5.adb: This patch adds stylized comments to error | |
5015 | messages that are included in the codefix circuitry of IDE's such as | |
5016 | GPS. | |
5017 | ||
5018 | * sinput.ads, sinput.adb (Expr_First_Char): New function | |
53b2323e | 5019 | (Expr_Last_Char): New function |
4e7a4f6e | 5020 | |
35117aa8 AC |
5021 | 2009-05-06 Sergey Rybin <rybin@adacore.com> |
5022 | ||
5023 | * gnat_ugn.texi: Add subsection for Exits_From_Conditional_Loops rule | |
5024 | Add formal definition for extra exit point metric | |
5025 | ||
5026 | 2009-05-06 Pascal Obry <obry@adacore.com> | |
5027 | ||
5028 | * adaint.c: Support for setting attributes on unicode filename on | |
5029 | Windows. | |
5030 | ||
0c020dde AC |
5031 | 2009-05-06 Robert Dewar <dewar@adacore.com> |
5032 | ||
5033 | * sem_warn.adb: Minor reformatting | |
5034 | ||
5035 | 2009-05-06 Javier Miranda <miranda@adacore.com> | |
5036 | ||
5037 | * sem_prag.adb (Process_Import_Or_Interface): Imported CPP types must | |
5038 | not have discriminants or components with default expressions. | |
5039 | (Analyze_Pragma): For pragma CPP_Class check that imported types | |
5040 | have no discriminants and components have no default expression. | |
5041 | ||
5042 | * sem_aggr.adb (Resolve_Aggr_Expr): Add missing check on wrong use of | |
5043 | class-wide types in the expression of a record component association. | |
5044 | ||
5045 | 2009-05-06 Sergey Rybin <rybin@adacore.com> | |
5046 | ||
5047 | * vms_data.ads: Add qualifier for gnatmetric extra exit points metric | |
5048 | ||
5049 | * gnat_ugn.texi: Add description for the new extra exit points metric | |
5050 | (gnatmetric section). | |
5051 | ||
deef4289 AC |
5052 | 2009-05-06 Robert Dewar <dewar@adacore.com> |
5053 | ||
5054 | * s-fileio.adb: Minor comment update | |
5055 | ||
5056 | * sem_ch8.adb: Minor reformatting | |
5057 | ||
5058 | * exp_ch3.adb: Update comments. | |
5059 | ||
5060 | 2009-05-06 Tristan Gingold <gingold@adacore.com> | |
5061 | ||
5062 | * init.c, s-osinte-darwin.ads: Reduce alternate stack size | |
5063 | ||
89522556 AC |
5064 | 2009-05-06 Arnaud Charlet <charlet@adacore.com> |
5065 | ||
5066 | * gcc-interface/Makefile.in: Update LIBGNAT_TARGET_PAIRS for Xenomai. | |
5067 | Fix missing unit for rtp-smp runtime on both ppc and x86 vxworks | |
5068 | ||
5069 | * gcc-interface/Make-lang.in: Update dependencies | |
5070 | ||
a693f55e AC |
5071 | 2009-05-06 Ed Schonberg <schonberg@adacore.com> |
5072 | ||
5073 | * sem_ch12.adb (Build_Instance_Compilation_Unit_Nodes): Revert previous | |
5074 | change. The context clause of a generic instance declaration must be | |
5075 | preserved until the end of the compilation, because it may have to be | |
5076 | installed/removed repeatedly. | |
5077 | The latest change to sem.adb ensures that the context of both spec and | |
5078 | body of an instance is traversed before the instance itself, making | |
5079 | this patch redundant. | |
5080 | ||
e264efcc AC |
5081 | 2009-05-06 Gary Dismukes <dismukes@adacore.com> |
5082 | ||
5083 | * sem_aggr.adb: Fix typo. | |
5084 | ||
5085 | 2009-05-06 Thomas Quinot <quinot@adacore.com> | |
5086 | ||
5087 | * exp_ch3.adb (Expand_N_Object_Declaration): For a controlled object | |
5088 | declaration, do not adjust if the declaration is to be rewritten into | |
5089 | a renaming. | |
5090 | ||
5091 | 2009-05-06 Ed Schonberg <schonberg@adacore.com> | |
5092 | ||
5093 | * sem_ch8.adb (Find_Type): Reject the use of a task type in its own | |
5094 | discriminant part. | |
5095 | ||
5096 | 2009-05-06 Bob Duff <duff@adacore.com> | |
5097 | ||
5098 | * s-fileio.adb (File_IO_Clean_Up_Type): Make this type limited, since | |
5099 | otherwise the compiler would be allowed to optimize away the cleanup | |
5100 | code. | |
5101 | ||
69a0c174 AC |
5102 | 2009-05-06 Gary Dismukes <dismukes@adacore.com> |
5103 | ||
5104 | * gnat_ugn.texi: Fix typo. | |
5105 | ||
5106 | 2009-05-06 Thomas Quinot <quinot@adacore.com> | |
5107 | ||
5108 | * g-debuti.adb: Minor reformatting | |
5109 | ||
5110 | * exp_attr.adb: Minor reformatting | |
5111 | ||
5112 | 2009-05-06 Robert Dewar <dewar@adacore.com> | |
5113 | ||
5114 | * sem_aggr.adb: Minor reformatting. | |
5115 | ||
5116 | * g-socthi-vms.adb: Minor reformatting | |
5117 | ||
5118 | 2009-05-06 Bob Duff <duff@adacore.com> | |
5119 | ||
5120 | * g-table.ads, g-table.adb, g-dyntab.ads, g-dyntab.adb: | |
5121 | (Append_All): Add Append_All to g-table and g-dyntab, similar to table. | |
5122 | ||
4e0d20ca BD |
5123 | 2009-05-06 Bob Duff <duff@adacore.com> |
5124 | ||
5125 | * gnat_ugn.texi, gnat_rm.texi: Add missing documentation for warnings | |
5126 | flags. | |
5127 | ||
11795185 JM |
5128 | 2009-05-06 Javier Miranda <miranda@adacore.com> |
5129 | ||
5130 | * sem_aggr.adb (Valid_Ancestor_Type): Add support for C++ constructors. | |
5131 | (Resolve_Extension_Aggregate): Do not reject C++ constructors in | |
5132 | extension aggregates. | |
5133 | (Resolve_Record_Aggregate): Add support for C++ constructors in | |
5134 | extension aggregates. | |
5135 | ||
5136 | * exp_aggr.adb (Build_Record_Aggr_Code): Add support for C++ | |
5137 | constructors in extension aggregates. | |
5138 | ||
426d2717 AC |
5139 | 2009-05-06 Robert Dewar <dewar@adacore.com> |
5140 | ||
5141 | * freeze.adb (Freeze_Record_Type): Improve error msg for bad size | |
5142 | clause. | |
5143 | ||
5144 | 2009-05-06 Thomas Quinot <quinot@adacore.com> | |
5145 | ||
5146 | * g-socthi-vms.adb (C_Recvmsg, C_Sendmsg): Convert Msg to appropriate | |
5147 | packed type, since on OpenVMS, struct msghdr is packed. | |
5148 | ||
5149 | 2009-05-06 Ed Schonberg <schonberg@adacore.com> | |
5150 | ||
5151 | * sem_ch8.adb (Analyze_Object_Renaming): If the object is a function | |
5152 | call returning an unconstrained composite value, create the proper | |
5153 | subtype for it, as is done for object dclarations with unconstrained | |
5154 | nominal subtypes. Perform this transformation regarless of whether | |
5155 | call comes from source. | |
5156 | ||
8dc10d38 AC |
5157 | 2009-05-06 Robert Dewar <dewar@adacore.com> |
5158 | ||
5159 | * freeze.adb (Freeze_Record_Type): Implement Implicit_Packing for | |
5160 | records | |
5161 | ||
5162 | * gnat_rm.texi: | |
5163 | Add documentation for pragma Implicit_Packing applied to record | |
5164 | types. | |
5165 | ||
5166 | 2009-05-06 Ed Schonberg <schonberg@adacore.com> | |
5167 | ||
5168 | * sem.adb (Walk_Library_Items): Place all with_clauses of an | |
5169 | instantiation on the spec, because late instance bodies may generate | |
5170 | with_clauses for the instance body but are inserted in the instance | |
5171 | spec. | |
5172 | ||
3249690d AC |
5173 | 2009-05-06 Emmanuel Briot <briot@adacore.com> |
5174 | ||
5175 | * prj-nmsc.adb (Locate_Directory): Remove unused parameters, and add | |
5176 | support for returning the directory even if it doesn't exist. This is | |
5177 | used for the object directory, since we are always setting it to a | |
5178 | non-null value, and we should set it to an absolute name rather than a | |
5179 | relative name for the sake of external tools that might depend on it. | |
5180 | (Check_Library_Attributes): When Project.Library_Dir is known, check | |
5181 | that the directory exists. | |
5182 | ||
5183 | 2009-05-06 Ed Schonberg <schonberg@adacore.com> | |
5184 | ||
5185 | * sem_attr.adb (Check_Dereference): If the prefix of an attribute | |
5186 | reference is an implicit dereference, do not freeze the designated type | |
5187 | if within a default expression or when preanalyzing a pre/postcondtion. | |
5188 | ||
fd366a46 AC |
5189 | 2009-05-06 Ed Schonberg <schonberg@adacore.com> |
5190 | ||
5191 | * sem_ch8.adb (Analyze_Object_Renaming): If the object is a function | |
5192 | call returning an unconstrained composite value, create the proper | |
5193 | subtype for it, as is done for object dclarations with unconstrained | |
5194 | nominal subtypes | |
5195 | ||
5196 | 2009-05-06 Robert Dewar <dewar@adacore.com> | |
5197 | ||
5198 | * sem_ch13.adb (Check_Constant_Address_Clause): Minor error message | |
5199 | improvements | |
5200 | ||
5201 | * freeze.adb: Minor reformatting | |
5202 | ||
7dd1ab84 AC |
5203 | 2009-05-06 Thomas Quinot <quinot@adacore.com> |
5204 | ||
5205 | * sem_ch3.adb (Access_Type_Declaration): An access type whose | |
5206 | designated type is a limited view from a limited with clause (flagged | |
5207 | From_With_Type) is not itself such a limited view. | |
5208 | ||
5209 | 2009-05-06 Emmanuel Briot <briot@adacore.com> | |
5210 | ||
5211 | * prj-nmsc.adb: Remove unused variable. | |
5212 | ||
5213 | * clean.adb, gnatcmd.adb, makeutl.ads, prj-pars.adb, prj-pars.ads, | |
5214 | prj-proc.ads, prj.ads, switch-m.adb (Subdirs_Option): Moved to | |
5215 | makeutl.ads, since not all users of prj.ads need this. | |
5216 | ||
28541488 JM |
5217 | 2009-05-06 Javier Miranda <miranda@adacore.com> |
5218 | ||
5219 | * exp_aggr.adb (Build_Record_Aggr_Code): Add implicit call to the C++ | |
5220 | constructor in case of aggregates whose type is a CPP_Class type. | |
5221 | ||
55c078ac AC |
5222 | 2009-05-06 Robert Dewar <dewar@adacore.com> |
5223 | ||
5224 | * sem_ch13.adb: Minor comment additions | |
5225 | ||
5226 | * osint.adb: Minor reformatting | |
5227 | ||
5228 | 2009-05-06 Pascal Obry <obry@adacore.com> | |
5229 | ||
5230 | * initialize.c: On Windows, keep full pathname to expanded command | |
5231 | line patterns. | |
5232 | ||
6bde3eb5 AC |
5233 | 2009-05-06 Ed Schonberg <schonberg@adacore.com> |
5234 | ||
5235 | * sem_aggr.adb (Resolve_Record_Aggregate): If a defaulted component of | |
5236 | an aggregate with box default is of a discriminated private type, do | |
5237 | not build a subaggregate for it. | |
5238 | A proper call to the initialization procedure is generated for it. | |
5239 | ||
5240 | 2009-05-06 Thomas Quinot <quinot@adacore.com> | |
5241 | ||
5242 | * rtsfind.adb, rtsfind.ads, exp_dist.adb, exp_dist.ads | |
5243 | (Exp_Dist.Build_TC_Call, Build_From_Any_Call, Build_To_Any_Call): | |
5244 | Use PolyORB strings to represent Ada.Strings.Unbounded_String value; | |
5245 | use standard array code for Standard.String. | |
5246 | (Exp_Dist): Bump PolyORB s-parint API version to 3. | |
5247 | (Rtsfind): New entities TA_Std_String, Unbounded_String. | |
5248 | ||
5249 | 2009-05-06 Robert Dewar <dewar@adacore.com> | |
5250 | ||
5251 | * g-comlin.ads: Minor reformatting | |
5252 | ||
5253 | * xoscons.adb: Minor reformatting | |
5254 | ||
3743d5bd AC |
5255 | 2009-05-06 Gary Dismukes <dismukes@adacore.com> |
5256 | ||
5257 | * sem_aggr.adb (Resolve_Record_Aggregate): In step 5, get the | |
5258 | Underlying_Type before retrieving the type definition for gathering | |
5259 | components, to account for the case where the type is private. | |
5260 | ||
5261 | 2009-05-06 Tristan Gingold <gingold@adacore.com> | |
5262 | ||
5263 | * g-comlin.ads: Fix minor typos (Getopt instead of Get_Opt). | |
5264 | ||
5265 | 2009-05-06 Thomas Quinot <quinot@adacore.com> | |
5266 | ||
5267 | * g-socthi-vms.adb, g-socthi-vms.ads, g-socthi-vxworks.adb, | |
5268 | g-socthi-vxworks.ads, g-socthi-mingw.adb g-socthi-mingw.ads, | |
5269 | g-socthi.adb, g-stsifd-sockets.adb, g-socthi.ads, g-socket.adb | |
5270 | (GNAT.Sockets.Thin.C_Sendmsg, GNAT.Sockets.Thin.C_Recvmsg, | |
5271 | Windows versions): Fix incorrect base | |
5272 | address of Iovec (it's Msg_Iov, not Msg_Iov'Address). | |
5273 | (GNAT.Sockets.Thin.C_Sendto, GNAT.Sockets.Thin.C_Recvfrom): Use a | |
5274 | System.Address for the To parameter instead of a Sockaddr_In_Access, to | |
5275 | achieve independance from AF_INET family, and also to allow this | |
5276 | parameter to be retrieved from a Msghdr for the Windows case where | |
5277 | these routines are used to implement C_Sendmsg and C_Recvmsg. | |
5278 | ||
5279 | 2009-05-06 Bob Duff <duff@adacore.com> | |
5280 | ||
5281 | * g-expect.adb, g-expect.ads: Minor reformatting | |
5282 | ||
5283 | * sdefault.ads: Minor comment fix | |
5284 | ||
5285 | * g-expect-vms.adb: Minor reformatting | |
5286 | ||
5287 | * table.ads, table.adb (Append_All): New convenience procedure for | |
5288 | appending a whole array. | |
5289 | ||
5290 | * comperr.adb (Compiler_Abort): Mention the -gnatd.n switch in the bug | |
5291 | box message. Call Osint.Dump_Source_File_Names to print out the file | |
5292 | list, instead of rummaging around in various data structures. | |
5293 | ||
5294 | * debug.adb: New switch -gnatd.n, to print source file names as they | |
5295 | are read. | |
5296 | ||
5297 | * alloc.ads: Add parameters for Osint.File_Name_Chars. | |
5298 | ||
5299 | * osint.ads, osint.adb (Dump_Source_File_Names): New procedure to print | |
5300 | out source file names during a "bug box". | |
5301 | (Include_Dir_Default_Prefix): Use memo-izing to avoid repeated new/free. | |
5302 | (Read_Source_File): Print out the file name, if requested via -gnatd.n. | |
5303 | If it's not part of the runtimes, store it for later printing by | |
5304 | Dump_Source_File_Names. | |
5305 | ||
5306 | 2009-05-06 Javier Miranda <miranda@adacore.com> | |
5307 | ||
5308 | * gnat_rm.texi (CPP_Constructor): Avoid duplication of the | |
5309 | documentation and add reference to the GNAT user guide for further | |
5310 | details. | |
5311 | ||
5312 | 2009-05-06 Javier Miranda <miranda@adacore.com> | |
5313 | ||
5314 | * gnat_ugn.texi: Complete documentation for CPP_Constructor and remove | |
5315 | also wrong examples that use extension aggregates. | |
5316 | ||
5317 | 2009-05-06 Albert Lee <lee@adacore.com> | |
5318 | ||
5319 | * s-oscons-tmplt.c (System.OS_Constants): Do not use special definition | |
5320 | of Msg_Iovlen_T for VMS. | |
5321 | ||
3a2f6fac | 5322 | 2009-05-04 Laurent GUERBY <laurent@guerby.net> |
ffef1219 LG |
5323 | |
5324 | PR ada/38874 | |
5325 | * make.adb (Scan_Make_Arg): Pass --param= to compiler and linker. | |
5326 | ||
70b70ce8 AC |
5327 | 2009-04-29 Ed Schonberg <schonberg@adacore.com> |
5328 | ||
5329 | * sem_ch8.adb (Analyze_Subprogram_Renaming): Improve error message on | |
5330 | box-defaulted operator in an instantiation, when the type of the | |
5331 | operands is not directly visible. | |
5332 | ||
5333 | 2009-04-29 Gary Dismukes <dismukes@adacore.com> | |
5334 | ||
5335 | * sem_aggr.adb (Valid_Limited_Ancestor): Undo previous change. | |
5336 | (Resolve_Extension_Aggregate): Call Check_Parameterless_Call after the | |
5337 | analysis of the ancestor part. Remove prohibition against limited | |
5338 | interpretations of the ancestor expression in the case of Ada 2005. | |
5339 | Revise error message in overloaded case, adding a message to cover | |
5340 | the Ada 2005 case. | |
5341 | ||
5342 | 2009-04-29 Thomas Quinot <quinot@adacore.com> | |
5343 | ||
5344 | * xoscons.adb: Minor reformatting | |
5345 | ||
5346 | 2009-04-29 Bob Duff <duff@adacore.com> | |
5347 | ||
5348 | * sem_ch13.adb (Analyze_Attribute_Definition_Clause): Do not ignore | |
5349 | attribute_definition_clauses for the following attributes when the | |
5350 | -gnatI switch is used: External_Tag, Input, Output, Read, Storage_Pool, | |
5351 | Storage_Size, Write. Otherwise, we get spurious errors (for example, | |
5352 | missing Read attribute on remote types). | |
5353 | ||
5354 | * gnat_ugn.texi: Document the change, and add a stern warning. | |
5355 | ||
5356 | 2009-04-29 Ed Schonberg <schonberg@adacore.com> | |
5357 | ||
5358 | * sem_attr.adb (Check_Local_Access): Indicate that value tracing is | |
5359 | disabled not just for the current scope, but for the innermost dynamic | |
5360 | scope as well. | |
5361 | ||
4cc51f5e AC |
5362 | 2009-04-29 Arnaud Charlet <charlet@adacore.com> |
5363 | ||
5364 | * gcc-interface/Make-lang.in: Update dependencies | |
5365 | ||
107b023c AC |
5366 | 2009-04-29 Vincent Celier <celier@adacore.com> |
5367 | ||
5368 | * prj-part.adb: Minor comment update | |
5369 | ||
5370 | 2009-04-29 Ed Schonberg <schonberg@adacore.com> | |
5371 | ||
5372 | * sem_aggr.adb (Resolve_Record_Aggregate): handle properly | |
5373 | box-initialized records with discriminated subcomponents that are | |
5374 | constrained by discriminants of enclosing components. New subsidiary | |
5375 | procedures Add_Discriminant_Values, Propagate_Discriminants. | |
5376 | ||
5377 | 2009-04-29 Arnaud Charlet <charlet@adacore.com> | |
5378 | ||
5379 | * g-socket.adb: Code clean up. | |
5380 | ||
1933c497 AC |
5381 | 2009-04-29 Gary Dismukes <dismukes@adacore.com> |
5382 | ||
5383 | * sem_aggr.adb (Valid_Limited_Ancestor): Add test for the name of a | |
5384 | function entity, to cover the case of a parameterless function call | |
5385 | that has not been resolved. | |
5386 | ||
5387 | 2009-04-29 Robert Dewar <dewar@adacore.com> | |
5388 | ||
5389 | * err_vars.ads, prj-part.adb, scans.ads, exp_tss.adb: Minor | |
5390 | reformatting and comment updates. | |
5391 | ||
51ec70b8 AC |
5392 | 2009-04-29 Arnaud Charlet <charlet@adacore.com> |
5393 | ||
5394 | * gnat_ugn.texi: Update some documentation about interfacing with C++ | |
5395 | Mention -fkeep-inline-functions. | |
5396 | ||
5397 | * gnat_ugn.texi: Minor edits | |
5398 | ||
5399 | 2009-04-29 Ed Schonberg <schonberg@adacore.com> | |
5400 | ||
5401 | * sem_aggr.adb (Resolve_Record_Aggregate): When building an aggregate | |
5402 | for a defaulted component of an enclosing aggregate, inherit the type | |
5403 | from the component declaration of the enclosing type. | |
5404 | ||
5405 | 2009-04-29 Albert Lee <lee@adacore.com> | |
5406 | ||
5407 | * g-socthi-vms.ads, g-socthi-vxworks.ads, s-oscons-tmplt.c, | |
5408 | g-socthi-mingw.ads, g-socthi.ads, g-socket.adb, g-sothco.ads | |
5409 | (System.OS_Constants): New type Msg_Iovlen_T which follows whether the | |
5410 | msg_iovlen field in struct msghdr is 32 or 64 bits wide. | |
5411 | Relocate the Msghdr record type from GNAT.Sockets.Thin to | |
5412 | GNAT.Sockets.Common, and use System.OS_Constants.Msg_Iovlen_T as the | |
5413 | type for the Msg_Iovlen field. | |
5414 | ||
9e895ab5 AC |
5415 | 2009-04-29 Vincent Celier <celier@adacore.com> |
5416 | ||
5417 | * sinput-l.adb (Load_File): When preprocessing, set temporarily the | |
5418 | Source_File_Index_Table entries for the source, to avoid crash when | |
5419 | reporting an error. | |
5420 | ||
5421 | * gnatcmd.adb (Test_If_Relative_Path): Use | |
5422 | Makeutl.Test_If_Relative_Path. | |
5423 | ||
5424 | * makeutl.adb:(Test_If_Relative_Path): Process switches --RTS= only if | |
5425 | Including_RTS is True. | |
5426 | ||
5427 | * makeutl.ads (Test_If_Relative_Path): New Boolean parameter | |
5428 | Including_RTS defaulted to False. | |
5429 | ||
5430 | * sinput.ads, scans.ads, err_vars.ads: Initialize some variables with | |
5431 | a default value. | |
5432 | ||
5433 | 2009-04-29 Javier Miranda <miranda@adacore.com> | |
5434 | ||
5435 | * gnat_ugn.texi: Adding documentation for non-default C++ constructors. | |
5436 | ||
236fecbf JM |
5437 | 2009-04-29 Javier Miranda <miranda@adacore.com> |
5438 | ||
5439 | * sem_ch3.adb (Analyze_Object_Declaration): Disable error message | |
5440 | associated with dyamically tagged expressions if the expression | |
5441 | initializing a tagged type corresponds with a non default CPP | |
5442 | constructor. | |
5443 | (OK_For_Limited_Init): CPP constructor calls are OK for initialization | |
5444 | of limited type objects. | |
5445 | ||
5446 | * sem_ch5.adb (Analyze_Assignment): Improve the error message reported | |
5447 | when a CPP constructor is called in an assignment. Disable also the | |
5448 | error message associated with dyamically tagged expressions if the | |
5449 | exporession initializing a tagged type corresponds with a non default | |
5450 | CPP constructor. | |
5451 | ||
5452 | * sem_prag.adb (Analyze_Pragma): Remove code disabling the use of | |
5453 | non-default C++ constructors. | |
5454 | ||
5455 | * sem_util.ads, sem_util.adb (Is_CPP_Constructor_Call): New subprogram. | |
5456 | ||
5457 | * exp_tss.ads, exp_tss.adb (Base_Init_Proc): Add support for | |
5458 | non-default constructors. | |
5459 | (Init_Proc): Add support for non-default constructors. | |
5460 | ||
5461 | * exp_disp.adb (Set_Default_Constructor): Removed. | |
5462 | (Set_CPP_Constructors): Code based in removed Set_Default_Constructor | |
5463 | but extending its functionality to handle non-default constructors. | |
5464 | ||
5465 | * exp_aggr.adb (Build_Record_Aggr_Code): Add support for non-default | |
5466 | constructors. Minor code cleanup removing unrequired label and goto | |
5467 | statement. | |
5468 | ||
5469 | * exp_ch3.adb (Build_Initialization_Call): Add support for non-default | |
5470 | constructors. | |
5471 | (Build_Init_Statements): Add support for non-default constructors. | |
5472 | (Expand_N_Object_Declaration): Add support for non-default constructors. | |
5473 | (Freeze_Record_Type): Replace call to Set_Default_Constructor by call | |
5474 | to Set_CPP_Constructors. | |
5475 | ||
5476 | * exp_ch5.adb (Expand_N_Assignment_Statement): Add support for | |
5477 | non-default constructors. | |
5478 | Required to handle its use in build-in-place statements. | |
5479 | ||
5480 | * gnat_rm.texi (CPP_Constructor): Document new extended use of this | |
5481 | pragma for non-default C++ constructors and the new compiler support | |
5482 | that allows the use of these constructors in record components, limited | |
5483 | aggregates, and extended return statements. | |
5484 | ||
0ec21a5b AC |
5485 | 2009-04-29 Vincent Celier <celier@adacore.com> |
5486 | ||
5487 | * prj-part.adb (Parse_Single_Project): Do not attempt to find a | |
5488 | project extending an abstract project. | |
5489 | ||
5490 | 2009-04-29 Eric Botcazou <ebotcazou@adacore.com> | |
5491 | ||
5492 | * targparm.ads: Fix oversight. | |
5493 | ||
96b20738 ES |
5494 | 2009-04-29 Ed Schonberg <schonberg@adacore.com> |
5495 | ||
5496 | * lib-xref.adb (Output_Overridden_Op): Follow several levels of | |
5497 | derivation when necessary, to find the user-subprogram that is actally | |
5498 | being overridden. | |
5499 | ||
3b4ebfc3 RD |
5500 | 2009-04-29 Robert Dewar <dewar@adacore.com> |
5501 | ||
5502 | * sem_util.adb (May_Be_Lvalue): Fix cases involving indexed/selected | |
5503 | components | |
5504 | ||
eb9cb0fc ES |
5505 | 2009-04-29 Ed Schonberg <schonberg@adacore.com> |
5506 | ||
5507 | * exp_ch9.ads, exp_ch9.adb (Build_Wrapper_Spec): Use source line of | |
5508 | primitive operation, rather than source line of synchronized type, when | |
5509 | building the wrapper for a primitive operation that overrides an | |
5510 | operation inherited from a progenitor, to improve the error message on | |
5511 | duplicate declarations. | |
5512 | ||
5513 | * sem_ch3.adb (Process_Full_View): Use new signature of | |
5514 | Build_Wrapper_Spec. | |
5515 | ||
7f7d37cb AC |
5516 | 2009-04-29 Robert Dewar <dewar@adacore.com> |
5517 | ||
5518 | * prj-nmsc.ads: Minor reformatting | |
5519 | ||
5520 | 2009-04-29 Eric Botcazou <ebotcazou@adacore.com> | |
5521 | ||
5522 | * exp_ch4.adb (Expand_N_Conditional_Expression): Set the SLOC of the | |
5523 | expression on the existing parent If statement. | |
5524 | ||
3c638456 RD |
5525 | 2009-04-29 Robert Dewar <dewar@adacore.com> |
5526 | ||
5527 | * prj-proc.adb, prj.ads: Minor reformatting | |
5528 | ||
fb1949a0 EB |
5529 | 2009-04-29 Eric Botcazou <ebotcazou@adacore.com> |
5530 | ||
5531 | * exp_ch4.adb (Expand_N_Conditional_Expression): Set the SLOC of an | |
5532 | existing parent If statement on the newly created one. | |
5533 | ||
bd0a4cab EB |
5534 | 2009-04-29 Emmanuel Briot <briot@adacore.com> |
5535 | ||
5536 | * gnatcmd.adb, prj-proc.adb, prj-proc.ads, make.adb, prj-part.adb, | |
5537 | prj-part.ads, prj.adb, prj.ads, clean.adb, prj-dect.adb, prj-dect.ads, | |
5538 | prj-nmsc.adb, prj-nmsc.ads, prj-pars.adb, prj-pars.ads, prj-makr.adb | |
5539 | (Set_In_Configuration, In_Configuration): Removed. | |
5540 | Replaced by an extra parameter Is_Config_File in several parameter to | |
5541 | avoid global variables to store the state of the parser. | |
5542 | ||
9af094a1 ES |
5543 | 2009-04-29 Ed Schonberg <schonberg@adacore.com> |
5544 | ||
5545 | * sinfo.ads, sinfo.adb: New attribute Next_Implicit_With, to chain | |
5546 | with_clauses generated for the same unit through rtsfind, and that | |
5547 | appear in the context of different units. | |
5548 | ||
5549 | * rtsfind.adb: New attribute First_Implicit_With, component of the | |
5550 | Unit_Record that stores information about a unit loaded through rtsfind. | |
5551 | ||
ac72c9c5 AC |
5552 | 2009-04-29 Gary Dismukes <dismukes@adacore.com> |
5553 | ||
5554 | * exp_ch3.adb (Stream_Operation_OK): Return True for limited interfaces | |
5555 | (other conditions permitting), so that abstract stream subprograms will | |
5556 | be declared for them. | |
5557 | ||
5558 | 2009-04-29 Bob Duff <duff@adacore.com> | |
5559 | ||
5560 | * g-expect.adb (Expect_Internal): Fix check for overfull buffer. | |
5561 | ||
5562 | * g-expect.ads: Minor comment fixes. | |
5563 | ||
5564 | 2009-04-29 Ed Schonberg <schonberg@adacore.com> | |
5565 | ||
5566 | * freeze.adb, lib-xref.adb (Check_Dispatching_Operation): if the | |
5567 | dispatching operation is a body without previous spec, update the list | |
5568 | of primitive operations to ensure that cross-reference information is | |
5569 | up-to-date. | |
5570 | ||
5571 | 2009-04-29 Albert Lee <lee@adacore.com> | |
5572 | ||
5573 | * g-socthi-vms.adb, g-socthi-vms.ads, g-socthi-vxworks.adb, | |
5574 | g-socthi-vxworks.ads, g-socthi-mingw.adb, g-socthi-mingw.ads, | |
5575 | g-socthi.adb, g-socthi.ads, g-socket.adb, g-socket.ads | |
5576 | (GNAT.Sockets.Thin.C_Readv, | |
5577 | GNAT.Sockets.Thin.C_Writev): Remove unused subprograms. | |
5578 | (GNAT.Sockets.Thin.C_Recvmsg, | |
5579 | GNAT.Sockets.Thin.C_Sendmsg): New bindings to call recvmsg(2) and | |
5580 | sendmsg(2). | |
5581 | (GNAT.Sockets.Receive_Vector, GNAT.Sockets.Send_Vector): Use | |
5582 | C_Recvmsg/C_Sendmsg rather than Readv/C_Writev. | |
5583 | ||
4fc26524 AC |
5584 | 2009-04-29 Ed Schonberg <schonberg@adacore.com> |
5585 | ||
5586 | * sem_disp.adb (Check_Dispatching_Operation): if the dispatching | |
5587 | operation is a body without previous spec, update the list of | |
5588 | primitive operations to ensure that cross-reference information is | |
5589 | up-to-date. | |
5590 | ||
5591 | * sem_ch12.adb (Build_Instance_Compilation_Unit_Nodes): When creating a | |
5592 | new compilation unit node for the instance declaration, keep the | |
5593 | context items of the original unit on it, so that the context of the | |
5594 | instance body only holds the context inherited from the generic body. | |
5595 | ||
5596 | 2009-04-29 Bob Duff <duff@adacore.com> | |
5597 | ||
5598 | * sem_res.adb: Minor comment fix. | |
5599 | ||
7f4c1903 AC |
5600 | 2009-04-29 Thomas Quinot <quinot@adacore.com> |
5601 | ||
5602 | * sem_elim.adb: Minor reformatting | |
5603 | ||
5604 | 2009-04-29 Ed Schonberg <schonberg@adacore.com> | |
5605 | ||
5606 | * exp_aggr.adb (Convert_To_Positional): if the current unit is a | |
5607 | predefined unit, allow arbitrary number of components in static | |
5608 | aggregate, to ensure that the same level of constant folding applies | |
5609 | for Ada 95 and Ada 05 versions of the file. | |
5610 | ||
33374829 AC |
5611 | 2009-04-29 Ed Schonberg <schonberg@adacore.com> |
5612 | ||
5613 | * sem_elim.adb (Check_Eliminated): Handle new improved eliminate | |
5614 | information: no need for full scope check. | |
5615 | (Eliminate_Error): Do not emit error in a generic context. | |
5616 | ||
5617 | 2009-04-29 Ed Falis <falis@adacore.com> | |
5618 | ||
5619 | * adaint.c (__gnat_rmdir): return error code if VTHREADS is defined. | |
5620 | VxWorks 653 POS does not support rmdir. | |
5621 | ||
5622 | 2009-04-29 Matteo Bordin <bordin@adacore.com> | |
5623 | ||
5624 | * s-stausa.adb, s-stausa.ads: Get_Usage_Range: changing the way | |
5625 | results are printed. | |
5626 | ||
91c2cbdb AC |
5627 | 2009-04-29 Arnaud Charlet <charlet@adacore.com> |
5628 | ||
5629 | * s-taskin.adb (Initialize): Remove pragma Warnings Off and remove | |
5630 | unused assignment. | |
5631 | ||
5632 | 2009-04-29 Thomas Quinot <quinot@adacore.com> | |
5633 | ||
5634 | * make.adb: Minor reformatting. | |
5635 | Minor code reorganization throughout. | |
5636 | ||
5637 | 2009-04-29 Matteo Bordin <bordin@adacore.com> | |
5638 | ||
5639 | * s-stausa.ads: Changed visibility of type Task_Result: moved to | |
5640 | public part to give application visibility over it. | |
5641 | This is for future improvement and to build a public API on top of it. | |
5642 | Changed record components name of type Task_Result to reflect the new | |
5643 | way of reporting. | |
5644 | ||
5645 | * s-stausa.adb: Actual_Size_Str changed to reflect the new way of | |
5646 | reporting Stack usage. | |
5647 | ||
5648 | * gnat_ugn.texi: Update doc of stack usage report. | |
5649 | ||
5650 | * g-tastus.ads, s-stusta.ads, s-stusta.adb: New files. | |
5651 | ||
5652 | * Makefile.rtl: Add new run-time files. | |
5653 | ||
6d47b1e3 PO |
5654 | 2009-04-29 Pascal Obry <obry@adacore.com> |
5655 | ||
5656 | * initialize.c: Do not expand quoted arguments. | |
5657 | ||
d45871da EB |
5658 | 2009-04-29 Emmanuel Briot <briot@adacore.com> |
5659 | ||
5660 | * prj-ext.adb, prj.adb, prj.ads: Fix memory leaks. | |
5661 | ||
5662 | * clean.adb (Ultimate_Extension_Of): removed, since duplicate of | |
5663 | Prj.Ultimate_Extending_Project_Of | |
5664 | ||
4f87ded3 ES |
5665 | 2009-04-29 Ed Schonberg <schonberg@adacore.com> |
5666 | ||
5667 | * exp_ch7.adb (Build_Final_List): If the designated type is a Taft | |
5668 | Amendment type, add the with_clause for Finalization.List_Controller | |
5669 | only if the current context is a package body. | |
5670 | ||
349ff68f AC |
5671 | 2009-04-29 Thomas Quinot <quinot@adacore.com> |
5672 | ||
5673 | * sem_ch12.adb: Minor reformatting | |
5674 | ||
5675 | * sem_aggr.adb: Minor reformatting | |
5676 | ||
5677 | * sem_ch6.adb, sem_cat.ads: Minor reformatting | |
5678 | ||
5679 | * sem_ch10.adb, gnat1drv.adb, prj-nmsc.adb: Minor reformatting | |
5680 | ||
5681 | 2009-04-29 Quentin Ochem <ochem@adacore.com> | |
5682 | ||
5683 | * prj.ads (Source_Id): Now general pointer type. | |
5684 | ||
d81b4bfe TQ |
5685 | 2009-04-29 Thomas Quinot <quinot@adacore.com> |
5686 | ||
5687 | * exp_ch7.adb, rtsfind.adb: Minor reformatting | |
5688 | ||
5689 | * sem_res.adb: Minor reformatting | |
5690 | ||
4342eda9 TQ |
5691 | 2009-04-29 Thomas Quinot <quinot@adacore.com> |
5692 | ||
5693 | * sem_res.adb (Static_Concatenation): An N_Op_Concat with static | |
5694 | operands is static only if it is a predefined concatenation operator. | |
5695 | ||
5696 | * sem_util.adb: Minor reformatting | |
5697 | ||
5698 | * sem_ch12.adb (Save_References): When propagating semantic information | |
5699 | from generic copy back to generic template, for the case of an | |
5700 | identifier that has been rewritten to an explicit dereference whose | |
5701 | prefix is either an object name or a parameterless funcion call | |
5702 | denoting a global object or function, properly capture the denoted | |
5703 | global entity: perform the corresponding rewriting in the template, | |
5704 | and point the rewritten identifier to the correct global entity (not | |
5705 | to the associated identifier in the generic copy). | |
5706 | ||
0b8074ed AC |
5707 | 2009-04-29 Robert Dewar <dewar@adacore.com> |
5708 | ||
5709 | * rtsfind.adb, prj-env.adb: Minor reformatting | |
5710 | Minor code reorganization | |
5711 | ||
5712 | 2009-04-29 Emmanuel Briot <briot@adacore.com> | |
5713 | ||
5714 | * make.adb: Fix comment | |
5715 | ||
5716 | * prj.adb (Ultimate_Extending_Project_Of): Fix handling when no project | |
5717 | is given as argument, as might happen in gnatmake. | |
5718 | ||
8f983e64 ES |
5719 | 2009-04-29 Ed Schonberg <schonberg@adacore.com> |
5720 | ||
5721 | * sem_ch3.adb (Check_Abstract_Overriding): Improve error message when | |
5722 | an abstract operation of a progenitor is not properly overridden by an | |
5723 | operation of a derived synchronized type. | |
5724 | ||
132410cb RD |
5725 | 2009-04-29 Robert Dewar <dewar@adacore.com> |
5726 | ||
5727 | * mlib-prj.adb, mlib-tgt.adb, mlib-tgt.ads, prj-nmsc.adb, | |
5728 | prj-proc.adb: Minor reformatting | |
5729 | Minor code reorganization | |
5730 | ||
66713d62 AC |
5731 | 2009-04-29 Bob Duff <duff@adacore.com> |
5732 | ||
5733 | * exp_ch7.adb (Build_Final_List): For an access type that designates a | |
5734 | Taft Amendment type, if the access type needs finalization, make sure | |
5735 | the implicit with clause for List_Controller occurs on the package spec. | |
5736 | ||
5737 | * rtsfind.adb (Text_IO_Kludge): Fine tune the creation of implicit | |
5738 | with's created for the pseudo-children of Text_IO and friends. In | |
5739 | particular, avoid cycles, such as Ada.Wide_Text_IO.Integer_IO and | |
5740 | Ada.Text_IO.Integer_IO both with-ing each other. | |
5741 | ||
5742 | * sem.adb (Walk_Library_Items): Suppress assertion failure in certain | |
5743 | oddball cases when pragma Extend_System is used. | |
5744 | ||
5745 | * sem_ch12.adb (Get_Associated_Node): Prevent direct 'with' cycles in | |
5746 | the case where a package spec instantiates a generic whose body with's | |
5747 | this package, so Walk_Library_Items won't complain about cyclic with's. | |
5748 | ||
5749 | 2009-04-29 Emmanuel Briot <briot@adacore.com> | |
5750 | ||
5751 | * gnatcmd.adb, prj-proc.adb, make.adb, mlib-prj.adb, prj.adb, prj.ads, | |
5752 | prj-pp.adb, prj-pp.ads, makeutl.adb, clean.adb, prj-nmsc.adb, | |
5753 | mlib-tgt.adb, mlib-tgt.ads, prj-util.adb, prj-env.adb, prj-env.ads | |
5754 | (Project_Id): now a real pointer to Project_Data, instead of an index | |
5755 | into the Projects_Table. This simplifies the API significantly, avoiding | |
5756 | extra lookups in this table and the need to pass the Project_Tree_Ref | |
5757 | parameter in several cases | |
5758 | ||
059caa3e NS |
5759 | 2009-04-29 Nicolas Setton <setton@adacore.com> |
5760 | ||
5761 | * gcc-interface/Makefile.in: Produce .dSYM files for shared libs on | |
5762 | darwin. | |
5763 | ||
19440588 EB |
5764 | 2009-04-25 Eric Botcazou <ebotcazou@adacore.com> |
5765 | ||
5766 | * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Array_Subtype>: Put | |
5767 | back kludge. | |
5768 | ||
b178461a RD |
5769 | 2009-04-24 Robert Dewar <dewar@adacore.com> |
5770 | ||
5771 | * mlib-prj.adb, prj-env.adb, prj-nmsc.adb, prj-proc.adb, make.adb, | |
5772 | clean.adb: Minor reformatting. | |
5773 | Minor code reorganization and message improvement. | |
5774 | ||
e1c9f239 EB |
5775 | 2009-04-24 Emmanuel Briot <briot@adacore.com> |
5776 | ||
5777 | * prj-proc.adb, prj.adb, prj.ads, prj-nmsc.adb, prj-nmsc.ads | |
5778 | (Alternate_Languages): now implemented as a malloc-ed list rather | |
5779 | than through a table. | |
5780 | ||
c72a85f2 TQ |
5781 | 2009-04-24 Thomas Quinot <quinot@adacore.com> |
5782 | ||
5783 | * sem_res.adb (Static_Concatenation): Simplify predicate to make it | |
5784 | accurately handle cases such as "lit" & "lit" and | |
5785 | "lit" & static_string_constant | |
5786 | ||
3563739b AC |
5787 | 2009-04-24 Emmanuel Briot <briot@adacore.com> |
5788 | ||
5789 | * prj-proc.adb, make.adb, mlib-prj.adb, prj.adb, prj.ads, clean.adb, | |
5790 | prj-nmsc.adb, prj-env.adb (Project_List_Table, Project_Element): | |
5791 | removed. Lists of projects are now implemented via standard malloc | |
5792 | rather than through the table. | |
5793 | ||
5794 | 2009-04-24 Thomas Quinot <quinot@adacore.com> | |
5795 | ||
5796 | * sem_ch12.adb: Minor reformatting | |
5797 | ||
5798 | * g-trasym.adb: Minor reformatting | |
5799 | ||
5800 | * exp_ch6.adb: Minor reformatting | |
5801 | ||
5802 | 2009-04-24 Robert Dewar <dewar@adacore.com> | |
5803 | ||
5804 | * layout.adb (Layout_Type): For packed array type, copy unset | |
5805 | size/alignment fields from the referenced Packed_Array_Type. | |
5806 | ||
5807 | 2009-04-24 Bob Duff <duff@adacore.com> | |
5808 | ||
5809 | * lib-load.adb (Make_Instance_Unit): Revert previous change, no | |
5810 | longer needed after sem_ch12 changes. | |
5811 | ||
5812 | * sem.adb (Walk_Library_Items): Include with's in some debugging | |
5813 | printouts. | |
5814 | ||
757240b3 AC |
5815 | 2009-04-24 Emmanuel Briot <briot@adacore.com> |
5816 | ||
5817 | * prj.ads, prj-nmsc.adb (Unit_Project): removed, since in fact we were | |
5818 | only ever using the Project field. | |
5819 | ||
5820 | 2009-04-24 Ed Schonberg <schonberg@adacore.com> | |
5821 | ||
5822 | * sem_ch12.adb (Build_Instance_Compilation_Unit_Nodes): Do not set | |
5823 | Body_Required on the generated compilation node. The new node is linked | |
5824 | to its body, but both share the same file, so we do not set this flag | |
5825 | on the new unit so as not to create a spurious dependency on a | |
5826 | non-existent body in the ali file for the instance. | |
5827 | ||
5828 | 2009-04-24 Robert Dewar <dewar@adacore.com> | |
5829 | ||
5830 | * make.adb: Minor reformatting | |
5831 | ||
aca53298 AC |
5832 | 2009-04-24 Emmanuel Briot <briot@adacore.com> |
5833 | ||
5834 | * prj.adb, prj.ads, prj-nmsc.adb (Check_File, Record_Ada_Source, | |
5835 | Add_Source): merge some code between those. In particular change where | |
5836 | file normalization is done to avoid a few extra calls to | |
5837 | Canonicalize_File_Name. This also removes the need for passing | |
5838 | Current_Dir in a number of subprograms. | |
5839 | ||
5840 | 2009-04-24 Bob Duff <duff@adacore.com> | |
5841 | ||
5842 | * lib-load.adb (Make_Instance_Unit): In the case where In_Main is | |
5843 | False, assign the correct unit to the Cunit field of the new table | |
5844 | entry. We want the spec unit, not the body unit. | |
5845 | ||
5846 | * rtsfind.adb (Make_Unit_Name, Maybe_Add_With): Simplify calling | |
5847 | interface for these. | |
5848 | (Maybe_Add_With): Check whether we're trying to a with on the current | |
5849 | unit, and avoid creating such directly self-referential with clauses. | |
5850 | (Text_IO_Kludge): Add implicit with's for the generic pseudo-children of | |
5851 | [[Wide_]Wide_]Text_IO. These are needed for Walk_Library_Items, | |
5852 | and matches existing comments in the spec. | |
5853 | ||
5854 | * sem.adb (Walk_Library_Items): Add various special cases to make the | |
5855 | assertions pass. | |
5856 | ||
5857 | * sem_ch12.adb (Build_Instance_Compilation_Unit_Nodes): Use Body_Cunit | |
5858 | instead of Parent (N), for uniformity. | |
5859 | ||
6db828c3 AC |
5860 | 2009-04-24 Robert Dewar <dewar@adacore.com> |
5861 | ||
5862 | * errout.ads: Minor reformatting | |
5863 | ||
5864 | 2009-04-24 Emmanuel Briot <briot@adacore.com> | |
5865 | ||
5866 | * gnat_ugn.texi (Library Projects): add documentation on gnatmake's | |
5867 | behavior when the project includes sources from multiple languages | |
5868 | ||
5869 | 2009-04-24 Vincent Celier <celier@adacore.com> | |
5870 | ||
5871 | * prj.adb (Has_Foreign_Sources): Returns True in Ada_Only mode if there | |
5872 | is a language other than Ada declared. | |
5873 | ||
5874 | * makeutl.adb (Linker_Options_Switches): Call For_All_Projects with | |
5875 | Imported_First set to True. | |
5876 | ||
a7a3cf5c AC |
5877 | 2009-04-24 Ed Schonberg <schonberg@adacore.com> |
5878 | ||
5879 | * sem_res.adb: additional optimization to inhibit creation of | |
5880 | redundant transient scopes. | |
5881 | ||
5882 | 2009-04-24 Bob Duff <duff@adacore.com> | |
5883 | ||
5884 | * rtsfind.ads: Minor comment fix | |
5885 | ||
5886 | 2009-04-24 Emmanuel Briot <briot@adacore.com> | |
5887 | ||
5888 | * prj-proc.adb, prj-nmsc.adb (Find_Ada_Sources, | |
5889 | Get_Path_Name_And_Record_Ada_Sources): merged, since these were | |
5890 | basically doing the same work (for explicit or implicit sources). | |
5891 | (Find_Explicit_Sources): renamed to Find_Sources to better reflect its | |
5892 | role. Rewritten to share some code (testing that all explicit sources | |
5893 | have been found) between ada_only and multi_language modes. | |
5894 | ||
5895 | 2009-04-24 Jerome Lambourg <lambourg@adacore.com> | |
5896 | ||
5897 | * sem_prag.adb (Check_Form_Of_Interface_Name): Allow space in Ext_Name | |
5898 | for CLI imported types. | |
5899 | (Analyze_Pragma): Allow CIL or Java imported functions returning | |
5900 | access-to-subprogram types. | |
5901 | ||
2324b3fd EB |
5902 | 2009-04-24 Emmanuel Briot <briot@adacore.com> |
5903 | ||
5904 | * make.adb, prj.adb, prj.ads, makeutl.adb, makeutl.ads: | |
5905 | (Project_Data.Dir_Path): field removed, since it can be computed | |
5906 | directly from .Directory, and is needed only once when processing the | |
5907 | project is buildgpr.adb or make.adb | |
5908 | ||
8eaf1723 RD |
5909 | 2009-04-24 Robert Dewar <dewar@adacore.com> |
5910 | ||
5911 | * prj-env.adb, prj-proc.adb, prj.adb, prj.ads, | |
5912 | rtsfind.adb: Minor reformatting. | |
5913 | Minor code reorganization | |
5914 | ||
04f33e7b AC |
5915 | 2009-04-24 Arnaud Charlet <charlet@adacore.com> |
5916 | ||
5917 | * mlib-prj.adb: Use friendlier english identifier. | |
5918 | ||
5919 | * gnatcmd.adb, make.adb: Use better english identifiers. | |
5920 | ||
5921 | 2009-04-24 Robert Dewar <dewar@adacore.com> | |
5922 | ||
5923 | * clean.adb: Minor reformatting | |
5924 | ||
d1f453b7 RD |
5925 | 2009-04-24 Robert Dewar <dewar@adacore.com> |
5926 | ||
5927 | * einfo.adb (OK_To_Rename): New flag | |
5928 | ||
5929 | * einfo.ads (OK_To_Rename): New flag | |
5930 | ||
5931 | * exp_ch3.adb (Expand_N_Object_Declaration): Rewrite as renames if | |
5932 | OK_To_Rename set. | |
5933 | ||
5934 | * exp_ch4.adb (Expand_Concatenate): Mark temp variable OK_To_Rename | |
5935 | ||
5936 | * sem_ch7.adb (Uninstall_Declarations): Allow for renames from | |
5937 | OK_To_Rename. | |
5938 | ||
8b9890fa EB |
5939 | 2009-04-24 Emmanuel Briot <briot@adacore.com> |
5940 | ||
5941 | * prj-proc.adb, make.adb, mlib-prj.adb, prj.adb, prj.ads, makeutl.adb, | |
5942 | clean.adb, prj-nmsc.adb, prj-env.adb, prj-env.ads (Project_Data.Seen): | |
5943 | field removed. This is not a property of the | |
5944 | project, just a boolean used to traverse the project tree, and storing | |
5945 | it in the structure prevents doing multiple traversal in parallel. | |
5946 | (Project_Data.Checked): also removed, since it was playing the same role | |
5947 | as Seen when we had two nested loops, and this is no longer necessary | |
5948 | (For_All_Imported_Projects): removed, since in fact there was already | |
5949 | the equivalent in For_Every_Project_Imported. The latter was rewritten | |
5950 | to use a local hash table instead of Project_Data.Seen | |
5951 | Various loops were rewritten to use For_Every_Project_Imported, thus | |
5952 | removing the need for Project_Data.Seen. This avoids a lot of code | |
5953 | duplication | |
5954 | ||
76e776e5 AC |
5955 | 2009-04-24 Ed Schonberg <schonberg@adacore.com> |
5956 | ||
5957 | * sem_res.adb (Resolve_Actuals): Do not create blocks around code | |
5958 | statements, even though the actual of the call is a concatenation, | |
5959 | because the argument is static, and we want to preserve warning | |
5960 | messages about sequences of code statements that are not marked | |
5961 | volatile. | |
5962 | ||
5963 | * sem_warn.adb: remove obsolete comment about warning being obsolete | |
5964 | ||
5965 | * s-tasren.adb (Task_Do_Or_Queue): If a timed entry call is being | |
5966 | requeued and the delay has expired while within the accept statement | |
5967 | that executes the requeue, do not perform the requeue and indicate that | |
5968 | the timed call has been aborted. | |
5969 | ||
5970 | 2009-04-24 Emmanuel Briot <briot@adacore.com> | |
5971 | ||
5972 | * mlib-prj.adb, prj.adb, prj.ads, prj-nmsc.adb, prj-env.adb | |
5973 | (Has_Ada_Sources, Has_Foreign_Sources): new subprograms | |
5974 | (Project_Data.Ada_Sources_Present, Foreign_Sources_Present): removed, | |
5975 | since they can be computed from the above. | |
5976 | ||
481f29eb VC |
5977 | 2009-04-24 Vincent Celier <celier@adacore.com> |
5978 | ||
5979 | * gnatcmd.adb: Call Prj.Env.Initialize with the Project_Tree | |
5980 | ||
5981 | * prj-env.adb: Move all global variables to the private part of the | |
5982 | project tree data. | |
5983 | Access these new components instead of the global variables no longer | |
5984 | in existence. | |
5985 | (Add_To_Path): New Project_Tree_Ref parameter, to access the new | |
5986 | components that were previously global variables. | |
5987 | ||
5988 | * prj-env.ads (Initialize): New Project_Tree_Ref parameter | |
5989 | (Set_Mapping_File_Initial_State_To_Empty): New Project_Tree_Ref | |
5990 | parameter. | |
5991 | ||
5992 | * prj-nmsc.adb (Compute_Unit_Name): New Project_Tree_Ref parameter to | |
5993 | be able to call Set_Mapping_File_Initial_State_To_Empty with it. | |
5994 | ||
5995 | * prj.adb (Initialize): Do not call Prj.Env.Initialize | |
5996 | (Reset): Do not call Prj.Env.Initialize. Instead, initialize the new | |
5997 | components in the private part of the project tree data. | |
5998 | ||
5999 | * prj.ads (Private_Project_Tree_Data): new components moved from | |
6000 | Prj.Env: Current_Source_Path_File, Current_Object_Path_File, | |
6001 | Ada_Path_Buffer, Ada_Path_Length, Ada_Prj_Include_File_Set, | |
6002 | Ada_Prj_Objects_File_Set, Fill_Mapping_File. | |
6003 | ||
c54ab0b5 AC |
6004 | 2009-04-24 Vincent Celier <celier@adacore.com> |
6005 | ||
6006 | * opt.ads (Unchecked_Shared_Lib_Imports): New Boolean flag. | |
6007 | ||
6008 | * prj-nmsc.adb (Check_Library): No error for imports by shared library | |
6009 | projects, when --unchecked-shared-lib-imports is used. | |
6010 | ||
6011 | 2009-04-24 Robert Dewar <dewar@adacore.com> | |
6012 | ||
6013 | * sem_ch7.adb: Minor reformatting | |
6014 | ||
b3520ca0 AC |
6015 | 2009-04-24 Tristan Gingold <gingold@adacore.com> |
6016 | ||
6017 | * s-osinte-darwin.adb, s-osinte-darwin.ads: lwp_self now returns the | |
6018 | mach thread id. | |
6019 | ||
6020 | 2009-04-24 Emmanuel Briot <briot@adacore.com> | |
6021 | ||
6022 | * prj-env.adb, prj-env.ads (Body_Path_Name_Of, Spec_Path_Name_Of, | |
6023 | Path_Name_Of_Library_Unit_Body): rEmove unused subprograms. | |
6024 | (For_All_Imported_Projects): new procedure | |
6025 | (For_All_Source_Dirs, For_All_Object_Dirs): Rewritten based on the | |
6026 | above rather than duplicating code. | |
6027 | ||
5d07d0cf EB |
6028 | 2009-04-24 Emmanuel Briot <briot@adacore.com> |
6029 | ||
6030 | * prj-proc.adb, prj.adb, prj.ads, prj-nmsc.adb, prj-env.adb | |
6031 | (Source_Id, Source_Data): use a real list to store sources rather than | |
6032 | using an external table to store the elements. This makes code more | |
6033 | efficient and more readable. | |
6034 | ||
5eed512d EB |
6035 | 2009-04-24 Emmanuel Briot <briot@adacore.com> |
6036 | ||
6037 | * prj-proc.adb, prj.adb, prj.ads, prj-nmsc.adb, prj-env.adb | |
6038 | (Source_Iterator): new type. | |
53b2323e RH |
6039 | This removes the need for having the sources on three different |
6040 | lists at the project tree, project and language level. They are now | |
6041 | on a single list. | |
5eed512d | 6042 | |
5876578b EB |
6043 | 2009-04-24 Emmanuel Briot <briot@adacore.com> |
6044 | ||
6045 | * gnatcmd.adb, prj.adb, prj.ads: Remove unused entities | |
6046 | ||
a9d17e32 ES |
6047 | 2009-04-24 Ed Schonberg <schonberg@adacore.com> |
6048 | ||
6049 | * sem_warn.adb: Add comment on obsolete warning | |
6050 | ||
144c034d AC |
6051 | 2009-04-24 Arnaud Charlet <charlet@adacore.com> |
6052 | ||
6053 | * s-tassta.adb (Create_Task): Fix violation of locking rule. | |
6054 | ||
e0697153 EB |
6055 | 2009-04-24 Emmanuel Briot <briot@adacore.com> |
6056 | ||
6057 | * prj.adb, prj.ads, prj-nmsc.adb, prj-env.adb (Language_Index): renamed | |
6058 | to Language_Ptr to better reflect its new implementation. | |
6059 | (Project_Data.First_Languages_Processing): renamed to Languages now | |
6060 | that the field with that name is no longer used | |
6061 | (Project_Data.Languages): removed, no longer used, and duplicates | |
6062 | information already available through First_Language_Processing. | |
6063 | (Prj.Language_Index): now an actual pointer, instead of an index into | |
6064 | a table. This makes the list somewhat more obvious, but more importantly | |
6065 | removes the need to pass a pointer to the project_tree_data in a few | |
6066 | places, and makes accessing the attributes of a languages more | |
6067 | efficient. | |
6068 | ||
18e6d56a | 6069 | 2009-04-24 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
53b2323e | 6070 | Thomas Quinot <quinot@adacore.com> |
18e6d56a RK |
6071 | |
6072 | * fe.h (Set_Identifier_Casing): Add const to second parameter. | |
c91f9cd4 | 6073 | * gcc-interface/misc.c (internal_error_function): Make copy of return |
18e6d56a RK |
6074 | from pp_formatted_text before assigning BUFFER to it. |
6075 | (gnat_init): Likewise for main_input_filename and gnat_argv. | |
6076 | (gnat_printable_name): Remove cast from call to Set_Identifier_Casing. | |
6077 | ||
caa9d12a EB |
6078 | 2009-04-24 Eric Botcazou <ebotcazou@adacore.com> |
6079 | ||
6080 | * ttypes.ads (Target_Double_Float_Alignment): New variable. | |
6081 | (Target_Double_Scalar_Alignment): Likewise. | |
6082 | * get_targ.ads (Get_Strict_Alignment): Adjust external name. | |
6083 | (Get_Double_Float_Alignment): New imported function. | |
6084 | (Get_Double_Scalar_Alignment): Likewise. | |
6085 | * layout.adb (Set_Elem_Alignment): Take into account specific caps for | |
6086 | the alignment of "double" floating-point types and "double" or larger | |
6087 | scalar types, as parameterized by Target_Double_Float_Alignment and | |
6088 | Target_Double_Scalar_Alignment respectively. | |
6089 | * gcc-interface/gigi.h (double_float_alignment): Declare. | |
6090 | (double_scalar_alignment): Likewise. | |
6091 | (is_double_float_or_array): Likewise. | |
6092 | (is_double_scalar_or_array): Likewise. | |
6093 | (get_target_double_float_alignment): Likewise. | |
6094 | (get_target_double_scalar_alignment): Likewise. | |
6095 | * gcc-interface/targtyps.c (get_strict_alignment): Rename into... | |
6096 | (get_target_strict_alignment): ...this. | |
6097 | (get_target_double_float_alignment): New function. | |
6098 | (get_target_double_scalar_alignment): Likewise. | |
6099 | * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Signed_Integer_Subtype>: | |
6100 | Test the presence of an alignment clause for under-aligned integer | |
6101 | types. Take into account specific caps for the alignment of "double" | |
6102 | floating-point types and "double" or larger scalar types, as | |
6103 | parameterized by Target_Double_Float_Alignment and | |
6104 | Target_Double_Scalar_Alignment respectively. | |
6105 | (validate_alignment): Likewise. | |
6106 | * gcc-interface/trans.c (Attribute_to_gnu) <Attr_Alignment>: Likewise. | |
6107 | (gigi): Initialize double_float_alignment and double_scalar_alignment. | |
6108 | * gcc-interface/utils.c (double_float_alignment): New global variable. | |
6109 | (double_scalar_alignment): Likewise. | |
6110 | (is_double_float_or_array): New predicate. | |
6111 | (is_double_scalar_or_array): Likewise. | |
6112 | ||
1275de7d EB |
6113 | 2009-04-24 Eric Botcazou <ebotcazou@adacore.com> |
6114 | ||
6115 | * gcc-interface/utils2.c (build_cond_expr): Move SAVE_EXPR ahead of | |
6116 | the conditional expression only if it is common to both arms. | |
6117 | ||
6f61bd41 EB |
6118 | 2009-04-24 Eric Botcazou <ebotcazou@adacore.com> |
6119 | ||
6120 | * gcc-interface/gigi.h (build_call_alloc_dealloc): Update comment. | |
6121 | * gcc-interface/decl.c (gnat_to_gnu_entity) <object>: Pass correct | |
6122 | arguments to build_allocator. | |
6123 | * gcc-interface/utils2.c (build_call_alloc_dealloc): Update comment. | |
6124 | Remove code handling special allocator and assert its uselessness. | |
6125 | ||
0d858698 EB |
6126 | 2009-04-24 Eric Botcazou <ebotcazou@adacore.com> |
6127 | ||
6128 | * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Array_Type>: If an | |
6129 | alignment is specified, do not promote that of the component type | |
6130 | beyond it. | |
6131 | <E_Array_Subtype>: Likewise. | |
6132 | ||
bbaba73f EB |
6133 | 2009-04-23 Eric Botcazou <ebotcazou@adacore.com> |
6134 | ||
6135 | * einfo.ads (Is_True_Constant): Lift restriction on atomic objects. | |
6136 | * sinfo.ads (Object Declaration): Likewise. | |
6137 | (Assignment Statement): Likewise. | |
6138 | * freeze.adb (Expand_Atomic_Aggregate): Remove useless test. | |
6139 | Do not force Is_True_Constant to false on the temporary. | |
6140 | (Freeze_Entity): Do not force Is_True_Constant to false on names on | |
6141 | the RHS of object declarations. | |
6142 | * gcc-interface/trans.c (lvalue_required_p) <N_Object_Declaration>: | |
6143 | New case. Return 1 if the object is atomic. | |
6144 | <N_Assignment_Statement>: Likewise. | |
6145 | ||
4fd78fe6 EB |
6146 | 2009-04-23 Eric Botcazou <ebotcazou@adacore.com> |
6147 | ||
6148 | * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Modular_Integer_Subtype> | |
6149 | For packed array types, make the original array type a parallel type | |
6150 | for the modular type and its JM wrapper if the type is bit-packed. | |
6151 | <E_Array_Subtype>: Likewise. Do not generate the special XA parallel | |
6152 | record type for packed array types. Remove kludge. | |
6153 | ||
c1abd261 EB |
6154 | 2009-04-23 Eric Botcazou <ebotcazou@adacore.com> |
6155 | ||
6156 | * gcc-interface/gigi.h (create_index_type): Adjust head comment. | |
6157 | * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Signed_Integer_Subtype>: | |
6158 | Use front-end predicates to compute signedness and precision. | |
6159 | <E_String_Literal_Subtype>: Fold range type. | |
6160 | Make sure to set longest_float_type_node to a scalar type. | |
6161 | (elaborate_entity): Use consistent Constraint_Error spelling. | |
6162 | (substitute_in_type) <INTEGER_TYPE>: Always copy the type. | |
6163 | * gcc-interface/misc.c (gnat_print_type) <INTEGER_TYPE>: Use brief | |
6164 | output for the modulus, if any. | |
6165 | <ENUMERAL_TYPE>: Likewise for the RM size. | |
6166 | * gcc-interface/trans.c (gnat_to_gnu): Use consistent Constraint_Error | |
6167 | spelling. | |
6168 | * gcc-interface/utils.c (finish_record_type): Really test the alignment | |
6169 | of BLKmode bit-fields to compute their addressability. | |
6170 | (create_index_type): Adjust comments. | |
6171 | (create_param_decl): Create the biased subtype manually. | |
6172 | * gcc-interface/utils2.c (build_component_ref): Use consistent | |
6173 | Constraint_Error spelling. | |
6174 | ||
8713b7e4 EB |
6175 | 2009-04-23 Eric Botcazou <ebotcazou@adacore.com> |
6176 | ||
6177 | * gcc-interface/cuintp.c: Clean up include directives. | |
6178 | * gcc-interface/targtyps.c: Likewise. | |
6179 | * gcc-interface/decl.c: Likewise. | |
6180 | * gcc-interface/misc.c: Likewise. | |
6181 | * gcc-interface/trans.c: Likewise. | |
6182 | * gcc-interface/utils.c: Likewise. | |
6183 | * gcc-interface/utils2.c: Likewise. | |
6184 | * gcc-interface/Make-lang.in: Adjust dependencies accordingly. | |
6185 | ||
26383c64 EB |
6186 | 2009-04-23 Eric Botcazou <ebotcazou@adacore.com> |
6187 | ||
6188 | * gcc-interface/ada-tree.h (union lang_tree_node): Use standard idiom. | |
6189 | (SET_TYPE_LANG_SPECIFIC): Likewise. Fix formatting. | |
6190 | (SET_DECL_LANG_SPECIFIC): Likewise. | |
6191 | Reorder macros. | |
6192 | * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Signed_Integer_Subtype>: | |
6193 | Update comment about use of build_range_type. | |
6194 | <E_Array_Type, E_Array_Subtype>: Use consistent naming convention. | |
6195 | <E_Array_Subtype>: Rework comments about TYPE_ACTUAL_BOUNDS and add | |
6196 | check for other cases of overloading. | |
6197 | * gcc-interface/trans.c (gigi): Use size_int in lieu of build_int_cst. | |
6198 | * gcc-interface/utils2.c (build_call_raise): Fix off-by-one error. | |
6199 | Use size_int in lieu of build_int_cst. | |
6200 | (build_call_alloc_dealloc): Use build_index_2_type in lieu of | |
6201 | build_range_type. | |
6202 | ||
b7babd5d EB |
6203 | 2009-04-22 Eric Botcazou <ebotcazou@adacore.com> |
6204 | ||
6205 | * gcc-interface/utils2.c (build_binary_op) <PLUS_EXPR>: If operation's | |
6206 | type is an enumeral or a boolean type, change it to an integer type | |
6207 | with the same mode and signedness. | |
6208 | ||
5225a138 EB |
6209 | 2009-04-22 Eric Botcazou <ebotcazou@adacore.com> |
6210 | ||
6211 | * gcc-interface/utils.c (create_var_decl_1): Do not emit debug info | |
6212 | for an external constant whose initializer is not absolute. | |
6213 | ||
6214 | 2009-04-22 Taras Glek <tglek@mozilla.com> | |
d1b38208 TG |
6215 | |
6216 | * gcc-interface/ada-tree.h: Update GTY annotations to new syntax. | |
6217 | * gcc-interface/trans.c: Likewise. | |
6218 | * gcc-interface/utils.c: Likewise. | |
6219 | ||
a52fefe6 AC |
6220 | 2009-04-22 Ed Schonberg <schonberg@adacore.com> |
6221 | ||
6222 | * sem_res.adb: Create block around procedure call when actual is a | |
6223 | concatenation. | |
6224 | ||
6225 | 2009-04-22 Thomas Quinot <quinot@adacore.com> | |
6226 | ||
6227 | * s-soflin.ads: Fix typos | |
6228 | ||
6229 | 2009-04-22 Vincent Celier <celier@adacore.com> | |
6230 | ||
6231 | * prj-env.adb: Minor comment change | |
6232 | ||
6233 | * prj-nmsc.adb (Check_Common): Add guard to avoid calling | |
6234 | Get_Name_String with No_File. | |
6235 | ||
6236 | * tempdir.adb (Create_Temp_File): Output diagnostic when temp file | |
6237 | cannot be created even when not in verbose mode. | |
6238 | ||
2f1e0b61 EB |
6239 | 2009-04-22 Emmanuel Briot <briot@adacore.com> |
6240 | ||
6241 | * make.adb, prj-env.adb, prj-env.ads, prj-nmsc.adb, prj.adb, | |
6242 | prj.ads (Create_Mapping_File): merge the two versions for Ada_Only and | |
6243 | Multi_Language modes, to avoid code duplication. | |
6244 | (Project_Data.Include_Language): Removed. | |
6245 | ||
35afb012 AC |
6246 | 2009-04-22 Vincent Celier <celier@adacore.com> |
6247 | ||
6248 | * tempdir.adb (Create_Temp_File): Add a diagnostic in verbose mode when | |
6249 | the temporary file cannot be created, indicating the directory when the | |
6250 | creation was attempted. | |
6251 | ||
6252 | 2009-04-22 Emmanuel Briot <briot@adacore.com> | |
6253 | ||
6254 | * prj-env.adb, prj-env.ads (Create_Mapping_File): we need to compare | |
6255 | the language names, not their indices. | |
6256 | ||
10d2a6f7 EB |
6257 | 2009-04-22 Emmanuel Briot <briot@adacore.com> |
6258 | ||
6259 | * prj.ads, prj-nmsc.adb, prj-env.adb, prj-env.ads | |
6260 | (Source_Data.Language_Name): Field removed. | |
6261 | ||
39d4e04a EB |
6262 | 2009-04-22 Emmanuel Briot <briot@adacore.com> |
6263 | ||
6264 | * prj.adb, prj.ads, prj-nmsc.adb (Project_Data.Unit_Based_Language_*): | |
6265 | Two fields removed. | |
6266 | ||
f1eea135 EB |
6267 | 2009-04-22 Emmanuel Briot <briot@adacore.com> |
6268 | ||
6269 | * prj-nmsc.adb (Check_Naming_Ada_Only): Properly initialize the | |
6270 | separate_suffix to the same value as the body_suffix. | |
6271 | ||
d9c0e057 AC |
6272 | 2009-04-22 Robert Dewar <dewar@adacore.com> |
6273 | ||
6274 | * prj.adb: Minor code reorganization | |
6275 | Code clean up. | |
6276 | ||
6277 | * prj-proc.adb: Minor code reorganization, clean up. | |
6278 | ||
6279 | * prj-nmsc.adb: Minor reformatting | |
6280 | Minor code reorganization | |
6281 | ||
6282 | * gnat_ugn.texi: Add to doc on strict aliasing | |
6283 | ||
6284 | 2009-04-22 Pascal Obry <obry@adacore.com> | |
6285 | ||
6286 | * s-osinte-mingw.ads: Rename Reserved field in CRITICAL_SECTION to | |
6287 | SpinCount. | |
6288 | ||
6289 | * s-tasini.adb: Minor reformatting. | |
6290 | ||
6291 | * s-tassta.adb: Minor reformatting. | |
6292 | ||
ce30eccb EB |
6293 | 2009-04-22 Emmanuel Briot <briot@adacore.com> |
6294 | ||
6295 | * prj-proc.adb, prj-nmsc.adb (Check_Naming_Schemes): split into several | |
6296 | smaller subprograms. | |
6297 | Renamed to Check_File_Naming_Schemes to avoid confusion with the | |
6298 | other Check_Naming_Schemes functions that plays a totally different | |
6299 | role. | |
6300 | (Check_Unit_Based_Lang, Check_File_Based_Lang): new subprograms, | |
6301 | extracted from the above. These were partially rewritten to avoid | |
6302 | unnecessary code and temporary variables. | |
6303 | (Compute_Unit_Name): new subprogram, merge of Check_Unit_Based_Lang | |
6304 | and Get_Unit (which for now still exist since they contain mode-specific | |
6305 | code) | |
6306 | ||
347ab254 EB |
6307 | 2009-04-22 Emmanuel Briot <briot@adacore.com> |
6308 | ||
6309 | * prj.ads, prj.adb, prj-nmsc.adb, prj-proc.adb (Recursive_Process): | |
6310 | Remove duplicated code. | |
6311 | (Canonical_Case_File_Name): new subprogram | |
6312 | (Check_And_Normalize_Unit_Names): new subprogram | |
6313 | (Write_Attr): new subprogram | |
6314 | Better sharing of code | |
6315 | (Check_Naming_Ada_Only, Check_Naming_Multi_Lang): new subprogram, to | |
6316 | split Check_Naming and help find duplicated code | |
6317 | (Check_Common): new subprogram, sharing code between ada_only and | |
6318 | multi_language mode. | |
6319 | (Naming_Data.Dot_Repl_Loc): field removed | |
6320 | ||
aa903780 EB |
6321 | 2009-04-22 Emmanuel Briot <briot@adacore.com> |
6322 | ||
6323 | * prj-proc.adb, prj-nmsc.adb (Load_Naming_Exceptions): New subprogram. | |
6324 | Minor refactoring to reduce the size of | |
6325 | Process_Sources_In_Multi_Language_Mode. | |
6326 | Avoid extra copied of Source_Data, which we found in the past could be | |
6327 | quite slow. | |
6328 | (Mark_Excluded_Sources): new subprogram. | |
6329 | (Remove_Locally_Removed_Files_From_Units): merged into the above | |
6330 | Refactors Process_Sources_In_Multi_Language_Mode to reduce its size, | |
6331 | and allow better sharing of code between multi_lang and ada_only modes | |
6332 | (Project_Extends): removed, since exact duplicate of Prj.Is_Extending | |
6333 | ||
95c05c62 EB |
6334 | 2009-04-22 Emmanuel Briot <briot@adacore.com> |
6335 | ||
6336 | * prj-proc.adb, prj.adb, prj.ads (Project_Data.First_Referred_By): | |
6337 | Removed, since unused. | |
6338 | ||
c9a1acdc AC |
6339 | 2009-04-22 Vincent Celier <celier@adacore.com> |
6340 | ||
6341 | * prj-attr.adb: New single project level attribute | |
6342 | Separate_Run_Path_Options. | |
6343 | ||
6344 | * prj-nmsc.adb (Process_Project_Level_Simple_Attributes): Process | |
6345 | attribute Seperate_Run_Path_Options. | |
6346 | ||
6347 | * prj.ads: (Project_Configuration): New Boolean component | |
6348 | Separate_Run_Path_Options, defaulted to False. | |
6349 | ||
6350 | * snames.ads-tmpl: New standard name Seperate_Run_Path_Options | |
6351 | ||
6d2a1120 RD |
6352 | 2009-04-22 Robert Dewar <dewar@adacore.com> |
6353 | ||
c9a1acdc AC |
6354 | * sem_type.adb: Minor reformatting |
6355 | ||
6d2a1120 RD |
6356 | * mlib.adb: Minor reformatting |
6357 | ||
6358 | * sem_aggr.adb: Minor reformatting. Defend against junk aggregate from | |
6359 | syntax error. | |
6360 | ||
3b81743f NS |
6361 | 2009-04-22 Nicolas Setton <setton@adacore.com> |
6362 | ||
6363 | * link.c: Add flag __gnat_separate_run_path_options. | |
6364 | ||
6365 | * mlib.adb (Separate_Run_Path_Options): New subprogram. | |
6366 | ||
6367 | * mlib.ads (Separate_Run_Path_Options): Declare. | |
6368 | ||
6369 | * gnatcmd.adb (Process_Link): Add support for emitting one "rpath" | |
6370 | switch per directory, rather than one "rpath" switch listing all | |
6371 | directories. | |
6372 | ||
6373 | * gnatlink.adb (Process_Binder_File): Likewise. | |
6374 | ||
6375 | * make.adb (Gnatmake): Likewise. | |
6376 | ||
3a69b5ff AC |
6377 | 2009-04-22 Hristian Kirtchev <kirtchev@adacore.com> |
6378 | ||
6379 | * exp_ch6.adb (Make_Build_In_Place_Call_In_Assignment): Code cleanup. | |
6380 | Add a call to Move_Final_List when the target of the assignment is a | |
6381 | return object that needs finalization and the expression is a | |
6382 | controlled build-in-place function. | |
6383 | ||
6384 | 2009-04-22 Vincent Celier <celier@adacore.com> | |
6385 | ||
6386 | * make.adb (Gnatmake, Bind_Step): call Set_Ada_Paths with | |
6387 | Including_Libraries set to True. | |
6388 | ||
f3a67cfc ES |
6389 | 2009-04-22 Ed Schonberg <schonberg@adacore.com> |
6390 | ||
6391 | * lib-load.ads, lib-load.adb (Make_Child_Decl_Unit): New subprogram, to | |
6392 | create a unit table entry for the subprogram declaration created for a | |
6393 | child suprogram body that has no separate specification. | |
6394 | ||
6395 | * sem_ch10.adb (Analyze_Compilation_Unit): For a child unit that is a | |
6396 | subprogram body, call Make_Child_Decl_Unit. | |
6397 | ||
6398 | * lib.adb (Get_Cunit_Unit_Number): Verify that an entry not yet in the | |
6399 | table can only be the created specification of a child subprogram body | |
6400 | that is the main unit, which has not been entered in the table yet. | |
6401 | ||
6402 | * errout.adb (Output_Messages): Ignore created specification of a | |
6403 | child subprogram body to prevent repeated listing of error messages. | |
6404 | ||
6405 | * gnat1drv.adb (gnat1drv): The generated specification for a child | |
6406 | subprogram body does not generate code. | |
6407 | ||
1ef4d0a8 AC |
6408 | 2009-04-22 Arnaud Charlet <charlet@adacore.com> |
6409 | ||
6410 | * s-bitops.adb, s-bitops.ads (Raise_Error): Do not use Ada 05 syntax, | |
6411 | since this unit is now part of bootstrap units, so must use Ada 95 | |
6412 | syntax only. | |
6413 | ||
6414 | 2009-04-22 Thomas Quinot <quinot@adacore.com> | |
6415 | ||
6416 | * a-tasatt.adb: Minor reformatting | |
6417 | ||
6418 | 2009-04-22 Bob Duff <duff@adacore.com> | |
6419 | ||
6420 | * s-stalib.ads: Remove "with System;" since we're inside System, so | |
6421 | it's unnecessary. | |
6422 | ||
6423 | 2009-04-22 Vincent Celier <celier@adacore.com> | |
6424 | ||
6425 | * prj-nmsc.adb (Add_Source): Always put the dependency file name in | |
6426 | the source record, as there may be a dependency file even if no object | |
6427 | file is created. | |
6428 | ||
1cb46af0 RD |
6429 | 2009-04-22 Robert Dewar <dewar@adacore.com> |
6430 | ||
1ef4d0a8 | 6431 | * lib-load.adb: Minor reformatting |
1cb46af0 RD |
6432 | |
6433 | * lib-load.ads: Minor reformatting | |
6434 | ||
6435 | * sinfo.ads: Minor reformatting | |
6436 | ||
218e53ff BD |
6437 | 2009-04-22 Bob Duff <duff@adacore.com> |
6438 | ||
6439 | * exp_pakd.adb: Minor comment fixes. | |
6440 | ||
6441 | * sinfo.ads, par-load.adb, sem_ch10.adb, lib-load.ads, lib-load.adb | |
6442 | sem_ch12.adb: Change the meaning of the Library_Unit attribute to | |
6443 | include units containing instantiations, as well as units that are | |
6444 | generic instantiations. | |
6445 | ||
6446 | * sem.adb: Include dependents and corresponding specs/bodies in the | |
6447 | unit walk. | |
6448 | ||
6449 | * gcc-interface/Make-lang.in: | |
6450 | sem now depends on s-bitops, because of the packed array of Booleans. | |
6451 | ||
feec4372 EB |
6452 | 2009-04-22 Eric Botcazou <ebotcazou@adacore.com> |
6453 | ||
6454 | * gcc-interface/ada-tree.def: Fix formatting nits. | |
6455 | (REGION_STMT): Delete. | |
6456 | (HANDLER_STMT): Likewise. | |
6457 | * gcc-interface/ada-tree.h: Fix formatting nits. | |
6458 | (IS_STMT): Delete. | |
6459 | (REGION_STMT_BODY): Likewise. | |
6460 | (REGION_STMT_HANDLE): Likewise. | |
6461 | (REGION_STMT_BLOCK): Likewise. | |
6462 | (HANDLER_STMT_ARG): Likewise. | |
6463 | (HANDLER_STMT_LIST): Likewise. | |
6464 | (HANDLER_STMT_BLOCK): Likewise. | |
6465 | * gcc-interface/gigi.h (fp_prec_to_size): Update comment. | |
6466 | (fp_size_to_prec): Likewise. | |
6467 | (largest_move_alignment): Delete. | |
6468 | (gnat_compute_largest_alignment): Likewise. | |
6469 | Fix minor nits. | |
6470 | * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Signed_Integer_Subtype>: | |
6471 | Remove redundant code. | |
6472 | <E_Array_Type>: Remove redundant assert. | |
6473 | <E_Array_Subtype>: Exit early from index computation in pathological | |
6474 | cases. | |
6475 | Rewrite conditional assignment. | |
6476 | (make_type_from_size): Likewise. | |
6477 | * gcc-interface/misc.c (largest_move_alignment): Delete. | |
6478 | (gnat_finish_incomplete_decl): Likewise. | |
6479 | (LANG_HOOKS_FINISH_INCOMPLETE_DECL): Likewise. | |
6480 | (asm_out_file): Likewise | |
6481 | (gnat_print_type) <INTEGER_TYPE>: Fall through to ENUMERAL_TYPE case. | |
6482 | (gnat_dwarf_name): Move around. | |
6483 | * gcc-interface/trans.c (Attribute_to_gnu): Fix minor nits. | |
6484 | (gigi): Remove call to gnat_compute_largest_alignment. | |
6485 | * utils.c (create_field_decl): Rewrite conditional assignment. | |
6486 | Fix minor nits. | |
6487 | ||
a8e05f92 EB |
6488 | 2009-04-22 Eric Botcazou <ebotcazou@adacore.com> |
6489 | ||
6490 | * gcc-interface/decl.c (gnat_to_gnu_entity): Compute is_type predicate | |
6491 | on entry. Defer common processing for types. Reorder and clean up. | |
6492 | Compute the equivalent GNAT node and the default size for types only. | |
6493 | <E_Modular_Integer_Type>: Directly use Esize for the type's precision. | |
6494 | <E_Access_Type>: For an unconstrained designated type, do not pretend | |
6495 | that a dummy type is always made. | |
6496 | <all> Fix nits in comments. | |
6497 | (validate_size): Fix formatting nits and comments. | |
6498 | (set_rm_size): Likewise. | |
6499 | * gcc-interface/utils.c (create_param_decl): Replace bogus argument | |
6500 | passed to TARGET_PROMOTE_PROTOTYPES hook. | |
6501 | ||
0fb2335d EB |
6502 | 2009-04-22 Eric Botcazou <ebotcazou@adacore.com> |
6503 | ||
6504 | * fe.h (Get_External_Name): Declare. | |
6505 | * gcc-interface/gigi.h (concat_id_with_name): Rename to... | |
6506 | (concat_name): ...this. | |
6507 | * gcc-interface/decl.c (gnat_to_gnu_entity): Rename gnu_entity_id to | |
6508 | gnu_entity_name and adjust for above renaming. | |
6509 | <E_Access_Type>: Use create_concat_name to get the name of the various | |
6510 | types associated with unconstrained array types. | |
6511 | (make_aligning_type): Adjust for above renaming. | |
6512 | (maybe_pad_type): Likewise. | |
a8e05f92 | 6513 | (components_to_record): Likewise. Use get_identifier_with_length for |
0fb2335d EB |
6514 | the encoding of the variant. |
6515 | (get_entity_name): Use get_identifier_with_length. | |
a8e05f92 | 6516 | (create_concat_name): Likewise. Use Get_External_Name if no suffix. |
0fb2335d EB |
6517 | Do not fiddle with Name_Buffer. |
6518 | (concat_id_with_name): Rename to... | |
a8e05f92 | 6519 | (concat_name): ...this. Use get_identifier_with_length. Do not fiddle |
0fb2335d EB |
6520 | with Name_Buffer. |
6521 | * gcc-interface/utils.c (rest_of_record_type_compilation): Adjust for | |
6522 | above renaming. | |
6523 | ||
ad41bd84 JM |
6524 | 2009-04-21 Joseph Myers <joseph@codesourcery.com> |
6525 | ||
6526 | * ChangeLog, ChangeLog.ptr, ChangeLog.tree-ssa: Add copyright and | |
6527 | license notices. | |
6528 | ||
ca80e52b EB |
6529 | 2009-04-21 Eric Botcazou <ebotcazou@adacore.com> |
6530 | ||
6531 | * gcc-interface/trans.c (gnat_to_gnu): Do not overwrite location info. | |
6532 | ||
b4680ca1 EB |
6533 | 2009-04-21 Eric Botcazou <ebotcazou@adacore.com> |
6534 | ||
71b495a2 | 6535 | * gcc-interface/ada-tree.h (TYPE_RM_SIZE_NUM): Delete. |
b4680ca1 | 6536 | (TYPE_RM_SIZE): Access TYPE_LANG_SLOT_1 directly for integral types. |
71b495a2 EB |
6537 | * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Modular_Integer_Type>: |
6538 | Remove useless support code for packed array types and assert its | |
6539 | uselessness. | |
b4680ca1 EB |
6540 | <E_Signed_Integer_Subtype>: Reuse entity identifier in more places and |
6541 | adjust for TYPE_RM_SIZE change. | |
6542 | <all> Fix nits in comments. Use Original_Array_Type accessor instead | |
6543 | of Associated_Node_For_Itype accessor for packed array types. | |
6544 | (make_packable_type): Likewise. | |
6545 | (maybe_pad_type): Likewise. | |
6546 | (set_rm_size): Likewise. Rework conditional statement. Adjust for | |
6547 | TYPE_RM_SIZE change. | |
6548 | (make_type_from_size): Adjust for TYPE_RM_SIZE change. | |
6549 | (rm_size): Fix nits in comments. Rework conditional statements. | |
71b495a2 EB |
6550 | * gcc-interface/misc.c (gnat_print_type): Adjust for TYPE_RM_SIZE |
6551 | change. | |
6552 | * gcc-interface/trans.c (Attribute_to_gnu): Fix nits in comments. | |
6553 | * gcc-interface/utils.c (gnat_init_decl_processing): Use more | |
6554 | appropriate function to initialize the size_type_node. Adjust for | |
6555 | TYPE_RM_SIZE change. | |
b4680ca1 | 6556 | |
a962b0a1 EB |
6557 | 2009-04-21 Eric Botcazou <ebotcazou@adacore.com> |
6558 | ||
6559 | * gcc-interface/decl.c (gnat_to_gnu_entity): Do not set force_global | |
6560 | for imported subprograms. | |
6561 | ||
2f283818 EB |
6562 | 2009-04-21 Eric Botcazou <ebotcazou@adacore.com> |
6563 | ||
6564 | * gcc-interface/decl.c (gnat_to_gnu_entity) <object>: Do not make | |
6565 | constant objects covered by 13.3(19) volatile. | |
6566 | ||
ac53d5f2 EB |
6567 | 2009-04-21 Eric Botcazou <ebotcazou@adacore.com> |
6568 | ||
6569 | * gcc-interface/utils.c (create_type_decl): Do not pass declarations | |
6570 | of dummy fat pointer types to the debug back-end. | |
6571 | ||
6e0f0975 EB |
6572 | 2009-04-20 Eric Botcazou <ebotcazou@adacore.com> |
6573 | ||
6574 | * gcc-interface/decl.c (gnat_to_gnu_entity): Rewrite Esize calculation. | |
6575 | <E_Signed_Integer_Subtype>: Set the RM size on the integer type | |
6576 | before wrapping it up in the record type. Do not overwrite the | |
6577 | Ada size of the record type with the Esize. | |
6578 | ||
c2efda0d EB |
6579 | 2009-04-20 Eric Botcazou <ebotcazou@adacore.com> |
6580 | ||
6581 | * gcc-interface/trans.c (unchecked_conversion_lhs_nop): New predicate. | |
6582 | (gnat_to_gnu) <N_Unchecked_Type_Conversion>: Return the expression | |
6583 | if the conversion is on the LHS of an assignment and a no-op. | |
6584 | <all> Do not convert the result to the result type if the Parent | |
6585 | node is such a conversion. | |
6586 | ||
77022fa8 EB |
6587 | 2009-04-20 Eric Botcazou <ebotcazou@adacore.com> |
6588 | ||
6589 | * gcc-interface/ada-tree.h (DECL_HAS_REP_P): Delete. | |
6590 | * gcc-interface/decl.c (gnat_to_gnu_entity): Add support for extension | |
6591 | of types with unknown discriminants. | |
6592 | (substitute_in_type): Rewrite and restrict to formal substitutions. | |
6593 | * gcc-interface/utils.c (create_field_decl): Do not set DECL_HAS_REP_P. | |
6594 | (update_pointer_to): Update comment. | |
6595 | ||
e69614ad AC |
6596 | 2009-04-20 Ed Schonberg <schonberg@adacore.com> |
6597 | ||
6598 | * sem_ch8.adb (Use_One_Package): In an instance, if two | |
6599 | potentially_use_visible and non-overloadable homonyms are available | |
6600 | from the actuals of distinct formal packages, retain the current one, | |
6601 | which was visible in the generic, to prevent spurious visibility | |
6602 | errors. | |
6603 | (End_Use_Package): Restore use_visibility when needed. | |
6604 | ||
6605 | 2009-04-20 Sergey Rybin <rybin@adacore.com> | |
6606 | ||
6607 | * gnat_ugn.texi, vms_data.ads: Update doc. | |
6608 | ||
32838704 AC |
6609 | 2009-04-20 Arnaud Charlet <charlet@adacore.com> |
6610 | ||
6611 | * gcc-interface/Make-lang.in: Update dependencies | |
6612 | ||
6613 | * gcc-interface/Makefile.in: Link run-time against winsock2 lib under | |
6614 | Windows. | |
6615 | ||
37951d8e AC |
6616 | 2009-04-20 Robert Dewar <dewar@adacore.com> |
6617 | ||
6618 | * checks.ads: Fix documentation of range check handling | |
6619 | ||
6620 | 2009-04-20 Ed Schonberg <schonberg@adacore.com> | |
6621 | ||
6622 | * sem_ch8.adb (Use_One_Type): Use proper entity on warning message for | |
6623 | a redundant use_type clause. | |
6624 | ||
5d5832bc AC |
6625 | 2009-04-20 Robert Dewar <dewar@adacore.com> |
6626 | ||
6627 | * sem_attr.adb (Eval_Attribute, case Length): Catch more cases where | |
6628 | this attribute can be evaluated at compile time. | |
6629 | (Eval_Attribute, case Range_Length): Same improvement | |
6630 | ||
6631 | * sem_eval.ads, sem_eval.adb (Compile_Time_Compare): New procedure | |
6632 | ||
6633 | 2009-04-20 Ed Schonberg <schonberg@adacore.com> | |
6634 | ||
6635 | * sem_ch6.adb (Analye_Subprogram_Declaration): Code reorganization, | |
6636 | for better handling of null procedures. | |
6637 | (Check_Overriding_Indicator): Do not emit a warning on a missing | |
6638 | overriding indicator on an operator when the type of which the operator | |
6639 | is a primitive is private. | |
6640 | ||
97a8fb16 AC |
6641 | 2009-04-20 Bob Duff <duff@adacore.com> |
6642 | ||
6643 | * sem.adb, gnat1drv.adb, debug.adb: Use the -gnatd.W switch to control | |
6644 | debugging output. | |
6645 | ||
6646 | 2009-04-20 Robert Dewar <dewar@adacore.com> | |
6647 | ||
6648 | * sem_attr.adb: Minor reformatting | |
6649 | ||
6650 | * gnatcmd.adb: Minor reformatting | |
6651 | ||
7340e432 AC |
6652 | 2009-04-20 Ed Schonberg <schonberg@adacore.com> |
6653 | ||
6654 | * sem_ch4.adb (Analyze_User_Defined_Binary_Op): If left operand is | |
6655 | overloaded and one interpretation matches the context, label the | |
6656 | operand with the type of first formal. | |
6657 | ||
6658 | 2009-04-20 Bob Duff <duff@adacore.com> | |
6659 | ||
6660 | * debug.ads: Minor comment fix. | |
6661 | ||
6662 | * debug.adb: Minor comment fixes. | |
6663 | ||
6664 | 2009-04-20 Javier Miranda <miranda@adacore.com> | |
6665 | ||
6666 | * rtsfind.ads (RE_Null_Id): New entity of package Ada.Exceptions | |
6667 | ||
6668 | * exp_ch6.adb (Expand_Inlined_Call): Undo previous patch. | |
6669 | ||
6670 | * exp_ch11.adb (Expand_N_Raise_Statement): When the raise stmt | |
6671 | is expanded into a call to Raise_Exception, avoid passing the | |
6672 | exception-name'identity in runtimes in which this argument | |
6673 | is not used. | |
6674 | ||
bf06d37f AC |
6675 | 2009-04-20 Jerome Lambourg <lambourg@adacore.com> |
6676 | ||
6677 | * impunit.adb: Add i-cil and i-cilobj packages, now needed by the | |
6678 | generated bindings for cil. | |
6679 | ||
6680 | 2009-04-20 Ed Schonberg <schonberg@adacore.com> | |
6681 | ||
6682 | * sem_aggr.adb (Resolve_Record_Aggregate): If the type has unknown | |
6683 | discriminants, collect components from the Underlying_Record_View, | |
6684 | which will be used in the expansion of the aggregate into assignments. | |
6685 | ||
6686 | * sem_ch3.adb: Do not label derived type with unknown discriminants as | |
6687 | having a private declaration. | |
6688 | ||
58a9d876 AC |
6689 | 2009-04-20 Ed Schonberg <schonberg@adacore.com> |
6690 | ||
6691 | * exp_util.adb (Expand_Subtype_From_Expr): use the | |
6692 | underlying_record_view when available, to create the proper constrained | |
6693 | subtype for an object of a derived type with unknown discriminants. | |
6694 | ||
6695 | 2009-04-20 Javier Miranda <miranda@adacore.com> | |
6696 | ||
6697 | * exp_ch6.adb (Expand_Inlined_Call): Avoid generation of temporaries for | |
6698 | formals that have pragma unreferenced. | |
6699 | ||
e34ca162 AC |
6700 | 2009-04-20 Pascal Obry <obry@adacore.com> |
6701 | ||
6702 | * a-direct.adb (To_Lower_If_Case_Insensitive): Removed. | |
6703 | Remove all calls to To_Lower_If_Case_Insensitive to preserve | |
6704 | the pathname original casing. | |
6705 | ||
6706 | 2009-04-20 Robert Dewar <dewar@adacore.com> | |
6707 | ||
6708 | * g-trasym.adb: Minor reformatting | |
6709 | ||
6710 | * s-os_lib.adb: Minor reformatting | |
6711 | ||
6712 | * sem.adb: Minor reformatting | |
6713 | Minor code reorganization | |
6714 | ||
6715 | * sem_ch3.adb: Minor reformatting | |
6716 | ||
6717 | * sem_ch4.adb: Minor reformatting | |
6718 | ||
6719 | * sem_ch8.adb: Minor reformatting | |
6720 | ||
6721 | * sem_type.adb: Minor reformatting | |
6722 | ||
ee9aa7b6 AC |
6723 | 2009-04-20 Javier Miranda <miranda@adacore.com> |
6724 | ||
6725 | * sem_disp.adb (Find_Dispatching_Type): For subprograms internally | |
6726 | generated by derivations of tagged types use the aliased subprogram a | |
6727 | reference to locate their controlling type. | |
6728 | ||
6729 | 2009-04-20 Tristan Gingold <gingold@adacore.com> | |
6730 | ||
6731 | * g-trasym.adb: Set size of result buffer before calling | |
6732 | convert_address. | |
6733 | ||
6734 | 2009-04-20 Ed Schonberg <schonberg@adacore.com> | |
6735 | ||
6736 | * sem_ch4.adb (Valid_Candidate): When checking whether a prefixed call | |
6737 | to a function returning an array can be interpreted as a call with | |
6738 | defaulted parameters whose result is indexed, take into account the | |
6739 | types of all the indices of the array result type. | |
6740 | ||
6741 | 2009-04-20 Pascal Obry <obry@adacore.com> | |
6742 | ||
6743 | * a-direct.adb, s-os_lib.adb: Minor reformatting. | |
6744 | ||
bddd6058 AC |
6745 | 2009-04-20 Ed Schonberg <schonberg@adacore.com> |
6746 | ||
6747 | * sem_ch8.adb (Analyze_Object_Renaming): Proper checks on incorrect | |
6748 | null exclusion qualifiers for object renaming declarations. | |
6749 | ||
6750 | 2009-04-20 Nicolas Roche <roche@adacore.com> | |
6751 | ||
6752 | * sysdep.c (__gnat_localtime_tzoff): on Windows, manipulated times are | |
6753 | unsigned long long. So compare local_time and utc_time before computing | |
6754 | the difference. | |
6755 | ||
6756 | 2009-04-20 Eric Botcazou <ebotcazou@adacore.com> | |
6757 | ||
6758 | * sem_ch3.adb (Build_Derived_Private_Type): Insert the declaration | |
6759 | of the Underlying_Record_View before that of the derived type. | |
6760 | ||
6761 | * exp_ch3.adb (Expand_Record_Extension): Do not special-case types | |
6762 | with unknown discriminants with regard to the parent subtype. | |
6763 | ||
4f18d860 BD |
6764 | 2009-04-20 Bob Duff <duff@adacore.com> |
6765 | ||
6766 | * sem.adb (Semantics, Walk_Library_Items): Include dependents of bodies | |
6767 | that are not included. This is necessary if the main unit is a generic | |
6768 | instantiation. | |
6769 | ||
6770 | * gnat1drv.adb (Gnat1drv): Comment out the call to Check_Library_Items, | |
6771 | because it doesn't work if -gnatn is used. | |
6772 | ||
5987e59c AC |
6773 | 2009-04-20 Ed Schonberg <schonberg@adacore.com> |
6774 | ||
6775 | * rtsfind.adb (RTE, RTE_Record_Component): In | |
6776 | Configurable_Run_Time_Mode, do not enable front-end inlining. | |
6777 | ||
6778 | 2009-04-20 Thomas Quinot <quinot@adacore.com> | |
6779 | ||
6780 | * g-socthi-vms.adb: Remove now unnecessary WITH clause on | |
6781 | System.Address_To_Access_Conversions. | |
6782 | ||
6783 | 2009-04-20 Ed Schonberg <schonberg@adacore.com> | |
6784 | ||
6785 | * sem.adb: Guard against ill-formed subunits. | |
6786 | ||
6787 | 2009-04-20 Bob Duff <duff@adacore.com> | |
6788 | ||
6789 | * output.adb (Flush_Buffer): Do not indent blank lines. | |
6790 | (Ignore_Output): New procedure for output suppression. | |
6791 | ||
6792 | 2009-04-20 Hristian Kirtchev <kirtchev@adacore.com> | |
6793 | ||
6794 | * a-calfor.adb (Image): Subtract 0.5 from the sub second component only | |
6795 | when it is positive. This avoids a potential constraint error raised | |
6796 | by the conversion to Natural. | |
6797 | ||
6798 | 2009-04-20 Gary Dismukes <dismukes@adacore.com> | |
6799 | ||
6800 | * exp_ch5.adb (Expand_Assign_Array): For the case where the assignment | |
6801 | involves a target that has a specified address, don't set Forward_OK | |
6802 | and Backward_OK to False if the rhs is an aggregate, since overlap | |
6803 | can't occur. | |
6804 | ||
6805 | 2009-04-20 Ed Schonberg <schonberg@adacore.com> | |
6806 | ||
451800a0 | 6807 | * sem_ch8.adb (Analyze_Object_Renaming): Reject ambiguous expressions |
5987e59c AC |
6808 | in an object renaming declaration when the expected type is an |
6809 | anonymous access type. | |
6810 | ||
6811 | * sem_type.adb (Disambiguate): Use anonymousness to resolve a potential | |
6812 | ambiguity when one interpretation is an anonymous access type and the | |
6813 | other is a named access type, and the context itself is anonymous | |
6814 | ||
6815 | 2009-04-20 Thomas Quinot <quinot@adacore.com> | |
6816 | ||
6817 | * einfo.ads: Minor comment rewording | |
6818 | ||
6819 | * sem_aggr.adb: Minor comment rewording | |
6820 | ||
6821 | * sem_ch3.adb, sem_ch6.adb: Minor reformatting | |
6822 | ||
6823 | 2009-04-20 Pascal Obry <obry@adacore.com> | |
6824 | ||
6825 | * adaint.c (__gnat_is_readable_file): Check for file existence | |
6826 | when not using ACL (always the case on remote drives). | |
6827 | ||
8737a29a AC |
6828 | 2009-04-20 Robert Dewar <dewar@adacore.com> |
6829 | ||
6830 | * sinfo.ads: Minor comment fixes | |
6831 | ||
6832 | * exp_disp.adb: Minor reformatting | |
6833 | ||
6834 | * gnat1drv.adb: Minor reformatting | |
6835 | ||
6836 | * output.adb: Minor reformatting | |
6837 | ||
6838 | * s-vxwext-kernel.ads: Minor reformatting | |
6839 | ||
6840 | * sem.ads: Minor reformatting | |
6841 | ||
6842 | * sem.adb: Minor reformatting | |
6843 | ||
6844 | * sem_elim.adb: Minor reformatting | |
6845 | ||
6846 | * uname.ads: Minor reformatting | |
6847 | ||
6848 | 2009-04-20 Eric Botcazou <ebotcazou@adacore.com> | |
6849 | ||
6850 | * init.c (__gnat_adjust_context_for_raise): On x86{-64}/Linux, add | |
6851 | a small dope of 4 words to the adjustment to the stack pointer. | |
6852 | ||
6853 | 2009-04-20 Thomas Quinot <quinot@adacore.com> | |
6854 | ||
6855 | * xoscons.adb: generate C header s-oscons.h in | |
6856 | addition to s-oscons.ads. | |
6857 | ||
6858 | * socket.c: On VMS, use s-oscons.h. | |
6859 | ||
6860 | * sem_ch3.adb: Minor reformatting | |
6861 | ||
6862 | * exp_ch9.adb: Minor reformatting | |
6863 | ||
85087bcb EB |
6864 | 2009-04-20 Eric Botcazou <ebotcazou@adacore.com> |
6865 | ||
6866 | * gcc-interface/trans.c (check_for_eliminated_entity): Remove. | |
6867 | (Attribute_to_gnu): Do not call check_for_eliminated_entity. | |
6868 | (call_to_gnu): Likewise. | |
6869 | ||
ecc3905a EB |
6870 | 2009-04-20 Eric Botcazou <ebotcazou@adacore.com> |
6871 | ||
6872 | * gcc-interface/trans.c (gigi): Declare the name of the compilation | |
6873 | unit as the first global name at the very beginning. | |
6874 | ||
2907036d TQ |
6875 | 2009-04-20 Thomas Quinot <quinot@adacore.com> |
6876 | ||
6877 | * socket.c, g-socthi-vms.adb, g-socthi-vms.ads, g-socthi-vxworks.ads, | |
6878 | s-oscons-tmplt.c, gsocket.h, g-socthi-mingw.ads, g-socthi.ads, | |
6879 | g-sothco.ads (__gnat_inet_pton): Needs to be enabled for HP-UX as well, | |
6880 | since HP-UX supports neither inet_aton nor inet_pton (altough the | |
6881 | latter is part of the Single UNIX Specification!). | |
6882 | So reorganize code, and share C implementation based on inet_addr(3) | |
6883 | with VMS (instead of having a VMS specific Ada implementation in | |
6884 | g-socthi-vms.adb). | |
6885 | ||
d5063351 AC |
6886 | 2009-04-20 Gary Dismukes <dismukes@adacore.com> |
6887 | ||
6888 | * osint-c.ads, osint-c.adb (Get_Object_Output_File_Name): New function | |
6889 | to return the object file name saved by Set_Object_Output_File_Name. | |
6890 | ||
6891 | 2009-04-20 Emmanuel Briot <briot@adacore.com> | |
6892 | ||
6893 | * g-comlin.adb (Initialize_Option_Scan): Fix initialization of parsers | |
6894 | for the standard command line, when argc has been modified since the | |
6895 | start of the application. | |
6896 | ||
6897 | 2009-04-20 Thomas Quinot <quinot@adacore.com> | |
6898 | ||
6899 | * socket.c (__gnat_inet_pton, Windows case): Adjust return value. | |
6900 | WSAStringToAddress returns 0 for success and SOCKET_ERROR for failure. | |
6901 | ||
3edf2f76 AC |
6902 | 2009-04-20 Bob Duff <duff@adacore.com> |
6903 | ||
6904 | * gnat1drv.adb (Gnat1drv): Put call to Check_Library_Items inside | |
6905 | pragma Debug. | |
6906 | ||
6907 | 2009-04-20 Ed Schonberg <schonberg@adacore.com> | |
6908 | ||
6909 | * exp_ch9.adb (Build_Protected_Sub_Specification): Mark generated | |
6910 | subprogram as Eliminated when source operation is. | |
6911 | (Expand_N_Protected_Type_Declaration): Generate protected and | |
6912 | unprotected specs for the internal operations, even if the source | |
6913 | operation is eliminated. | |
6914 | ||
6915 | 2009-04-20 Hristian Kirtchev <kirtchev@adacore.com> | |
6916 | ||
6917 | * exp_ch3.adb (Make_Predefined_Primitive_Specs, | |
6918 | Predefined_Primitive_Bodies): Do not create the declarations and bodies | |
6919 | of the primitive subprograms associated with dispatching select | |
6920 | statements when the runtime is in configurable mode. | |
6921 | ||
6922 | 2009-04-20 Ed Falis <falis@adacore.com> | |
6923 | ||
6924 | * s-vxwext-kernel.ads (tickGet): Use tick64Get. | |
6925 | ||
4fd1e8b0 AC |
6926 | 2009-04-20 Thomas Quinot <quinot@adacore.com> |
6927 | ||
6928 | * s-oscons-tmplt.c: Add support for generating a dummy version of | |
6929 | s-oscons.ads providing all possible constants. | |
6930 | ||
6931 | * g-socthi-mingw.ads: Fix calling convention for __gnat_inet_pton. | |
6932 | ||
6933 | * socket.c (__gnat_inet_pton): On Windows make sure we always use the | |
6934 | ANSI version (not the UNICODE version) of WSAStringToAddress. | |
6935 | ||
6936 | 2009-04-20 Pascal Obry <obry@adacore.com> | |
6937 | ||
6938 | * adaint.c (__gnat_set_OWNER_ACL): properly free memory | |
6939 | allocated for the security descriptor and make sure all | |
6940 | handles are closed before leaving this procedure. | |
6941 | ||
9013065b AC |
6942 | 2009-04-20 Javier Miranda <miranda@adacore.com> |
6943 | ||
6944 | * einfo.ads, einfo.adb (Is_Underlying_Record_View): New subprogram | |
6945 | (Set_Is_Underlying_Record_View): New subprogram | |
6946 | ||
6947 | * sem_aggr.adb (Discr_Present, Resolve_Record_Aggregate): In case of | |
6948 | private types with unknown discriminants use the underlying record view | |
6949 | if available. | |
6950 | ||
6951 | * sem_ch3.adb (Build_Derived_Private_Type): Enable construction of the | |
6952 | underlying record view in the full view of private types whose parent | |
6953 | has unknown discriminants. | |
6954 | (Build_Derived_Record_Type): Avoid generating the class-wide entity | |
6955 | associated with an underlying record view. | |
6956 | (Derived_Type_Declaration): Avoid deriving parent primitives in | |
6957 | underlying record views. | |
6958 | ||
6959 | * sem_ch6.adb (Check_Return_Subtype_Indication): Add support for | |
6960 | records with unknown discriminants. | |
6961 | ||
6962 | * sem_type.adb (Covers): Handle underlying record views. | |
6963 | (Is_Ancestor): Add support for underlying record views. | |
6964 | ||
6965 | * exp_attr.adb (Expand_Attribute): Expand attribute 'size into a | |
6966 | dispatching call if the type of the target object is tagged and has | |
6967 | unknown discriminants. | |
6968 | ||
6969 | * exp_aggr.adb (Resolve_Record_Aggregate): Add support for records with | |
6970 | unknown discriminants. | |
6971 | ||
6972 | * exp_disp.adb (Build_Dispatch_Tables): Avoid generating dispatch | |
6973 | tables for internally built underlying record views. | |
6974 | ||
6975 | * sprint.adb (sprint_node_actual): Improve output of aggregates with an | |
6976 | empty list of component associations. | |
6977 | ||
6978 | 2009-04-20 Thomas Quinot <quinot@adacore.com> | |
6979 | ||
6980 | * sem_ch10.adb: Minor reformatting | |
6981 | ||
6982 | * socket.c, g-socthi-vms.adb, g-socthi-vms.ads, g-socthi-vxworks.ads, | |
6983 | g-socthi-mingw.ads, g-socthi.ads, g-socket.adb | |
6984 | (GNAT.Sockets.Inet_Addr): Do not use non-portable inet_aton, instead use | |
6985 | standard inet_pton API (and emulate it on platforms that do not | |
6986 | support it). | |
6987 | (GNAT.Sockets.Thin.Inet_Pton, VMS case): Implement in terms of | |
6988 | DECC$INET_ADDR, imported in Ada. | |
6989 | (GNAT.Sockets.Thin.Inet_Pton, VxWorks and Windows cases): Use C | |
6990 | implementation provided by GNAT runtime. | |
6991 | (__gnat_inet_pton): C implementation of inet_pton(3) for VxWorks and | |
6992 | Windows. | |
6993 | ||
7289b80c AC |
6994 | 2009-04-20 Eric Botcazou <ebotcazou@adacore.com> |
6995 | ||
6996 | * gnat_ugn.texi: Add documentation for -fno-ivopts. | |
6997 | ||
6998 | 2009-04-20 Ed Schonberg <schonberg@adacore.com> | |
6999 | ||
7000 | * sem_ch10.adb (Analyze_Context): Do not analyze a unit in a | |
7001 | with_clause if it is the main unit. | |
7002 | ||
c09a557e AC |
7003 | 2009-04-20 Thomas Quinot <quinot@adacore.com> |
7004 | ||
7005 | * sem_type.adb, ali.adb, erroutc.adb: Minor code reorganization | |
7006 | (no behaviour change): Use Append instead of Increment_Last followed | |
7007 | by assignment. | |
7008 | ||
7009 | 2009-04-20 Hristian Kirtchev <kirtchev@adacore.com> | |
7010 | ||
7011 | * exp_ch3.adb (Make_Predefined_Primitive_Specs): Do not generate the | |
7012 | declarations of all primitives associated with dispatching asynchronous, | |
7013 | conditional and timed selects when dispaching calls are forbidden and | |
7014 | select statements are not allowed (such as in Ravenscar). | |
7015 | (Predefined_Primitive_Bodies): Ditto for bodies. | |
7016 | ||
7017 | * exp_disp.ad (Make_DT): Do not create and populate the | |
7018 | Select_Specific_Data of the dispatch table when dispatching calls are | |
7019 | forbidden and select statements are not allowed (such as in Ravenscar). | |
7020 | ||
7021 | 2009-04-20 Robert Dewar <dewar@adacore.com> | |
7022 | ||
7023 | * a-tifiio.adb: Minor reformatting | |
7024 | ||
7025 | 2009-04-20 Thomas Quinot <quinot@adacore.com> | |
7026 | ||
7027 | * g-socthi-vms.adb, g-socket.adb, g-socket.ads: inet_aton(3), unlike | |
7028 | other C library functions, report *failure* with a zero status, and | |
7029 | success with a non-zero status. | |
7030 | ||
7031 | 2009-04-20 Bob Duff <duff@adacore.com> | |
7032 | ||
7033 | * sem.ads, sem.adb (Walk_Library_Items): New generic procedure. | |
7034 | (Semantics): After analyzing each unit, Append it to the | |
7035 | Comp_Unit_List, if appropriate. | |
7036 | ||
7037 | * gnat1drv.adb (Check_Library_Items): New procedure for debugging | |
7038 | purposes. | |
7039 | (Gnat1drv): Correct comment regarding Back_End_Mode. | |
7040 | ||
7041 | 2009-04-20 Eric Botcazou <ebotcazou@adacore.com> | |
7042 | ||
7043 | * gnat_ugn.texi: Add documentation for -fno-inline-small-functions. | |
7044 | ||
7e728b0f TQ |
7045 | 2009-04-20 Thomas Quinot <quinot@adacore.com> |
7046 | ||
7047 | * s-taprop-irix.adb, s-taprop-tru64.adb, s-taprop-vms.adb, | |
7048 | output.adb, output.ads, s-taprop-hpux-dce.adb, | |
7049 | s-taprop-linux.adb, s-taprop-solaris.adb, s-taprop-posix.adb: Minor | |
7050 | reformatting. | |
7051 | ||
5e39baa6 TQ |
7052 | 2009-04-20 Thomas Quinot <quinot@adacore.com> |
7053 | ||
7054 | * g-socket.adb, g-socket.ads, g-socthi-mingw.ads, g-socthi-vms.adb, | |
7055 | g-socthi-vms.ads, g-socthi-vxworks.ads, g-socthi.ads | |
7056 | (GNAT.Sockets.Thin.C_Inet_Addr): Remove. | |
7057 | (GNAT.Sockets.Thin.Inet_Aton): New function, imported from C library | |
7058 | except for VMS where it is reimplemented in Ada using DECC$INET_ADDR. | |
7059 | (GNAT.Sockets.Inet_Addr): Use inet_aton(3) instead of inet_addr(3). | |
7060 | ||
7061 | * debug.adb: Fix typo | |
7062 | ||
7063 | * gnat_rm.texi: Minor doc fix. | |
7064 | ||
7065 | * sem_ch7.adb, freeze.adb: Minor reformatting | |
7066 | ||
3568b271 AC |
7067 | 2009-04-20 Thomas Quinot <quinot@adacore.com> |
7068 | ||
7069 | * g-socket.ads: Add new constants: | |
7070 | Loopback_Inet_Addr | |
7071 | Unspecified_Group_Inet_Addr | |
7072 | All_Hosts_Group_Inet_Addr | |
7073 | All_Routers_Group_Inet_Addr | |
7074 | ||
7075 | * s-oscons-tmplt.c, g-sttsne-vxworks.adb (System.OS_Constants): Add | |
7076 | ERANGE (Result too large). | |
7077 | (GNAT.Sockets.Thin.Task_Safe_NetDB, VxWorks version): Add missing | |
7078 | propagation of errno to caller. | |
7079 | ||
7080 | 2009-04-20 Hristian Kirtchev <kirtchev@adacore.com> | |
7081 | ||
7082 | * a-calend.adb, a-calend-vms.adb: Increase the number of leap seconds | |
7083 | to 24. Increment Leap_Seconds_Count and add an entry to aggregate | |
7084 | Leap_Second_Times. | |
7085 | ||
7086 | 2009-04-20 Gary Dismukes <dismukes@adacore.com> | |
7087 | ||
7088 | * sem_elim.ads (Check_For_Eliminated_Subprogram): New procedure for | |
7089 | checking for references to eliminated subprograms that should be | |
7090 | flagged. | |
7091 | (Eliminate_Error_Message): Update comment to say "references" rather | |
7092 | than "calls" (since attribute cases are handled here as well). | |
7093 | ||
7094 | * sem_elim.adb (Check_For_Eliminated_Subprogram): New procedure for | |
7095 | checking for references to eliminated subprograms that should be | |
7096 | flagged. Add with and use of Sem and Sem_Util. | |
7097 | ||
7098 | * sem_res.adb (Resolve_Call): Reject calls to eliminated subprograms. | |
7099 | Add with and use of Sem_Elim. | |
7100 | ||
7101 | * sem_attr.adb (Analyze_Access_Attribute): Reject access attributes | |
7102 | applied to eliminated subprograms. | |
7103 | (Analyze_Attribute): Reject 'Address and 'Code_Address applied to | |
7104 | eliminated subprograms. | |
7105 | Add with and use of Sem_Elim. | |
7106 | ||
7107 | * sem_disp.adb (Check_Dispatching_Call): Remove error check for calls | |
7108 | to eliminated subprograms, now handled during Resolve_Call. | |
7109 | Remove with and use of Sem_Elim. | |
7110 | ||
7111 | * exp_disp.adb (Make_DT): Get Ultimate_Alias of primitive before | |
7112 | testing Is_Eliminated, for proper handling of primitive derived from | |
7113 | eliminated subprograms. | |
7114 | ||
7115 | 2009-04-20 Vincent Celier <celier@adacore.com> | |
7116 | ||
7117 | * mlib-prj.adb (Build_Library): Use the shared library linker, if one | |
7118 | has been declared (Library_GCC or Linker'Driver), for the driver name. | |
7119 | ||
7120 | * prj-nmsc.adb (Process_Linker): If Library_GCC is not declared and | |
7121 | Linker'Driver is, use Linker'Driver as the shared library linker. | |
7122 | (Process_Project_Level_Simple_Attributes): Issue a warning if attribute | |
7123 | Library_GCC is declared. | |
7124 | (Check_Library_Attributes): Set up the shared linker driver: either | |
7125 | Library_GCC or Linker'Driver. Issue a warning if Library_GCC is | |
7126 | declared. | |
7127 | ||
6e55ac7a TQ |
7128 | 2009-04-20 Thomas Quinot <quinot@adacore.com> |
7129 | ||
7130 | * g-socket.ads (Send_Socket): Fix misleading comment. | |
7131 | ||
68218f7c AC |
7132 | 2009-04-20 Arnaud Charlet <charlet@adacore.com> |
7133 | ||
7134 | * switch-c.adb (Scan_Front_End_Switches): Disable inspector mode in | |
7135 | ASIS mode. | |
7136 | ||
7137 | 2009-04-20 Geert Bosch <bosch@adacore.com> | |
7138 | ||
7139 | * a-tifiio.adb (Put): Avoid generating too many digits for certain | |
7140 | fixed types with smalls that are neither integer or the reciprocal | |
7141 | of an integer. | |
7142 | ||
7143 | 2009-04-20 Bob Duff <duff@adacore.com> | |
7144 | ||
7145 | * uname.ads: Minor comment fix. | |
7146 | ||
7147 | * types.ads: Minor comment fix. | |
7148 | ||
262991d8 PO |
7149 | 2009-04-20 Pascal Obry <obry@adacore.com> |
7150 | ||
7151 | * adaint.c (__gnat_get_libraries_from_registry): Fix code to | |
7152 | avoid warning. At the same time fix a memory leak. | |
7153 | ||
7154 | * osint.adb (Get_Libraries_From_Registry): Properly free memory | |
7155 | returned by the above routine. | |
7156 | ||
d0f8d157 AC |
7157 | 2009-04-20 Robert Dewar <dewar@adacore.com> |
7158 | ||
7159 | * s-conca5.adb, s-conca5.ads, s-conca7.adb, s-conca7.ads, s-conca9.adb, | |
7160 | s-conca9.ads, rtsfind.ads, s-conca2.adb, s-conca2.ads, s-conca4.adb, | |
7161 | s-conca4.ads, s-conca6.adb, s-conca6.ads, s-conca8.adb, s-conca8.ads, | |
7162 | s-conca3.adb, s-conca3.ads (Str_Concat_Bounds_x): New functions. | |
7163 | ||
7164 | * exp_ch4.adb (Expand_Concatenate): Minor code reorganization | |
7165 | ||
7166 | 2009-04-20 Pascal Obry <obry@adacore.com> | |
7167 | ||
7168 | * initialize.c (__gnat_initialize): Add braces to kill warning. | |
7169 | ||
262991d8 | 7170 | * adaint.c: Minor reformatting, remove trailing spaces. |
d0f8d157 | 7171 | |
34c25b32 AC |
7172 | 2009-04-17 Arnaud Charlet <charlet@adacore.com> |
7173 | ||
7174 | * gcc-interface/Make-lang.in: Update dependencies. | |
7175 | ||
9549767b AC |
7176 | 2009-04-20 Eric Botcazou <ebotcazou@adacore.com> |
7177 | ||
7178 | * adaint.h (__gnat_lwp_self): Declare on Linux. | |
7179 | ||
7180 | * adaint.c (__gnat_os_filename): Add ATTRIBUTE_UNUSED on 'filename'. | |
7181 | ||
7182 | 2009-04-20 Robert Dewar <dewar@adacore.com> | |
7183 | ||
7184 | * exp_ch5.adb, usage.adb, back_end.adb, opt.ads: Implement | |
7185 | front-end part of -fpreserve-control-flow switch. | |
7186 | ||
d7f94401 AC |
7187 | 2009-04-20 Bob Duff <duff@adacore.com> |
7188 | ||
7189 | * rtsfind.adb: Minor comment fix | |
7190 | ||
7191 | 2009-04-20 Robert Dewar <dewar@adacore.com> | |
7192 | ||
7193 | * exp_aggr.adb: Minor reformatting | |
7194 | Minor code reorganization (use Nkind_In) | |
7195 | ||
7196 | * g-socket.adb: Minor reformatting | |
7197 | ||
7198 | * g-socket.ads: Minor comment fix | |
7199 | ||
7200 | * s-auxdec.ads: Minor comment and organization update. | |
7201 | ||
7202 | * s-auxdec-vms_64.ads: Minor comment and organization update. | |
7203 | ||
7204 | * sem_ch10.adb: Minor addition of ??? comment | |
7205 | ||
7206 | * sem_disp.adb: Minor reformatting | |
7207 | ||
f8b86c2d AC |
7208 | 2009-04-20 Ed Schonberg <schonberg@adacore.com> |
7209 | ||
7210 | * inline.adb (Add_Inlined_Subprogram): Do not place on the back-end | |
7211 | list a caller of an inlined subprogram, if the caller itself is not | |
7212 | called. | |
7213 | ||
7214 | 2009-04-20 Pascal Obry <obry@adacore.com> | |
7215 | ||
7216 | * adaint.c: Disable use of ACL on network drives. | |
7217 | ||
7218 | 2009-04-20 Arnaud Charlet <charlet@adacore.com> | |
7219 | ||
7220 | * gnat_ugn.texi: Add examples. | |
7221 | ||
efec4f2a TQ |
7222 | 2009-04-20 Thomas Quinot <quinot@adacore.com> |
7223 | ||
7224 | * g-socket.ads (Abort_Selector): Clarify documentation. | |
7225 | ||
ff2e7c1e AC |
7226 | 2009-04-20 Arnaud Charlet <charlet@adacore.com> |
7227 | ||
7228 | * opt.ads (Inspector_Mode): Update documentation of this flag. | |
7229 | ||
7230 | 2009-04-20 Thomas Quinot <quinot@adacore.com> | |
7231 | ||
7232 | * g-socket.ads: Minor reformatting | |
7233 | ||
7234 | * socket.c, gsocket.h (__gnat_get_h_errno, VxWorks case): No need to | |
7235 | consider S_resolvLib error codes since we only use the hostLib wrappers. | |
7236 | ||
7237 | 2009-04-20 Eric Botcazou <ebotcazou@adacore.com> | |
7238 | ||
7239 | * sem_ch3.adb (Build_Derived_Private_Type): Insert the declaration | |
7240 | of the Underlying_Record_View after that of the derived type. | |
7241 | ||
26a43556 AC |
7242 | 2009-04-20 Arnaud Charlet <charlet@adacore.com> |
7243 | ||
7244 | * switch-c.adb (Scan_Front_End_Switches): Disable front-end inlining | |
7245 | in inspector mode. | |
7246 | ||
7247 | 2009-04-20 Javier Miranda <miranda@adacore.com> | |
7248 | ||
7249 | * sem_ch6.adb (New_Overloaded_Entity): Minor reformating. | |
7250 | ||
7251 | * sem_ch6.ads (Subtype_Conformant, Type_Conformant): Add missing | |
7252 | documentation. | |
7253 | ||
7254 | * exp_aggr.adb (Build_Record_Aggr_Code): Code cleanup. | |
7255 | ||
7256 | * sem_disp.adb | |
7257 | (Check_Dispatching_Operation): Set attribute Is_Dispatching_Operation | |
7258 | in internally built overriding subprograms. | |
7259 | ||
7260 | 2009-04-20 Doug Rupp <rupp@adacore.com> | |
7261 | ||
7262 | * s-auxdec-vms_64.ads (Integer_{8,16,32,64}_Array): New array types. | |
7263 | ||
7264 | * s-auxdec.ads: Likewise | |
7265 | ||
7266 | 2009-04-20 Ed Schonberg <schonberg@adacore.com> | |
7267 | ||
7268 | * sem_ch3.adb (Find_Type_Name): Reject the completion of a private | |
7269 | type by an interface. | |
7270 | ||
7271 | * exp_ch6.adb (Expand_Call): Inline To_Address unconditionally, to | |
7272 | minimze difference in expanded tree when compiled as spec of the main | |
7273 | unit, or as a spec in the context of another unit. | |
7274 | ||
3f25c54d AC |
7275 | 2009-04-20 Hristian Kirtchev <kirtchev@adacore.com> |
7276 | ||
7277 | * a-calend.adb: Remove types char_Pointer, int, tm and tm_Pointer. | |
7278 | (localtime_tzoff): This routine no longer accepts an actual of type | |
7279 | tm_Pointer. | |
7280 | (UTC_Time_Offset): Remove local variable Secs_TM. | |
7281 | ||
7282 | * sysdep.c (__gnat_localtime_tzoff): This routine no longer accepts an | |
7283 | actual of type struct tm*. Add local variable of type struct tm for all | |
7284 | targets that provide localtime_r and need to invoke it. | |
7285 | ||
7286 | 2009-04-20 Thomas Quinot <quinot@adacore.com> | |
7287 | ||
7288 | * s-oscons-tmplt.c, g-socket.adb, g-socket.ads | |
7289 | (GNAT.Sockets.Resolve_Error): Add case of EPIPE | |
7290 | Add case of EAGAIN for platforms where it is not equal to EWOULDBLOCK | |
7291 | ||
8dbf3473 AC |
7292 | 2009-04-20 Robert Dewar <dewar@adacore.com> |
7293 | ||
7294 | * sem_ch3.adb: Minor reformatting | |
7295 | ||
7296 | * lib-load.adb: Minor reformatting | |
7297 | ||
7298 | * sem_ch4.adb: Minor reformatting | |
7299 | ||
7300 | 2009-04-20 Robert Dewar <dewar@adacore.com> | |
7301 | ||
7302 | * namet-sp.ads, namet-sp.adb (Is_Bad_Spelling_Of): Implement new spec | |
7303 | (equal values => False). | |
7304 | ||
7305 | 2009-04-20 Ed Schonberg <schonberg@adacore.com> | |
7306 | ||
7307 | * exp_ch6.adb (Is_Null_Procedure): predicate is global, so that calls | |
7308 | to null procedures can be inlined unconditionally. | |
7309 | ||
56fe7b05 EB |
7310 | 2009-04-20 Eric Botcazou <ebotcazou@adacore.com> |
7311 | ||
7312 | * gcc-interface/trans.c (call_to_gnu): When creating the copy for a | |
7313 | non-addressable parameter passed by reference, do not convert the | |
7314 | actual if its type is already the nominal type, unless it is of | |
7315 | self-referential size. | |
7316 | ||
9fcf2a0b AC |
7317 | 2009-04-20 Arnaud Charlet <charlet@adacore.com> |
7318 | ||
7319 | * gnat_ugn.texi: Fix typos. | |
7320 | ||
7321 | 2009-04-20 Robert Dewar <dewar@adacore.com> | |
7322 | ||
7323 | * debug.adb, gnat1drv.adb, sem_ch13.adb: Add circuitry to | |
7324 | Validate_Unchecked_Warnings to suppress warnings about size or | |
7325 | alignment or extra bits if either type involved has pragma Warnings | |
7326 | (Off) set for the type entity. | |
7327 | ||
f7ebc6a8 EB |
7328 | 2009-04-19 Eric Botcazou <ebotcazou@adacore.com> |
7329 | ||
7330 | * gcc-interface/trans.c (gigi): Make the special IA-64 descriptor type | |
7331 | a builtin type and give it a name. | |
7332 | ||
105ab5db DN |
7333 | 2009-04-17 Diego Novillo <dnovillo@google.com> |
7334 | ||
7335 | * gcc-interface/misc.c (gnat_expand_expr): Remove. | |
7336 | (LANG_HOOKS_EXPAND_EXPR): Remove. | |
7337 | ||
03b64787 AC |
7338 | 2009-04-17 Robert Dewar <dewar@adacore.com> |
7339 | ||
7340 | * sem_ch3.adb: Minor reformatting | |
7341 | ||
7342 | 2009-04-17 Pascal Obry <obry@adacore.com> | |
7343 | ||
7344 | * adaint.c: Add __gnat_use_acl global variable to control use of ACL. | |
7345 | ||
054275e4 ES |
7346 | 2009-04-17 Ed Schonberg <schonberg@adacore.com> |
7347 | ||
7348 | * sem_ch3.adb (Build_Derived_Enumeration_Type): Diagnose properly | |
7349 | illegal constraints on type derived from formal discrete types. | |
7350 | ||
aed6fda8 TQ |
7351 | 2009-04-17 Thomas Quinot <quinot@adacore.com> |
7352 | ||
7353 | PR ada/35953 | |
7354 | ||
7355 | * g-socthi-vms.adb, g-socthi-vms.ads, g-socthi-vxworks.adb, | |
7356 | g-socthi-vxworks.ads, g-socthi-mingw.adb, g-socthi-mingw.ads, | |
7357 | g-socthi.adb, g-stsifd-sockets.adb, g-socthi.ads, g-socket.adb, | |
7358 | g-socket.ads (GNAT.Sockets.Thin.C_Send, | |
7359 | GNAT.Sockets.Thin.Syscall_Send): Remove unused subprograms. | |
7360 | Replace calls to send(2) with equivalent sendto(2) calls. | |
7361 | (GNAT.Sockets.Send_Socket): Factor common code in inlined subprogram. | |
7362 | (GNAT.Sockets.Write): Account for the case of hyper-empty arrays, do not | |
7363 | report an error in that case. Factor code common to the two versions | |
7364 | (datagram and stream) in common routine Stream_Write. | |
7365 | ||
c5d91669 AC |
7366 | 2009-04-17 Robert Dewar <dewar@adacore.com> |
7367 | ||
7368 | * exp_disp.adb: Minor reformatting | |
7369 | Minor code reorganization (use Nkind_In) | |
7370 | ||
7371 | * prepcomp.adb: Minor reformatting | |
7372 | ||
7373 | * sem_ch3.adb: Minor reformatting | |
7374 | ||
7375 | * sem_res.adb: Minor comment addition | |
7376 | ||
7377 | * exp_ch5.adb (Expand_Assign_Array): Use Has_Address_Clause to test | |
7378 | for address clause | |
7379 | ||
7380 | * lib-xref.adb (Generate_Reference): Exclude recursive calls from | |
7381 | setting Is_Referenced | |
7382 | ||
7383 | * types.ads: Minor reformatting | |
7384 | ||
7385 | 2009-04-17 Arnaud Charlet <charlet@adacore.com> | |
7386 | ||
7387 | * gnat_ugn.texi: Initial documentation on binding generator. | |
7388 | ||
39f346aa ES |
7389 | 2009-04-17 Ed Schonberg <schonberg@adacore.com> |
7390 | ||
7391 | * einfo.ads, einfo.adb: New attribute Underlying_Record_View, to handle | |
7392 | type extensions whose parent is a type with unknown discriminants. | |
7393 | ||
7394 | * exp_aggr.adb (Expand_Record_Aggregate): If the type of an extension | |
7395 | aggregate has unknown discriminants, use the Underlying_Record_View to | |
7396 | obtain the discriminants of the ancestor part. | |
7397 | ||
7398 | * exp_disp.adb (Build_Dispatch_Tables): Types that are | |
7399 | Underlying_Record_Views share the dispatching information of the | |
7400 | original record extension. | |
7401 | ||
7402 | * exp_ch3.adb (Expand_Record_Extension): If the type inherits unknown | |
7403 | discriminants, propagate dispach table information to the | |
7404 | Underlying_Record_View. | |
7405 | ||
7406 | * sem_ch3.adb (Build_Derived_Private_Type): If parent type has unknown | |
7407 | discriminants and declaration is not a completion, generate | |
7408 | Underlying_Record_View to provide proper discriminant information to | |
7409 | the front-end and to gigi. | |
7410 | ||
8c64de1e RD |
7411 | 2009-04-17 Robert Dewar <dewar@adacore.com> |
7412 | ||
7413 | * s-conca5.adb, g-sercom.adb, s-conca5.ads, s-conca7.adb, exp_imgv.adb, | |
7414 | s-conca7.ads, s-crc32.adb, s-crc32.ads, s-conca9.adb, s-conca9.ads, | |
7415 | s-addope.adb, i-cstrin.ads, s-addope.ads, s-carun8.adb, s-carun8.ads, | |
7416 | g-htable.ads, g-hesora.adb, g-hesora.ads, s-htable.adb, s-htable.ads, | |
7417 | s-conca2.adb, s-conca2.ads, a-except.adb, s-conca4.adb, a-except.ads, | |
7418 | s-conca4.ads, s-except.adb, s-except.ads, s-conca6.adb, s-conca6.ads, | |
7419 | g-spchge.adb, g-spchge.ads, g-u3spch.adb, g-u3spch.ads, s-conca8.adb, | |
7420 | s-conca8.ads, g-byorma.adb, g-byorma.ads, s-memory.adb, s-memory.ads, | |
7421 | g-speche.adb, g-speche.ads, g-stsifd-sockets.adb, exp_dist.adb, | |
7422 | s-imgenu.adb, s-imgenu.ads, s-mastop.adb, s-mastop.ads, s-exctab.adb, | |
7423 | s-exctab.ads, s-imenne.adb, s-imenne.ads, s-casuti.adb, osint.adb, | |
7424 | s-assert.adb, s-casuti.ads, s-assert.ads, s-os_lib.adb, s-conca3.adb, | |
7425 | s-conca3.ads: Remove unneeded pragma Warnings | |
7426 | ||
74e63df1 RD |
7427 | 2009-04-17 Robert Dewar <dewar@adacore.com> |
7428 | ||
7429 | * g-moreex.adb: Add comments. | |
7430 | ||
7431 | * s-auxdec.ads: Add ??? comment for uncommented pragma Warnings (Off) | |
7432 | ||
7433 | * s-auxdec-vms_64.ads: Add ??? comment for uncommented pragma | |
7434 | Warnings (Off) | |
7435 | ||
7436 | * prepcomp.adb: Add ??? comment | |
7437 | ||
7438 | * a-tasatt.adb: Minor reformatting | |
7439 | ||
7440 | * g-trasym-vms-alpha.adb: Add ??? comment | |
7441 | ||
7442 | * g-trasym-vms-ia64.adb: Add ??? comment | |
7443 | ||
7444 | * xoscons.adb: Minor reformatting | |
7445 | ||
7446 | * s-tassta.adb: Minor reformatting | |
7447 | ||
7448 | * s-scaval.adb: Add ??? comment | |
7449 | ||
7450 | * stand.ads: Minor code clean up (remove junk with of Namet) | |
7451 | ||
7452 | * s-strcom.adb, s-strcom.ads, s-string.adb, s-string.ads, s-sopco3.adb, | |
7453 | s-sopco3.ads, s-strops.adb, s-strops.ads, s-sopco5.adb, s-sopco5.ads, | |
7454 | s-wchcnv.adb, s-wchcnv.ads, s-ststop.adb, s-ststop.ads, s-soflin.adb, | |
7455 | s-soflin.ads, s-traceb.adb, s-traceb.ads, s-traent.adb, s-traent.ads, | |
7456 | s-secsta.adb, s-secsta.ads, s-utf_32.adb, s-utf_32.ads, s-wchcon.adb, | |
7457 | s-wchjis.adb, s-wchcon.ads, s-wchjis.ads, s-sopco4.adb, s-sopco4.ads, | |
7458 | s-stache.adb, s-stache.ads, s-stoele.adb, s-stoele.ads, s-stalib.adb, | |
7459 | s-stalib.ads, s-os_lib.ads, s-purexc.ads: Remove no longer needed | |
7460 | Warnings off pragmas. | |
7461 | ||
df416fb0 AC |
7462 | 2009-04-17 Pascal Obry <obry@adacore.com> |
7463 | ||
7464 | * initialize.c: Fix test for reallocating the arguments array. | |
7465 | ||
7466 | 2009-04-17 Geert Bosch <bosch@adacore.com> | |
7467 | ||
7468 | * exp_fixd.adb (Expand_Convert_Float_To_Fixed): Have float to fixed | |
7469 | conversion truncate only for decimal fixed point types. | |
7470 | ||
7471 | 2009-04-17 Jerome Lambourg <lambourg@adacore.com> | |
7472 | ||
7473 | * g-comlin.adb (Initialize_Scan_Option): Make sure the sections are | |
7474 | reinitialized. | |
7475 | ||
01cd0938 AC |
7476 | 2009-04-17 Robert Dewar <dewar@adacore.com> |
7477 | ||
7478 | * exp_ch5.adb (Expand_Assign_Array): Do not set Forwards_OK and | |
7479 | Backwards_OK if either operand has an address clause. | |
7480 | ||
7481 | 2009-04-17 Pascal Obry <obry@adacore.com> | |
7482 | ||
7483 | * initialize.c: Code clean up, use realloc. | |
7484 | ||
46e26fe3 PO |
7485 | 2009-04-17 Pascal Obry <obry@adacore.com> |
7486 | ||
7487 | * initialize.c: Do not get Unicode command line if Unicode support not | |
7488 | activated. | |
7489 | Add support for wildcard expansion for Unicode parameters on Win32. | |
7490 | ||
7491 | * mingw32.h: Add missing macros when Unicode support not activated. | |
7492 | ||
b20de9b9 AC |
7493 | 2009-04-17 Javier Miranda <miranda@adacore.com> |
7494 | ||
7495 | * sem_ch6.adb (Check_Anonymous_Return): Add missing checks to | |
7496 | avoid generating code that references the Current_Master | |
7497 | when compiling without tasks. | |
7498 | ||
7499 | 2009-04-17 Vincent Celier <celier@adacore.com> | |
7500 | ||
7501 | * prj-attr.adb: New project level attribute Target | |
7502 | ||
7503 | * prj-nmsc.adb (Process_Project_Level_Simple_Attributes): Process | |
7504 | attribute Target | |
7505 | ||
7506 | * prj.ads (Project_Configuration): New component Target | |
7507 | ||
a8f59a33 AC |
7508 | 2009-04-17 Thomas Quinot <quinot@adacore.com> |
7509 | ||
7510 | * exp_ch7.adb (Expand_Ctrl_Function_Call): Remove incorrect special | |
7511 | case for the case of an aggregate component, the attach call for the | |
7512 | result is actually needed. | |
7513 | ||
7514 | * exp_aggr.adb (Backend_Processing_Possible): Backend processing for | |
7515 | an array aggregate must be disabled if the component type requires | |
7516 | controlled actions. | |
7517 | ||
7518 | * exp_ch3.adb: Minor reformatting | |
7519 | ||
7520 | 2009-04-17 Bob Duff <duff@adacore.com> | |
7521 | ||
7522 | * output.ads (Indent,Outdent): New procedures for indenting the output. | |
7523 | (Write_Char): Correct comment -- LF _is_ allowed. | |
7524 | ||
7525 | * output.adb (Indent,Outdent): New procedures for indenting the output. | |
7526 | Keep track of the indentation level, and make sure it doesn't get too | |
7527 | high. | |
7528 | (Flush_Buffer): Insert spaces at the beginning of each line, if | |
7529 | indentation level is nonzero. | |
7530 | (Save_Output_Buffer,Restore_Output_Buffer): Save and restore the current | |
7531 | indentation level. | |
7532 | (Set_Standard_Error,Set_Standard_Output): Remove superfluous | |
7533 | "Next_Col := 1;". Flush_Buffer does that. | |
7534 | ||
7535 | * sem_ch6.adb, sem_ch7.adb (Debug_Flag_C): Reorganize the output | |
7536 | controlled by the -gnatdc switch. It now occurs on entry/exit to the | |
7537 | relevant analysis routines, and calls Indent/Outdent to make the | |
7538 | indentation reflect the nesting level. Add "helper" routines, since | |
7539 | otherwise lots of "return;" statements would skip the debugging output. | |
7540 | ||
7541 | 2009-04-17 Arnaud Charlet <charlet@adacore.com> | |
7542 | ||
7543 | * s-taprop-tru64.adb, s-taprop-vms.adb, s-taprop-linux.adb, | |
7544 | s-taprop-solaris.adb, s-taprop-irix.adb, s-taprop-hpux-dce.adb, | |
7545 | s-taprop-posix.adb (Suspend_Until_True): Protect against early wakeup. | |
7546 | ||
32beb1f3 AC |
7547 | 2009-04-17 Thomas Quinot <quinot@adacore.com> |
7548 | ||
7549 | * exp_aggr.adb: Minor code reorganization, no behaviour change. | |
7550 | ||
7551 | 2009-04-17 Ed Schonberg <schonberg@adacore.com> | |
7552 | ||
7553 | * sem_ch8.adb (Use_One_Type): Handle properly a redundant use type | |
7554 | clause in a unit that is a package body or a subunit, when the previous | |
7555 | clause appears in a spec or a parent. | |
7556 | ||
36c73552 AC |
7557 | 2009-04-17 Thomas Quinot <quinot@adacore.com> |
7558 | ||
7559 | * sinfo.ads, exp_aggr.adb, exp_aggr.ads: Minor reformatting | |
7560 | ||
7561 | * exp_ch7.adb: Minor reformatting | |
7562 | ||
7563 | 2009-04-17 Bob Duff <duff@adacore.com> | |
7564 | ||
7565 | * exp_ch4.adb (Expand_Allocator_Expression): In an initialized | |
7566 | allocator, check that the expression of the qualified expression obeys | |
7567 | the constraints of the subtype of the qualified expression. | |
7568 | ||
7569 | 2009-04-17 Thomas Quinot <quinot@adacore.com> | |
7570 | ||
7571 | * sprint.adb (Write_Itype): Add handling of enumeration subtypes. | |
7572 | ||
cac5a801 AC |
7573 | 2009-04-17 Ed Schonberg <schonberg@adacore.com> |
7574 | ||
7575 | * exp_ch4.adb (Expand_Allocator_Expression): Apply constraint check to | |
7576 | aggregate, using context imposed by subtype mark in allocator. | |
7577 | ||
7578 | 2009-04-17 Pascal Obry <obry@adacore.com> | |
7579 | ||
7580 | * gnat_rm.texi: Document GNAT_CODE_PAGE environment variable | |
7581 | ||
03f050b6 AC |
7582 | 2009-04-17 Nicolas Roche <roche@adacore.com> |
7583 | ||
7584 | * initialize.c (__gnat_initialize): remove MAX_PATH limitation on each | |
7585 | argument length. | |
7586 | ||
7587 | 2009-04-17 Gary Dismukes <dismukes@adacore.com> | |
7588 | ||
7589 | * sem_elim.adb (Eliminate_Error_Msg): Minor change to error message to | |
7590 | cover both calls and attribute references ("call" => "reference"). | |
7591 | ||
7592 | 2009-04-17 Ed Schonberg <schonberg@adacore.com> | |
7593 | ||
7594 | * sem_ch3.adb (Analyze_Subtype_Declaration): A subtype of an access | |
7595 | type for which Storage_Size is set to 0 is legal in a pure unit. | |
7596 | ||
bf327c92 AC |
7597 | 2009-04-17 Thomas Quinot <quinot@adacore.com> |
7598 | ||
7599 | * exp_ch7.adb: Minor reformatting | |
7600 | ||
7601 | 2009-04-17 Robert Dewar <dewar@adacore.com> | |
7602 | ||
7603 | * restrict.adb (Check_Restriction_No_Dependence): Don't check | |
7604 | restriction if outside main extended source unit. | |
7605 | ||
7606 | * sem_ch10.adb (Analyze_With_Clause): Check No_Dependence restriction | |
7607 | for parents of child units as well as the child unit itself. | |
7608 | ||
7609 | 2009-04-17 Bob Duff <duff@adacore.com> | |
7610 | ||
7611 | * checks.ads: Minor comment fix | |
7612 | ||
7613 | * exp_aggr.ads: Minor comment fix | |
7614 | ||
7615 | 2009-04-17 Nicolas Roche <roche@adacore.com> | |
7616 | ||
7617 | * adaint.c: Improve cross compiler detection and handling. | |
7618 | ||
ffec8e81 AC |
7619 | 2009-04-17 Eric Botcazou <ebotcazou@adacore.com> |
7620 | ||
7621 | * exp_ch4.adb (Expand_Concatenation): Do not use calls at -Os. | |
7622 | ||
7623 | 2009-04-17 Pascal Obry <obry@adacore.com> | |
7624 | ||
7625 | * mingw32.h: Add S2WSC and WS2SC macros to convert to/from | |
7626 | CurrentCodePage. | |
7627 | ||
7628 | * adaint.h: Encoding_Unspecified is now defined. Corresponds to the | |
7629 | value when no encoding form paramter is set on Text_IO services. | |
7630 | ||
7631 | * adaint.c: CurrentCodePage new variable on Windows. | |
7632 | Use new macros S2WSC and WS2SC instead of the UTF-8 oriented | |
7633 | ones. | |
7634 | ||
7635 | * mkdir.c: Use new macros S2WSC and WS2SC instead of the UTF-8 oriented | |
7636 | ones. | |
7637 | ||
7638 | * initialize.c: Initialize CurrentCodePage depending on GNAT_CODE_PAGE | |
7639 | environment variable value. Default is UTF-8. | |
7640 | ||
7641 | * s-crtl.ads: Filename_Encoding add Unspecified in the enumeration type. | |
7642 | fopen and freopen encoding parameter is now set to Unspecified. | |
7643 | The default value is in this case UTF-8 (as it was before) but | |
7644 | use the new macros that convert to/from the code page set | |
7645 | at runtime (CurrentCodePage). | |
7646 | ||
7647 | * s-fileio.adb: When no encoding specified use Unspecified value. | |
7648 | ||
7649 | 2009-04-17 Ed Schonberg <schonberg@adacore.com> | |
7650 | ||
7651 | * atree.adb, atree.ads: Remove dead code. | |
7652 | ||
432e3422 AC |
7653 | 2009-04-17 Arnaud Charlet <charlet@adacore.com> |
7654 | ||
7655 | * gcc-interface/Make-lang.in: Update dependencies. | |
7656 | ||
f3b01cd9 AC |
7657 | 2009-04-17 Ed Schonberg <schonberg@adacore.com> |
7658 | ||
7659 | * sem_ch3.adb (Access_Subprogram_Definition): Additional checks on | |
7660 | illegal uses of incomplete types in formal parts and return types. | |
7661 | ||
7662 | * sem_ch6.adb (Process_Formals): Taft-amendment types are legal in | |
7663 | access to subprograms. | |
7664 | ||
7665 | * sem_ch7.adb (Uninstall_Declarations): diagnose attempts to use | |
7666 | Taft-amendment types as the return type of an access_to_function type. | |
7667 | ||
7668 | * freeze.adb (Freeze_Entity): Remove tests on formals of an incomplete | |
7669 | type for access_to_subprograms. The check is performed on package exit. | |
7670 | ||
7671 | 2009-04-17 Ed Schonberg <schonberg@adacore.com> | |
7672 | ||
7673 | * atree.ads, atree.adb: Move New_Copy_Tree.to sem_util. | |
7674 | ||
7675 | * nlists.ads, nlists.adb: Move New_Copy_List to sem_util. | |
7676 | ||
7677 | * lib-load.adb: Use Copy_Separate_Tree rather than New_Copy_Tree | |
7678 | ||
7679 | * sem_util.ads, sem_util.adb: New_Copy_Tree and New_Copy_List belong in | |
7680 | semantic units, because the handling of itypes in the copied tree | |
7681 | requires semantic information that does not belong in atree. | |
7682 | ||
7683 | 2009-04-17 Robert Dewar <dewar@adacore.com> | |
7684 | ||
7685 | * par-ch6.adb: Minor reformatting | |
7686 | ||
7687 | * prj.adb: Minor reformatting | |
7688 | ||
618fb570 AC |
7689 | 2009-04-17 Gary Dismukes <dismukes@adacore.com> |
7690 | ||
7691 | * par-ch6.adb (P_Subprogram): Overriding indicators should be allowed | |
7692 | on protected subprogram bodies, so exclude the case where Pf_Flags is | |
7693 | Pf_Decl_Pbod from the error check. | |
7694 | ||
7695 | * par-ch9.adb (P_Protected_Operation_Items): Permit overriding | |
7696 | indicators on subprograms in protected bodies, and proceed with parsing | |
7697 | the subprogram. | |
7698 | ||
7699 | * sem_ch6.adb (Verify_Overriding_Indicator): Exclude protected | |
7700 | subprograms from the check for primitiveness on subprograms with | |
7701 | overriding indicators. | |
7702 | (Check_Overriding_Indicator): Include protected subprograms in the | |
7703 | style check for missing overriding indicators. | |
7704 | ||
7705 | 2009-04-17 Tristan Gingold <gingold@adacore.com> | |
7706 | ||
7707 | * init.c: Fix stack checking for x86 Darwin. | |
7708 | ||
7709 | 2009-04-17 Vincent Celier <celier@adacore.com> | |
7710 | ||
7711 | * prj-attr.adb: New project level attribute Object_File_Suffix | |
7712 | (<language>). | |
7713 | ||
7714 | * prj-nmsc.adb (Add_Source): Use the object file suffix to get the | |
7715 | object file name | |
7716 | (Process_Compiler): Process attribute Object_File_Suffix | |
7717 | ||
7718 | * prj.adb (Object_Name): Use suffix Object_File_Suffix instead of | |
7719 | platform suffix, when specified. | |
7720 | ||
7721 | * prj.ads (Language_Config): New component Object_File_Suffix, | |
7722 | defaulted to No_Name. | |
7723 | (Object_Name): New parameter Object_File_Suffix, defaulted to No_Name | |
7724 | ||
7725 | * snames.ads-tmpl: New standard name Object_File_Suffix | |
7726 | ||
93bcda23 AC |
7727 | 2009-04-17 Robert Dewar <dewar@adacore.com> |
7728 | ||
7729 | * gnat_rm.texi: Add documentation about No_Streams restriction | |
7730 | ||
7731 | * sem_attr.adb (Check_Stream_Attribute): Exclude implicit stream | |
7732 | attributes when checking No_Streams restriction. | |
7733 | ||
7734 | 2009-04-17 Thomas Quinot <quinot@adacore.com> | |
7735 | ||
7736 | * rtsfind.ads (RE_Request_Destroy): New PolyORB s-parint entity. | |
7737 | ||
7738 | * exp_dist.adb (PolyORB_Support.Build_General_Calling_Stubs): Add | |
7739 | missing calls to RE_Request_Destroy to deallocate request objects after | |
7740 | use. | |
7741 | ||
7742 | 2009-04-17 Nicolas Setton <setton@adacore.com> | |
7743 | ||
7744 | * link.c: Fix support for passing a response file under Darwin. | |
7745 | ||
7746 | 2009-04-17 Emmanuel Briot <briot@adacore.com> | |
7747 | ||
7748 | * prj.adb (Free): new subprogram. | |
7749 | ||
7750 | 2009-04-17 Ed Schonberg <schonberg@adacore.com> | |
7751 | ||
7752 | * sem_ch3.adb: additional initialization on incomplete subtypes. | |
7753 | ||
7754 | * sem_ch6.adb (Process_Formals): if the subprogram is in the private | |
7755 | part and one of the formals is an incomplete tagged type, attach to | |
7756 | list of private dependends of the type for later validation. | |
7757 | ||
7758 | * sem_ch7.adb (Uninstall_Declarations): diagnose attempts to declare | |
7759 | primitive operations of a Taft-amendmment type. | |
7760 | ||
7761 | * freeze.adb (Freeze_Entity): Remove tests on formals of an incomplete | |
7762 | type. The check is performed on package exit, possibly after the | |
7763 | subprogram is frozen. | |
7764 | ||
7765 | 2009-04-17 Vincent Celier <celier@adacore.com> | |
7766 | ||
7767 | * prj-nmsc.adb (Get_Directories): Get the object and exec directory | |
7768 | before looking for source directories, but make sure that there are nil | |
7769 | if they are not explicitely declared and there is explicitely no | |
7770 | sources in the project. | |
7771 | ||
ba4a2f78 | 7772 | 2009-04-17 Pascal Obry <obry@adacore.com> |
78246a6e | 7773 | |
ba4a2f78 | 7774 | * initialize.c: Set gnat_argv with UTF-8 encoded strings on Windows. |
78246a6e | 7775 | |
ba4a2f78 | 7776 | * init.c: Fix minor typo and style fix. |
ee00428a | 7777 | |
ba4a2f78 | 7778 | 2009-04-17 Robert Dewar <dewar@adacore.com> |
ee00428a | 7779 | |
ba4a2f78 | 7780 | * a-except.adb, a-except-2005.adb: Add PE_Address_Of_Intrinsic |
ee00428a | 7781 | |
ba4a2f78 AC |
7782 | * sem_attr.adb (Analyze_Attribute, case Address): Use |
7783 | PE_Address_Of_Intrinsic. | |
7784 | ||
7785 | * types.ads: Add PE_Address_Of_Intrinsic | |
7786 | ||
7787 | * types.h: Add PE_Address_Of_Intrinsic | |
7788 | ||
7789 | 2009-04-17 Nicolas Setton <setton@adacore.com> | |
7790 | ||
7791 | * gcc-interface/Makefile.in: Under darwin, build shared libraries | |
7792 | with install_name starting with "@rpath/". | |
ee00428a AC |
7793 | |
7794 | 2009-04-17 Nicolas Setton <setton@adacore.com> | |
7795 | ||
7796 | * link.c: Add darwin section | |
7797 | ||
9fbb3ae6 AC |
7798 | 2009-04-16 Robert Dewar <dewar@adacore.com> |
7799 | ||
7800 | * g-pehage.adb: Minor reformatting | |
7801 | ||
7802 | * sem_ch12.adb: Minor reformatting | |
7803 | ||
7804 | * exp_dist.adb: Minor reformatting | |
7805 | ||
7806 | * bindgen.adb: Minor style fixes. | |
7807 | ||
7808 | 2009-04-16 Ed Schonberg <schonberg@adacore.com> | |
7809 | ||
7810 | * sem_eval.adb (Eval_Indexed_Component): Extend constant-folding of | |
7811 | indexed components to the case where the prefix is a static string | |
7812 | literal. | |
7813 | ||
7814 | 2009-04-16 Javier Miranda <miranda@adacore.com> | |
7815 | ||
7816 | * exp_ch3.adb (Expand_N_Object_Declaration): In case of build-in-place | |
7817 | objects avoid any further expansion of the expression initializing the | |
7818 | object. | |
7819 | ||
c1c5e0fa AC |
7820 | 2009-04-16 Ed Schonberg <schonberg@adacore.com> |
7821 | ||
7822 | * sem_ch12.adb (Preanalyze_Actuals): If the instance is a child unit | |
7823 | that hides an outer homograph, make that homograph invisible when | |
7824 | analyzing the actuals, to to prevent illegal direct visibility on it. | |
7825 | ||
7826 | 2009-04-16 Eric Botcazou <ebotcazou@adacore.com> | |
7827 | ||
7828 | * g-pehage.adb (Initialize): Fix off-by-one error. | |
7829 | ||
d15d61c6 AC |
7830 | 2009-04-16 Tristan Gingold <gingold@adacore.com> |
7831 | ||
7832 | * init.c: Detect real stack overflow on Darwin. | |
7833 | ||
7834 | * system-darwin-x86.ads: Use stack probing on darwin x86. | |
7835 | ||
7836 | 2009-04-16 Ed Schonberg <schonberg@adacore.com> | |
7837 | ||
7838 | * sem_attr.adb (Analyze_Attribute, case 'Address): It is illegal to | |
7839 | take the address of an intrinsic subprogram. | |
7840 | ||
0a0a18c3 AC |
7841 | 2009-04-16 Arnaud Charlet <charlet@adacore.com> |
7842 | ||
7843 | * gcc-interface/Makefile.in: Change g-trasym to g-trasym-unimplemented | |
7844 | for the targets where GNAT.Traceback.Symbolic is not supported. | |
7845 | ||
d15d61c6 AC |
7846 | 2009-04-16 Vincent Celier <celier@adacore.com> |
7847 | ||
7848 | * g-trasym-unimplemented.ads, g-trasym-unimplemented.adb: New file. | |
7849 | ||
7850 | * g-trasym.ads: Update comments. | |
7851 | ||
7852 | 2009-04-16 Vasiliy Fofanov <fofanov@adacore.com> | |
7853 | ||
7854 | * tracebak.c (STOP_FRAME): Verify validity of the current address | |
7855 | before dereferencing. | |
7856 | ||
b61ebe4f AC |
7857 | 2009-04-16 Ed Schonberg <schonberg@adacore.com> |
7858 | ||
7859 | * sprint.adb (Write_Itype): If the itype is an array subtype, preserve | |
7860 | the original location of the index expressions and the index subtypes, | |
7861 | to prevent spurious out-of-scope references in gigi. | |
7862 | ||
7863 | 2009-04-16 Tristan Gingold <gingold@adacore.com> | |
7864 | ||
7865 | * init.c, s-osinte-darwin.ads, system-darwin-x86_64.ads: | |
7866 | Add support for stack checking on darwin. | |
7867 | ||
7868 | 2009-04-16 Vincent Celier <celier@adacore.com> | |
7869 | ||
7870 | * prj-attr.adb: New attribute Runtime_Source_Dir | |
7871 | ||
7872 | * prj-nmsc.adb (Process_Project_Level_Array_Attributes): Process | |
7873 | attribute Runtime_Source_Dir. | |
7874 | (Check_Naming_Schemes): Give default values to out parameters to avoid | |
7875 | invalid data. | |
7876 | ||
7877 | * prj.ads (Language_Config): New component Runtime_Source_Dir | |
7878 | ||
7879 | * snames.ads-tmpl: New standard name Runtime_Source_Dir | |
7880 | ||
468ee337 PO |
7881 | 2009-04-16 Pascal Obry <obry@adacore.com> |
7882 | ||
7883 | * adaint.h, adaint.c (__gnat_rmdir): New routine. | |
7884 | Simple wrapper routines used to convert to proper encoding on | |
7885 | Windows. | |
7886 | ||
7887 | * s-crtl.ads: Use __gnat_rmdir instead of direct call to the C library. | |
7888 | ||
7889 | * g-dirope.adb (Remove_Dir): Fix a bug, the root directory was removed | |
7890 | twice. | |
7891 | ||
bca17d51 PO |
7892 | 2009-04-16 Pascal Obry <obry@adacore.com> |
7893 | ||
7894 | * s-crtl.ads, s-os_lib.adb: Minor code clean-up. | |
7895 | ||
4e0079cc AC |
7896 | 2009-04-16 Thomas Quinot <quinot@adacore.com> |
7897 | ||
7898 | * snames.ads-tmpl (Name_Defined): New predefined name for use by the | |
7899 | integrated preprocessor. | |
7900 | ||
7901 | * prep.ads, prep.adb (Setup_Hooks): New subprogram. | |
7902 | (Initialize): Split into two subprograms, Initialize (to be called | |
7903 | prior to compiler command line processing) and Setup_Hooks (to be called | |
7904 | later on when the first source file is loaded). | |
7905 | ||
7906 | * gprep.adb: Change call to Prep.Initialize to call to Prep.Setup_Hooks. | |
7907 | Add call to Prep.Initialize. | |
7908 | ||
7909 | * sinput-l.adb, prepcomp.adb: Change call to Prep.Initialize to call | |
7910 | to Prep.Setup_Hooks. | |
7911 | ||
7912 | 2009-04-16 Pascal Obry <obry@adacore.com> | |
7913 | ||
7914 | * adaint.h, adaint.c (__gnat_chdir): New routine. | |
7915 | Simple wrapper routines used to convert to proper encoding on | |
7916 | Windows. | |
7917 | ||
7918 | * s-crtl.ads: Use __gnat_chdir instead of direct call to the C library. | |
7919 | ||
7920 | * a-direct.adb, g-dirope.adb: Use chdir from System.CRTL. | |
7921 | ||
cbbdee52 AC |
7922 | 2009-04-16 Quentin Ochem <ochem@adacore.com> |
7923 | ||
7924 | * sinput-p.adb (Clear_Source_File_Table): Use Sinput.Initialize instead | |
7925 | of Source.Init. | |
7926 | ||
7927 | 2009-04-16 Eric Botcazou <ebotcazou@adacore.com> | |
7928 | ||
7929 | * a-convec.ads (Is_Empty): Mark inline. | |
7930 | ||
7931 | 2009-04-16 Nicolas Roche <roche@adacore.com> | |
7932 | ||
7933 | * init.c (__gnat_init_float): Initialize FPU on x86_64 windows | |
7934 | ||
7935 | 2009-04-16 Thomas Quinot <quinot@adacore.com> | |
7936 | ||
7937 | * prepcomp.adb: Minor reformatting | |
7938 | ||
7e8ed0a6 AC |
7939 | 2009-04-16 Jerome Lambourg <lambourg@adacore.com> |
7940 | ||
7941 | * sem_prag.adb (Process_Import_Or_Interface): With .NET, | |
7942 | Access_Subprogram types can also be imported. | |
7943 | (Check_Form_Of_Interface_Name): Accept '/' character in entity CIL | |
7944 | names. | |
7945 | ||
7946 | 2009-04-16 Ed Schonberg <schonberg@adacore.com> | |
7947 | ||
7948 | * exp_ch6.adb (Make_Build_In_Place_Call_In_Object_Declaration): | |
7949 | preserve homonym chain when the declaration is rewritten into a | |
7950 | renaming declaration, in order to preserve visibility structure. | |
7951 | ||
540b5d9c AC |
7952 | 2009-04-16 Jerome Lambourg <lambourg@adacore.com> |
7953 | ||
7954 | * sem_prag.adb (Analyze_Pragma): Make sure that pragma pack is not | |
7955 | taken into account for VM targets. | |
7956 | ||
7957 | 2009-04-16 Hristian Kirtchev <kirtchev@adacore.com> | |
7958 | ||
7959 | * g-calend.ads, g-calend.adb (Week_In_Year): Now calls | |
7960 | Year_Week_In_Year. | |
7961 | (Year_Week_In_Year): New routine which contains the original code from | |
7962 | Week_In_Year. Add the missing special case for January 1st falling on | |
7963 | a Monday. | |
7964 | ||
dae4faf2 TQ |
7965 | 2009-04-16 Thomas Quinot <quinot@adacore.com> |
7966 | ||
7967 | * exp_dist.adb (Build_From_Any_Call): For a subtype that is a generic | |
7968 | actual type, use the base type to build the To_Any function. | |
7969 | (Build_From_Any_Function): Remove junk, useless subtype conversion. | |
7970 | ||
7971 | 2009-04-16 Thomas Quinot <quinot@adacore.com> | |
7972 | ||
7973 | * exp_ch9.adb, exp_code.adb, tbuild.adb, sem_case.adb, | |
7974 | restrict.adb: Minor code reorganization (use | |
7975 | Add_{Char,Str}_To_Name_Buffer instead of inlining it by hand). | |
7976 | ||
2794f022 AC |
7977 | 2009-04-16 Bob Duff <duff@adacore.com> |
7978 | ||
7979 | * exp_ch6.ads, exp_ch6.adb (Is_Build_In_Place_Function_Return): Remove, | |
7980 | unused. | |
7981 | ||
7982 | 2009-04-16 Thomas Quinot <quinot@adacore.com> | |
7983 | ||
7984 | * sem_ch4.adb: Minor reformatting | |
7985 | ||
7986 | * adaint.c: Remove junk duplicated code. | |
7987 | ||
7988 | * sem_ch3.adb: Minor reformatting | |
7989 | ||
7990 | * exp_dist.adb: Minor comment rewording | |
7991 | ||
a8e65aa5 AC |
7992 | 2009-04-16 Robert Dewar <dewar@adacore.com> |
7993 | ||
7994 | * gnat_rm.texi: Document effect of Assume_No_Invalid_Values and -gnatVa | |
7995 | used together. | |
7996 | ||
7997 | 2009-04-16 Ed Schonberg <schonberg@adacore.com> | |
7998 | ||
7999 | * sem_ch4.adb (Find_Equality_Types): Filter out types that are not | |
8000 | usable before calling Add_One_Interp, to resolve spurious ambiguities. | |
8001 | ||
bded454f RD |
8002 | 2009-04-16 Robert Dewar <dewar@adacore.com> |
8003 | ||
b0fbf3c0 RD |
8004 | * Make-lang.in: Add entries for s-conca?.o |
8005 | ||
bded454f RD |
8006 | * Makefile.rtl: Add entries for s-conca? |
8007 | ||
8008 | * debug.adb: Add debug flags -gnatd.c and -gnatd.C to control behavior | |
8009 | of concatenation expansion | |
8010 | ||
8011 | * exp_ch4.adb (Expand_Concatenation): Generate calls for certain | |
8012 | string cases instead of expanding assignments inline. | |
8013 | ||
8014 | * opt.ads (Optimize_Size): New flag | |
8015 | ||
8016 | * s-conca2.ads, s-conca2.adb, s-conca3.adb, s-conca3.ads, | |
8017 | s-conca4.adb, s-conca4.ads, s-conca5.adb, s-conca5.ads, s-conca6.adb, | |
8018 | s-conca6.ads, s-conca7.ads, s-conca7.adb, s-conca8.adb, s-conca8.ads, | |
8019 | s-conca9.adb, s-conca9.ads: New file. | |
8020 | ||
4a3b249c RD |
8021 | 2009-04-16 Robert Dewar <dewar@adacore.com> |
8022 | ||
8023 | * exp_ch6.adb: Add comments | |
8024 | ||
8025 | * rtsfind.ads: Add entries for s-conca? routines | |
8026 | ||
e8e028cb | 8027 | 2009-04-16 Arnaud Charlet <charlet@adacore.com> |
14814170 AC |
8028 | |
8029 | * gcc-interface/Make-lang.in: Update dependencies. | |
8030 | ||
8031 | * gcc-interface/Makefile.in: Update translation for vms. | |
8032 | ||
3204b9cd AC |
8033 | 2009-04-16 Ed Schonberg <schonberg@adacore.com> |
8034 | ||
8035 | * sem_ch12.adb (Map_Formal_Package_Entities): renamed from Map_Entities | |
8036 | and made global, to be used when installing parents of a child | |
8037 | instance, to provide mappings for entities declared in formal packages | |
8038 | of ancestor units. Now called from Install_Formal_Packages. | |
8039 | ||
8040 | 2009-04-16 Doug Rupp <rupp@adacore.com> | |
8041 | ||
8042 | * s-taskin.adb (Initialize_ATCB): Initialize Debug_Events with others | |
8043 | notation for clarity. | |
8044 | ||
8045 | * s-taprop-vxworks.adb, s-taprop-tru64.adb, s-taprop-vms.adb, | |
8046 | s-taprop-mingw.adb, s-taprop-linux.adb, s-taprop-solaris.adb, | |
8047 | s-taprop-irix.adb, s-taprop-hpux-dce.adb, s-taprop-posix.adb | |
8048 | (Initialize): Initialize Known_Tasks with Environment task. | |
8049 | ||
8050 | * s-taskin.ads (Task_States): Move new states to end for the sake of | |
8051 | GDB compatibility. | |
8052 | ||
8053 | * s-tassta.adb (Task_Wrapper): Fix comment about Enter_Task. | |
8054 | ||
f17f3601 ES |
8055 | 2009-04-16 Ed Schonberg <schonberg@adacore.com> |
8056 | ||
8057 | * exp_ch9.adb (Expand_N_Protected_Type_Declaration): If a protected | |
8058 | operation has an inline pragma, propagate the flag to the internal | |
8059 | unprotected subprogram. | |
8060 | ||
5e44c5ea DR |
8061 | 2009-04-16 Doug Rupp <rupp@adacore.com> |
8062 | ||
8063 | * s-taprop-vxworks.adb, s-taprop-tru64.adb, s-taprop-mingw.adb, | |
8064 | s-taprop-linux.adb, s-taprop-solaris.adb, s-taprop-irix.adb, | |
8065 | s-taprop-hpux-dce.adb, s-taprop-posix.adb | |
8066 | (Enter_Task): Move Known_Tasks initialization to s-tassta.adb | |
8067 | ||
8068 | * s-taprop-vms.adb (Enter_Task): Likewise. | |
8069 | (Initialize): Import DBEXT, Debug_Register. Register DBGEXT callback. | |
8070 | ||
8071 | * s-tassta.adb (Activate_Tasks): After task creation set state to | |
8072 | Activating, vice Runnable. Initialize Known_Tasks, moved here from | |
8073 | s-taprop.adb (Enter_Task). Set Debug_Event_Activating for debugger. | |
8074 | Set state to Runnable after above. | |
8075 | (Task_Wrapper): Set Debug_Event_Run. In exception block set | |
8076 | Debug_Event_Terminated. | |
8077 | ||
8078 | * s-taskin.ads (Task_States): Add new states Activiting and | |
8079 | Activator_Delay_Sleep. | |
8080 | (Bit_Array, Debug_Event_Array): New types. | |
8081 | (Global_Task_Debug_Event_Set: New flag. | |
8082 | (Common_ATCB): New field Debug_Events. | |
8083 | ||
8084 | * s-taskin.adb (Initialize_ATCB): Initialize Debug_Events. | |
8085 | ||
8086 | * s-tasren.adb (Timed_Selective_Wait): Set Activator_Delay_Sleep vice | |
8087 | Activator_Sleep. | |
8088 | ||
8089 | * s-tasini.adb (Locked_Abort_To_Level): Add case alternatives for when | |
8090 | Activating and when Acceptor_Delay_Sleep. | |
8091 | ||
8092 | * s-tasdeb.ads: Add constants for Debug_Events. | |
8093 | (Debug_Event_Kind_Type): New subtype. | |
8094 | (Signal_Debug_Event): New subprogram. | |
8095 | ||
8096 | * s-tasdeb.adb (Signal_Debug_Event): New null subprogram. | |
8097 | ||
205c14b0 TQ |
8098 | 2009-04-16 Thomas Quinot <quinot@adacore.com> |
8099 | ||
8100 | * sem_elim.adb: Minor reformatting | |
8101 | ||
8102 | * freeze.adb: Minor reformatting | |
8103 | ||
8104 | * exp_ch4.adb: Minor reformatting | |
8105 | ||
b4763f5c AC |
8106 | 2009-04-16 Emmanuel Briot <briot@adacore.com> |
8107 | ||
8108 | * prj-nmsc.adb (Path_Name_Of): fix memory leak | |
8109 | ||
8110 | 2009-04-16 Robert Dewar <dewar@adacore.com> | |
8111 | ||
8112 | * sinfo.ads (Backwards_OK, Forwards_OK): Clarify documentation | |
8113 | ||
8114 | 2009-04-16 Vincent Celier <celier@adacore.com> | |
8115 | ||
8116 | * fmap.adb (Initialize): Show the current line when the mapping file | |
8117 | is detected as "incorrectly formatted". | |
8118 | ||
8119 | 2009-04-16 Robert Dewar <dewar@adacore.com> | |
8120 | ||
8121 | * sem_ch12.adb: Minor reformatting | |
8122 | ||
8123 | * sem_ch5.adb: Minor comment addition | |
8124 | ||
8125 | * sem_util.adb: Minor reformatting | |
8126 | ||
8127 | * sinput-p.adb: Minor reformatting | |
8128 | Add missing pragma Warnings (On) | |
8129 | ||
0c72247e AC |
8130 | 2009-04-16 Ed Falis <falis@adacore.com> |
8131 | ||
8132 | * s-vxwext-kernel.adb: (ERROR): deleted unused constant | |
8133 | ||
8134 | 2009-04-16 Vincent Celier <celier@adacore.com> | |
8135 | ||
8136 | * ali-util.adb: Minor comment spelling error fix | |
8137 | ||
014caddb EB |
8138 | 2009-04-16 Eric Botcazou <ebotcazou@adacore.com> |
8139 | ||
8140 | * exp_ch5.adb (Expand_Assign_Array): For the GCC back-end, do not | |
8141 | generate an assignment loop in case of overlap. | |
8142 | ||
b2ed7a03 AC |
8143 | 2009-04-16 Olivier Hainque <hainque@adacore.com> |
8144 | ||
8145 | * gnat_ugn.texi (gnatmem description): Make it explicit that | |
8146 | gnatmem is designed to work in association with static runtime | |
8147 | library only. | |
8148 | ||
8149 | 2009-04-16 Thomas Quinot <quinot@adacore.com> | |
8150 | ||
8151 | * sem_type.adb: Minor reformatting | |
8152 | ||
8153 | 2009-04-16 Hristian Kirtchev <kirtchev@adacore.com> | |
8154 | ||
8155 | * s-osprim-darwin.adb, s-osprim-posix.adb (Clock): Add comment | |
8156 | concerning return codes of gettimeofday and return value check. | |
8157 | ||
8158 | 2009-04-16 Ed Falis <falis@adacore.com> | |
8159 | ||
8160 | * s-vxwext-kernel.ads (Int_Lock, Int_Unlock): set to convention C so | |
8161 | body can be renaming of imported routines. | |
8162 | ||
8163 | 2009-04-16 Vasiliy Fofanov <fofanov@adacore.com> | |
8164 | ||
8165 | * s-asthan-vms-alpha.adb: Disable warnings on alignment in a more | |
8166 | targeted fashion. | |
8167 | ||
8a912a6e AC |
8168 | 2009-04-15 Hristian Kirtchev <kirtchev@adacore.com> |
8169 | ||
8170 | * exp_ch9.adb: Comment improvements. | |
8171 | (Build_Entry_Family_Name): Add parentheses around the index of a entry | |
8172 | family member. | |
8173 | ||
8174 | 2009-04-15 Bob Duff <duff@adacore.com> | |
8175 | ||
8176 | * sem_warn.adb (Check_Infinite_Loop_Warning): Catch cases like | |
8177 | "while X /= null loop" where X is unchanged inside the loop. We were | |
8178 | not warning in this case, because of the pointers -- we feared that the | |
8179 | loop variable could be updated via a pointer, if there are any pointers | |
8180 | around the place. But that is impossible in this case. | |
8181 | ||
8182 | * sem_util.adb (May_Be_Lvalue): This routine was overly pessimistic in | |
8183 | the case of dereferences. In X.all, X cannot be an l-value. We now | |
8184 | catch that case (and implicit dereferences, too). | |
8185 | ||
8186 | 2009-04-15 Vincent Celier <celier@adacore.com> | |
8187 | ||
8188 | * sinput-p.ads, sinput-p.adb (Clear_Source_File_Table): New procedure | |
8189 | ||
8190 | 2009-04-15 Ed Schonberg <schonberg@adacore.com> | |
8191 | ||
8192 | * sem_ch12.adb (Is_Actual_Of_Previous_Formal): Make fully recursive. | |
8193 | From code reading. | |
8194 | (Analyze_Package_Instantiation): If generic unit in child instance is | |
8195 | the same as generic unit in parent instance, look for an outer homonym | |
8196 | to locate the desired generic. | |
8197 | ||
4a13695c AC |
8198 | 2009-04-15 Bob Duff <duff@adacore.com> |
8199 | ||
8200 | * sem_ch5.adb (Analyze_Loop_Statement): Don't check for infinite loop | |
8201 | warnings unless the loop comes from source, because checking generated | |
8202 | loops is a waste of time, and makes it harder to debug | |
8203 | Check_Infinite_Loop_Warning. | |
8204 | ||
8205 | * sem_warn.adb (Check_Infinite_Loop_Warning): If the local variable | |
8206 | tested in the while loop is a renaming, do not warn. Otherwise, we get | |
8207 | false alarms, because it's usually renaming something that we can't | |
8208 | deal with (an indexed component, a global variable, ...). | |
8209 | ||
8210 | * gnat_rm.texi: Fix typo | |
8211 | ||
8212 | 2009-04-15 Thomas Quinot <quinot@adacore.com> | |
8213 | ||
8214 | * sem_ch6.adb: Minor reformatting | |
8215 | ||
c3b36d48 AC |
8216 | 2009-04-15 Hristian Kirtchev <kirtchev@adacore.com> |
8217 | ||
8218 | * exp_ch7.adb (Expand_Ctrl_Function_Call): Check for the case where the | |
8219 | immediate parent of the controlled function call is a component | |
8220 | association. | |
8221 | ||
8222 | 2009-04-15 Ed Schonberg <schonberg@adacore.com> | |
8223 | ||
8224 | * sem_ch8.adb (Use_One_Type): If the type is tagged, indicate that the | |
8225 | corresponding class-wide type is also in use. | |
8226 | ||
8227 | 2009-04-15 Thomas Quinot <quinot@adacore.com> | |
8228 | ||
8229 | * frontend.adb: Minor comment fix | |
8230 | ||
1f07382d AC |
8231 | 2009-04-15 Robert Dewar <dewar@adacore.com> |
8232 | ||
8233 | * gnatchop.adb (BOM_Length): New global variable | |
8234 | (Write_Unit): Add new parameter Write_BOM | |
8235 | (Write_Chopped_Files): Check for BOM and set Write_BOM for call | |
8236 | to Write_Unit | |
8237 | ||
8238 | * gnat_ugn.texi: Add note on propagation of BOM by gnatchop | |
8239 | ||
8240 | 2009-04-15 Geert Bosch <bosch@adacore.com> | |
8241 | ||
8242 | * system-mingw-x86_64.ads, system-darwin-x86_64.ads | |
8243 | (Backend_Overflow_Checks): Set to True. | |
8244 | ||
8245 | 2009-04-15 Gary Dismukes <dismukes@adacore.com> | |
8246 | ||
8247 | * par-ch3.adb (P_Type_Declaration): Issue an error if the synchronized | |
8248 | keyword is given in a record extension. | |
8249 | ||
8250 | 2009-04-15 Hristian Kirtchev <kirtchev@adacore.com> | |
8251 | ||
8252 | * exp_ch7.adb (Expand_Ctrl_Function_Call): Procede with the expansion | |
8253 | of a controlled function call in the context of a record aggregate. | |
8254 | This does not apply to array aggregates since the call will be expanded | |
8255 | into assignments. | |
8256 | ||
8257 | 2009-04-15 Ed Falis <falis@adacore.com> | |
8258 | ||
8259 | * s-osinte-vxworks-kernel.adb, s-osinte-vxworks.adb, | |
8260 | s-osinte-vxworks.ads s-vxwext.ads, s-vxwext-kernel.adb, | |
3405870d EF |
8261 | s-vxwext-kernel.ads, s-vxwext-rtp.ads, s-vxwext-rtp.adb: Reorganize |
8262 | s-osinte-vxworks* and s-vxwext*. | |
1f07382d | 8263 | |
6cc60200 AC |
8264 | 2009-04-15 Arnaud Charlet <charlet@adacore.com> |
8265 | ||
8266 | * gcc-interface/Make-lang.in: Update dependencies. | |
8267 | ||
8268 | * gcc-interface/Makefile.in: Reorganization of s-osinte-vxworks* | |
8269 | and s-vxwext*. | |
8270 | ||
f66d46ec AC |
8271 | 2009-04-15 Robert Dewar <dewar@adacore.com> |
8272 | ||
8273 | * sem_ch13.adb (Unchecked_Conversions): Store source location instead | |
8274 | of node for location for warning messages. | |
8275 | ||
8276 | * gnatchop.adb: Minor reformatting | |
8277 | ||
8278 | 2009-04-15 Ed Schonberg <schonberg@adacore.com> | |
8279 | ||
8280 | * exp_ch6.adb: additional guard for renaming declarations for in | |
8281 | parameters of an array type. | |
8282 | ||
bafc9e1d AC |
8283 | 2009-04-15 Robert Dewar <dewar@adacore.com> |
8284 | ||
8285 | * sem_eval.adb (Get_Static_Length): Go to origin node for array bounds | |
8286 | in case they were rewritten by expander (Force_Evaluation). | |
8287 | ||
8288 | * targparm.adb (Get_Target_Parameters): Correct check for | |
8289 | Suppress_Exception_Locations. | |
8290 | ||
8291 | 2009-04-15 Ed Schonberg <schonberg@adacore.com> | |
8292 | ||
8293 | * exp_ch6.adb (Expand_Inlined_Call): If an in-parameter in a call to be | |
8294 | inlined is of an array type that is not bit-packed, use a renaming | |
8295 | declaration to capture its value, rather than a constant declaration. | |
8296 | ||
443614e3 AC |
8297 | 2009-04-15 Robert Dewar <dewar@adacore.com> |
8298 | ||
8299 | * rtsfind.adb: Minor reformatting. | |
8300 | ||
8301 | 2009-04-15 Emmanuel Briot <briot@adacore.com> | |
8302 | ||
8303 | * prj-part.adb, prj-tree.adb, prj-tree.ads (Restore_And_Free): renames | |
8304 | Restore, and free the saved context. | |
8305 | ||
8306 | 2009-04-15 Gary Dismukes <dismukes@adacore.com> | |
8307 | ||
8308 | * sem_ch3.adb (Analyze_Private_Extension_Declaration): Move error check | |
8309 | for illegal private extension from a synchronized interface parent in | |
8310 | front of check for illegal limited extension so that limited extension | |
8311 | from a synchronized interface will be rejected. | |
8312 | (Check_Ifaces): Check that a private extension that has a synchronized | |
8313 | interface as a progenitor must be explicitly declared synchronized. | |
8314 | Also check that a record extension cannot derive from a synchronized | |
8315 | interface. | |
8316 | ||
991395ab AC |
8317 | 2009-04-15 Pascal Obry <obry@adacore.com> |
8318 | ||
8319 | * adaint.h (__gnat_unlink): Add spec. | |
8320 | (__gnat_rename): Likewise. | |
8321 | ||
8322 | 2009-04-15 Vincent Celier <celier@adacore.com> | |
8323 | ||
8324 | * prj-nmsc.adb: Minor spelling error corrections in error messages | |
8325 | ||
8326 | 2009-04-15 Robert Dewar <dewar@adacore.com> | |
8327 | ||
8328 | * sinfo.ads: Minor comment update | |
8329 | ||
8330 | * opt.ads: Minor comment updates | |
8331 | ||
8332 | * checks.adb (Enable_Overflow_Check): Do not set Do_Overflow_Check for | |
8333 | modular type. | |
8334 | ||
8335 | 2009-04-15 Ed Schonberg <schonberg@adacore.com> | |
8336 | ||
8337 | * exp_disp.ads, exp_disp.adb (Register_Primitive): Is now a function | |
8338 | that generates the code needed to update a dispatch table when a | |
8339 | primitive operation is declared with a subprogram body without previous | |
8340 | spec. Insertion of the generated code is responsibility of the caller. | |
8341 | (Make_DT): When building static tables, append the code created by | |
8342 | Register_Primitive to update a secondary table after it has been | |
8343 | constructed. | |
8344 | ||
8345 | * exp_ch3.adb, exp_ch6.adb: use new version of Register_Primitive. | |
8346 | ||
8347 | * sem_disp.adb (Check_Dispatching_Operation): Call Register_Primitive | |
8348 | on an overriding operation that implements an interface operation only | |
8349 | if not building static dispatch tables. | |
8350 | ||
8351 | 2009-04-15 Hristian Kirtchev <kirtchev@adacore.com> | |
8352 | ||
8353 | * a-caldel-vms.adb (To_Duration): Declare a "safe" end of time which | |
8354 | does not cause overflow when converted to Duration. Use the safe value | |
8355 | as the maximum allowable time delay.. | |
8356 | ||
8357 | 2009-04-15 Jerome Lambourg <lambourg@adacore.com> | |
8358 | ||
8359 | * g-comlin.adb (Set_Command_Line): When adding a switch with attached | |
8360 | parameter, specify that the delimiter is NUL, otherwise "-j2" will be | |
8361 | translated to "-j 2". | |
8362 | ||
8363 | 2009-04-15 Bob Duff <duff@adacore.com> | |
8364 | ||
8365 | * rtsfind.adb (Maybe_Add_With): Split out procedure to add implicit | |
8366 | with_clauses, to avoid code duplication. Change this processing so we | |
8367 | always add a with_clause on the main unit if needed. | |
8368 | ||
55cc1a05 AC |
8369 | 2009-04-15 Pascal Obry <obry@adacore.com> |
8370 | ||
8371 | Add support for Win32 native encoding for delete/rename routines. | |
8372 | ||
8373 | * adaint.c (__gnat_unlink): New routine. | |
8374 | (__gnat_rename): New routine. | |
8375 | Simple wrapper routines used to convert to proper encoding on | |
8376 | Windows. | |
8377 | ||
8378 | * s-os_lib.adb: Use __gnat_unlink and __gnat_rename instead of direct | |
8379 | call to the C library. | |
8380 | ||
8381 | * g-sercom-mingw.adb, s-win32.ads: Update Win32 binding. | |
8382 | ||
8383 | 2009-04-15 Robert Dewar <dewar@adacore.com> | |
8384 | ||
8385 | * s-tassta.adb: Minor reformatting | |
8386 | ||
1f6821b4 AC |
8387 | 2009-04-15 Robert Dewar <dewar@adacore.com> |
8388 | ||
8389 | * frontend.adb (Frontend): Set proper default for | |
8390 | Warn_On_Non_Local_Exception. | |
8391 | ||
8392 | * opt.ads (Exception_Handler_Encountered): New flag | |
8393 | (No_Warn_On_Non_Local_Exception): New flag | |
8394 | ||
8395 | * par-ch11.adb (P_Exception_Handler): Set Exception_Handler_Encountered | |
8396 | ||
8397 | * sem_warn.adb (Set_Warning_Switch): Set No_Warn_On_Non_Local_Exception | |
8398 | (Set_Dot_Warning_Switch): Set No_Warn_On_Non_Local_Exception | |
8399 | ||
8400 | 2009-04-15 Cyrille Comar <comar@adacore.com> | |
8401 | ||
8402 | * s-tassta.adb, a-exextr.adb, a-elchha.adb | |
8403 | (Ada.Exception.Last_Chance_Handler): Do not print unhandled exception | |
8404 | message when exception traces are active since it would generate | |
8405 | redundant information. | |
8406 | (Exception_Traces.Notify_Exception): put message output by a critical | |
8407 | section to avoid unsynchronized output. | |
8408 | (Trace_Unhandled_Exception_In_Task): put message output by a critical | |
8409 | section to avoid unsynchronized output. | |
8410 | ||
8411 | 2009-04-15 Emmanuel Briot <briot@adacore.com> | |
8412 | ||
8413 | * g-comlin.adb, prj-tree.adb, prj-tree.ads, prj.adb, prj.ads | |
8414 | (Free): New subprogram. | |
8415 | ||
8aec446b AC |
8416 | 2009-04-15 Hristian Kirtchev <kirtchev@adacore.com> |
8417 | ||
8418 | * a-calend.adb: Add new constant Nanos_In_Four_Years. | |
8419 | (Formatting_Operations.Time_Of): Change the way four year chunks of | |
8420 | nanoseconds are added to the intermediate result. | |
8421 | ||
8422 | 2009-04-15 Nicolas Setton <setton@adacore.com> | |
8423 | ||
8424 | * sysdep.c: Add __APPLE__ in the list of systems where get_immediate | |
8425 | does not need to wait for a carriage return. | |
8426 | ||
8427 | 2009-04-15 Tristan Gingold <gingold@adacore.com> | |
8428 | ||
8429 | * bindgen.adb: Do not generate adafinal if No_Finalization restriction | |
8430 | is set. | |
8431 | ||
8432 | 2009-04-15 Ed Schonberg <schonberg@adacore.com> | |
8433 | ||
8434 | * freeze.adb (Freeze_Entity): improve error message for improper use of | |
8435 | incomplete types. | |
8436 | Diagnose additional illegal uses of incomplete types in formal parts. | |
8437 | appearing in formal parts. | |
8438 | ||
8439 | * sem_ch6.adb (Process_Formals, Analyze_Return_Type): ditto. | |
8440 | ||
8441 | 2009-04-15 Robert Dewar <dewar@adacore.com> | |
8442 | ||
8443 | * exp_ch4.adb (Expand_N_Allocator): Install test for object too large. | |
8444 | ||
442dd5fb NR |
8445 | 2009-04-15 Nicolas Roche <roche@adacore.com> |
8446 | ||
8447 | * adaint.c: Add function __gnat_lwp_self that retrieves the LWP of the | |
8448 | current thread. | |
8449 | ||
8450 | * s-osinte-linux.ads: Import the __gnat_lwp_self function as lwp_self | |
8451 | ||
8452 | * s-taprop-linux.adb (Enter_Task): Store the LWP in the TCB | |
8453 | ||
61bee0e3 AC |
8454 | 2009-04-15 Ed Schonberg <schonberg@adacore.com> |
8455 | ||
8456 | * sem_ch4.adb: improve error message on exponentiation. | |
8457 | ||
8458 | 2009-04-15 Hristian Kirtchev <kirtchev@adacore.com> | |
8459 | ||
8460 | * a-calend.adb: Move constant Epoch_Offset from package | |
8461 | Conversion_Operations to top level. | |
8462 | (Delay_Operations.To_Duration): Define a constant which represents | |
8463 | "end of time" and use it as a guard against very distant delay dates. | |
8464 | Protect the code against overflow when performing the origin shift to | |
8465 | Unix time. | |
8466 | ||
361effb1 AC |
8467 | 2009-04-15 Robert Dewar <dewar@adacore.com> |
8468 | ||
8469 | * sem_prag.adb: Minor reformatting. | |
8470 | ||
8471 | * sem_type.adb: Minor reformatting | |
8472 | ||
8473 | 2009-04-15 Javier Miranda <miranda@adacore.com> | |
8474 | ||
8475 | * sem_ch6.adb (Analyze_Abstract_Subprogram_Declaration): Add missing | |
8476 | support to check eliminated subprograms. | |
8477 | ||
8478 | * sem_elim.ads (Eliminate_Error_Msg): Update documentation. | |
8479 | ||
8480 | * sem_elim.adb (Set_Eliminated): Add support for elimination of | |
8481 | dispatching subprograms. | |
8482 | ||
8483 | * exp_disp.adb (Make_DT): Minor code cleanup when freezing primitive | |
8484 | operations. Initialize with "null" the slots of eliminated dispaching | |
8485 | primitives. | |
8486 | (Write_DT): Add output for eliminated primitives. | |
8487 | ||
8488 | * sem_disp.adb (Check_Dispatching_Call): Check eliminated primitives. | |
8489 | ||
f7ca1d04 AC |
8490 | 2009-04-15 Ed Schonberg <schonberg@adacore.com> |
8491 | ||
8492 | * sem_ch8.adb (Use_One_Type): If both clauses appear on the same unit, | |
8493 | the second is redundant, regardless of scopes. | |
8494 | ||
8495 | 2009-04-15 Vincent Celier <celier@adacore.com> | |
8496 | ||
8497 | * prj-nmsc.adb (Get_Directories): Check for sources before checking | |
8498 | the object directory as when there are no sources, they may not be any | |
8499 | object directory. | |
8500 | ||
8501 | * make.adb (Gnatmake): Do not attempt to get the path name of the exec | |
8502 | directory, when there are no exec directory. | |
8503 | ||
8504 | 2009-04-15 Ed Schonberg <schonberg@adacore.com> | |
8505 | ||
8506 | * sem_type.adb (Remove_Conversions): In order to resolve spurious | |
8507 | ambiguities, refine removal of universal interpretations from complex | |
8508 | expressions with literal arguments, when some numeric operators have | |
8509 | been declared abstract. | |
8510 | ||
8511 | 2009-04-15 Ed Falis <falis@adacore.com> | |
8512 | ||
8513 | * init.c: Map SIGSEGV to Storage_Error for all targets for uniformity | |
8514 | and backward compatibility for targets using probing for stack overflow | |
8515 | ||
8516 | 2009-04-15 Ed Schonberg <schonberg@adacore.com> | |
8517 | ||
8518 | * sem_prag.adb (Analyze_Pragma, case 'Obsolescent): Pragma is legal | |
8519 | after any declaration, including renaming declarations. | |
8520 | ||
4bffd4e0 AC |
8521 | 2009-04-15 Arnaud Charlet <charlet@adacore.com> |
8522 | ||
8523 | * gcc-interface/Make-lang.in: Update dependencies. | |
8524 | ||
8525 | * gcc-interface/Makefile.in: Fix VxWorks target pairs. | |
cbd8be94 | 8526 | Update xenomai target pairs. |
4bffd4e0 | 8527 | |
a523b302 JM |
8528 | 2009-04-15 Javier Miranda <miranda@adacore.com> |
8529 | ||
8530 | * exp_ch4.adb (Expand_N_Allocator): Code cleanup. | |
8531 | ||
8532 | * sem_ch6.adb (Check_Anonymous_Return): Add missing support for | |
8533 | functions returning anonymous access to class-wide limited types. Mark | |
8534 | also the containing scope as a task master. | |
8535 | ||
8536 | * sem_ch8.adb (Restore_Scope_Stack): Add missing management for | |
8537 | limited-withed packages. Required to restore their visibility after | |
8538 | processing packages associated with implicit with-clauses. | |
8539 | ||
8540 | * exp_ch3.adb (Build_Class_Wide_Master): Avoid marking masters | |
8541 | associated with return statements because this work is now done by | |
8542 | Check_Anonymous_Return. | |
8543 | (Build_Master): Code cleanup. | |
8544 | ||
e358346d AC |
8545 | 2009-04-15 Thomas Quinot <quinot@adacore.com> |
8546 | ||
8547 | * sem_warn.ads: Minor reformatting | |
8548 | ||
8549 | 2009-04-15 Ed Schonberg <schonberg@adacore.com> | |
8550 | ||
8551 | * sem_ch3.adb: better error message for illegal interfaces | |
8552 | ||
8553 | * sem_ch6.adb (Possible_Freeze): Delay freezing a subprogram if a | |
8554 | formal is an incomplete type from a limited_with clause. | |
8555 | ||
a9872a59 VC |
8556 | 2009-04-15 Vincent Celier <celier@adacore.com> |
8557 | ||
8558 | * prj-nmsc.adb (Locate_Directory): New Boolean parameter | |
8559 | Externally_Built indicating if the project is externally built. If it | |
8560 | is, and --subdirs is specified, but the subdir does not exist, look | |
8561 | for the specified directory, without the subdir. | |
8562 | ||
b8aadf01 AC |
8563 | 2009-04-15 Gary Dismukes <dismukes@adacore.com> |
8564 | ||
8565 | * a-tasatt.adb: Fix typo, plus minor reformatting | |
8566 | ||
8567 | * sem_ch3.ads: Add missing hyphen ("class wide" => "class-wide"). | |
8568 | ||
8569 | * sem_ch10.adb: Add missing hyphen ("use visible" => "use-visible"). | |
8570 | ||
8571 | 2009-04-15 Ed Schonberg <schonberg@adacore.com> | |
8572 | ||
8573 | * sem_ch3.adb (Analyze_Private_Extension_Declaration): Verify that a | |
8574 | private extension whose parent is a synchronized interface carries an | |
8575 | explicit synchronized keyword. | |
8576 | ||
a808ba1b TQ |
8577 | 2009-04-15 Thomas Quinot <quinot@adacore.com> |
8578 | ||
8579 | * exp_smem.adb (Make_Shared_Var_Procs): For a protected type, | |
8580 | instantiate generic shared object package with the corresponding | |
8581 | record type. | |
8582 | ||
e0568eec AC |
8583 | 2009-04-15 Arnaud Charlet <charlet@adacore.com> |
8584 | ||
8585 | * system-linux-sparc.ads: Remove obsolete entries. | |
8586 | ||
8587 | 2009-04-15 Thomas Quinot <quinot@adacore.com> | |
8588 | ||
8589 | * s-tasuti.ads: Add ??? comment | |
8590 | ||
28450a75 ES |
8591 | 2009-04-15 Ed Schonberg <schonberg@adacore.com> |
8592 | ||
8593 | * sem_ch3.adb (Analyze_Type_Declaration): Create freeze node for access | |
8594 | type even if the designated type comes from a limited_with clause, to | |
8595 | ensure that the symbol for the finalization list of the access type is | |
8596 | created. | |
8597 | ||
b0d3b11d AC |
8598 | 2009-04-10 Robert Dewar <dewar@adacore.com> |
8599 | ||
8600 | * sem_warn.ads, sem_warn.adb (Check_Low_Bound_Tested): Catch more cases | |
8601 | for warning suppression. | |
8602 | ||
8603 | 2009-04-10 Ed Schonberg <schonberg@adacore.com> | |
8604 | ||
8605 | * sem_ch8.adb (Use_One_Type): If the two use_type clauses are | |
8606 | identical, there is no redudancy to check. | |
8607 | ||
8608 | 2009-04-10 Gary Dismukes <dismukes@adacore.com> | |
8609 | ||
8610 | * exp_ch5.adb (Expand_N_Extended_Return_Statement): Delete redundant | |
8611 | calls initializing SS_Allocator (which is initialized in following | |
8612 | code). | |
8613 | (Expand_Simple_Function_Return): Add comment about False value for | |
8614 | Comes_From_Source on secondary-stack allocator. | |
8615 | ||
8616 | * exp_ch9.adb (Build_Entry_Family_Name): Add comment. | |
8617 | (Build_Entry_Name): Add comment. | |
8618 | ||
fad0600d AC |
8619 | 2009-04-10 Robert Dewar <dewar@adacore.com> |
8620 | ||
8621 | * einfo.ads, einfo.adb (Low_Bound_Tested): New name for Low_Bound_Known | |
8622 | ||
8623 | * sem_prag.adb (Analyze_Pragma, case Check): Remove check for lower | |
8624 | bound tested, since this is now done more generally in Sem_Res. | |
8625 | ||
8626 | * sem_res.adb (Resolve_Comparison_Op): Add call to | |
8627 | Check_Lower_Bound_Tested. | |
8628 | (Resolve_Equality_Op): Add call to Check_Lower_Bound_Tested | |
8629 | ||
8630 | * sem_warn.ads, sem_warn.adb (Check_Low_Bound_Tested): New procedure | |
8631 | (Low_Bound_Tested): New name for Low_Bound_Known flag | |
8632 | ||
8633 | * exp_ch5.adb: Minor reformatting | |
8634 | ||
8635 | * exp_ch4.adb: | |
8636 | Add comments on copying the Comes_From_Source flag for allocators | |
8637 | ||
8638 | * sinfo.ads: | |
8639 | Add comments on copying the Comes_From_Source flag for allocators | |
8640 | ||
8641 | * exp_ch6.adb (Make_Build_In_Place_Call_In_Allocator): Copy | |
8642 | Comes_From_Source flag from old allocator to new one. | |
8643 | ||
8644 | 2009-04-10 Ed Schonberg <schonberg@adacore.com> | |
8645 | ||
8646 | * sem_ch6.ads: Address missing documentation query | |
8647 | ||
8648 | 2009-04-10 Vincent Celier <celier@adacore.com> | |
8649 | ||
8650 | * prj-attr.adb: | |
8651 | Add new Linker attributes Max_Command_Line_Length, Response_File_Format | |
8652 | and Response_File_Switches. | |
8653 | ||
8654 | * prj-nmsc.adb (Process_Linker): Process new attributes | |
8655 | Max_Command_Line_Length, Response_File_Format and | |
8656 | Response_File_Switches. | |
8657 | ||
8658 | * prj.ads (Response_File_Format): New enumeration type | |
8659 | (Project_Configuration): New componants Max_Command_Line_Length, | |
8660 | Resp_File_Format and Resp_File_Options. | |
8661 | ||
8662 | * snames.ads-tmpl: Add new standard names for linking response files | |
8663 | for gprbuild: GNU, None, Object_List, Option_List, | |
8664 | Max_Command_Line_Length, Response_File_Format and | |
8665 | Response_File_Switches. | |
8666 | ||
8667 | 2009-04-10 Geert Bosch <bosch@adacore.com> | |
8668 | ||
8669 | * system-aix.ads, system-darwin-ppc.ads, system-darwin-x86.ads, | |
8670 | system-freebsd-x86.ads, system-hpux.ads, system-hpux-ia64.ads, | |
8671 | system-irix-n32.ads, system-irix-o32.ads, system-linux-alpha.ads, | |
8672 | system-linux-hppa.ads, system-linux-ia64.ads, system-linux-ppc.ads, | |
8673 | system-linux-s390.ads, system-linux-s390x.ads, system-linux-sh4.ads, | |
8674 | system-linux-sparc.ads, system-linux-x86_64.ads, system-linux-x86.ads, | |
8675 | system-mingw.ads, system-solaris-sparc.ads, system-solaris-sparcv9.ads, | |
8676 | system-solaris-x86.ads, system-tru64.ads, system-vms_64.ads, | |
8677 | system-vms.ads, system-vms-ia64.ads, system-vms-zcx.ads, | |
8678 | system-vxworks-arm.ads, system-vxworks-m68k.ads, | |
8679 | system-vxworks-mips.ads, system-vxworks-ppc.ads, | |
8680 | system-vxworks-sparcv9.ads, system-vxworks-x86.ads | |
8681 | (Backend_Overflow_Checks): Set to True. | |
8682 | ||
934a3a25 AC |
8683 | 2009-04-10 Thomas Quinot <quinot@adacore.com> |
8684 | ||
8685 | * exp_attr.adb: Minor reformatting | |
8686 | ||
8687 | 2009-04-10 Ed Schonberg <schonberg@adacore.com> | |
8688 | ||
8689 | * sem_prag.adb (Check_Precondition_Postcondition): Within a generic, | |
8690 | analyze the expression for a postcondition, even if the compiler mode | |
8691 | is Generate_Code. | |
8692 | ||
ab8e1b35 RD |
8693 | 2009-04-10 Robert Dewar <dewar@adacore.com> |
8694 | ||
8695 | * sem_aux.adb: Minor reformatting | |
8696 | ||
2c880bdf EF |
8697 | 2009-04-10 Ed Falis <falis@adacore.com> |
8698 | ||
8699 | * init.c: Change VxWorks 6 stack overflow checking for kernel apps. | |
8700 | ||
8701 | * system-vxworks-ppc.ads, system-vxworks-x86.ads: Update header. | |
8702 | ||
d8221f45 TQ |
8703 | 2009-04-10 Thomas Quinot <quinot@adacore.com> |
8704 | ||
8705 | * sem_ch6.ads (Check_Subtype_Conformant): Add ??? comment for | |
8706 | undocumented formal. | |
8707 | Minor reformatting | |
8708 | ||
8709 | * a-direio.ads: Fix typo in comment | |
8710 | ||
8711 | * sem_ch3.adb, g-dirope.adb, sem_type.adb, sem_ch12.adb, sem_case.adb, | |
8712 | errout.adb, sem_ch4.adb, sem_ch11.adb, exp_dist.adb, sem_ch13.adb: | |
8713 | Use uniform phrasing for comment at start of subprogram body. | |
8714 | ||
8715 | * xsnamest.adb: Add note to explain why we use specific names for the | |
8716 | newly generated files instead of generating snames.{ads,adb,h} directly | |
8717 | ||
f559e62f AC |
8718 | 2009-04-10 Sergey Rybin <rybin@adacore.com> |
8719 | ||
8720 | * vms_data.ads: | |
8721 | Add qualifier for new gnatstub option '--no-exception' | |
8722 | ||
8723 | * gnat_ugn.texi: | |
8724 | Add the description of the new gnatstub option '--no-exception' | |
8725 | ||
8726 | 2009-04-10 Robert Dewar <dewar@adacore.com> | |
8727 | ||
8728 | * rtsfind.adb: Minor reformatting | |
8729 | ||
8730 | 2009-04-10 Thomas Quinot <quinot@adacore.com> | |
8731 | ||
8732 | * sem_disp.adb: Minor reformatting. | |
8733 | Add comment pointing to RM clause for the case of warning against a | |
8734 | (failed) attempt at declaring a primitive operation elsewhere than in a | |
8735 | package spec. | |
8736 | ||
8737 | 2009-04-10 Ed Schonberg <schonberg@adacore.com> | |
8738 | ||
8739 | * sem_ch12.adb (Denotes_Formal_Package): Check whether the package is | |
8740 | an actual for a previous formal package of the current instance. | |
8741 | ||
e50e1c5e AC |
8742 | 2009-04-10 Bob Duff <duff@adacore.com> |
8743 | ||
8744 | * rtsfind.adb (RTE): Put implicit with_clauses on whatever unit needs | |
8745 | them first, rather than on the extended main unit. | |
8746 | ||
8747 | 2009-04-10 Ed Schonberg <schonberg@adacore.com> | |
8748 | ||
8749 | * sem_ch6.adb (Check_Discriminant_Conformance): If discriminant | |
8750 | specification of full view carries a null exclusion indicator, create | |
8751 | an itype for it, to check for conformance with partial view. | |
8752 | ||
cb736868 AC |
8753 | 2009-04-10 Bob Duff <duff@adacore.com> |
8754 | ||
8755 | * rtsfind.ads: Minor code change: make RE_Unit_Table constant. | |
8756 | ||
8757 | * rtsfind.adb: Minor comment changes, and remove useless code. | |
8758 | ||
8759 | * sinfo.ads: Add ??? comment. | |
8760 | ||
8761 | 2009-04-10 Vincent Celier <celier@adacore.com> | |
8762 | ||
8763 | * vms_data.ads: Add missing GNAT SYNC VMS qualifiers -main= and -U | |
8764 | ||
8a78c50d AC |
8765 | 2009-04-10 Ed Schonberg <schonberg@adacore.com> |
8766 | ||
8767 | * exp_attr.adb (Expand_N_Attribute_Reference, case 'Tag): If the tagged | |
8768 | type is a synchronized type, retrieve tag information from the | |
8769 | corresponding record, which has the dispatch table link. | |
8770 | ||
8771 | 2009-04-10 Jerome Lambourg <lambourg@adacore.com> | |
8772 | ||
8773 | * g-comlin.adb (Group_Analysis): Take care of switches that might be | |
8774 | decomposed afterwards, but are present as-is in the command line | |
8775 | configuration, and thus should be kept as-is. | |
8776 | ||
b66c3ff4 AC |
8777 | 2009-04-10 Robert Dewar <dewar@adacore.com> |
8778 | ||
8779 | * gnat_rm.texi: Document that postconditions are tested on implicit | |
8780 | returns. | |
8781 | ||
8782 | * sem_aux.adb: Minor reformatting | |
8783 | ||
8784 | 2009-04-10 Gary Dismukes <dismukes@adacore.com> | |
8785 | ||
8786 | * itypes.adb (Create_Null_Excluding_Itype): Apply Base_Type when | |
8787 | setting Etype. | |
8788 | ||
8789 | * par-ch3.adb (P_Access_Type_Definition): Set new attribute | |
8790 | Null_Exclusion_In_Return_Present when an access-to-function type has a | |
8791 | result type with an explicit not null. | |
8792 | ||
8793 | * sem_ch3.adb (Access_Subprogram_Definition): If a null exclusion is | |
8794 | given on the result type, then create a null-excluding itype for the | |
8795 | function. | |
8796 | ||
8797 | * sem_ch6.adb (Analyze_Return_Type): Create a null-excluding itype in | |
8798 | the case where a null exclusion is imposed on a named access type. | |
8799 | (Analyze_Subprogram_Specification): Push and pop the scope of the | |
8800 | function around the call to Analyze_Return_Type in the case of no | |
8801 | formals, for consistency with handling when formals are present | |
8802 | (Process_Formals does this). Ensures that any itype created for the | |
8803 | return type will be associated with the proper scope. | |
8804 | ||
8805 | * sem_ch12.adb (Analyze_Generic_Subprogram_Declaration): If a null | |
8806 | exclusion is given on a generic function's result type, then create a | |
8807 | null-excluding itype for the generic function. | |
8808 | (Instantiate_Object): Set Null_Exclusion_Present of a constant created | |
8809 | for an actual for a formal in object according to the setting on the | |
8810 | formal. Ensures null exclusion checks are done when the association is | |
8811 | elaborated. | |
8812 | ||
8813 | * sinfo.ads: Add new flag Null_Exclusion_In_Return_Present on | |
8814 | N_Access_Function_Definition. | |
8815 | ||
8816 | * sinfo.adb: Add Get_ and Set_ operations for | |
8817 | Null_Exclusion_In_Return_Present. | |
8818 | ||
5334d18f BD |
8819 | 2009-04-10 Bob Duff <duff@adacore.com> |
8820 | ||
8821 | * exp_ch5.adb, exp_ch6.adb, sem_ch6.adb: Move the code that creates a | |
8822 | call to the _Postconditions procedure in the case of implicit returns | |
8823 | from analysis to expansion. This eliminates some duplicated code. Use | |
8824 | the Postcondition_Proc to find the identity of this procedure during | |
8825 | expansion. | |
8826 | ||
701b7fbb RD |
8827 | 2009-04-10 Robert Dewar <dewar@adacore.com> |
8828 | ||
8829 | * sem_ch6.adb: Minor code clean up. | |
8830 | ||
8831 | * einfo.ads, sem_attr.adb: Minor comment fixes. | |
8832 | ||
8833 | 2009-04-10 Robert Dewar <dewar@adacore.com> | |
8834 | ||
8835 | * sem_ch8.adb: Minor reformatting | |
8836 | ||
7ca78bba RD |
8837 | 2009-04-10 Robert Dewar <dewar@adacore.com> |
8838 | ||
8839 | * einfo.ads, einfo.adb (Postcondition_Proc): New attribute for | |
8840 | procedures. | |
8841 | ||
8842 | * sem_ch6.adb: Minor code clean up. | |
8843 | ||
043ce308 AC |
8844 | 2009-04-10 Robert Dewar <dewar@adacore.com> |
8845 | ||
8846 | * mlib-tgt-specific-xi.adb: Minor reformatting | |
8847 | ||
8848 | 2009-04-10 Bob Duff <duff@adacore.com> | |
8849 | ||
8850 | * einfo.ads: Minor comment fixes | |
8851 | ||
8852 | 2009-04-10 Vincent Celier <celier@adacore.com> | |
8853 | ||
8854 | * snames.ads-tmpl: Remove names that are no longer used in the | |
8855 | Project Manager. | |
8856 | Mark specifically those that are used only in gprbuild | |
8857 | ||
8858 | 2009-04-10 Eric Botcazou <ebotcazou@adacore.com> | |
8859 | ||
8860 | * init.c: Adjust EH support code on Alpha/Tru64. | |
8861 | ||
8862 | 2009-04-10 Bob Duff <duff@adacore.com> | |
8863 | ||
8864 | * sem_ch6.adb (Process_PPCs): Add a call to the _Postconditions | |
8865 | procedure on every path that could return implicitly (not via a return | |
8866 | statement) from a procedure. | |
8867 | ||
8868 | 2009-04-10 Ed Schonberg <schonberg@adacore.com> | |
8869 | ||
8870 | * exp_ch9.adb (Build_Master_Entity): An extended return statement is a | |
8871 | valid scope for a task declarations and therefore for a master id. | |
8872 | ||
8873 | 2009-04-10 Robert Dewar <dewar@adacore.com> | |
8874 | ||
8875 | * sem_aux.adb: Minor reformatting | |
8876 | ||
8877 | 2009-04-10 Vincent Celier <celier@adacore.com> | |
8878 | ||
8879 | * scn.adb (Obsolescent_Check_Flag): New Boolean flag, initialized to | |
8880 | True. | |
8881 | (Obsolescent_Check): Do nothing if Obsolescent_Check_Flag is False | |
8882 | (Set_Obsolescent_Check): New procedure to change the value of | |
8883 | Obsolescent_Check_Flag. | |
8884 | ||
8885 | * scn.ads (Set_Obsolescent_Check): New procedure to control | |
8886 | Obsolescent_Check. | |
8887 | ||
8888 | * sinput-l.adb (Load_File): Do not check for pragma Restrictions on | |
8889 | obsolescent features while preprocessing. | |
8890 | ||
550f4135 AC |
8891 | 2009-04-10 Thomas Quinot <quinot@adacore.com> |
8892 | ||
8893 | * xsnamest.adb: Use XUtil to have uniform line endings (UNIX style) in | |
8894 | generated files on all platforms. | |
8895 | ||
8896 | 2009-04-10 Robert Dewar <dewar@adacore.com> | |
8897 | ||
8898 | * sem_aux.adb: Minor reformatting | |
8899 | ||
8900 | 2009-04-10 Ed Schonberg <schonberg@adacore.com> | |
8901 | ||
8902 | * sem_ch3.adb (Access_Definition): Handle properly the case of a | |
8903 | protected function with formals that returns an anonymous access type. | |
8904 | ||
8905 | 2009-04-10 Thomas Quinot <quinot@adacore.com> | |
8906 | ||
8907 | * sem_disp.adb: Minor reformatting | |
8908 | ||
8909 | 2009-04-10 Vasiliy Fofanov <fofanov@adacore.com> | |
8910 | ||
8911 | * seh_init.c: Do not use the 32-bit specific implementation of | |
8912 | __gnat_install_SEH_handler on 64-bit Windows target (64-bit specific | |
8913 | version TBD). | |
8914 | ||
8915 | 2009-04-10 Jose Ruiz <ruiz@adacore.com> | |
8916 | ||
8917 | * mlib-tgt-specific-xi.adb (Get_Target_Prefix): Target_Name may contain | |
8918 | a '/' at the end so we better use the complete target name to determine | |
8919 | whether it is a PowerPC 55xx target. | |
8920 | ||
3996951a TQ |
8921 | 2009-04-10 Thomas Quinot <quinot@adacore.com> |
8922 | ||
8923 | * sem_eval.adb: Minor reformatting | |
8924 | ||
b62a90f2 AC |
8925 | 2009-04-10 Thomas Quinot <quinot@adacore.com> |
8926 | ||
8927 | * snames.h, snames.ads, snames.adb: Remove files, now generated from | |
8928 | templates. | |
8929 | ||
8930 | * snames.h-tmpl, snames.ads-tmpl, snames.adb-tmpl: Templates for the | |
8931 | above. | |
8932 | ||
8933 | * xsnamest.adb: New file. | |
8934 | ||
8935 | * gcc-interface/Make-lang.in: New target for automated generation of | |
8936 | snames.ads, snames.adb and snames.h | |
8937 | ||
62298c61 TG |
8938 | 2009-04-10 Tristan Gingold <gingold@adacore.com> |
8939 | ||
8940 | * gcc-interface/Makefile.in, gcc-interface/utils.c: Include "rtl.h" to | |
8941 | avoid compile time warnings. | |
8942 | Do not add gcc/config in include search list while compiling the RTS. | |
8943 | Pragma Thread_Local_Storage is available on any target. | |
8944 | ||
3764bb00 BD |
8945 | 2009-04-10 Bob Duff <duff@adacore.com> |
8946 | ||
8947 | * sem.ads, par.adb, sem_ch6.adb, sem_ch8.adb: Minor comment fixes. | |
8948 | ||
b3b9865d AC |
8949 | 2009-04-10 Tristan Gingold <gingold@adacore.com> |
8950 | ||
8951 | * init.c: Install signal handler on Darwin. | |
8952 | ||
8953 | 2009-04-10 Robert Dewar <dewar@adacore.com> | |
8954 | ||
8955 | * sem_prag.adb: Minor reformatting | |
8956 | ||
8957 | * exp_util.adb (Make_Non_Empty_Check): New function | |
8958 | (Silly_Boolean_Array_Not_Test): Add call to Make_Non_Empty_Check | |
8959 | (Silly_Boolean_Array_Xor_Test): Use Make_Non_Empty_Check | |
8960 | ||
8961 | 2009-04-10 Arnaud Charlet <charlet@adacore.com> | |
8962 | ||
8963 | * make.adb, gnatlink.adb: Rename JGNAT toolchain. | |
8964 | ||
8965 | 2009-04-10 Jose Ruiz <ruiz@adacore.com> | |
8966 | ||
8967 | * mlib-tgt-specific-xi.adb (Get_Target_Prefix): Insert the appropriate | |
8968 | tool prefix for AVR and PowerPC 55xx targets. | |
8969 | ||
8970 | 2009-04-10 Robert Dewar <dewar@adacore.com> | |
8971 | ||
8972 | * sem_warn.adb (Within_Postcondition): New function | |
8973 | (Check_Unset_Reference): Use Within_Postcondition to stop bad warning | |
8974 | ||
c5288c90 AC |
8975 | 2009-04-10 Robert Dewar <dewar@adacore.com> |
8976 | ||
8977 | * sem_warn.adb: Minor reformatting | |
8978 | ||
8979 | * make.adb: Minor reformatting. | |
8980 | ||
8981 | 2009-04-10 Gary Dismukes <dismukes@adacore.com> | |
8982 | ||
8983 | * exp_ch7.adb (Find_Final_List): When creating a finalization-chain | |
8984 | entity and the scope is a subprogram, retrieve the Sloc of the | |
8985 | subprogram's body rather than using the sloc of the spec, for better | |
8986 | line-stepping behavior in gdb. | |
8987 | (Wrap_Transient_Declaration): For the Sloc of nodes created with a list | |
8988 | controller, use the Sloc of the first declaration of the containing list | |
8989 | rather than that of the node that triggered creation of the list | |
8990 | controller. | |
8991 | ||
2844b330 AC |
8992 | 2009-04-10 Vincent Celier <celier@adacore.com> |
8993 | ||
8994 | * prj-nmsc.adb (Check_Naming_Schemes): Initialize local variable Casing | |
8995 | to avoid gcc warning. | |
8996 | ||
8997 | 2009-04-10 Robert Dewar <dewar@adacore.com> | |
8998 | ||
8999 | * g-comlin.adb: Add ??? comment | |
9000 | ||
9001 | 2009-04-10 Ed Schonberg <schonberg@adacore.com> | |
9002 | ||
9003 | * sem_warn.adb (Check_Unused_Withs): Do not emit message about | |
9004 | unreferenced entities for a package with no visible declarations. | |
9005 | ||
9006 | 2009-04-10 Robert Dewar <dewar@adacore.com> | |
9007 | ||
9008 | * exp_ch9.adb: Minor reformatting | |
9009 | ||
be21e9d8 AC |
9010 | 2009-04-10 Thomas Quinot <quinot@adacore.com> |
9011 | ||
9012 | * sem_prag.adb: Minor reformatting | |
9013 | ||
9014 | 2009-04-10 Vincent Celier <celier@adacore.com> | |
9015 | ||
9016 | * prj-nmsc.adb: | |
9017 | (Check_Library_Attributes): For a project qualified as a library project | |
9018 | that is not a library project, indicate in the error message which | |
9019 | attributes are missing (Library_Dir and/or Library_Name). | |
9020 | ||
4a7dedcb BD |
9021 | 2009-04-10 Bob Duff <duff@adacore.com> |
9022 | ||
9023 | * exp_ch5.adb, exp_ch9.adb: Avoid use of No_Position in Sloc of | |
9024 | generated nodes, because it might confuse various circuits in the FE. | |
9025 | ||
4017021b AC |
9026 | 2009-04-10 Ed Schonberg <schonberg@adacore.com> |
9027 | ||
9028 | * sem_prag.adb (Analyze_Pragma, case Task_Name): Do not expand argument | |
9029 | of pragma. It will be recopied and analyzed when used in call to | |
9030 | Create_Task. | |
9031 | ||
9032 | * sem_res.adb (Resolve_Call): Clarify use of secondary stack within | |
9033 | initialization operations and recognize use of it in procedure calls | |
9034 | within init_procs. | |
9035 | ||
9036 | * exp_ch9.adb (Make_Task_Create_Call): Copy full tree of Task_Name | |
9037 | argument, because it may have side-effects. | |
9038 | ||
9039 | * exp_ch2.adb: Remove obsolete comments on default functions | |
9040 | ||
9041 | 2009-04-10 Jose Ruiz <ruiz@adacore.com> | |
9042 | ||
9043 | * adaint.c (RTX section): Do for RTX the same thing as we do for | |
9044 | Windows (include ctype.h and define a fallback ISALPHA if IN_RTS). | |
9045 | ||
24357840 RD |
9046 | 2009-04-10 Robert Dewar <dewar@adacore.com> |
9047 | ||
9048 | * sem_aux.ads, sem_aux.adb (Nearest_Current_Scope): New function. | |
9049 | ||
9050 | * sem_res.adb (Resolve_Call): Fix test for | |
9051 | Suppress_Value_Tracking_On_Call (was wrong for the case of a call from | |
9052 | a non-dynamic scope). | |
9053 | ||
4f64abad AC |
9054 | 2009-04-10 Robert Dewar <dewar@adacore.com> |
9055 | ||
9056 | * make.adb: Add comment. | |
9057 | Minor reformatting | |
9058 | ||
9059 | 2009-04-10 Nicolas Setton <setton@adacore.com> | |
9060 | ||
9061 | * s-osprim-darwin.adb: New file. | |
9062 | ||
9063 | * s-osinte-darwin.adb, s-osinte-darwin.ads: Fix binding to timespec. | |
9064 | ||
9065 | 2009-04-10 Thomas Quinot <quinot@adacore.com> | |
9066 | ||
9067 | * g-socket.ads: Add comment clarifying alignment requirement for Fd_Set | |
9068 | ||
748086b7 JJ |
9069 | 2009-04-09 Nick Clifton <nickc@redhat.com> |
9070 | ||
9071 | * adadecode.h: Change copyright header to refer to version | |
9072 | 3 of the GNU General Public License with version 3.1 of the | |
9073 | GCC Runtime Library Exception and to point readers at the | |
9074 | COPYING3 and COPYING3.RUNTIME files and the FSF's license web | |
9075 | page. | |
9076 | * 9drpc.adb: Likewise. | |
9077 | * a-assert.adb: Likewise. | |
9078 | * a-astaco.adb: Likewise. | |
9079 | * a-calari.adb: Likewise. | |
9080 | * a-calcon.adb: Likewise. | |
9081 | * a-calcon.ads: Likewise. | |
9082 | * a-caldel.ads: Likewise. | |
9083 | * a-calend-vms.adb: Likewise. | |
9084 | * a-calend-vms.ads: Likewise. | |
9085 | * a-calend.adb: Likewise. | |
9086 | * a-calend.ads: Likewise. | |
9087 | * a-calfor.adb: Likewise. | |
9088 | * a-catizo.adb: Likewise. | |
9089 | * a-cdlili.adb: Likewise. | |
9090 | * a-cdlili.ads: Likewise. | |
9091 | * a-cgaaso.adb: Likewise. | |
9092 | * a-cgaaso.ads: Likewise. | |
9093 | * a-cgarso.adb: Likewise. | |
9094 | * a-cgcaso.adb: Likewise. | |
9095 | * a-chacon.adb: Likewise. | |
9096 | * a-chacon.ads: Likewise. | |
9097 | * a-chahan.adb: Likewise. | |
9098 | * a-chahan.ads: Likewise. | |
9099 | * a-chlat9.ads: Likewise. | |
9100 | * a-chtgke.adb: Likewise. | |
9101 | * a-chtgke.ads: Likewise. | |
9102 | * a-chtgop.adb: Likewise. | |
9103 | * a-chtgop.ads: Likewise. | |
9104 | * a-chzla1.ads: Likewise. | |
9105 | * a-chzla9.ads: Likewise. | |
9106 | * a-cidlli.adb: Likewise. | |
9107 | * a-cidlli.ads: Likewise. | |
9108 | * a-cihama.adb: Likewise. | |
9109 | * a-cihama.ads: Likewise. | |
9110 | * a-cihase.adb: Likewise. | |
9111 | * a-cihase.ads: Likewise. | |
9112 | * a-ciorma.adb: Likewise. | |
9113 | * a-ciorma.ads: Likewise. | |
9114 | * a-ciormu.adb: Likewise. | |
9115 | * a-ciormu.ads: Likewise. | |
9116 | * a-ciorse.adb: Likewise. | |
9117 | * a-ciorse.ads: Likewise. | |
9118 | * a-clrefi.adb: Likewise. | |
9119 | * a-clrefi.ads: Likewise. | |
9120 | * a-cohama.adb: Likewise. | |
9121 | * a-cohama.ads: Likewise. | |
9122 | * a-cohase.adb: Likewise. | |
9123 | * a-cohase.ads: Likewise. | |
9124 | * a-cohata.ads: Likewise. | |
9125 | * a-coinve.adb: Likewise. | |
9126 | * a-coinve.ads: Likewise. | |
9127 | * a-colien.adb: Likewise. | |
9128 | * a-colien.ads: Likewise. | |
9129 | * a-colire.adb: Likewise. | |
9130 | * a-colire.ads: Likewise. | |
9131 | * a-comlin.adb: Likewise. | |
9132 | * a-comlin.ads: Likewise. | |
9133 | * a-convec.adb: Likewise. | |
9134 | * a-convec.ads: Likewise. | |
9135 | * a-coorma.adb: Likewise. | |
9136 | * a-coorma.ads: Likewise. | |
9137 | * a-coormu.adb: Likewise. | |
9138 | * a-coormu.ads: Likewise. | |
9139 | * a-coorse.adb: Likewise. | |
9140 | * a-coorse.ads: Likewise. | |
9141 | * a-coprnu.adb: Likewise. | |
9142 | * a-coprnu.ads: Likewise. | |
9143 | * a-crbltr.ads: Likewise. | |
9144 | * a-crbtgk.adb: Likewise. | |
9145 | * a-crbtgk.ads: Likewise. | |
9146 | * a-crbtgo.adb: Likewise. | |
9147 | * a-crbtgo.ads: Likewise. | |
9148 | * a-crdlli.adb: Likewise. | |
9149 | * a-crdlli.ads: Likewise. | |
9150 | * a-cwila1.ads: Likewise. | |
9151 | * a-cwila9.ads: Likewise. | |
9152 | * a-decima.adb: Likewise. | |
9153 | * a-decima.ads: Likewise. | |
9154 | * a-diocst.adb: Likewise. | |
9155 | * a-diocst.ads: Likewise. | |
9156 | * a-direct.adb: Likewise. | |
9157 | * a-direct.ads: Likewise. | |
9158 | * a-direio.adb: Likewise. | |
9159 | * a-direio.ads: Likewise. | |
9160 | * a-dirval-mingw.adb: Likewise. | |
9161 | * a-dirval-vms.adb: Likewise. | |
9162 | * a-dirval.adb: Likewise. | |
9163 | * a-dirval.ads: Likewise. | |
9164 | * a-dynpri.adb: Likewise. | |
9165 | * a-einuoc.adb: Likewise. | |
9166 | * a-einuoc.ads: Likewise. | |
9167 | * a-elchha.adb: Likewise. | |
9168 | * a-elchha.ads: Likewise. | |
9169 | * a-envvar.adb: Likewise. | |
9170 | * a-excach.adb: Likewise. | |
9171 | * a-except-2005.adb: Likewise. | |
9172 | * a-except-2005.ads: Likewise. | |
9173 | * a-except.adb: Likewise. | |
9174 | * a-except.ads: Likewise. | |
9175 | * a-excpol-abort.adb: Likewise. | |
9176 | * a-excpol.adb: Likewise. | |
9177 | * a-exctra.adb: Likewise. | |
9178 | * a-exctra.ads: Likewise. | |
9179 | * a-exetim-mingw.adb: Likewise. | |
9180 | * a-exetim-mingw.ads: Likewise. | |
9181 | * a-exexda.adb: Likewise. | |
9182 | * a-exexpr-gcc.adb: Likewise. | |
9183 | * a-exexpr.adb: Likewise. | |
9184 | * a-exextr.adb: Likewise. | |
9185 | * a-exstat.adb: Likewise. | |
9186 | * a-filico.adb: Likewise. | |
9187 | * a-filico.ads: Likewise. | |
9188 | * a-finali.adb: Likewise. | |
9189 | * a-finali.ads: Likewise. | |
9190 | * a-interr.ads: Likewise. | |
9191 | * a-intnam-aix.ads: Likewise. | |
9192 | * a-intnam-darwin.ads: Likewise. | |
9193 | * a-intnam-dummy.ads: Likewise. | |
9194 | * a-intnam-freebsd.ads: Likewise. | |
9195 | * a-intnam-hpux.ads: Likewise. | |
9196 | * a-intnam-irix.ads: Likewise. | |
9197 | * a-intnam-linux.ads: Likewise. | |
9198 | * a-intnam-lynxos.ads: Likewise. | |
9199 | * a-intnam-mingw.ads: Likewise. | |
9200 | * a-intnam-rtems.ads: Likewise. | |
9201 | * a-intnam-solaris.ads: Likewise. | |
9202 | * a-intnam-tru64.ads: Likewise. | |
9203 | * a-intnam-vms.ads: Likewise. | |
9204 | * a-intnam-vxworks.ads: Likewise. | |
9205 | * a-intsig.adb: Likewise. | |
9206 | * a-intsig.ads: Likewise. | |
9207 | * a-ngcefu.adb: Likewise. | |
9208 | * a-ngcoar.adb: Likewise. | |
9209 | * a-ngcoty.adb: Likewise. | |
9210 | * a-ngcoty.ads: Likewise. | |
9211 | * a-ngelfu.adb: Likewise. | |
9212 | * a-ngrear.adb: Likewise. | |
9213 | * a-ngrear.ads: Likewise. | |
9214 | * a-nudira.adb: Likewise. | |
9215 | * a-nudira.ads: Likewise. | |
9216 | * a-nuflra.adb: Likewise. | |
9217 | * a-nuflra.ads: Likewise. | |
9218 | * a-numaux-darwin.adb: Likewise. | |
9219 | * a-numaux-darwin.ads: Likewise. | |
9220 | * a-numaux-libc-x86.ads: Likewise. | |
9221 | * a-numaux-vxworks.ads: Likewise. | |
9222 | * a-numaux-x86.adb: Likewise. | |
9223 | * a-numaux-x86.ads: Likewise. | |
9224 | * a-numaux.ads: Likewise. | |
9225 | * a-rbtgso.adb: Likewise. | |
9226 | * a-rbtgso.ads: Likewise. | |
9227 | * a-reatim.ads: Likewise. | |
9228 | * a-retide.adb: Likewise. | |
9229 | * a-retide.ads: Likewise. | |
9230 | * a-rttiev.adb: Likewise. | |
9231 | * a-rttiev.ads: Likewise. | |
9232 | * a-secain.adb: Likewise. | |
9233 | * a-secain.ads: Likewise. | |
9234 | * a-sequio.adb: Likewise. | |
9235 | * a-sequio.ads: Likewise. | |
9236 | * a-shcain.adb: Likewise. | |
9237 | * a-shcain.ads: Likewise. | |
9238 | * a-siocst.adb: Likewise. | |
9239 | * a-siocst.ads: Likewise. | |
9240 | * a-slcain.adb: Likewise. | |
9241 | * a-slcain.ads: Likewise. | |
9242 | * a-ssicst.adb: Likewise. | |
9243 | * a-ssicst.ads: Likewise. | |
9244 | * a-stboha.adb: Likewise. | |
9245 | * a-stmaco.ads: Likewise. | |
9246 | * a-storio.adb: Likewise. | |
9247 | * a-strbou.adb: Likewise. | |
9248 | * a-strbou.ads: Likewise. | |
9249 | * a-stream.ads: Likewise. | |
9250 | * a-strfix.adb: Likewise. | |
9251 | * a-strhas.adb: Likewise. | |
9252 | * a-strmap.adb: Likewise. | |
9253 | * a-strmap.ads: Likewise. | |
9254 | * a-strsea.adb: Likewise. | |
9255 | * a-strsea.ads: Likewise. | |
9256 | * a-strsup.adb: Likewise. | |
9257 | * a-strsup.ads: Likewise. | |
9258 | * a-strunb.adb: Likewise. | |
9259 | * a-strunb.ads: Likewise. | |
9260 | * a-ststio.adb: Likewise. | |
9261 | * a-ststio.ads: Likewise. | |
9262 | * a-stunau.adb: Likewise. | |
9263 | * a-stunau.ads: Likewise. | |
9264 | * a-stunha.adb: Likewise. | |
9265 | * a-stwibo.adb: Likewise. | |
9266 | * a-stwibo.ads: Likewise. | |
9267 | * a-stwifi.adb: Likewise. | |
9268 | * a-stwiha.adb: Likewise. | |
9269 | * a-stwima.adb: Likewise. | |
9270 | * a-stwima.ads: Likewise. | |
9271 | * a-stwise.adb: Likewise. | |
9272 | * a-stwise.ads: Likewise. | |
9273 | * a-stwisu.adb: Likewise. | |
9274 | * a-stwisu.ads: Likewise. | |
9275 | * a-stwiun.adb: Likewise. | |
9276 | * a-stwiun.ads: Likewise. | |
9277 | * a-stzbou.adb: Likewise. | |
9278 | * a-stzbou.ads: Likewise. | |
9279 | * a-stzfix.adb: Likewise. | |
9280 | * a-stzhas.adb: Likewise. | |
9281 | * a-stzmap.adb: Likewise. | |
9282 | * a-stzmap.ads: Likewise. | |
9283 | * a-stzsea.adb: Likewise. | |
9284 | * a-stzsea.ads: Likewise. | |
9285 | * a-stzsup.adb: Likewise. | |
9286 | * a-stzsup.ads: Likewise. | |
9287 | * a-stzunb.adb: Likewise. | |
9288 | * a-stzunb.ads: Likewise. | |
9289 | * a-suteio.adb: Likewise. | |
9290 | * a-suteio.ads: Likewise. | |
9291 | * a-swbwha.adb: Likewise. | |
9292 | * a-swmwco.ads: Likewise. | |
9293 | * a-swunau.adb: Likewise. | |
9294 | * a-swunau.ads: Likewise. | |
9295 | * a-swuwha.adb: Likewise. | |
9296 | * a-swuwti.adb: Likewise. | |
9297 | * a-swuwti.ads: Likewise. | |
9298 | * a-sytaco.adb: Likewise. | |
9299 | * a-sytaco.ads: Likewise. | |
9300 | * a-szbzha.adb: Likewise. | |
9301 | * a-szmzco.ads: Likewise. | |
9302 | * a-szunau.adb: Likewise. | |
9303 | * a-szunau.ads: Likewise. | |
9304 | * a-szuzha.adb: Likewise. | |
9305 | * a-szuzti.adb: Likewise. | |
9306 | * a-szuzti.ads: Likewise. | |
9307 | * a-tags.adb: Likewise. | |
9308 | * a-tags.ads: Likewise. | |
9309 | * a-tasatt.ads: Likewise. | |
9310 | * a-taside.adb: Likewise. | |
9311 | * a-taside.ads: Likewise. | |
9312 | * a-taster.adb: Likewise. | |
9313 | * a-teioed.adb: Likewise. | |
9314 | * a-teioed.ads: Likewise. | |
9315 | * a-textio.adb: Likewise. | |
9316 | * a-textio.ads: Likewise. | |
9317 | * a-tiboio.adb: Likewise. | |
9318 | * a-ticoau.adb: Likewise. | |
9319 | * a-ticoau.ads: Likewise. | |
9320 | * a-ticoio.adb: Likewise. | |
9321 | * a-ticoio.ads: Likewise. | |
9322 | * a-tideau.adb: Likewise. | |
9323 | * a-tideau.ads: Likewise. | |
9324 | * a-tideio.adb: Likewise. | |
9325 | * a-tideio.ads: Likewise. | |
9326 | * a-tienau.adb: Likewise. | |
9327 | * a-tienau.ads: Likewise. | |
9328 | * a-tienio.adb: Likewise. | |
9329 | * a-tienio.ads: Likewise. | |
9330 | * a-tifiio.adb: Likewise. | |
9331 | * a-tifiio.ads: Likewise. | |
9332 | * a-tiflau.adb: Likewise. | |
9333 | * a-tiflau.ads: Likewise. | |
9334 | * a-tiflio.adb: Likewise. | |
9335 | * a-tiflio.ads: Likewise. | |
9336 | * a-tigeau.adb: Likewise. | |
9337 | * a-tigeau.ads: Likewise. | |
9338 | * a-tiinau.adb: Likewise. | |
9339 | * a-tiinau.ads: Likewise. | |
9340 | * a-tiinio.adb: Likewise. | |
9341 | * a-tiinio.ads: Likewise. | |
9342 | * a-timoau.adb: Likewise. | |
9343 | * a-timoau.ads: Likewise. | |
9344 | * a-timoio.adb: Likewise. | |
9345 | * a-timoio.ads: Likewise. | |
9346 | * a-tiocst.adb: Likewise. | |
9347 | * a-tiocst.ads: Likewise. | |
9348 | * a-titest.adb: Likewise. | |
9349 | * a-wichun.adb: Likewise. | |
9350 | * a-wichun.ads: Likewise. | |
9351 | * a-witeio.adb: Likewise. | |
9352 | * a-witeio.ads: Likewise. | |
9353 | * a-wtcoau.adb: Likewise. | |
9354 | * a-wtcoau.ads: Likewise. | |
9355 | * a-wtcoio.adb: Likewise. | |
9356 | * a-wtcstr.adb: Likewise. | |
9357 | * a-wtcstr.ads: Likewise. | |
9358 | * a-wtdeau.adb: Likewise. | |
9359 | * a-wtdeau.ads: Likewise. | |
9360 | * a-wtdeio.adb: Likewise. | |
9361 | * a-wtdeio.ads: Likewise. | |
9362 | * a-wtedit.adb: Likewise. | |
9363 | * a-wtedit.ads: Likewise. | |
9364 | * a-wtenau.adb: Likewise. | |
9365 | * a-wtenau.ads: Likewise. | |
9366 | * a-wtenio.adb: Likewise. | |
9367 | * a-wtenio.ads: Likewise. | |
9368 | * a-wtfiio.adb: Likewise. | |
9369 | * a-wtfiio.ads: Likewise. | |
9370 | * a-wtflau.adb: Likewise. | |
9371 | * a-wtflau.ads: Likewise. | |
9372 | * a-wtflio.adb: Likewise. | |
9373 | * a-wtflio.ads: Likewise. | |
9374 | * a-wtgeau.adb: Likewise. | |
9375 | * a-wtgeau.ads: Likewise. | |
9376 | * a-wtinau.adb: Likewise. | |
9377 | * a-wtinau.ads: Likewise. | |
9378 | * a-wtinio.adb: Likewise. | |
9379 | * a-wtmoau.adb: Likewise. | |
9380 | * a-wtmoau.ads: Likewise. | |
9381 | * a-wtmoio.adb: Likewise. | |
9382 | * a-wtmoio.ads: Likewise. | |
9383 | * a-wttest.adb: Likewise. | |
9384 | * a-wwboio.adb: Likewise. | |
9385 | * a-zchuni.adb: Likewise. | |
9386 | * a-zchuni.ads: Likewise. | |
9387 | * a-ztcoau.adb: Likewise. | |
9388 | * a-ztcoau.ads: Likewise. | |
9389 | * a-ztcoio.adb: Likewise. | |
9390 | * a-ztcstr.adb: Likewise. | |
9391 | * a-ztcstr.ads: Likewise. | |
9392 | * a-ztdeau.adb: Likewise. | |
9393 | * a-ztdeau.ads: Likewise. | |
9394 | * a-ztdeio.adb: Likewise. | |
9395 | * a-ztdeio.ads: Likewise. | |
9396 | * a-ztedit.adb: Likewise. | |
9397 | * a-ztedit.ads: Likewise. | |
9398 | * a-ztenau.adb: Likewise. | |
9399 | * a-ztenau.ads: Likewise. | |
9400 | * a-ztenio.adb: Likewise. | |
9401 | * a-ztenio.ads: Likewise. | |
9402 | * a-ztexio.adb: Likewise. | |
9403 | * a-ztexio.ads: Likewise. | |
9404 | * a-ztfiio.adb: Likewise. | |
9405 | * a-ztfiio.ads: Likewise. | |
9406 | * a-ztflau.adb: Likewise. | |
9407 | * a-ztflau.ads: Likewise. | |
9408 | * a-ztflio.adb: Likewise. | |
9409 | * a-ztflio.ads: Likewise. | |
9410 | * a-ztgeau.adb: Likewise. | |
9411 | * a-ztgeau.ads: Likewise. | |
9412 | * a-ztinau.adb: Likewise. | |
9413 | * a-ztinau.ads: Likewise. | |
9414 | * a-ztinio.adb: Likewise. | |
9415 | * a-ztmoau.adb: Likewise. | |
9416 | * a-ztmoau.ads: Likewise. | |
9417 | * a-ztmoio.adb: Likewise. | |
9418 | * a-ztmoio.ads: Likewise. | |
9419 | * a-zttest.adb: Likewise. | |
9420 | * a-zzboio.adb: Likewise. | |
9421 | * adadecode.c: Likewise. | |
9422 | * adaint.c: Likewise. | |
9423 | * adaint.h: Likewise. | |
9424 | * alloc.ads: Likewise. | |
9425 | * argv.c: Likewise. | |
9426 | * arit64.c: Likewise. | |
9427 | * atree.adb: Likewise. | |
9428 | * atree.ads: Likewise. | |
9429 | * aux-io.c: Likewise. | |
9430 | * cal.c: Likewise. | |
9431 | * casing.adb: Likewise. | |
9432 | * casing.ads: Likewise. | |
9433 | * cio.c: Likewise. | |
9434 | * csets.adb: Likewise. | |
9435 | * csets.ads: Likewise. | |
9436 | * cstreams.c: Likewise. | |
9437 | * ctrl_c.c: Likewise. | |
9438 | * debug.adb: Likewise. | |
9439 | * debug.ads: Likewise. | |
9440 | * dec.ads: Likewise. | |
9441 | * einfo.adb: Likewise. | |
9442 | * einfo.ads: Likewise. | |
9443 | * elists.adb: Likewise. | |
9444 | * elists.ads: Likewise. | |
9445 | * env.c: Likewise. | |
9446 | * env.h: Likewise. | |
9447 | * errno.c: Likewise. | |
9448 | * exit.c: Likewise. | |
9449 | * fe.h: Likewise. | |
9450 | * final.c: Likewise. | |
9451 | * fname.adb: Likewise. | |
9452 | * fname.ads: Likewise. | |
9453 | * g-allein.ads: Likewise. | |
9454 | * g-alleve.adb: Likewise. | |
9455 | * g-alleve.ads: Likewise. | |
9456 | * g-altcon.adb: Likewise. | |
9457 | * g-altcon.ads: Likewise. | |
9458 | * g-altive.ads: Likewise. | |
9459 | * g-alveop.adb: Likewise. | |
9460 | * g-alveop.ads: Likewise. | |
9461 | * g-alvety.ads: Likewise. | |
9462 | * g-alvevi.ads: Likewise. | |
9463 | * g-arrspl.adb: Likewise. | |
9464 | * g-arrspl.ads: Likewise. | |
9465 | * g-calend.ads: Likewise. | |
9466 | * g-comlin.adb: Likewise. | |
9467 | * g-debpoo.adb: Likewise. | |
9468 | * g-debpoo.ads: Likewise. | |
9469 | * g-eacodu-vms.adb: Likewise. | |
9470 | * g-eacodu.adb: Likewise. | |
9471 | * g-excact.adb: Likewise. | |
9472 | * g-excact.ads: Likewise. | |
9473 | * g-locfil.adb: Likewise. | |
9474 | * g-os_lib.ads: Likewise. | |
9475 | * g-rannum.adb: Likewise. | |
9476 | * g-rannum.ads: Likewise. | |
9477 | * g-regist.adb: Likewise. | |
9478 | * g-regist.ads: Likewise. | |
9479 | * g-signal.adb: Likewise. | |
9480 | * g-signal.ads: Likewise. | |
9481 | * g-soccon.ads: Likewise. | |
9482 | * g-string.adb: Likewise. | |
9483 | * g-string.ads: Likewise. | |
9484 | * g-strspl.ads: Likewise. | |
9485 | * g-timsta.adb: Likewise. | |
9486 | * g-timsta.ads: Likewise. | |
9487 | * g-trasym-vms-alpha.adb: Likewise. | |
9488 | * g-trasym-vms-ia64.adb: Likewise. | |
9489 | * g-utf_32.adb: Likewise. | |
9490 | * g-utf_32.ads: Likewise. | |
9491 | * g-wistsp.ads: Likewise. | |
9492 | * g-zstspl.ads: Likewise. | |
9493 | * gmem.c: Likewise. | |
9494 | * gnatvsn.adb: Likewise. | |
9495 | * gnatvsn.ads: Likewise. | |
9496 | * gsocket.h: Likewise. | |
9497 | * hostparm.ads: Likewise. | |
9498 | * i-c.adb: Likewise. | |
9499 | * i-cexten.ads: Likewise. | |
9500 | * i-cobol.adb: Likewise. | |
9501 | * i-cobol.ads: Likewise. | |
9502 | * i-cpoint.adb: Likewise. | |
9503 | * i-cpoint.ads: Likewise. | |
9504 | * i-cpp.adb: Likewise. | |
9505 | * i-cpp.ads: Likewise. | |
9506 | * i-cstrea-vms.adb: Likewise. | |
9507 | * i-cstrea.adb: Likewise. | |
9508 | * i-cstrea.ads: Likewise. | |
9509 | * i-cstrin.adb: Likewise. | |
9510 | * i-cstrin.ads: Likewise. | |
9511 | * i-forbla-darwin.adb: Likewise. | |
9512 | * i-forbla-unimplemented.ads: Likewise. | |
9513 | * i-forbla.adb: Likewise. | |
9514 | * i-forbla.ads: Likewise. | |
9515 | * i-forlap.ads: Likewise. | |
9516 | * i-fortra.adb: Likewise. | |
9517 | * i-pacdec.adb: Likewise. | |
9518 | * i-pacdec.ads: Likewise. | |
9519 | * i-vxwoio.adb: Likewise. | |
9520 | * i-vxwoio.ads: Likewise. | |
9521 | * indepsw-aix.adb: Likewise. | |
9522 | * indepsw-gnu.adb: Likewise. | |
9523 | * indepsw-mingw.adb: Likewise. | |
9524 | * indepsw.adb: Likewise. | |
9525 | * indepsw.ads: Likewise. | |
9526 | * init.c: Likewise. | |
9527 | * initialize.c: Likewise. | |
9528 | * interfac.ads: Likewise. | |
9529 | * krunch.adb: Likewise. | |
9530 | * krunch.ads: Likewise. | |
9531 | * lib-list.adb: Likewise. | |
9532 | * lib-sort.adb: Likewise. | |
9533 | * lib.adb: Likewise. | |
9534 | * lib.ads: Likewise. | |
9535 | * link.c: Likewise. | |
9536 | * math_lib.adb: Likewise. | |
9537 | * memtrack.adb: Likewise. | |
9538 | * mingw32.h: Likewise. | |
9539 | * mkdir.c: Likewise. | |
9540 | * namet-sp.adb: Likewise. | |
9541 | * namet-sp.ads: Likewise. | |
9542 | * namet.adb: Likewise. | |
9543 | * namet.ads: Likewise. | |
9544 | * nlists.adb: Likewise. | |
9545 | * nlists.ads: Likewise. | |
9546 | * opt.adb: Likewise. | |
9547 | * opt.ads: Likewise. | |
9548 | * output.adb: Likewise. | |
9549 | * output.ads: Likewise. | |
9550 | * raise-gcc.c: Likewise. | |
9551 | * raise.c: Likewise. | |
9552 | * raise.h: Likewise. | |
9553 | * repinfo.adb: Likewise. | |
9554 | * repinfo.ads: Likewise. | |
9555 | * repinfo.h: Likewise. | |
9556 | * rident.ads: Likewise. | |
9557 | * s-addima.adb: Likewise. | |
9558 | * s-addima.ads: Likewise. | |
9559 | * s-addope.adb: Likewise. | |
9560 | * s-addope.ads: Likewise. | |
9561 | * s-arit64.adb: Likewise. | |
9562 | * s-arit64.ads: Likewise. | |
9563 | * s-assert.adb: Likewise. | |
9564 | * s-assert.ads: Likewise. | |
9565 | * s-asthan-vms-alpha.adb: Likewise. | |
9566 | * s-asthan.adb: Likewise. | |
9567 | * s-asthan.ads: Likewise. | |
9568 | * s-atacco.adb: Likewise. | |
9569 | * s-atacco.ads: Likewise. | |
9570 | * s-auxdec-empty.adb: Likewise. | |
9571 | * s-auxdec-empty.ads: Likewise. | |
9572 | * s-auxdec-vms_64.ads: Likewise. | |
9573 | * s-auxdec.adb: Likewise. | |
9574 | * s-auxdec.ads: Likewise. | |
9575 | * s-bitops.adb: Likewise. | |
9576 | * s-bitops.ads: Likewise. | |
9577 | * s-boarop.ads: Likewise. | |
9578 | * s-carsi8.adb: Likewise. | |
9579 | * s-carsi8.ads: Likewise. | |
9580 | * s-carun8.adb: Likewise. | |
9581 | * s-carun8.ads: Likewise. | |
9582 | * s-casi16.adb: Likewise. | |
9583 | * s-casi16.ads: Likewise. | |
9584 | * s-casi32.adb: Likewise. | |
9585 | * s-casi32.ads: Likewise. | |
9586 | * s-casi64.adb: Likewise. | |
9587 | * s-casi64.ads: Likewise. | |
9588 | * s-casuti.ads: Likewise. | |
9589 | * s-caun16.adb: Likewise. | |
9590 | * s-caun16.ads: Likewise. | |
9591 | * s-caun32.adb: Likewise. | |
9592 | * s-caun32.ads: Likewise. | |
9593 | * s-caun64.adb: Likewise. | |
9594 | * s-caun64.ads: Likewise. | |
9595 | * s-chepoo.ads: Likewise. | |
9596 | * s-crc32.adb: Likewise. | |
9597 | * s-crc32.ads: Likewise. | |
9598 | * s-crtl.ads: Likewise. | |
9599 | * s-direio.adb: Likewise. | |
9600 | * s-direio.ads: Likewise. | |
9601 | * s-dsaser.ads: Likewise. | |
9602 | * s-except.adb: Likewise. | |
9603 | * s-except.ads: Likewise. | |
9604 | * s-exctab.adb: Likewise. | |
9605 | * s-exctab.ads: Likewise. | |
9606 | * s-exnint.adb: Likewise. | |
9607 | * s-exnint.ads: Likewise. | |
9608 | * s-exnllf.adb: Likewise. | |
9609 | * s-exnllf.ads: Likewise. | |
9610 | * s-exnlli.adb: Likewise. | |
9611 | * s-exnlli.ads: Likewise. | |
9612 | * s-expint.adb: Likewise. | |
9613 | * s-expint.ads: Likewise. | |
9614 | * s-explli.adb: Likewise. | |
9615 | * s-explli.ads: Likewise. | |
9616 | * s-expllu.adb: Likewise. | |
9617 | * s-expllu.ads: Likewise. | |
9618 | * s-expmod.adb: Likewise. | |
9619 | * s-expmod.ads: Likewise. | |
9620 | * s-expuns.adb: Likewise. | |
9621 | * s-expuns.ads: Likewise. | |
9622 | * s-fatflt.ads: Likewise. | |
9623 | * s-fatgen.adb: Likewise. | |
9624 | * s-fatgen.ads: Likewise. | |
9625 | * s-fatlfl.ads: Likewise. | |
9626 | * s-fatllf.ads: Likewise. | |
9627 | * s-fatsfl.ads: Likewise. | |
9628 | * s-ficobl.ads: Likewise. | |
9629 | * s-fileio.adb: Likewise. | |
9630 | * s-fileio.ads: Likewise. | |
9631 | * s-filofl.ads: Likewise. | |
9632 | * s-finimp.adb: Likewise. | |
9633 | * s-finimp.ads: Likewise. | |
9634 | * s-finroo.adb: Likewise. | |
9635 | * s-finroo.ads: Likewise. | |
9636 | * s-fishfl.ads: Likewise. | |
9637 | * s-fore.adb: Likewise. | |
9638 | * s-fore.ads: Likewise. | |
9639 | * s-fvadfl.ads: Likewise. | |
9640 | * s-fvaffl.ads: Likewise. | |
9641 | * s-fvagfl.ads: Likewise. | |
9642 | * s-gearop.adb: Likewise. | |
9643 | * s-gearop.ads: Likewise. | |
9644 | * s-gecobl.adb: Likewise. | |
9645 | * s-gecobl.ads: Likewise. | |
9646 | * s-gecola.adb: Likewise. | |
9647 | * s-gecola.ads: Likewise. | |
9648 | * s-gerebl.adb: Likewise. | |
9649 | * s-gerebl.ads: Likewise. | |
9650 | * s-gerela.adb: Likewise. | |
9651 | * s-gerela.ads: Likewise. | |
9652 | * s-geveop.adb: Likewise. | |
9653 | * s-geveop.ads: Likewise. | |
9654 | * s-gloloc.adb: Likewise. | |
9655 | * s-gloloc.ads: Likewise. | |
9656 | * s-hibaen.ads: Likewise. | |
9657 | * s-imenne.adb: Likewise. | |
9658 | * s-imenne.ads: Likewise. | |
9659 | * s-imgbiu.adb: Likewise. | |
9660 | * s-imgbiu.ads: Likewise. | |
9661 | * s-imgboo.adb: Likewise. | |
9662 | * s-imgboo.ads: Likewise. | |
9663 | * s-imgcha.adb: Likewise. | |
9664 | * s-imgcha.ads: Likewise. | |
9665 | * s-imgdec.adb: Likewise. | |
9666 | * s-imgdec.ads: Likewise. | |
9667 | * s-imgenu.adb: Likewise. | |
9668 | * s-imgenu.ads: Likewise. | |
9669 | * s-imgint.adb: Likewise. | |
9670 | * s-imgint.ads: Likewise. | |
9671 | * s-imgllb.adb: Likewise. | |
9672 | * s-imgllb.ads: Likewise. | |
9673 | * s-imglld.adb: Likewise. | |
9674 | * s-imglld.ads: Likewise. | |
9675 | * s-imglli.adb: Likewise. | |
9676 | * s-imglli.ads: Likewise. | |
9677 | * s-imgllu.adb: Likewise. | |
9678 | * s-imgllu.ads: Likewise. | |
9679 | * s-imgllw.adb: Likewise. | |
9680 | * s-imgllw.ads: Likewise. | |
9681 | * s-imgrea.adb: Likewise. | |
9682 | * s-imgrea.ads: Likewise. | |
9683 | * s-imguns.adb: Likewise. | |
9684 | * s-imguns.ads: Likewise. | |
9685 | * s-imgwch.adb: Likewise. | |
9686 | * s-imgwch.ads: Likewise. | |
9687 | * s-imgwiu.adb: Likewise. | |
9688 | * s-imgwiu.ads: Likewise. | |
9689 | * s-inmaop-dummy.adb: Likewise. | |
9690 | * s-inmaop-vms.adb: Likewise. | |
9691 | * s-inmaop.ads: Likewise. | |
9692 | * s-interr-hwint.adb: Likewise. | |
9693 | * s-interr-sigaction.adb: Likewise. | |
9694 | * s-interr-vms.adb: Likewise. | |
9695 | * s-interr.adb: Likewise. | |
9696 | * s-interr.ads: Likewise. | |
9697 | * s-intman-dummy.adb: Likewise. | |
9698 | * s-intman-mingw.adb: Likewise. | |
9699 | * s-intman-posix.adb: Likewise. | |
9700 | * s-intman-solaris.adb: Likewise. | |
9701 | * s-intman-vms.adb: Likewise. | |
9702 | * s-intman-vms.ads: Likewise. | |
9703 | * s-intman-vxworks.adb: Likewise. | |
9704 | * s-intman-vxworks.ads: Likewise. | |
9705 | * s-intman.ads: Likewise. | |
9706 | * s-io.adb: Likewise. | |
9707 | * s-io.ads: Likewise. | |
9708 | * s-linux-alpha.ads: Likewise. | |
9709 | * s-linux-hppa.ads: Likewise. | |
9710 | * s-linux.ads: Likewise. | |
9711 | * s-maccod.ads: Likewise. | |
9712 | * s-mantis.adb: Likewise. | |
9713 | * s-mantis.ads: Likewise. | |
9714 | * s-mastop-irix.adb: Likewise. | |
9715 | * s-mastop.adb: Likewise. | |
9716 | * s-mastop.ads: Likewise. | |
9717 | * s-memcop.ads: Likewise. | |
9718 | * s-memory-mingw.adb: Likewise. | |
9719 | * s-memory.adb: Likewise. | |
9720 | * s-memory.ads: Likewise. | |
9721 | * s-os_lib.ads: Likewise. | |
9722 | * s-oscons-tmplt.c: Likewise. | |
9723 | * s-osinte-aix.adb: Likewise. | |
9724 | * s-osinte-darwin.adb: Likewise. | |
9725 | * s-osinte-freebsd.adb: Likewise. | |
9726 | * s-osinte-irix.adb: Likewise. | |
9727 | * s-osinte-lynxos-3.adb: Likewise. | |
9728 | * s-osinte-rtems.ads: Likewise. | |
9729 | * s-osinte-tru64.adb: Likewise. | |
9730 | * s-osinte-vxworks-kernel.adb: Likewise. | |
9731 | * s-osinte-vxworks.adb: Likewise. | |
9732 | * s-osprim-mingw.adb: Likewise. | |
9733 | * s-osprim-posix.adb: Likewise. | |
9734 | * s-osprim-solaris.adb: Likewise. | |
9735 | * s-osprim-unix.adb: Likewise. | |
9736 | * s-osprim-vms.adb: Likewise. | |
9737 | * s-osprim-vms.ads: Likewise. | |
9738 | * s-osprim-vxworks.adb: Likewise. | |
9739 | * s-osprim.ads: Likewise. | |
9740 | * s-pack03.adb: Likewise. | |
9741 | * s-pack03.ads: Likewise. | |
9742 | * s-pack05.adb: Likewise. | |
9743 | * s-pack05.ads: Likewise. | |
9744 | * s-pack06.adb: Likewise. | |
9745 | * s-pack06.ads: Likewise. | |
9746 | * s-pack07.adb: Likewise. | |
9747 | * s-pack07.ads: Likewise. | |
9748 | * s-pack09.adb: Likewise. | |
9749 | * s-pack09.ads: Likewise. | |
9750 | * s-pack10.adb: Likewise. | |
9751 | * s-pack10.ads: Likewise. | |
9752 | * s-pack11.adb: Likewise. | |
9753 | * s-pack11.ads: Likewise. | |
9754 | * s-pack12.adb: Likewise. | |
9755 | * s-pack12.ads: Likewise. | |
9756 | * s-pack13.adb: Likewise. | |
9757 | * s-pack13.ads: Likewise. | |
9758 | * s-pack14.adb: Likewise. | |
9759 | * s-pack14.ads: Likewise. | |
9760 | * s-pack15.adb: Likewise. | |
9761 | * s-pack15.ads: Likewise. | |
9762 | * s-pack17.adb: Likewise. | |
9763 | * s-pack17.ads: Likewise. | |
9764 | * s-pack18.adb: Likewise. | |
9765 | * s-pack18.ads: Likewise. | |
9766 | * s-pack19.adb: Likewise. | |
9767 | * s-pack19.ads: Likewise. | |
9768 | * s-pack20.adb: Likewise. | |
9769 | * s-pack20.ads: Likewise. | |
9770 | * s-pack21.adb: Likewise. | |
9771 | * s-pack21.ads: Likewise. | |
9772 | * s-pack22.adb: Likewise. | |
9773 | * s-pack22.ads: Likewise. | |
9774 | * s-pack23.adb: Likewise. | |
9775 | * s-pack23.ads: Likewise. | |
9776 | * s-pack24.adb: Likewise. | |
9777 | * s-pack24.ads: Likewise. | |
9778 | * s-pack25.adb: Likewise. | |
9779 | * s-pack25.ads: Likewise. | |
9780 | * s-pack26.adb: Likewise. | |
9781 | * s-pack26.ads: Likewise. | |
9782 | * s-pack27.adb: Likewise. | |
9783 | * s-pack27.ads: Likewise. | |
9784 | * s-pack28.adb: Likewise. | |
9785 | * s-pack28.ads: Likewise. | |
9786 | * s-pack29.adb: Likewise. | |
9787 | * s-pack29.ads: Likewise. | |
9788 | * s-pack30.adb: Likewise. | |
9789 | * s-pack30.ads: Likewise. | |
9790 | * s-pack31.adb: Likewise. | |
9791 | * s-pack31.ads: Likewise. | |
9792 | * s-pack33.adb: Likewise. | |
9793 | * s-pack33.ads: Likewise. | |
9794 | * s-pack34.adb: Likewise. | |
9795 | * s-pack34.ads: Likewise. | |
9796 | * s-pack35.adb: Likewise. | |
9797 | * s-pack35.ads: Likewise. | |
9798 | * s-pack36.adb: Likewise. | |
9799 | * s-pack36.ads: Likewise. | |
9800 | * s-pack37.adb: Likewise. | |
9801 | * s-pack37.ads: Likewise. | |
9802 | * s-pack38.adb: Likewise. | |
9803 | * s-pack38.ads: Likewise. | |
9804 | * s-pack39.adb: Likewise. | |
9805 | * s-pack39.ads: Likewise. | |
9806 | * s-pack40.adb: Likewise. | |
9807 | * s-pack40.ads: Likewise. | |
9808 | * s-pack41.adb: Likewise. | |
9809 | * s-pack41.ads: Likewise. | |
9810 | * s-pack42.adb: Likewise. | |
9811 | * s-pack42.ads: Likewise. | |
9812 | * s-pack43.adb: Likewise. | |
9813 | * s-pack43.ads: Likewise. | |
9814 | * s-pack44.adb: Likewise. | |
9815 | * s-pack44.ads: Likewise. | |
9816 | * s-pack45.adb: Likewise. | |
9817 | * s-pack45.ads: Likewise. | |
9818 | * s-pack46.adb: Likewise. | |
9819 | * s-pack46.ads: Likewise. | |
9820 | * s-pack47.adb: Likewise. | |
9821 | * s-pack47.ads: Likewise. | |
9822 | * s-pack48.adb: Likewise. | |
9823 | * s-pack48.ads: Likewise. | |
9824 | * s-pack49.adb: Likewise. | |
9825 | * s-pack49.ads: Likewise. | |
9826 | * s-pack50.adb: Likewise. | |
9827 | * s-pack50.ads: Likewise. | |
9828 | * s-pack51.adb: Likewise. | |
9829 | * s-pack51.ads: Likewise. | |
9830 | * s-pack52.adb: Likewise. | |
9831 | * s-pack52.ads: Likewise. | |
9832 | * s-pack53.adb: Likewise. | |
9833 | * s-pack53.ads: Likewise. | |
9834 | * s-pack54.adb: Likewise. | |
9835 | * s-pack54.ads: Likewise. | |
9836 | * s-pack55.adb: Likewise. | |
9837 | * s-pack55.ads: Likewise. | |
9838 | * s-pack56.adb: Likewise. | |
9839 | * s-pack56.ads: Likewise. | |
9840 | * s-pack57.adb: Likewise. | |
9841 | * s-pack57.ads: Likewise. | |
9842 | * s-pack58.adb: Likewise. | |
9843 | * s-pack58.ads: Likewise. | |
9844 | * s-pack59.adb: Likewise. | |
9845 | * s-pack59.ads: Likewise. | |
9846 | * s-pack60.adb: Likewise. | |
9847 | * s-pack60.ads: Likewise. | |
9848 | * s-pack61.adb: Likewise. | |
9849 | * s-pack61.ads: Likewise. | |
9850 | * s-pack62.adb: Likewise. | |
9851 | * s-pack62.ads: Likewise. | |
9852 | * s-pack63.adb: Likewise. | |
9853 | * s-pack63.ads: Likewise. | |
9854 | * s-parame-ae653.ads: Likewise. | |
9855 | * s-parame-hpux.ads: Likewise. | |
9856 | * s-parame-rtems.adb: Likewise. | |
9857 | * s-parame-vms-alpha.ads: Likewise. | |
9858 | * s-parame-vms-ia64.ads: Likewise. | |
9859 | * s-parame-vms-restrict.ads: Likewise. | |
9860 | * s-parame-vxworks.adb: Likewise. | |
9861 | * s-parame-vxworks.ads: Likewise. | |
9862 | * s-parame.adb: Likewise. | |
9863 | * s-parame.ads: Likewise. | |
9864 | * s-parint.adb: Likewise. | |
9865 | * s-parint.ads: Likewise. | |
9866 | * s-pooglo.adb: Likewise. | |
9867 | * s-pooglo.ads: Likewise. | |
9868 | * s-pooloc.adb: Likewise. | |
9869 | * s-pooloc.ads: Likewise. | |
9870 | * s-poosiz.adb: Likewise. | |
9871 | * s-poosiz.ads: Likewise. | |
9872 | * s-powtab.ads: Likewise. | |
9873 | * s-proinf-irix-athread.adb: Likewise. | |
9874 | * s-proinf-irix-athread.ads: Likewise. | |
9875 | * s-proinf.adb: Likewise. | |
9876 | * s-proinf.ads: Likewise. | |
9877 | * s-purexc.ads: Likewise. | |
9878 | * s-rannum.adb: Likewise. | |
9879 | * s-rannum.ads: Likewise. | |
9880 | * s-restri.adb: Likewise. | |
9881 | * s-restri.ads: Likewise. | |
9882 | * s-rident.ads: Likewise. | |
9883 | * s-rpc.adb: Likewise. | |
9884 | * s-rpc.ads: Likewise. | |
9885 | * s-scaval.adb: Likewise. | |
9886 | * s-scaval.ads: Likewise. | |
9887 | * s-secsta.adb: Likewise. | |
9888 | * s-secsta.ads: Likewise. | |
9889 | * s-sequio.adb: Likewise. | |
9890 | * s-sequio.ads: Likewise. | |
9891 | * s-shasto.adb: Likewise. | |
9892 | * s-shasto.ads: Likewise. | |
9893 | * s-soflin.adb: Likewise. | |
9894 | * s-soflin.ads: Likewise. | |
9895 | * s-solita.adb: Likewise. | |
9896 | * s-solita.ads: Likewise. | |
9897 | * s-sopco3.adb: Likewise. | |
9898 | * s-sopco3.ads: Likewise. | |
9899 | * s-sopco4.adb: Likewise. | |
9900 | * s-sopco4.ads: Likewise. | |
9901 | * s-sopco5.adb: Likewise. | |
9902 | * s-sopco5.ads: Likewise. | |
9903 | * s-stache.adb: Likewise. | |
9904 | * s-stache.ads: Likewise. | |
9905 | * s-stalib.adb: Likewise. | |
9906 | * s-stalib.ads: Likewise. | |
9907 | * s-stausa.adb: Likewise. | |
9908 | * s-stausa.ads: Likewise. | |
9909 | * s-stchop-limit.ads: Likewise. | |
9910 | * s-stchop-rtems.adb: Likewise. | |
9911 | * s-stchop-vxworks.adb: Likewise. | |
9912 | * s-stchop.adb: Likewise. | |
9913 | * s-stchop.ads: Likewise. | |
9914 | * s-stoele.adb: Likewise. | |
9915 | * s-stoele.ads: Likewise. | |
9916 | * s-stopoo.adb: Likewise. | |
9917 | * s-stopoo.ads: Likewise. | |
9918 | * s-stratt.adb: Likewise. | |
9919 | * s-stratt.ads: Likewise. | |
9920 | * s-strcom.adb: Likewise. | |
9921 | * s-strcom.ads: Likewise. | |
9922 | * s-string.adb: Likewise. | |
9923 | * s-string.ads: Likewise. | |
9924 | * s-strops.adb: Likewise. | |
9925 | * s-strops.ads: Likewise. | |
9926 | * s-strxdr.adb: Likewise. | |
9927 | * s-ststop.adb: Likewise. | |
9928 | * s-ststop.ads: Likewise. | |
9929 | * s-taasde.adb: Likewise. | |
9930 | * s-taasde.ads: Likewise. | |
9931 | * s-tadeca.adb: Likewise. | |
9932 | * s-tadeca.ads: Likewise. | |
9933 | * s-tadert.adb: Likewise. | |
9934 | * s-tadert.ads: Likewise. | |
9935 | * s-taenca.adb: Likewise. | |
9936 | * s-taenca.ads: Likewise. | |
9937 | * s-taprob.ads: Likewise. | |
9938 | * s-taprop-dummy.adb: Likewise. | |
9939 | * s-taprop-hpux-dce.adb: Likewise. | |
9940 | * s-taprop-irix.adb: Likewise. | |
9941 | * s-taprop-linux.adb: Likewise. | |
9942 | * s-taprop-lynxos.adb: Likewise. | |
9943 | * s-taprop-mingw.adb: Likewise. | |
9944 | * s-taprop-posix.adb: Likewise. | |
9945 | * s-taprop-solaris.adb: Likewise. | |
9946 | * s-taprop-tru64.adb: Likewise. | |
9947 | * s-taprop-vms.adb: Likewise. | |
9948 | * s-taprop-vxworks.adb: Likewise. | |
9949 | * s-taprop.ads: Likewise. | |
9950 | * s-tarest.adb: Likewise. | |
9951 | * s-tarest.ads: Likewise. | |
9952 | * s-tasdeb.adb: Likewise. | |
9953 | * s-tasdeb.ads: Likewise. | |
9954 | * s-tasinf-irix.ads: Likewise. | |
9955 | * s-tasinf-linux.adb: Likewise. | |
9956 | * s-tasinf-linux.ads: Likewise. | |
9957 | * s-tasinf-mingw.adb: Likewise. | |
9958 | * s-tasinf-mingw.ads: Likewise. | |
9959 | * s-tasinf-solaris.adb: Likewise. | |
9960 | * s-tasinf-solaris.ads: Likewise. | |
9961 | * s-tasinf-tru64.ads: Likewise. | |
9962 | * s-tasinf.adb: Likewise. | |
9963 | * s-tasinf.ads: Likewise. | |
9964 | * s-tasini.adb: Likewise. | |
9965 | * s-tasini.ads: Likewise. | |
9966 | * s-taskin.adb: Likewise. | |
9967 | * s-taskin.ads: Likewise. | |
9968 | * s-taspri-dummy.ads: Likewise. | |
9969 | * s-taspri-hpux-dce.ads: Likewise. | |
9970 | * s-taspri-mingw.ads: Likewise. | |
9971 | * s-taspri-solaris.ads: Likewise. | |
9972 | * s-taspri-tru64.ads: Likewise. | |
9973 | * s-taspri-vms.ads: Likewise. | |
9974 | * s-taspri-vxworks.ads: Likewise. | |
9975 | * s-tasque.adb: Likewise. | |
9976 | * s-tasque.ads: Likewise. | |
9977 | * s-tasren.adb: Likewise. | |
9978 | * s-tasren.ads: Likewise. | |
9979 | * s-tasres.ads: Likewise. | |
9980 | * s-tassta.adb: Likewise. | |
9981 | * s-tassta.ads: Likewise. | |
9982 | * s-tasuti.adb: Likewise. | |
9983 | * s-tasuti.ads: Likewise. | |
9984 | * s-tfsetr-default.adb: Likewise. | |
9985 | * s-tfsetr-vxworks.adb: Likewise. | |
9986 | * s-tpinop.adb: Likewise. | |
9987 | * s-tpinop.ads: Likewise. | |
9988 | * s-tpoben.adb: Likewise. | |
9989 | * s-tpoben.ads: Likewise. | |
9990 | * s-tpobop.adb: Likewise. | |
9991 | * s-tpobop.ads: Likewise. | |
9992 | * s-tpopde-vms.adb: Likewise. | |
9993 | * s-tpopde-vms.ads: Likewise. | |
9994 | * s-tpopsp-lynxos.adb: Likewise. | |
9995 | * s-tpopsp-posix-foreign.adb: Likewise. | |
9996 | * s-tpopsp-posix.adb: Likewise. | |
9997 | * s-tpopsp-solaris.adb: Likewise. | |
9998 | * s-tpopsp-vxworks.adb: Likewise. | |
9999 | * s-tporft.adb: Likewise. | |
10000 | * s-tposen.adb: Likewise. | |
10001 | * s-tposen.ads: Likewise. | |
10002 | * s-traceb.adb: Likewise. | |
10003 | * s-traceb.ads: Likewise. | |
10004 | * s-traces-default.adb: Likewise. | |
10005 | * s-traces.adb: Likewise. | |
10006 | * s-traces.ads: Likewise. | |
10007 | * s-traent-vms.adb: Likewise. | |
10008 | * s-traent-vms.ads: Likewise. | |
10009 | * s-traent.adb: Likewise. | |
10010 | * s-traent.ads: Likewise. | |
10011 | * s-trafor-default.adb: Likewise. | |
10012 | * s-trafor-default.ads: Likewise. | |
10013 | * s-tratas-default.adb: Likewise. | |
10014 | * s-tratas.adb: Likewise. | |
10015 | * s-tratas.ads: Likewise. | |
10016 | * s-unstyp.ads: Likewise. | |
10017 | * s-utf_32.adb: Likewise. | |
10018 | * s-utf_32.ads: Likewise. | |
10019 | * s-vaflop-vms-alpha.adb: Likewise. | |
10020 | * s-vaflop.adb: Likewise. | |
10021 | * s-vaflop.ads: Likewise. | |
10022 | * s-valboo.adb: Likewise. | |
10023 | * s-valboo.ads: Likewise. | |
10024 | * s-valcha.adb: Likewise. | |
10025 | * s-valcha.ads: Likewise. | |
10026 | * s-valdec.adb: Likewise. | |
10027 | * s-valdec.ads: Likewise. | |
10028 | * s-valenu.adb: Likewise. | |
10029 | * s-valenu.ads: Likewise. | |
10030 | * s-valint.adb: Likewise. | |
10031 | * s-valint.ads: Likewise. | |
10032 | * s-vallld.adb: Likewise. | |
10033 | * s-vallld.ads: Likewise. | |
10034 | * s-vallli.adb: Likewise. | |
10035 | * s-vallli.ads: Likewise. | |
10036 | * s-valllu.adb: Likewise. | |
10037 | * s-valllu.ads: Likewise. | |
10038 | * s-valrea.adb: Likewise. | |
10039 | * s-valrea.ads: Likewise. | |
10040 | * s-valuns.adb: Likewise. | |
10041 | * s-valuns.ads: Likewise. | |
10042 | * s-valuti.adb: Likewise. | |
10043 | * s-valuti.ads: Likewise. | |
10044 | * s-valwch.adb: Likewise. | |
10045 | * s-valwch.ads: Likewise. | |
10046 | * s-veboop.adb: Likewise. | |
10047 | * s-veboop.ads: Likewise. | |
10048 | * s-vector.ads: Likewise. | |
10049 | * s-vercon.adb: Likewise. | |
10050 | * s-vercon.ads: Likewise. | |
10051 | * s-vmexta.adb: Likewise. | |
10052 | * s-vmexta.ads: Likewise. | |
10053 | * s-vxwext-kernel.ads: Likewise. | |
10054 | * s-vxwext-rtp.adb: Likewise. | |
10055 | * s-vxwext-rtp.ads: Likewise. | |
10056 | * s-vxwext.ads: Likewise. | |
10057 | * s-vxwork-arm.ads: Likewise. | |
10058 | * s-vxwork-m68k.ads: Likewise. | |
10059 | * s-vxwork-mips.ads: Likewise. | |
10060 | * s-vxwork-ppc.ads: Likewise. | |
10061 | * s-vxwork-sparcv9.ads: Likewise. | |
10062 | * s-vxwork-x86.ads: Likewise. | |
10063 | * s-wchcnv.adb: Likewise. | |
10064 | * s-wchcnv.ads: Likewise. | |
10065 | * s-wchcon.adb: Likewise. | |
10066 | * s-wchcon.ads: Likewise. | |
10067 | * s-wchjis.adb: Likewise. | |
10068 | * s-wchjis.ads: Likewise. | |
10069 | * s-wchstw.adb: Likewise. | |
10070 | * s-wchstw.ads: Likewise. | |
10071 | * s-wchwts.adb: Likewise. | |
10072 | * s-wchwts.ads: Likewise. | |
10073 | * s-widboo.adb: Likewise. | |
10074 | * s-widboo.ads: Likewise. | |
10075 | * s-widcha.adb: Likewise. | |
10076 | * s-widcha.ads: Likewise. | |
10077 | * s-widenu.adb: Likewise. | |
10078 | * s-widenu.ads: Likewise. | |
10079 | * s-widlli.adb: Likewise. | |
10080 | * s-widlli.ads: Likewise. | |
10081 | * s-widllu.adb: Likewise. | |
10082 | * s-widllu.ads: Likewise. | |
10083 | * s-widwch.adb: Likewise. | |
10084 | * s-widwch.ads: Likewise. | |
10085 | * s-win32.ads: Likewise. | |
10086 | * s-winext.ads: Likewise. | |
10087 | * s-wwdcha.adb: Likewise. | |
10088 | * s-wwdcha.ads: Likewise. | |
10089 | * s-wwdenu.adb: Likewise. | |
10090 | * s-wwdenu.ads: Likewise. | |
10091 | * s-wwdwch.adb: Likewise. | |
10092 | * s-wwdwch.ads: Likewise. | |
10093 | * scans.adb: Likewise. | |
10094 | * scans.ads: Likewise. | |
10095 | * seh_init.c: Likewise. | |
10096 | * sfn_scan.adb: Likewise. | |
10097 | * sinfo.adb: Likewise. | |
10098 | * sinfo.ads: Likewise. | |
10099 | * sinput.adb: Likewise. | |
10100 | * sinput.ads: Likewise. | |
10101 | * snames.adb: Likewise. | |
10102 | * snames.ads: Likewise. | |
10103 | * socket.c: Likewise. | |
10104 | * stand.adb: Likewise. | |
10105 | * stand.ads: Likewise. | |
10106 | * stringt.adb: Likewise. | |
10107 | * stringt.ads: Likewise. | |
10108 | * sysdep.c: Likewise. | |
10109 | * system-aix.ads: Likewise. | |
10110 | * system-darwin-ppc.ads: Likewise. | |
10111 | * system-darwin-x86.ads: Likewise. | |
10112 | * system-darwin-x86_64.ads: Likewise. | |
10113 | * system-freebsd-x86.ads: Likewise. | |
10114 | * system-hpux-ia64.ads: Likewise. | |
10115 | * system-hpux.ads: Likewise. | |
10116 | * system-irix-n32.ads: Likewise. | |
10117 | * system-irix-n64.ads: Likewise. | |
10118 | * system-irix-o32.ads: Likewise. | |
10119 | * system-linux-alpha.ads: Likewise. | |
10120 | * system-linux-hppa.ads: Likewise. | |
10121 | * system-linux-ia64.ads: Likewise. | |
10122 | * system-linux-mips.ads: Likewise. | |
10123 | * system-linux-mipsel.ads: Likewise. | |
10124 | * system-linux-ppc.ads: Likewise. | |
10125 | * system-linux-ppc64.ads: Likewise. | |
10126 | * system-linux-s390.ads: Likewise. | |
10127 | * system-linux-s390x.ads: Likewise. | |
10128 | * system-linux-sh4.ads: Likewise. | |
10129 | * system-linux-sparc.ads: Likewise. | |
10130 | * system-linux-sparcv9.ads: Likewise. | |
10131 | * system-linux-x86.ads: Likewise. | |
10132 | * system-linux-x86_64.ads: Likewise. | |
10133 | * system-lynxos-ppc.ads: Likewise. | |
10134 | * system-lynxos-x86.ads: Likewise. | |
10135 | * system-mingw-x86_64.ads: Likewise. | |
10136 | * system-mingw.ads: Likewise. | |
10137 | * system-rtems.ads: Likewise. | |
10138 | * system-solaris-sparc.ads: Likewise. | |
10139 | * system-solaris-sparcv9.ads: Likewise. | |
10140 | * system-solaris-x86.ads: Likewise. | |
10141 | * system-solaris-x86_64.ads: Likewise. | |
10142 | * system-tru64.ads: Likewise. | |
10143 | * system-vms-ia64.ads: Likewise. | |
10144 | * system-vms-zcx.ads: Likewise. | |
10145 | * system-vms.ads: Likewise. | |
10146 | * system-vms_64.ads: Likewise. | |
10147 | * system-vxworks-arm.ads: Likewise. | |
10148 | * system-vxworks-m68k.ads: Likewise. | |
10149 | * system-vxworks-mips.ads: Likewise. | |
10150 | * system-vxworks-ppc.ads: Likewise. | |
10151 | * system-vxworks-sparcv9.ads: Likewise. | |
10152 | * system-vxworks-x86.ads: Likewise. | |
10153 | * system.ads: Likewise. | |
10154 | * table.adb: Likewise. | |
10155 | * table.ads: Likewise. | |
10156 | * targext.c: Likewise. | |
10157 | * targparm.ads: Likewise. | |
10158 | * tree_in.adb: Likewise. | |
10159 | * tree_in.ads: Likewise. | |
10160 | * tree_io.adb: Likewise. | |
10161 | * tree_io.ads: Likewise. | |
10162 | * types.adb: Likewise. | |
10163 | * types.ads: Likewise. | |
10164 | * uintp.adb: Likewise. | |
10165 | * uintp.ads: Likewise. | |
10166 | * uname.adb: Likewise. | |
10167 | * uname.ads: Likewise. | |
10168 | * urealp.adb: Likewise. | |
10169 | * urealp.ads: Likewise. | |
10170 | * vx_stack_info.c: Likewise. | |
10171 | * widechar.adb: Likewise. | |
10172 | * widechar.ads: Likewise. | |
10173 | * exp_attr.adb: Change copyright header to refer to version | |
10174 | 3 of the GNU General Public License and to point readers at the | |
10175 | COPYING3 file and the FSF's license web page. | |
10176 | * sem.adb: Likewise. | |
10177 | * sem_attr.ads: Likewise. | |
10178 | * freeze.adb: Likewise. | |
10179 | * freeze.ads: Likewise. | |
10180 | * errout.ads: Likewise. | |
10181 | * erroutc.adb: Likewise. | |
10182 | * exp_ch11.ads: Likewise. | |
10183 | ||
10184 | 2009-04-09 Jakub Jelinek <jakub@redhat.com> | |
10185 | ||
10186 | * config-lang.in: Change copyright header to refer to version | |
10187 | 3 of the GNU General Public License and to point readers at the | |
10188 | COPYING3 file and the FSF's license web page. | |
10189 | * gcc-interface/trans.c: Likewise. | |
10190 | * gnathtml.pl: Likewise. | |
10191 | * gcc-interface/ada.h: Likewise. Remove runtime exception. | |
10192 | * gcc-interface/gigi.h: Likewise. | |
10193 | * gcc-interface/misc.c: Likewise. | |
10194 | * gcc-interface/targtyps.c: Likewise. | |
10195 | ||
dd8cfe3a AC |
10196 | 2009-04-09 Nicolas Setton <setton@adacore.com> |
10197 | ||
10198 | * s-osinte-darwin.ads: Fix wrong binding to struc timeval. | |
10199 | ||
10200 | * s-osinte-darwin.adb (To_Timeval): Adapt to fixed implementation of | |
10201 | struct_timeval. | |
10202 | ||
10203 | 2009-04-09 Bob Duff <duff@adacore.com> | |
10204 | ||
10205 | * exp_ch5.adb, exp_ch9.adb: Correct miscellaneous Slocs in | |
10206 | internally-generated nodes related to select statements to avoid | |
10207 | confusing the debugger. | |
10208 | ||
10209 | 2009-04-09 Pascal Obry <obry@adacore.com> | |
10210 | ||
10211 | * make.adb: Ensure that all linker arguments are duplicated. | |
10212 | ||
59f3dd0a AC |
10213 | 2009-04-09 Robert Dewar <dewar@adacore.com> |
10214 | ||
10215 | * sem_ch5.adb: Minor reformatting | |
10216 | ||
10217 | 2009-04-09 Vincent Celier <celier@adacore.com> | |
10218 | ||
10219 | * vms_data.ads: | |
10220 | Change GNAT CHECK qualifier /DIAGNOSIS_LIMIT to /DIAGNOSTIC_LIMIT | |
10221 | New qualifier /LEXPAND_SOURCE=nnn for -gnatGnnn | |
10222 | New qualifier /LXDEBUG=nnn for -gnatDnnn | |
10223 | For H820-010 | |
10224 | ||
10225 | * gnat_ugn.texi: | |
10226 | Update documentation for VMS qualifiers equivalent to -gnatGnn and | |
10227 | -gnatDnn | |
10228 | ||
10229 | 2009-04-09 Nicolas Setton <setton@adacore.com> | |
10230 | ||
10231 | * s-osinte-darwin.ads: (Pad_Type): Make this an array of unsigned_long, | |
10232 | to match layout of siginfo_t in sys/signal.h. | |
10233 | ||
10234 | * gcc-interface/Makefile.in: Add section for x86_64 darwin. | |
10235 | ||
10236 | 2009-04-09 Thomas Quinot <quinot@adacore.com> | |
10237 | ||
10238 | * g-socket.ads: (Fd_Set): Use Interfaces.C.long alignment. | |
10239 | ||
10240 | 2009-04-09 Nicolas Setton <setton@adacore.com> | |
10241 | ||
10242 | * s-oscons-tmplt.c: Allow long lines in the generated spec. | |
10243 | Add generation of Darwin-specific constants needed when binding to the | |
10244 | pthread library. | |
10245 | ||
10246 | 2009-04-09 Robert Dewar <dewar@adacore.com> | |
10247 | ||
53b2323e RH |
10248 | * checks.adb: |
10249 | (Insert_Valid_Check): Avoid unnecessary generation of junk declaration | |
10250 | when no invalid values exist, Avoid duplicate read of atomic variable. | |
59f3dd0a | 10251 | |
53b2323e RH |
10252 | * cstand.adb (Build_Signed_Integer_Type): Set Is_Known_Valid |
10253 | (Standard_Unsigned): Set Is_Known_Valid | |
59f3dd0a | 10254 | |
53b2323e | 10255 | * sem_ch3.adb (Analyze_Subtype_Declaration): Copy Is_Known_Valid on |
59f3dd0a | 10256 | subtype declaration if no constraint. |
53b2323e RH |
10257 | (Set_Modular_Size): Set Is_Known_Valid if appropriate |
10258 | (Build_Derived_Numeric_Type): Copy Is_Known_Valid if no constraint | |
59f3dd0a | 10259 | |
f7d7bb51 AC |
10260 | 2009-04-09 Robert Dewar <dewar@adacore.com> |
10261 | ||
10262 | * switch-c.adb, gnat_ugn.texi, vms_data.ads, switch.adb, | |
10263 | switch.ads: for numeric switches, an optional equal sign is always | |
10264 | allowed. | |
10265 | ||
10266 | 2009-04-09 Vincent Celier <celier@adacore.com> | |
10267 | ||
10268 | * prj-nmsc.adb (Get_Unit): Do not consider Casing on platform where | |
10269 | the case of file names is not significant. | |
10270 | ||
c75c4293 AC |
10271 | 2009-04-09 Vincent Celier <celier@adacore.com> |
10272 | ||
10273 | * errout.adb: Remove dependency on package Style | |
10274 | ||
10275 | * style.ads, styleg.adb, styleg.ads (RM_Column_Check): Remove function, | |
10276 | moved to Stylesw. | |
10277 | ||
10278 | * stylesw.ads, stylesw.adb (RM_Column_Check): New function, moved from | |
10279 | Styleg. | |
10280 | ||
10281 | * errutil.adb, par.adb: Import Stylesw | |
10282 | ||
10283 | 2009-04-09 Arnaud Charlet <charlet@adacore.com> | |
10284 | ||
10285 | * opt.ads: Fix typos. | |
10286 | ||
10287 | 2009-04-09 Robert Dewar <dewar@adacore.com> | |
10288 | ||
10289 | * einfo.adb: Minor reformatting | |
10290 | ||
e7aea0fa RD |
10291 | 2009-04-09 Robert Dewar <dewar@adacore.com> |
10292 | ||
10293 | * gcc-interface/Make-lang.in, style.ads, style.adb: Reorganize style | |
10294 | units. | |
10295 | ||
10296 | * styleg-c.ads, styleg-c.adb: Removed, no longer used. | |
10297 | ||
1c383b4c AC |
10298 | 2009-04-09 Robert Dewar <dewar@adacore.com> |
10299 | ||
10300 | * g-comver.adb: Minor reformatting. | |
10301 | ||
10302 | 2009-04-09 Thomas Quinot <quinot@adacore.com> | |
10303 | ||
10304 | * lib-load.ads (Load_Unit): Update documentation. | |
10305 | ||
10306 | 2009-04-09 Ed Schonberg <schonberg@adacore.com> | |
10307 | ||
10308 | * lib-load.adb (Load_Unit): When loading the parent of a child unit | |
10309 | named in a with_clause, retain the with_clause to preserve a | |
10310 | limited_with indication. | |
10311 | ||
d7ba4df4 RD |
10312 | 2009-04-09 Robert Dewar <dewar@adacore.com> |
10313 | ||
10314 | * sem_ch7.adb, sem_ch10.adb, sem_prag.adb, sem_ch12.adb, sem_util.adb, | |
10315 | exp_ch13.adb, sem_ch6.adb, exp_disp.adb, sem_ch8.adb, sem_warn.adb, | |
10316 | sem_cat.adb: Code clean up: use Is_Package_Or_Generic_Package where | |
10317 | possible to replace an OR of two separate tests. | |
10318 | ||
923e6ff3 RD |
10319 | 2009-04-09 Robert Dewar <dewar@adacore.com> |
10320 | ||
10321 | * binderr.adb, errout.adb, errutil.adb: New circuitry for handling | |
10322 | Maximum_Messages. | |
10323 | ||
10324 | * erroutc.adb, erroutc.ads (Warnings_Suppressed): Now tests global | |
10325 | warning status as well. | |
10326 | ||
10327 | * opt.ads (Maximum_Messages): New name for Maximum_Errors. | |
10328 | ||
10329 | * switch-b.adb, switch-c.adb: Change name Maximum_Errors to | |
10330 | Maximum_Messages. | |
10331 | ||
10332 | * bindusg.adb, usage.adb: Update line for -gnatm switch | |
10333 | ||
10334 | * gnat_ugn.texi: Update documentation for -gnatmnn compiler switch and | |
10335 | -mnn binder switch. | |
10336 | ||
10337 | 2009-04-09 Robert Dewar <dewar@adacore.com> | |
10338 | ||
10339 | * sem_ch10.adb: Minor reformatting. | |
10340 | ||
beb50807 AC |
10341 | 2009-04-09 Bob Duff <duff@adacore.com> |
10342 | ||
10343 | * exp_ch11.adb (Expand_Exception_Handlers, Prepend_Call_To_Handler): | |
10344 | Set Sloc of generated nodes for calls to Undefer_Aborts and | |
10345 | Save_Occurrence to No_Location, so the debugger ignores them and | |
10346 | therefore does not jump back and forth when single stepping. | |
10347 | ||
10348 | 2009-04-09 Robert Dewar <dewar@adacore.com> | |
10349 | ||
10350 | * switch-b.adb: Minor reformatting. | |
10351 | ||
a4100e55 RD |
10352 | 2009-04-09 Robert Dewar <dewar@adacore.com> |
10353 | ||
10354 | * sem_aggr.adb, exp_ch5.adb, sem_ch3.adb, exp_atag.adb, layout.adb, | |
10355 | sem_dist.adb, exp_ch7.adb, sem_ch5.adb, sem_type.adb, exp_imgv.adb, | |
10356 | exp_util.adb, sem_aux.adb, sem_aux.ads, exp_attr.adb, exp_ch9.adb, | |
10357 | sem_ch7.adb, inline.adb, fe.h, sem_ch9.adb, exp_code.adb, einfo.adb, | |
10358 | einfo.ads, exp_pakd.adb, checks.adb, sem_ch12.adb, exp_smem.adb, | |
10359 | tbuild.adb, freeze.adb, sem_util.adb, sem_res.adb, sem_attr.adb, | |
10360 | exp_dbug.adb, sem_case.adb, exp_tss.adb, exp_ch4.adb, exp_ch6.adb, | |
10361 | sem_smem.adb, sem_ch4.adb, sem_mech.adb, sem_ch6.adb, exp_disp.adb, | |
10362 | sem_ch8.adb, exp_aggr.adb, sem_eval.adb, sem_cat.adb, exp_dist.adb, | |
10363 | sem_ch13.adb, exp_strm.adb, lib-xref.adb, sem_disp.adb, exp_ch3.adb: | |
10364 | Reorganize einfo/sem_aux, moving routines from einfo to sem_aux | |
10365 | ||
f17889b3 RD |
10366 | 2009-04-09 Robert Dewar <dewar@adacore.com> |
10367 | ||
10368 | * exp_util.adb (Silly_Boolean_Array_Xor_Test): Simplify existing code. | |
10369 | ||
10370 | * atree.h: Add Elist26 | |
10371 | ||
10372 | * gnat_ugn.texi: Complete documentation deprecating -gnatN for non-gcc | |
10373 | backends. | |
10374 | ||
b16d9747 JM |
10375 | 2009-04-09 Javier Miranda <miranda@adacore.com> |
10376 | ||
10377 | * exp_disp.adb (Export_DT): Addition of a new argument (Index); used to | |
10378 | retrieve from the Dispatch_Table_Wrappers list the external name. | |
10379 | Addition of documentation. | |
10380 | (Make_Secondary_DT): Addition of a new argument (Suffix_Index) that is | |
10381 | used to export secondary dispatch tables (in the previous version of | |
10382 | the frontend only primary dispatch tables were exported). Addition of | |
10383 | documentation. | |
10384 | (Import_DT): New subprogram (internal of Make_Tags). Used to import a | |
10385 | dispatch table of a given tagged type. | |
10386 | (Make_Tags): Modified to import secondary dispatch tables. | |
10387 | ||
10388 | * sem_ch3.adb (Analyze_Object_Declaration): Code cleanup. | |
10389 | (Constant_Redeclaration): Code cleanup. | |
10390 | ||
10391 | * einfo.ads (Dispatch_Table_Wrapper): Renamed to | |
10392 | Dispatch_Table_Wrappers. Update documentation. | |
10393 | ||
10394 | * einfo.adb (Dispatch_Table_Wrapper, Set_Dispatch_Table_Wrapper): | |
10395 | Renamed to Dispatch_Table_Wrappers. | |
10396 | ||
10397 | * sem_util.adb (Collect_Interface_Components): Improve handling of | |
10398 | private types. | |
10399 | ||
10400 | * atree.ads (Elist26, Set_Elist26): New subprograms | |
10401 | ||
10402 | * atree.adb (Elist26, Set_Elist26): New subprograms | |
10403 | ||
59262ebb AC |
10404 | 2009-04-09 Javier Miranda <miranda@adacore.com> |
10405 | ||
10406 | * sem_ch3.adb (Build_Derived_Record_Type): Fix typo. | |
10407 | (Derive_Progenitor_Subprograms): Handle interfaces in subtypes of | |
10408 | tagged types. | |
10409 | ||
10410 | 2009-04-09 Robert Dewar <dewar@adacore.com> | |
10411 | ||
10412 | * s-direio.adb: Minor reformatting | |
10413 | ||
10414 | * exp_ch4.adb (Expand_Concatenate): Avoid overflow checks for String | |
10415 | ||
fa969310 AC |
10416 | 2009-04-09 Robert Dewar <dewar@adacore.com> |
10417 | ||
10418 | * exp_ch4.adb (Expand_Concatenate): Improve handling of overflow cases | |
10419 | ||
10420 | 2009-04-09 Pascal Obry <obry@adacore.com> | |
10421 | ||
10422 | * a-cihama.adb, a-cihama.ads, a-coinve.adb, a-coinve.ads, | |
10423 | s-tpoben.adb, s-tpoben.ads, s-finimp.adb, s-finimp.ads, | |
10424 | a-convec.adb, a-convec.ads, a-finali.adb, a-finali.ads, | |
10425 | a-filico.ads: Add some missing overriding keywords. | |
10426 | ||
3c25856a AC |
10427 | 2009-04-09 Pascal Obry <obry@adacore.com> |
10428 | ||
10429 | * a-cihama.adb, a-cihama.ads, a-coinve.adb, a-coorma.ads, a-cihase.adb, | |
10430 | a-cihase.ads, a-cohama.adb, a-cohama.ads, a-coorse.adb, a-coorse.ads, | |
10431 | a-coormu.adb, a-coormu.ads, a-cohase.adb, a-cohase.ads: Minor | |
10432 | reformatting. | |
10433 | ||
10434 | 2009-04-09 Ed Schonberg <schonberg@adacore.com> | |
10435 | ||
10436 | * sem_ch6.adb (Check_Overriding_Indicator): Do not generate warning on | |
10437 | missing overriding indicator if the new declaration is not seen as | |
10438 | primitive. | |
10439 | ||
76c597a1 AC |
10440 | 2009-04-09 Thomas Quinot <quinot@adacore.com> |
10441 | ||
10442 | * exp_ch4.adb (Expand_Concatenate): Add circuitry to properly handle | |
10443 | overflows in computation of bounds. | |
10444 | ||
10445 | 2009-04-09 Pascal Obry <obry@adacore.com> | |
10446 | ||
10447 | * a-cihama.adb, a-cgcaso.adb, a-cihase.adb, a-cohase.adb: Fix some | |
10448 | typos in comment. | |
10449 | ||
95b89f1b AC |
10450 | 2009-04-09 Robert Dewar <dewar@adacore.com> |
10451 | ||
10452 | * sem_attr.adb (Check_Stream_Attribute): Check violation of | |
10453 | restriction No_Streams | |
10454 | ||
10455 | * gnat_rm.texi: Clarify No_Streams restriction | |
10456 | ||
10457 | * g-socket.adb: Minor reformatting. | |
10458 | ||
10459 | 2009-04-09 Thomas Quinot <quinot@adacore.com> | |
10460 | ||
10461 | * g-socket.ads: Mark Initialize and Finalize as obsolesent interfaces. | |
10462 | ||
10463 | 2009-04-09 Geert Bosch <bosch@adacore.com> | |
10464 | ||
10465 | * exp_fixd.adb (Build_Conversion): Accept new optional Trunc argument. | |
10466 | (Set_Result): Likewise. | |
10467 | (Expand_Convert_Float_To_Fixed): Have Set_Result truncate the | |
10468 | conversion, as required by RM 4.6(31). | |
10469 | ||
3d5952be AC |
10470 | 2009-04-08 Robert Dewar <dewar@adacore.com> |
10471 | ||
10472 | * checks.adb (Enable_Overflow_Check): Do not enable if overflow checks | |
10473 | suppressed. | |
10474 | ||
10475 | * exp_ch4.adb (Expand_Concatenate): Make sure checks are off for all | |
10476 | resolution steps. | |
10477 | ||
10478 | 2009-04-08 Robert Dewar <dewar@adacore.com> | |
10479 | ||
10480 | * sem_ch12.adb (Analyze_Package_Instantiation): Remove test for | |
10481 | No_Local_Allocators restriction preventing local instantiation. | |
10482 | ||
10483 | 2009-04-08 Thomas Quinot <quinot@adacore.com> | |
10484 | ||
10485 | * sem_eval.adb: Minor comment fix | |
10486 | ||
10487 | 2009-04-08 Thomas Quinot <quinot@adacore.com> | |
10488 | ||
10489 | * g-socket.adb, g-socket.ads (GNAT.Sockets.Sockets_Library_Controller): | |
10490 | New limited controlled type used to automate the initialization and | |
10491 | finalization of the sockets implementation. | |
10492 | (GNAT.Sockets.Initialize, Finalize): Make these no-ops | |
10493 | ||
10494 | 2009-04-08 Vincent Celier <celier@adacore.com> | |
10495 | ||
10496 | * prj-attr.adb: New read-only project-level attribute Project_Dir | |
10497 | ||
10498 | * prj-proc.adb (Add_Attributes): New parameter Project_Dir, value of | |
10499 | read-only attribute of the same name. | |
10500 | (Process_Declarative_Items): Call Add_Attributes with Project_Dir | |
10501 | (Recursive_Process): Ditto | |
10502 | ||
10503 | * snames.adb: Add new standard name Project_Dir | |
10504 | ||
10505 | * snames.ads: Add new standard name Project_Dir | |
10506 | ||
b568955d AC |
10507 | 2009-04-08 Thomas Quinot <quinot@adacore.com> |
10508 | ||
10509 | * checks.adb: Minor reformatting | |
10510 | ||
10511 | 2009-04-08 Vincent Celier <celier@adacore.com> | |
10512 | ||
10513 | * vms_data.ads: Add documentation for new style keyword | |
10514 | OVERRIDING_INDICATORS | |
10515 | ||
10516 | 2009-04-08 Robert Dewar <dewar@adacore.com> | |
10517 | ||
10518 | * sem_ch3.adb (Check_Completion.Post_Error): Post error on spec if the | |
10519 | spec is in the current unit. | |
10520 | ||
ed57136d AC |
10521 | 2009-04-08 Ed Schonberg <schonberg@adacore.com> |
10522 | ||
10523 | * sem_util.adb (Is_Protected_Self_Reference): Add guard to check for | |
10524 | presence of entity. | |
10525 | ||
10526 | * usage.adb, gnat_ugn.texi: add info on -gnatyO: overriding indicators | |
10527 | ||
10528 | 2009-04-08 Vincent Celier <celier@adacore.com> | |
10529 | ||
10530 | * vms_data.ads: Add VMS equivalent for -gnatyO (OVERRIDING_INDICATORS) | |
10531 | ||
10532 | 2009-04-08 Thomas Quinot <quinot@adacore.com> | |
10533 | ||
10534 | * checks.ads: Minor reformatting | |
10535 | ||
10536 | 2009-04-08 Robert Dewar <dewar@adacore.com> | |
10537 | ||
10538 | * gnat_rm.texi: Update documentation of pragma Obsolescent | |
10539 | ||
10540 | * sem_prag.adb (Analyze_Pragma, case Obsolescent): Allow identifiers to | |
10541 | be omitted, and allow Entity parameter to be omitted. | |
10542 | ||
ef7c5692 AC |
10543 | 2009-04-08 Thomas Quinot <quinot@adacore.com> |
10544 | ||
10545 | * exp_util.adb: Minor comment fix | |
10546 | ||
10547 | 2009-04-08 Robert Dewar <dewar@adacore.com> | |
10548 | ||
10549 | * g-socket.ads: Fix bad syntax in pragma Obsolescent | |
10550 | ||
10551 | * par-ch2.adb (Scan_Pragma_Argument_Association): Check for error of | |
10552 | argument with no identifier following one that has an identifier. Was | |
10553 | missed in some cases. | |
10554 | ||
10555 | * sem_prag.adb (Analyze_Pragma, case Check_Policy): Allow Policy | |
10556 | identifier. | |
10557 | (Analyze_Pragma, case Obsolescent): Allow Message, Version identifiers | |
10558 | ||
10559 | * snames.adb: Add Name_Policy | |
10560 | ||
10561 | * snames.ads: Add Name_Policy | |
10562 | ||
0c7f5241 RD |
10563 | 2009-04-08 Robert Dewar <dewar@adacore.com> |
10564 | ||
10565 | * gnat_rm.texi: Minor reformatting | |
10566 | ||
10567 | * par-ch2.adb: Minor reformatting | |
10568 | ||
ae8c7d87 RD |
10569 | 2009-04-08 Robert Dewar <dewar@adacore.com> |
10570 | ||
10571 | * exp_attr.adb, sem_attr.adb, sem_util.adb: Code clean up. | |
10572 | ||
ff69f95a RD |
10573 | 2009-04-08 Robert Dewar <dewar@adacore.com> |
10574 | ||
10575 | * sem_cat.adb (Check_Categorization_Dependencies): Handle Preelaborate | |
10576 | properly in the presence of Remote_Types or Remote_Call_Interface. | |
10577 | ||
10578 | * sem_util.adb: Add comment. | |
10579 | ||
2db15b1d AC |
10580 | 2009-04-08 Robert Dewar <dewar@adacore.com> |
10581 | ||
10582 | * ug_words: Add /ASSUME_VALID for -gnatB | |
10583 | ||
10584 | * vms_data.ads: Add /ASSUME_VALID for -gnatB | |
10585 | ||
10586 | * sem_cat.adb: Add clarifying commment | |
10587 | ||
10588 | * a-direio.ads (Bytes): Make sure value is non-zero | |
10589 | ||
10590 | 2009-04-08 Ed Schonberg <schonberg@adacore.com> | |
10591 | ||
10592 | * sem_util.adb (Is_Variable): If the prefix is an explicit dereference | |
10593 | that does not come from source, check for a rewritten function call in | |
10594 | prefixed notation before other forms of rewriting. | |
10595 | ||
10596 | 2009-04-08 Robert Dewar <dewar@adacore.com> | |
10597 | ||
10598 | * Makefile.rtl: Remove s-strops and s-sopco? from the run time, since | |
10599 | these are now obsolescent units used only for bootrapping with an | |
10600 | older compiler. | |
10601 | ||
94fd3dc6 AC |
10602 | 2009-04-08 Robert Dewar <dewar@adacore.com> |
10603 | ||
10604 | * gnat_rm.texi: Add documentation for pragma Thread_Local_Storage | |
10605 | ||
10606 | * sem_ch3.adb: Minor comment updates | |
10607 | ||
10608 | 2009-04-08 Ed Schonberg <schonberg@adacore.com> | |
10609 | ||
10610 | * inline.adb (Back_End_Cannot_Inline): restrict warning to subprograms | |
10611 | that come from source. | |
10612 | ||
40a14772 TG |
10613 | 2009-04-08 Tristan Gingold <gingold@adacore.com> |
10614 | ||
cac9d8d6 EB |
10615 | * gcc-interface/gigi.h (enum attr_type): Add ATTR_THREAD_LOCAL_STORAGE. |
10616 | * gcc-interface/decl.c (prepend_attributes): New case | |
10617 | Pragma_Thread_Local_Storage. | |
10618 | * gcc-interface/utils.c (process_attributes): New case | |
10619 | ATTR_THREAD_LOCAL_STORAGE. | |
10620 | ||
46ff89f3 AC |
10621 | 2009-04-08 Ed Schonberg <schonberg@adacore.com> |
10622 | ||
10623 | * inline.adb (Back_End_Cannot_Inline): Do not mark a body as inlineable | |
10624 | by the back-end if it contains a call to a subprogram without a | |
10625 | previous spec that is declared in the same unit. | |
10626 | ||
10627 | * errout.ads: Update comments on uses of dirs | |
10628 | ||
10629 | 2009-04-08 Robert Dewar <dewar@adacore.com> | |
10630 | ||
10631 | * exp_ch4.adb (Expand_Concatenate): Make sure nodes are properly typed | |
10632 | ||
812f574f AC |
10633 | 2009-04-08 Tristan Gingold <gingold@adacore.com> |
10634 | ||
10635 | * sem_prag.adb: Restrict pragma Thread_Local_Storage to library level | |
10636 | variables. | |
10637 | Set Has_Gigi_Rep_Item flag to TLS variables (to ease gigi work). | |
10638 | ||
10639 | 2009-04-08 Vincent Celier <celier@adacore.com> | |
10640 | ||
10641 | * prj-nmsc.adb: | |
10642 | (Add_Source): Add the mapping of the unit name to source file name in | |
10643 | the Unit_Sources_HT hash table, if the unit name is not null. | |
10644 | ||
10645 | * prj.adb (Reset): Reset hash table Tree.Unit_Sources_HT | |
10646 | ||
10647 | * prj.ads (Unit_Sources_Htable): New hash table instantiation | |
10648 | (Project_Tree_Data): New component Unit_Sources_HT | |
10649 | ||
4c8a5bb8 AC |
10650 | 2009-04-08 Thomas Quinot <quinot@adacore.com> |
10651 | ||
10652 | * sem_ch8.adb: Minor reformatting. | |
10653 | Minor code reorganization. | |
10654 | ||
10655 | 2009-04-08 Robert Dewar <dewar@adacore.com> | |
10656 | ||
10657 | * snames.h, einfo.adb, einfo.ads, sem_prag.adb, snames.adb, | |
10658 | snames.ads, freeze.adb, par-prag.adb: Add implementation of | |
10659 | pragma Thread_Local_Storage, setting new flag | |
10660 | Has_Pragma_Thread_Local_Storage in corresponding entities. | |
10661 | ||
ecc4ddde AC |
10662 | 2009-04-08 Emmanuel Briot <briot@adacore.com> |
10663 | ||
10664 | * prj.ads: Update comment on switches file | |
10665 | ||
10666 | * prj-nmsc.adb: Code clean up. Use renaming clauses. | |
10667 | ||
10668 | 2009-04-08 Robert Dewar <dewar@adacore.com> | |
10669 | ||
10670 | * exp_ch4.adb (Expand_Concatenate): Further fixes to bounds handling | |
10671 | ||
10672 | 2009-04-08 Thomas Quinot <quinot@adacore.com> | |
10673 | ||
10674 | * ali-util.adb: Minor comment fix | |
10675 | ||
10676 | 2009-04-08 Ed Schonberg <schonberg@adacore.com> | |
10677 | ||
10678 | * sem_ch8.adb (Analyze_Use_Type): Improve error message when clause | |
10679 | appears in a context clause, and the enclosing package is mentioned in | |
10680 | a limited_with_clause. | |
10681 | (Use_One_Type): Reject clause if type is still incomplete. | |
10682 | ||
a29262fd AC |
10683 | 2009-04-08 Emmanuel Briot <briot@adacore.com> |
10684 | ||
10685 | * prj-nmsc.adb (Check_File, Process_Sources_In_Multi_Language_Mode): | |
10686 | avoid copies of Source_Data variables when possible, since these | |
10687 | involve calls to memcpy() which are done too many times. | |
10688 | ||
10689 | 2009-04-08 Robert Dewar <dewar@adacore.com> | |
10690 | ||
10691 | * exp_ch4.adb (Expand_Concatenate): Clean up code | |
10692 | ||
a2dc5812 AC |
10693 | 2009-04-07 Thomas Quinot <quinot@adacore.com> |
10694 | ||
10695 | * exp_ch4.adb (Expand_Concatenate): Add missing conversion to index | |
10696 | type for the case of concatenating a constrained array indexed by an | |
10697 | enumeration type. | |
10698 | ||
10699 | 2009-04-07 Ed Schonberg <schonberg@adacore.com> | |
10700 | ||
10701 | * sem_ch6.adb (Check_Conformance): when checking conformance of an | |
10702 | operation that overrides an abstract operation inherited from an | |
10703 | interface, return False if only one of the controlling formals is an | |
10704 | access parameter. | |
10705 | ||
10706 | 2009-04-07 Ed Schonberg <schonberg@adacore.com> | |
10707 | ||
10708 | * sem_ch8.adb (Analyze_Object_Renaming): additional error messages | |
10709 | mandated by AI05-105. | |
10710 | ||
10711 | 2009-04-07 Vincent Celier <celier@adacore.com> | |
10712 | ||
10713 | * prj-nmsc.adb (Get_Mains): Warn if a main is an empty string | |
10714 | ||
10715 | 2009-04-07 Thomas Quinot <quinot@adacore.com> | |
10716 | ||
10717 | * usage.adb: Minor fix in usage message. | |
10718 | ||
10719 | * sem_ch10.adb (Remove_Homonyms): Fix subtype of formal in body to | |
10720 | match declaration; the correct subtype is Node_Id, not Entity_Id, | |
10721 | because the expected node kind is an identifier, not a defining | |
10722 | identifier. | |
10723 | ||
10724 | * switch-c.adb: Minor reformatting. | |
10725 | ||
10726 | * uintp.adb: Minor reformatting. | |
10727 | ||
10728 | 2009-04-07 Robert Dewar <dewar@adacore.com> | |
10729 | ||
10730 | * exp_ch13.adb: Minor reformatting | |
10731 | ||
0ac73189 AC |
10732 | 2009-04-07 Robert Dewar <dewar@adacore.com> |
10733 | ||
10734 | * sem_warn.adb (Check_Infinite_Loop_Warning.Test_Ref): Add defence | |
10735 | against missing parent. | |
10736 | ||
10737 | 2009-04-07 Thomas Quinot <quinot@adacore.com> | |
10738 | ||
10739 | * xoscons.adb: Minor reformatting | |
10740 | ||
10741 | 2009-04-07 Robert Dewar <dewar@adacore.com> | |
10742 | ||
10743 | * rtsfind.ads: Remove obsolete string concatenation entries | |
10744 | ||
10745 | 2009-04-07 Robert Dewar <dewar@adacore.com> | |
10746 | ||
10747 | * exp_ch4.adb (Expand_Concatenate): Redo handling of bounds | |
10748 | ||
10749 | 2009-04-07 Ed Schonberg <schonberg@adacore.com> | |
10750 | ||
10751 | * sem_ch10.adb (Check_Body_Required): Handle properly imported | |
10752 | subprograms. | |
10753 | ||
10754 | 2009-04-07 Gary Dismukes <dismukes@adacore.com> | |
10755 | ||
10756 | * exp_ch13.adb (Expand_N_Attribute_Definition_Clause, case | |
10757 | Attribute_Address): When Init_Or_Norm_Scalars is True and the object | |
10758 | is of a scalar or string type then suppress the setting of the | |
10759 | expression to Empty. | |
10760 | ||
10761 | * freeze.adb (Warn_Overlay): Also emit the warnings about default | |
10762 | initialization for the cases of scalar and string objects when | |
10763 | Init_Or_Norm_Scalars is True. | |
10764 | ||
1732c156 AC |
10765 | 2009-04-07 Bob Duff <duff@adacore.com> |
10766 | ||
10767 | * s-secsta.ads, g-pehage.ads, s-fileio.ads: Minor comment fixes | |
10768 | ||
10769 | 2009-04-07 Bob Duff <duff@adacore.com> | |
10770 | ||
10771 | * gnat_rm.texi, s-fileio.adb (System.File_IO.Open): New feature: A | |
10772 | Form parameter of Text_Translation=No allows binary mode for Text_IO | |
10773 | files. | |
10774 | ||
10775 | * gnat_rm.texi: Document Form parameter Text_Translation=xxx. | |
10776 | ||
10777 | 2009-04-07 Javier Miranda <miranda@adacore.com> | |
10778 | ||
10779 | * exp_ch5.adb (Expand_Assign_Array): Add implicit conversion when | |
10780 | processing the bounds for bit packed arrays or VM target machines. | |
10781 | ||
f16d05d9 AC |
10782 | 2009-04-07 Thomas Quinot <quinot@adacore.com> |
10783 | ||
10784 | * g-sothco.ads (Int_Access): Remove extraneous access type (use | |
10785 | anonymous access instead). | |
10786 | (Get_Socket_From_Set): Fix incorrectly reverted formals | |
10787 | Last and Socket to match the underlying C routine. | |
10788 | ||
ad1536a1 | 10789 | * g-socket.adb, g-socket.ads |
f16d05d9 AC |
10790 | (Get): Use named parameter associations instead of positional ones in |
10791 | call go Get_Socket_From_Set, since this routine has two formals of the | |
10792 | same type. | |
ad1536a1 | 10793 | (Image): New procedure. |
f16d05d9 AC |
10794 | |
10795 | * g-socthi-vms.adb, g-socthi-vms.ads, g-socthi-vxworks.adb, | |
10796 | g-socthi-vxworks.ads, g-socthi-mingw.ads, g-socthi.adb, g-socthi.ads: | |
10797 | (C_Ioctl, Syscall_Ioctl): use "access C.int" instead of "Int_Access" | |
10798 | for type of Arg formal. | |
10799 | ||
10800 | * sem_warn.adb: Minor reformatting | |
10801 | ||
10802 | 2009-04-07 Ed Schonberg <schonberg@adacore.com> | |
10803 | ||
10804 | * sem_util.adb (Has_Tagged_Component): Fix typo in loop that iterates | |
10805 | over record components. | |
10806 | ||
10807 | 2009-04-07 Nicolas Roche <roche@adacore.com> | |
10808 | ||
10809 | * gsocket.h: | |
10810 | Don't include resolvLib.h on VxWorks 6 (kernel and rtp). This library | |
10811 | has disappeared between VxWorks 6.4 and VxWorks 6.5 | |
10812 | In RTP mode use time.h instead of times.h | |
10813 | ||
10814 | 2009-04-07 Robert Dewar <dewar@adacore.com> | |
10815 | ||
10816 | * exp_ch4.adb (Expand_N_Op_Concat): Improve lower bound handling | |
10817 | ||
10818 | 2009-04-07 Kevin Pouget <pouget@adacore.com> | |
10819 | ||
10820 | * exp_dist.adb: Modify Build_From_Any_Fonction procedure to correct | |
10821 | expanded code for constrained types. | |
10822 | ||
10823 | 2009-04-07 Ed Schonberg <schonberg@adacore.com> | |
10824 | ||
10825 | * sem_ch4.adb (Analyze_Overloaded_Selected_Component): implement | |
10826 | AI05-105: in an object renaming declaration, anonymousness is a name | |
10827 | resolution rule. | |
10828 | ||
10829 | * sem_ch8.adb (Analyze_Object_Renaming): Ditto. | |
10830 | ||
10831 | 2009-04-07 Arnaud Charlet <charlet@adacore.com> | |
10832 | ||
10833 | * g-comlin.adb (Expansion): Fix old regression: also return directory | |
10834 | names when matching. | |
10835 | ||
2fc05e3d AC |
10836 | 2009-04-07 Robert Dewar <dewar@adacore.com> |
10837 | ||
10838 | * exp_ch4.adb: | |
10839 | (Expand_N_Op_Concat): Call Expand_Concatenate for all cases | |
10840 | (Expand_Concatenate): New name for Expand_Concatenate_String which has | |
10841 | been rewritten to handle all types. | |
10842 | (Expand_Concatenate_Other): Remove | |
10843 | ||
10844 | 2009-04-07 Ed Schonberg <schonberg@adacore.com> | |
10845 | ||
10846 | * lib-xref.adb (Generate_Reference): A default subprogram in an | |
10847 | instance appears within the tree for the instance, but generates an | |
10848 | implicit reference in the ALI. | |
10849 | ||
fdac1f80 AC |
10850 | 2009-04-07 Javier Miranda <miranda@adacore.com> |
10851 | ||
10852 | * sem_ch3.adb (Build_Derived_Record_Type): When processing a tagged | |
10853 | derived type that has discriminants, propagate the list of interfaces | |
10854 | to the corresponding new base type. In addition, propagate also | |
10855 | attribute Limited_Present (found working in this patch). | |
10856 | ||
10857 | 2009-04-07 Robert Dewar <dewar@adacore.com> | |
10858 | ||
10859 | * exp_ch4.adb: Rewrite concatenation expansion. | |
10860 | ||
8dbd1460 AC |
10861 | 2009-04-07 Ed Schonberg <schonberg@adacore.com> |
10862 | ||
10863 | * sem_ch8.adb (Restore_Scope_Stack): First_Private_Entity is only | |
10864 | relevant to packages. | |
10865 | ||
10866 | 2009-04-07 Robert Dewar <dewar@adacore.com> | |
10867 | ||
10868 | * sem_attr.adb: Minor reformatting | |
10869 | ||
10870 | * sem_ch6.adb: Minor reformatting | |
10871 | ||
2ddc2000 AC |
10872 | 2009-04-07 Tristan Gingold <gingold@adacore.com> |
10873 | ||
10874 | * socket.c: Add more protections against S_resolvLib_ macros. | |
10875 | ||
10876 | 2009-04-07 Thomas Quinot <quinot@adacore.com> | |
10877 | ||
10878 | * sem_attr.adb: Minor reformatting | |
10879 | ||
10880 | 2009-04-07 Ed Schonberg <schonberg@adacore.com> | |
10881 | ||
10882 | * sem_ch6.adb (New_Overloaded_Entity): New predicate | |
10883 | Is_Overriding_Alias to handle properly types that inherit two homonym | |
10884 | operations that have distinct dispatch table entries. | |
10885 | ||
06a16f58 AC |
10886 | 2009-04-07 Emmanuel Briot <briot@adacore.com> |
10887 | ||
10888 | * s-regexp.adb (Create_Mapping): Ignore excaped open parenthesis when | |
10889 | looking for the end of a parenthesis group | |
10890 | ||
10891 | 2009-04-07 Tristan Gingold <gingold@adacore.com> | |
10892 | ||
10893 | * gsocket.h Don't #include resolvLib.h if __RTP__ is defined. | |
10894 | ||
10895 | * socket.c Don't use resolvLib_ macros if not defined. | |
10896 | ||
df46b832 AC |
10897 | 2009-04-07 Robert Dewar <dewar@adacore.com> |
10898 | ||
10899 | * g-socket.adb: Minor reformatting. | |
10900 | ||
10901 | * g-socthi-mingw.adb: Minor reformatting | |
10902 | ||
10903 | * g-sothco.ads: Minor reformatting | |
10904 | ||
10905 | * exp_ch4.adb: | |
10906 | (Expand_Concatenate_String): Complete rewrite to generate efficient code | |
10907 | inline instead of relying on external library routines. | |
10908 | ||
10909 | * s-strops.ads, s-sopco5.ads, s-sopco5.adb, s-sopco4.ads, s-sopco4.adb, | |
10910 | s-sopco3.ads, s-sopco3.adb, s-strops.adb: Note that this unit is now | |
10911 | obsolescent | |
10912 | ||
10913 | 2009-04-07 Ed Schonberg <schonberg@adacore.com> | |
10914 | ||
10915 | * sem_attr.adb: | |
10916 | (Eval_Attribute): for attributes of array objects that are not strings, | |
10917 | attributes are not static if nominal subtype of object is unconstrained. | |
10918 | ||
10919 | 2009-04-07 Ed Schonberg <schonberg@adacore.com> | |
10920 | ||
10921 | * sem_ch6.adb (New_Overloaded_Entity): If two implicit homonym | |
10922 | operations for a type T in an instance do not override each other, | |
10923 | when T is derived from a formal private type, the corresponding | |
10924 | operations inherited by a type derived from T outside | |
10925 | of the instance do not override each other either. | |
10926 | ||
3dd9959c AC |
10927 | 2009-04-07 Robert Dewar <dewar@adacore.com> |
10928 | ||
10929 | (Osint.Fail): Change calling sequence to have one string arg | |
10930 | (Make.Make_Failed): Same change | |
10931 | All callers are adjusted to use concatenation | |
10932 | ||
10933 | 2009-04-07 Robert Dewar <dewar@adacore.com> | |
10934 | ||
10935 | * exp_ch4.adb: Fix documentation typo | |
10936 | ||
10937 | 2009-04-07 Robert Dewar <dewar@adacore.com> | |
10938 | ||
10939 | * tbuild.ads: Minor reformatting | |
10940 | ||
10941 | 2009-04-07 Javier Miranda <miranda@adacore.com> | |
10942 | ||
10943 | * exp_disp.adb (Make_DT): Avoid the generation of the OSD_Table | |
10944 | when compiling under ZFP runtime. | |
10945 | ||
10946 | 2009-04-07 Robert Dewar <dewar@adacore.com> | |
10947 | ||
10948 | * g-comlin.adb: Minor reformatting | |
10949 | ||
10950 | 2009-04-07 Thomas Quinot <quinot@adacore.com> | |
10951 | ||
10952 | * socket.c, g-socthi-vms.adb, g-socthi-vms.ads, g-socthi-vxworks.adb, | |
10953 | g-socthi-vxworks.ads, g-socthi-mingw.adb, g-socthi-mingw.ads, | |
10954 | g-socthi.adb, g-socthi.ads, g-socket.adb, g-socket.ads, g-sothco.ads: | |
10955 | Remove dynamic allocation of Fd_Set in Socket_Set_Type objects. | |
10956 | ||
dcd8728b RD |
10957 | 2009-04-07 Robert Dewar <dewar@adacore.com> |
10958 | ||
10959 | * gnat_ugn.texi: Document -gnatDnn/-gnatGnn | |
10960 | ||
10961 | * opt.ads (Sprint_Line_Limit): New parameter | |
10962 | ||
10963 | * sprint.adb: Usa Sprint_Line_Limit instead of Line_Limit throughout | |
10964 | ||
10965 | * switch-c.adb: Recognize -gnatDnnn and -gnatGnnn switches | |
10966 | ||
10967 | * usage.adb: Output information for -gnatGnn -gnatDnn | |
10968 | ||
10969 | 2009-04-07 Robert Dewar <dewar@adacore.com> | |
10970 | ||
10971 | * make.adb: Minor reformatting | |
10972 | ||
10973 | 2009-04-07 Robert Dewar <dewar@adacore.com> | |
10974 | ||
10975 | * mlib-tgt-specific-vms-alpha.adb: Minor reformatting | |
10976 | ||
10977 | 2009-04-07 Robert Dewar <dewar@adacore.com> | |
10978 | ||
10979 | * mlib-tgt-specific-vms-ia64.adb: Minor reformatting | |
10980 | ||
c27f2f15 RD |
10981 | 2009-04-07 Robert Dewar <dewar@adacore.com> |
10982 | ||
10983 | * checks.adb: | |
10984 | Remove Assume_Valid parameter from In_Subrange_Of calls | |
10985 | ||
10986 | * sem_eval.adb: | |
10987 | (Is_Subrange_Of): Remove Assume_Valid parameter, not needed | |
10988 | (Is_In_Range): Remove incorrect use of Assume_Valid | |
10989 | (Is_Out_Of_Range): Remove incorrect use of Assume_Valid | |
10990 | ||
10991 | * sem_eval.ads: | |
10992 | (Is_Subrange_Of): Remove Assume_Valid parameter, not needed | |
10993 | (Is_In_Range): Documentation cleanup | |
10994 | (Is_Out_Of_Range): Documentation cleanup | |
10995 | ||
10996 | * gnat_rm.texi: | |
10997 | Add documentation for Assume_No_Invalid_Values pragma | |
10998 | ||
10999 | * sem_ch12.adb: Minor reformatting | |
11000 | ||
11001 | * sem_ch6.adb: (Check_Conformance): Avoid cascaded errors | |
11002 | ||
11003 | * sem_prag.adb: Improve error message. | |
11004 | ||
11005 | * gnatchop.adb, osint.ads, sinput.adb, sinput.ads, styleg.adb: | |
11006 | LF/CR no longer recognized as line terminator | |
11007 | ||
11008 | * switch.ads: Minor documentation improvement | |
11009 | ||
11010 | * vms_data.ads: Minor reformatting | |
11011 | ||
c800f862 RD |
11012 | 2009-04-07 Robert Dewar <dewar@adacore.com> |
11013 | ||
11014 | * checks.adb (Determine_Range): Add Assume_Valid parameter | |
11015 | ||
11016 | * checks.ads (Determine_Range): Add Assume_Valid parameter | |
11017 | ||
11018 | * errout.adb (Error_Msg_NEL): Use Suppress_Loop_Warnings rather than | |
11019 | Is_Null_Loop to suppress warnings in a loop body. | |
11020 | ||
11021 | * exp_ch4.adb: | |
11022 | (Rewrite_Comparison): Major rewrite to accomodate invalid values | |
11023 | ||
11024 | * exp_ch5.adb: | |
11025 | (Expand_N_Loop_Statement): Delete loop known not to execute | |
11026 | ||
11027 | * opt.ads: | |
11028 | (Assume_No_Invalid_Values): Now set to False, and as documented, this | |
11029 | fully enables the proper handling of invalid values. | |
11030 | ||
11031 | * sem_attr.adb: | |
11032 | New calling sequence for Is_In_Range | |
11033 | ||
11034 | * sem_ch5.adb: | |
11035 | (Analyze_Iteration_Scheme): Accomodate possible invalid values | |
11036 | in determining if a loop range is null. | |
11037 | ||
11038 | * sem_eval.adb: | |
11039 | (Is_In_Range): Add Assume_Valid parameter | |
11040 | (Is_Out_Of_Range): Add Assume_Valid_Parameter | |
11041 | (Compile_Time_Compare): Major rewrite to accomodate invalid values and | |
11042 | also to do more accurate and complete range analysis, catching more | |
11043 | cases. | |
11044 | ||
11045 | * sem_eval.ads: | |
11046 | (Is_In_Range): Add Assume_Valid parameter | |
11047 | (Is_Out_Of_Range): Add Assume_Valid_Parameter | |
11048 | ||
11049 | * sem_util.adb: | |
11050 | New calling sequence for Is_In_Range | |
11051 | ||
11052 | * sinfo.adb: | |
11053 | (Suppress_Loop_Warnings): New flag | |
11054 | ||
11055 | * sinfo.ads: | |
11056 | (Is_Null_Loop): Update documentation | |
11057 | (Suppress_Loop_Warnings): New flag | |
11058 | ||
11059 | * gnat_ugn.texi: Document -gnatB switch | |
11060 | ||
9d00840d AC |
11061 | 2009-04-07 Arnaud Charlet <charlet@adacore.com> |
11062 | ||
11063 | * gnatvsn.ads: Bump version number. | |
11064 | ||
5f143024 AC |
11065 | 2009-04-07 Thomas Quinot <quinot@adacore.com> |
11066 | ||
11067 | * exp_ch3.adb: Minor rewording (comments) | |
11068 | ||
11069 | 2009-04-07 Robert Dewar <dewar@adacore.com> | |
11070 | ||
11071 | * exp_disp.adb: Minor reformatting | |
11072 | ||
d5859bf4 EB |
11073 | 2009-04-07 Eric Botcazou <ebotcazou@adacore.com> |
11074 | ||
11075 | * gcc-interface/decl.c (gnat_to_gnu_entity) <object>: Test the | |
11076 | underlying type. | |
11077 | * gcc-interface/trans.c (lvalue_required_p): Likewise. | |
11078 | ||
c86f07f6 EB |
11079 | 2009-04-07 Eric Botcazou <ebotcazou@adacore.com> |
11080 | ||
11081 | * gcc-interface/trans.c (Attribute_to_gnu) <Max_Size_In_Storage_Elmts>: | |
11082 | Do not convert the result. Remove obsolete comment. | |
11083 | ||
2d5be6c1 EB |
11084 | 2009-04-07 Eric Botcazou <ebotcazou@adacore.com> |
11085 | ||
11086 | * gcc-interface/trans.c (establish_gnat_vms_condition_handler): Clear | |
11087 | DECL_CONTEXT. | |
11088 | (Subprogram_Body_to_gnu): Fix pasto. | |
11089 | ||
10069d53 EB |
11090 | 2009-04-07 Eric Botcazou <ebotcazou@adacore.com> |
11091 | ||
11092 | * gcc-interface/gigi.h (standard_datatypes): Remove ADT_void_type_decl. | |
11093 | (void_type_decl_node): Remove. | |
11094 | (init_gigi_decls): Likewise. | |
11095 | (gnat_install_builtins): Declare. | |
11096 | (record_builtin_type): Likewise. | |
11097 | (create_type_stub_decl): Likewise. | |
11098 | * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Void>: Use void_type. | |
11099 | (gnat_to_gnu_entity) <E_Array_Type>: Make fat and thin pointer types | |
11100 | artificial. | |
11101 | <E_Array_Subtype>: Use the index types, not only their name, in the | |
11102 | record giving the names of the bounds, if any. | |
11103 | For a packed array type, make it artificial only if the base type | |
11104 | was artificial as well. Remove redundant statement. | |
11105 | (gnat_to_gnu_entity) <E_Incomplete_Type>: Do not create TYPE_DECL for | |
11106 | dummy types. | |
11107 | Use create_type_stub_decl to build the TYPE_STUB_DECL of types. | |
11108 | (rest_of_type_decl_compilation_no_defer): Likewise. | |
11109 | * gcc-interface/misc.c (gnat_printable_name): Add missing guard. | |
11110 | * gcc-interface/utils.c (make_dummy_type): Always create TYPE_STUB_DECL | |
11111 | and use create_type_stub_decl to build it. | |
11112 | (gnat_pushdecl): Rewrite condition. | |
11113 | (gnat_install_builtins): Remove bogus declaration. | |
11114 | (record_builtin_type): New function. | |
11115 | (finish_record_type): Use create_type_stub_decl to build TYPE_STUB_DECL | |
11116 | of types. | |
11117 | (create_type_stub_decl): New function. | |
11118 | (create_type_decl): Assert that the type is not dummy. If the type | |
11119 | hasn't been named yet, equate the TYPE_STUB_DECL to the created node. | |
11120 | (build_vms_descriptor32): Do not create TYPE_DECL for the descriptor. | |
11121 | (build_vms_descriptor): Likewise. | |
11122 | (init_gigi_decls): Delete and move bulk of code to... | |
11123 | * gcc-interface/trans.c (gigi): ...here. Use record_builtin_type. | |
11124 | (emit_range_check): Add gnat_node parameter. | |
11125 | (emit_index_check): Likewise. | |
11126 | (emit_check): Likewise. | |
11127 | (build_unary_op_trapv): Likewise. | |
11128 | (build_binary_op_trapv): Likewise. | |
11129 | (convert_with_check): Likewise. | |
11130 | (Attribute_to_gnu): Adjust calls for above changes. | |
11131 | (call_to_gnu): Likewise. | |
11132 | (gnat_to_gnu): Likewise. | |
11133 | (assoc_to_constructor): Likewise. | |
11134 | (pos_to_constructor): Likewise. | |
11135 | (Sloc_to_locus): Set BUILTINS_LOCATION for Standard_Location nodes. | |
11136 | (process_type): Do not create TYPE_DECL for dummy types. | |
11137 | ||
229077b0 EB |
11138 | 2009-04-07 Eric Botcazou <ebotcazou@adacore.com> |
11139 | ||
1e17ef87 EB |
11140 | * gcc-interface/decl.c (gnat_to_gnu_entity): Reorder local variables. |
11141 | * gcc-interface/trans.c: Fix formatting throughout. Fix comments. | |
11142 | * gcc-interface/utils.c: Fix comments. | |
11143 | ||
11144 | 2009-04-07 Eric Botcazou <ebotcazou@adacore.com> | |
11145 | ||
11146 | * gcc-interface/decl.c (compile_time_known_address_p): Rewrite and | |
11147 | move around. | |
229077b0 EB |
11148 | (gnat_to_gnu_type): Move around. |
11149 | (get_unpadded_type): Likewise. | |
1e17ef87 EB |
11150 | * gcc-interface/utils.c (update_pointer_to): Use synthetic macro. |
11151 | Tidy comments. | |
229077b0 | 11152 | |
aa1aa786 EB |
11153 | 2009-04-07 Eric Botcazou <ebotcazou@adacore.com> |
11154 | ||
11155 | * gcc-interface/trans.c (check_for_eliminated_entity): New function. | |
11156 | (Attribute_to_gnu): Invoke it for Access- and Address-like attributes. | |
11157 | (call_to_gnu): Invoke it instead of manually checking. | |
11158 | ||
63787194 EB |
11159 | 2009-04-04 Eric Botcazou <ebotcazou@adacore.com> |
11160 | ||
11161 | * gcc-interface/utils.c (finish_record_type): Force structural equality | |
11162 | checks if the record type is discriminated. | |
11163 | ||
d236ace7 EB |
11164 | 2009-03-31 Eric Botcazou <ebotcazou@adacore.com> |
11165 | ||
11166 | * system-linux-alpha.ads (Functions_Return_By_DSP): Remove. | |
11167 | * system-linux-mips.ads (Functions_Return_By_DSP): Likewise. | |
11168 | * system-linux-mipsel.ads (Functions_Return_By_DSP): Likewise. | |
11169 | * system-linux-s390.ads (Functions_Return_By_DSP): Likewise. | |
11170 | * system-linux-s390x.ads (Functions_Return_By_DSP): Likewise. | |
11171 | * system-linux-sparc.ads (Functions_Return_By_DSP): Likewise. | |
11172 | * system-linux-sparcv9.ads (Functions_Return_By_DSP): Likewise. | |
11173 | ||
bd9f68e0 PB |
11174 | 2009-03-30 Paolo Bonzini <bonzini@gnu.org> |
11175 | ||
d7be99f1 EB |
11176 | * gcc-interface/decl.c (maybe_pad_type): Use TREE_OVERFLOW instead |
11177 | of TREE_CONSTANT_OVERFLOW. | |
bd9f68e0 | 11178 | |
8ce94e44 JM |
11179 | 2009-03-30 Joseph Myers <joseph@codesourcery.com> |
11180 | ||
11181 | PR rtl-optimization/323 | |
11182 | * gcc-interface/misc.c (gnat_post_options): Set | |
11183 | flag_excess_precision_cmdline. Give an error for | |
11184 | -fexcess-precision=standard for processors where the option is | |
11185 | significant. | |
11186 | ||
d9223014 L |
11187 | 2009-03-27 H.J. Lu <hongjiu.lu@intel.com> |
11188 | ||
11189 | PR c/39323 | |
11190 | * gcc-interface/utils.c (create_field_decl): Use "unsigned int" | |
11191 | on bit_align. | |
11192 | ||
76761bbd OH |
11193 | 2009-03-11 Olivier Hainque <hainque@adacore.com> |
11194 | ||
11195 | * gcc-interface/trans.c (gnat_to_gnu) <case N_Slice>: In range | |
11196 | checks processing, remove unintended TREE_TYPE walk on index type. | |
11197 | ||
39ae51e0 EB |
11198 | 2009-03-01 Eric Botcazou <ebotcazou@adacore.com> |
11199 | ||
11200 | PR ada/39264 | |
11201 | * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Array_Type>: Do no | |
11202 | call make_packable_type on fat pointer types. | |
11203 | <E_Array_Subtype>: Likewise. | |
11204 | <E_Record_Subtype>: Call make_packable_type on all record types | |
11205 | except for fat pointer types. | |
11206 | (make_packable_type): Likewise. | |
11207 | (gnat_to_gnu_field): Likewise. | |
11208 | ||
7d01864f EB |
11209 | 2009-02-28 Eric Botcazou <ebotcazou@adacore.com> |
11210 | ||
11211 | * gcc-interface/Makefile.in (cygwin/mingw): Revert accidental | |
67901d32 | 11212 | EH_MECHANISM change made on 2007-12-06. |
7d01864f | 11213 | |
a760c977 AS |
11214 | 2009-02-26 Andreas Schwab <schwab@suse.de> |
11215 | ||
4c354194 | 11216 | PR ada/39172 |
a760c977 | 11217 | * Makefile.in (srcdir): Set to @top_srcdir@ instead of @srcdir@. |
a760c977 AS |
11218 | * gcc-interface/Makefile.in: Change all uses of $(srcdir), |
11219 | $(fsrcdir) and $(fsrcpfx) to add ada subdir. | |
11220 | (AWK): Substitute. | |
11221 | (target_cpu_default): Substitute. | |
11222 | ||
054efbba LG |
11223 | 2009-02-25 Laurent GUERBY <laurent@guerby.net> |
11224 | ||
975a4fd6 | 11225 | PR ada/39221 |
a760c977 AS |
11226 | * a-teioed.adb (Expand): Fix Result overflow. |
11227 | ||
c608b4d2 | 11228 | 2009-02-25 Laurent GUERBY <laurent@guerby.net> |
2692d7f5 | 11229 | |
a760c977 AS |
11230 | * gcc-interface/Makefile.in: Fix multilib handling for |
11231 | sparc64-linux. | |
11232 | ||
ea675ec3 RO |
11233 | 2009-02-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
11234 | ||
11235 | * s-oscons-tmplt.c [__osf__ && !_SS_MAXSIZE]: Undef AF_UNIX6. | |
11236 | ||
e98c0739 L |
11237 | 2009-02-18 H.J. Lu <hongjiu.lu@intel.com> |
11238 | ||
11239 | * gcc-interface/misc.c (gnat_post_options): Turn off warn_psabi. | |
11240 | ||
70f5fc7c EB |
11241 | 2009-02-16 Eric Botcazou <ebotcazou@adacore.com> |
11242 | ||
11243 | * gcc-interface/deftarg.c: Remove. | |
11244 | ||
794511d2 | 11245 | 2009-02-10 Olivier Hainque <hainque@adacore.com> |
e98c0739 | 11246 | Eric Botcazou <ebotcazou@adacore.com> |
794511d2 EB |
11247 | |
11248 | * gcc-interface/decl.c (enum alias_set_op): New enumeration. | |
11249 | (copy_alias_set): Rename into... | |
11250 | (relate_alias_sets): ...this. Add third parameter OP. Retrieve the | |
11251 | underlying array of unconstrained arrays for the new type as well. | |
11252 | If the old and new alias sets don't conflict, make one a subset of | |
11253 | the other as per the OP parameter. | |
11254 | (gnat_to_gnu_entity): Adjust calls to copy_alias_set. | |
11255 | <E_Record_Type>: Do not copy the alias set for derived types. | |
11256 | For all types, make the alias set of derived types a superset of | |
11257 | that of their parent type. | |
11258 | (make_aligning_type): Adjust calls to copy_alias_set. | |
11259 | (make_packable_type): Likewise. | |
11260 | * gcc-interface/trans.c (gnat_to_gnu)<N_Validate_Unchecked_Conversion>: | |
11261 | Check for alias set conflict instead of strict equality to issue the | |
11262 | warning. | |
11263 | ||
c3734896 EB |
11264 | 2009-02-09 Eric Botcazou <ebotcazou@adacore.com> |
11265 | ||
11266 | * gcc-interface/decl.c (gnat_to_gnu_entity) <E_String_Literal_Subtype>: | |
11267 | Set TYPE_NONALIASED_COMPONENT on the array type only if appropriate. | |
11268 | (copy_alias_set): Assert that arrays have the same aliasing settings. | |
11269 | (substitute_in_type) <ARRAY_TYPE>: Copy TYPE_NONALIASED_COMPONENT. | |
11270 | ||
9a58d4d2 EB |
11271 | 2009-02-08 Eric Botcazou <ebotcazou@adacore.com> |
11272 | ||
11273 | * gcc-interface/decl.c (gnat_to_gnu_entity) <E_String_Literal_Subtype>: | |
11274 | Set TYPE_NONALIASED_COMPONENT on the array type. | |
11275 | ||
d0ec4c99 LG |
11276 | 2009-01-31 Laurent GUERBY <laurent@guerby.net> |
11277 | ||
11278 | * gcc-interface/Makefile.in: Fix mipsel linux handling. | |
a760c977 | 11279 | |
4dcb8fd1 JJ |
11280 | 2009-01-16 Jakub Jelinek <jakub@redhat.com> |
11281 | ||
11282 | * gcc-interface/Makefile.in: Fix multilib handling for | |
11283 | powerpc64-linux. | |
11284 | ||
3b9c1abd EB |
11285 | 2009-01-12 Eric Botcazou <ebotcazou@adacore.com> |
11286 | ||
11287 | * gcc-interface/decl.c (gnat_to_gnu_entity) <object>: Really strip | |
11288 | only useless conversions around renamed objects. | |
11289 | ||
13318d2f EB |
11290 | 2009-01-11 Eric Botcazou <ebotcazou@adacore.com> |
11291 | ||
11292 | * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Record_Subtype>: Put | |
11293 | the _Tag field before any discriminants in the field list. | |
11294 | (components_to_record): Remove obsolete comment. | |
11295 | ||
ad41bd84 JM |
11296 | |
11297 | \f | |
8ff1dd83 | 11298 | Copyright (C) 2009 Free Software Foundation, Inc. |
ad41bd84 JM |
11299 | |
11300 | Copying and distribution of this file, with or without modification, | |
11301 | are permitted in any medium without royalty provided the copyright | |
11302 | notice and this notice are preserved. |