]>
Commit | Line | Data |
---|---|---|
a712aa03 AC |
1 | 2009-07-13 Gary Dismukes <dismukes@adacore.com> |
2 | ||
3 | * sem_ch10.adb, sem_ch12.adb, gnat1drv.adb, exp_ch4.adb: Fix casing of | |
4 | several references to CodePeer. | |
5 | ||
6 | 2009-07-13 Bob Duff <duff@adacore.com> | |
7 | ||
8 | * exp_dist.adb (Build_From_Any_Function,Build_To_Any_Function, | |
9 | Build_TypeCode_Function_All): Do not recurse if the type is the base | |
10 | type. | |
11 | ||
76efd572 AC |
12 | 2009-07-13 Robert Dewar <dewar@adacore.com> |
13 | ||
14 | * exp_ch4.adb: Minor comment change | |
15 | ||
16 | 2009-07-13 Ed Schonberg <schonberg@adacore.com> | |
17 | ||
18 | * sem_ch5.adb (Analyze_Iteration_Scheme): Generate dummy reference for | |
19 | type of iteration, to prevent spurious warnings. | |
20 | ||
21 | 2009-07-13 Nicolas Roche <roche@adacore.com> | |
22 | ||
23 | * s-oscons-tmplt.c: On VxWorks target ensure that vxWorks.h is always | |
24 | included. | |
25 | ||
26 | 2009-07-13 Arnaud Charlet <charlet@adacore.com> | |
27 | ||
28 | * switch-c.adb, usage.adb, sem_ch9.adb, gnat_ugn.texi, rtsfind.adb, | |
29 | gnat1drv.adb, opt.ads, sem_ch13.adb (Inspector_Mode): Renamed to | |
30 | Generate_SCIL. | |
31 | (CodePeer_Mode): New -gnatC switch. | |
32 | (Adjust_Global_Switches): Adjust settings for Generate_SCIL and | |
33 | CodePeer_Mode. | |
34 | ||
10475800 EB |
35 | 2009-07-13 Eric Botcazou <ebotcazou@adacore.com> |
36 | ||
37 | * checks.adb (Selected_Range_Checks): Do not consider that a non-static | |
38 | integer bound forces the check if it is compared to its subtype range. | |
39 | ||
7b00e31d AC |
40 | 2009-07-13 Robert Dewar <dewar@adacore.com> |
41 | ||
42 | * prj.ads, prj-dect.adb, prj-err.ads, prj-err.adb, prj-nmsc.adb, | |
43 | prj-strt.ads: Minor reformatting | |
44 | ||
45 | 2009-07-13 Thomas Quinot <quinot@adacore.com> | |
46 | ||
47 | * exp_dist.adb (Build_From_Any_Call): For the case of a generic type, | |
48 | set the type of the From_Any call to the base type. | |
49 | ||
50 | 2009-07-13 Doug Rupp <rupp@adacore.com> | |
51 | ||
52 | * symbols-processing-vms-ia64.adb (Process): Add variables and | |
53 | constants to retrieve and check for symbol visibility. | |
54 | ||
55 | 2009-07-13 Javier Miranda <miranda@adacore.com> | |
56 | ||
57 | * exp_ch4.adb (Expand_N_Unchecked_Type_Conversion): If conversion is to | |
58 | the identical type we remove the conversion completely because | |
59 | it is useless. | |
60 | ||
0e41a941 AC |
61 | 2009-07-13 Emmanuel Briot <briot@adacore.com> |
62 | ||
63 | * prj-err.adb (Error_Msg): One more case where a message should be | |
64 | considered as a warning. | |
65 | ||
66 | * gnatcmd.adb (GNATCmd): Fix previous change, which negated a test. | |
67 | ||
68 | 2009-07-13 Thomas Quinot <quinot@adacore.com> | |
69 | ||
70 | * exp_dist.adb (Expand_All_Calls_Remote_Subprogram_Call): Analyze | |
71 | calling stubs in the (library level) scope of the RCI locator, where it | |
72 | is attached, not in the caller's scope. | |
73 | ||
74 | 2009-07-13 Javier Miranda <miranda@adacore.com> | |
75 | ||
76 | * sem_ch3.adb (Analyze_Object_Declaration): In case of class-wide | |
77 | interface object declarations we delay the generation of the equivalent | |
78 | record type declarations until its expansion because there are cases in | |
79 | which they are not required. | |
80 | ||
81 | * sem_util.adb (Implements_Interface): Add missing support for subtypes. | |
82 | ||
83 | * sem_disp.adb (Check_Controlling_Formals): Minor code cleanup plus | |
84 | addition of assertion. | |
85 | ||
86 | * exp_util.adb (Expand_Subtype_From_Expr): Renamings of class-wide | |
87 | interface types require no equivalent constrained type declarations | |
88 | because the expanded code only references the tag component associated | |
89 | with the interface. | |
90 | (Find_Interface_Tag): Improve management of interfaces that are | |
91 | ancestors of tagged types. | |
92 | ||
93 | * exp_ch3.adb (Expand_N_Object_Declaration): Improve the expansion of | |
94 | class-wide object declarations to add missing support to statically | |
95 | displace the pointer to the object to reference the tag component | |
96 | associated with the interface. | |
97 | ||
98 | * exp_disp.adb (Make_Tags) Avoid generation of internally generated | |
99 | auxiliary types associated with user-defined dispatching calls if the | |
100 | type has no user-defined primitives. | |
101 | ||
75069667 VF |
102 | 2009-07-13 Vasiliy Fofanov <fofanov@adacore.com> |
103 | ||
104 | * mingw32.h: Make it explicit that we need XP or later. | |
105 | ||
106 | * initialize.c: Remove useless extern symbol declaration. | |
107 | ||
108 | * adaint.h: Ditto, also expose __gnat_win32_remove_handle to allow | |
109 | code reuse in expect.c. | |
110 | ||
111 | * adaint.c: Changes throughout the Windows section to redesign storage | |
112 | of the child process list and the process identification. | |
113 | ||
114 | * expect.c (__gnat_kill, __gnat_waitpid): Simplify, cleanup, use pids | |
115 | for interfacing, fix errors. | |
116 | (__gnat_expect_portable_execvp): use function in adaint.c | |
117 | ||
e2d9085b EB |
118 | 2009-07-13 Emmanuel Briot <briot@adacore.com> |
119 | ||
120 | * prj-proc.adb, prj-part.adb, prj-part.ads, prj-strt.adb, | |
121 | prj-strt.ads, prj.adb, prj.ads, prj-makr.adb, prj-makr.ads, | |
122 | prj-dect.adb, prj-dect.ads, prj-nmsc.adb, prj-pars.adb, errutil.adb, | |
123 | errutil.ads, prj-conf.adb, gnatname.adb, prj-err.adb, prj-err.ads | |
124 | (Prj.Nmsc.Report_Error): Removed, no longer needed. | |
125 | Always use Prj.Err.Report_Message. | |
126 | ||
442c0581 RD |
127 | 2009-07-13 Robert Dewar <dewar@adacore.com> |
128 | ||
129 | * prj.adb, sem_ch4.adb, sem_res.adb, prj-nmsc.adb: Minor reformatting | |
130 | & comment edits. | |
131 | ||
3c2815d8 RD |
132 | 2009-07-13 Robert Dewar <dewar@adacore.com> |
133 | ||
134 | * opt.ads, prj-conf.adb, prj-env.adb, prj-ext.adb, prj-nmsc.adb, | |
135 | prj-proc.adb, prj-tree.adb, prj-tree.ads: Minor reformatting | |
136 | ||
197e4514 AC |
137 | 2009-07-13 Emmanuel Briot <briot@adacore.com> |
138 | ||
139 | * prj.adb, prj.ads, prj-env.adb, prj-conf.adb, prj-tree.adb, | |
140 | mlib-prj.adb (Private_Part.Ada_Prj_Objects_File_Set, | |
141 | Ada_Prj_Include_File_Set): Removed, since not needed | |
142 | Code clean up. | |
143 | ||
144 | 2009-07-13 Ed Schonberg <schonberg@adacore.com> | |
145 | ||
146 | * sem_ch4.adb (Analyze_Set_Membership): New procedure, subsidiary of | |
147 | Analyze_Membership_Op. | |
148 | ||
149 | * sem_res.adb (Resolve_Set_Membership): New procedure, subsidiary of | |
150 | Resolve_Membership_Op. | |
151 | ||
152 | * exp_ch4.adb (Expand_Set_Membership): New procedure, subsidiary of | |
153 | Expand_N_In. | |
154 | ||
155 | 2009-07-13 Robert Dewar <dewar@adacore.com> | |
156 | ||
157 | * clean.adb: Minor reformattting | |
158 | ||
7bccff24 EB |
159 | 2009-07-13 Emmanuel Briot <briot@adacore.com> |
160 | ||
161 | * gnatcmd.adb, prj-proc.adb, make.adb, mlib-prj.adb, prj-ext.adb, | |
162 | gnat_ugn.texi, prj.adb, prj.ads, clean.adb, prj-nmsc.adb, prj-util.adb, | |
163 | prj-conf.adb, gnatname.adb, prj-env.adb, prj-env.ads, prj-tree.adb, | |
164 | prj-tree.ads (Prj.Tree.Create*): New subprograms to create new packages | |
165 | and attributes in a project tree. | |
166 | (Add_Default_GNAT_Naming_Scheme): Provide real implementation. | |
167 | Remove last remaining mode-specific code (ada_only or | |
168 | multi_language). This was duplicating code | |
169 | (Get_Mode, Set_Mode): removed, no longer used. | |
170 | (Initialize_Project_Path): all tools will now take into account both | |
171 | GPR_PROJECT_PATH and ADA_PROJECT_PATH (in that order). | |
172 | Remove some global variables and subprograms no longer used | |
173 | Make temporary files tree-specific, to avoid interferences between | |
174 | trees loaded in memory at the same time. | |
175 | (Prj.Delete_Temporary_File): new subprogram | |
176 | (Object_Paths, Source_Paths): fields no longer stored in the project | |
177 | tree, since they are only needed locally in Set_Ada_Paths. | |
178 | (Set_Mapping_File_Initial_State_To_Empty): removed, since had no | |
179 | effect in practice. | |
180 | (Project_Tree_Data.Ada_Path_Buffer): removed, since it can be replaced | |
181 | by local variables in the appropriate subprograms | |
182 | (Has_Foreign_Sources): removed. | |
183 | ||
184 | * gcc-interface/Makefile.in: prj-pp.o is now needed to build gnatmake | |
185 | ||
5a64837c AC |
186 | 2009-07-13 Arnaud Charlet <charlet@adacore.com> |
187 | ||
188 | * gnat1drv.adb (Adjust_Global_Switches): No longer set | |
189 | Back_Annotate_Rep_Info in inspector mode. | |
190 | (Gnat1Drv): Need to call the back-end in inspector mode to generate SCIL | |
191 | ||
192 | * opt.ads: Update comment. | |
193 | ||
2c011ce1 RD |
194 | 2009-07-13 Robert Dewar <dewar@adacore.com> |
195 | ||
196 | * lib.adb, prj-nmsc.adb, prj-proc.adb, prj-proc.ads, prj.adb, | |
197 | prj.ads: Minor reformatting and code reorganization. | |
198 | ||
199 | * par-ch3.adb (Check_Restricted_Expression): New procedure | |
200 | ||
99269cf5 ES |
201 | 2009-07-13 Ed Schonberg <schonberg@adacore.com> |
202 | ||
203 | * exp_attr.adb (Rewrite_Stream_Proc_Call): When rewriting a stream | |
204 | attribute into a call of the corresponding suprogram, create extra | |
205 | formals for the subprogram, because it may be a renaming whose | |
206 | analysis does not create extra formals. | |
207 | ||
32404665 EB |
208 | 2009-07-13 Emmanuel Briot <briot@adacore.com> |
209 | ||
210 | * gnatcmd.adb, prj-proc.adb, prj-proc.ads, make.adb, prj-part.adb, | |
211 | prj.adb, prj.ads, clean.adb, prj-nmsc.adb, prj-nmsc.ads, prj-pars.adb, | |
212 | prj-pars.ads, prj-conf.adb, prj-conf.ads, prj-env.adb, prj-tree.adb, | |
213 | prj-tree.ads: Minor reformatting. | |
214 | (Processing_Flags): new record to encapsulate the set of common | |
215 | parameters to several subprograms in the project manager. | |
216 | (Prj.Nmsc.Process_Naming_Scheme): renames Check, and moved to body | |
217 | Remove the need for the Current_Dir parameter in subprograms. | |
218 | (Look_For_Sources): minor refactoring, now that we no longer need to | |
219 | share subprograms between the two Ada_Only and Multi_Language modes | |
220 | (Processing_Flags): New field Error_On_Unknown_Language. | |
221 | Merge tests for library project between gnatmake and gprbuild. | |
222 | ||
959dd7d8 AC |
223 | 2009-07-13 Arnaud Charlet <charlet@adacore.com> |
224 | ||
225 | * lib.adb, make.adb, mlib.adb, exp_dist.adb: Update comments. | |
226 | Minor reformatting. | |
227 | ||
23c4ff9b AC |
228 | 2009-07-13 Emmanuel Briot <briot@adacore.com> |
229 | ||
230 | * prj-env.adb (Create_Config_Pragmas_File): Iterate on sources rather | |
231 | than units. | |
232 | ||
233 | 2009-07-13 Thomas Quinot <quinot@adacore.com> | |
234 | ||
235 | * sem_ch3.adb (Process_Full_View): Propagate Has_Specified_Stream_{Read, | |
236 | Write,Input,Output} from private view to full view. | |
237 | ||
238 | * sem_type.adb, sem_type.ads: Minor reformatting | |
239 | ||
240 | 2009-07-13 Nicolas Setton <setton@adacore.com> | |
241 | ||
242 | * exp_dbug.ads: Add documentation note on the utility of | |
243 | DW_AT_GNAT_encoding for IDEs. | |
244 | ||
245 | 2009-07-13 Robert Dewar <dewar@adacore.com> | |
246 | ||
247 | * g-socthi-vxworks.adb: Minor reformatting | |
248 | ||
249 | * gnatcmd.adb: Minor reformatting | |
250 | ||
72a3d7c7 AC |
251 | 2009-07-13 Thomas Quinot <quinot@adacore.com> |
252 | ||
253 | * rtsfind.ads, exp_dist.adb (RE_Allocate_Buffer): Runtime entry | |
254 | removed, not used anymore. | |
255 | (Exp_Dist.PolyORB_Support.Helpers.Assign_Opaque_From_Any): | |
256 | New subprogram, implements copy of an Any value into a limited object. | |
257 | (Exp_Dist.PolyORB_Support.Build_General_Calling_Stubs, | |
258 | Exp_Dist.PolyORB_Support.Build_Subprogram_Receiving_Stubs, | |
259 | Exp_Dist.PolyORB_Support.Helpers.Build_From_Any_Function): For the case | |
260 | of parameters of a limited type, use the above new subprogram. | |
261 | ||
262 | 2009-07-13 Emmanuel Briot <briot@adacore.com> | |
263 | ||
264 | * prj-nmsc.adb, prj-proc.adb, mlib.adb (Add_Source): new parameter | |
265 | Location. | |
266 | (Copy_ALI_Files): Avoid calls to read when pointing outside of the | |
267 | allocated space. | |
268 | (Error_Report): Remove global variable, replaced by parameters. | |
269 | ||
223eab97 AC |
270 | 2009-07-13 Thomas Quinot <quinot@adacore.com> |
271 | ||
272 | * g-socthi-vxworks.adb (C_Sendto): VxWorks does not support the | |
273 | standard sendto(2) interface for connected sockets (passing a null | |
274 | destination address). Use send(2) instead for that case. | |
275 | ||
276 | 2009-07-13 Pascal Obry <obry@adacore.com> | |
277 | ||
278 | * adaint.c: Fix __gnat_stat() with Win32 UNC paths. | |
279 | ||
fdd7e7bb EB |
280 | 2009-07-13 Emmanuel Briot <briot@adacore.com> |
281 | ||
282 | * prj-proc.adb, prj-proc.ads, prj.ads, prj-nmsc.adb, prj-nmsc.ads, | |
283 | prj-pars.adb, prj-conf.adb, prj-conf.ads: Remove all remaining global | |
284 | variables and tables in prj-nmsc.adb. | |
285 | (Tree_Processing_Data): Renames Processing_Data, some new fields added | |
286 | (Project_Processing_Data): New record | |
287 | Simplify/unify check for missing sources. | |
288 | ||
fc2c32e2 EB |
289 | 2009-07-13 Emmanuel Briot <briot@adacore.com> |
290 | ||
291 | * gnatcmd.adb, make.adb, mlib-prj.adb, prj-part.adb, mlib.adb, | |
292 | prj.adb, prj.ads, clean.adb, prj-nmsc.adb, prj-nmsc.ads, prj-pars.adb, | |
293 | prj-pars.ads, prj-conf.adb, prj-conf.ads, prj-tree.adb, | |
294 | prj-tree.ads (Immediate_Directory_Of): Removed. | |
295 | (Prj.Pars): Now parse the project simulating a default config file. | |
296 | (Add_Default_GNAT_Naming_Scheme): New subprogram | |
297 | (Check_Naming_Multi_Lang): Fix default value for Dot_Replacement. | |
298 | Remove gnatmake-specific parsing of source files. | |
299 | (Check_Illegal_Suffix): Renames Is_Illegal_Suffix, since it now raises | |
300 | the error itself to provide more precise diagnostics. | |
301 | (Process_Exceptions_Unit_Based): Avoid duplicate error message when | |
302 | a unit belongs to several projects. | |
303 | (Copy_Interface_Sources): Search the full path of files to copy in the | |
304 | list of sources of the application rather than in the list of units. | |
305 | (Parse_Project_And_Apply_Config): Do not reset the name of the main | |
306 | project file. | |
307 | (Check_File): Use htables to find out whether a source is duplicated. | |
308 | (Add_Source): check whether the source or unit were already seen earlier | |
309 | ||
310 | * gcc-interface/Makefile.in: Update gnatmake dependencies. | |
311 | ||
1629f700 RD |
312 | 2009-07-13 Robert Dewar <dewar@adacore.com> |
313 | ||
314 | * par-ch3.adb (P_Discrete_Choice_List): Choice can only be simple | |
315 | expression if extensions permitted. | |
316 | ||
317 | * par-ch4.adb (P_Membership_Test): New procedure (implement membership | |
318 | set tests). | |
319 | (P_Relation): Use P_Membership_Test | |
320 | ||
321 | * par.adb (P_Membership_Test): New procedure (implement membership set | |
322 | tests). | |
323 | ||
324 | * sinfo.ads, sinfo.adb (N_In, N_Not_In) Add Alternatives field for sets. | |
325 | ||
326 | * sprint.adb (Sprint_Node): Handle set form for membership tests. | |
327 | ||
c6f39437 AC |
328 | 2009-07-13 Thomas Quinot <quinot@adacore.com> |
329 | ||
330 | * exp_dist.adb (Add_RACW_Primitive_Declarations_And_Bodies): | |
331 | Do not attempt to generate stubs for predefined primitives of | |
332 | synchronized interfaces. | |
333 | (Add_Stub_Type): Factor some code from the PCS-specific variants of | |
334 | Build_Stub_Type. | |
335 | ||
336 | 2009-07-13 Ed Schonberg <schonberg@adacore.com> | |
337 | ||
338 | * sem_disp.adb (Override_Dispatching_Operation): Functions inherit the | |
339 | Controlling_Result flag from the operation they override. | |
340 | ||
d97a04d0 AC |
341 | 2009-07-13 Arnaud Charlet <charlet@adacore.com> |
342 | ||
343 | * gcc-interface/Make-lang.in: Update dependencies | |
344 | ||
01957849 AC |
345 | 2009-07-13 Robert Dewar <dewar@adacore.com> |
346 | ||
347 | * gnat_ugn.texi: The gnatf switch no longer is needed to get full | |
348 | details on unsupported constructs. | |
349 | ||
350 | * rtsfind.adb: Remove references to All_Errors_Mode, give errors | |
351 | unconditionally. | |
352 | ||
353 | * s-trafor-default.adb: Correct some warnings | |
354 | ||
355 | * s-valwch.adb, a-calend.adb, freeze.adb, prj.ads, s-vmexta.adb, | |
356 | sem.adb, sem_ch10.adb, sem_ch6.adb, sem_disp.adb, vxaddr2line.adb: | |
357 | Minor reformatting. | |
358 | ||
359 | * par-ch4.adb (Conditional_Expression): Capture proper location for | |
360 | conditional expression, should point to IF. | |
361 | ||
362 | * s-tassta.adb, a-wtdeau.adb, s-tasren.adb, s-arit64.adb, s-imgdec.adb, | |
363 | s-direio.adb, s-tpobop.adb, g-socket.adb, s-tposen.adb, s-taskin.adb, | |
364 | g-calend.adb, s-regpat.adb, s-scaval.adb, g-catiio.adb: Minor code | |
365 | reorganization (use conditional expressions). | |
366 | ||
367 | 2009-07-13 Ed Schonberg <schonberg@adacore.com> | |
368 | ||
369 | * exp_util.adb (Remove_Side_Effects): If the expression is a call to a | |
370 | build-in-place function that returns an inherently limited type (not | |
371 | just a task type) create proper object declaration so that extra | |
372 | build-in-place actuals are properly added to the call. | |
373 | ||
79afa047 AC |
374 | 2009-07-13 Robert Dewar <dewar@adacore.com> |
375 | ||
376 | * freeze.adb (Freeze_Entity): Implement Warn_On_Suspicious_Modulus_Value | |
377 | ||
378 | * gnat_ugn.texi: Add documentation for -gnatw.m/.M | |
379 | ||
380 | * opt.ads (Warn_On_Suspicious_Modulus_Value): New flag | |
381 | ||
382 | * sem_warn.adb (Set_Dot_Warning_Flag): Set/reset | |
383 | Warn_On_Suspicious_Modulus_Value. | |
384 | ||
385 | * ug_words: Add entries for -gnatw.m/-gnatw.M. | |
386 | ||
387 | * usage.adb: Add lines for -gnatw.m/.M switches. | |
388 | ||
389 | * vms_data.ads: Add [NO]SUSPICIOUS_MODULUS for -gnatw.m/w.M | |
390 | ||
391 | 2009-07-13 Javier Miranda <miranda@adacore.com> | |
392 | ||
393 | * sem_ch6.adb (Check_Synchronized_Overriding): Add missing check before | |
394 | reading the Is_Interface attribute of the dispatching type. | |
395 | ||
396 | 2009-07-13 Robert Dewar <dewar@adacore.com> | |
397 | ||
398 | * a-convec.adb: Minor code reorganization (use conditional expressions) | |
399 | ||
67b3acf8 RD |
400 | 2009-07-13 Robert Dewar <dewar@adacore.com> |
401 | ||
402 | * freeze.adb (Check_Suspicious_Modulus): New procedure. | |
403 | ||
cfb120b5 AC |
404 | 2009-07-13 Robert Dewar <dewar@adacore.com> |
405 | ||
406 | * i-cobol.ads: Minor code fix (2**4 instead of 16 as modulus to avoid | |
407 | warning). | |
408 | ||
409 | * par-ch4.adb: Minor reformatting | |
410 | ||
411 | 2009-07-13 Ed Schonberg <schonberg@adacore.com> | |
412 | ||
413 | * freeze.adb, freeze.ads, exp_aggr.adb: Rename Expand_Atomic_Aggregate | |
414 | => Is_Atomic_Aggregate | |
415 | ||
fb2e11ee AC |
416 | 2009-07-13 Emmanuel Briot <briot@adacore.com> |
417 | ||
418 | * prj-nmsc.adb: Avoid traversing the list of source files if | |
419 | we have already processed all locally removed files. | |
420 | ||
421 | 2009-07-13 Jose Ruiz <ruiz@adacore.com> | |
422 | ||
423 | * gnat_ugn.texi: Fix typo. | |
424 | ||
425 | 2009-07-13 Robert Dewar <dewar@adacore.com> | |
426 | ||
427 | * freeze.adb: Minor reformatting | |
428 | Minor code reorganization (use Nkind_In) | |
429 | ||
01e17342 | 430 | * exp_ch6.adb, prj.adb, sem_res.adb: Minor reformatting |
fb2e11ee | 431 | |
f4cd2542 EB |
432 | 2009-07-11 Eric Botcazou <ebotcazou@adacore.com> |
433 | ||
434 | * checks.adb (Apply_Address_Clause_Check): Remove Size_Warning_Output | |
435 | local variable and do not test it in Compile_Time_Bad_Alignment. | |
436 | Do not issue size or alignment warnings for the X'Address form. | |
437 | * sem_util.ads (Find_Overlaid_Object): Delete. | |
438 | (Find_Overlaid_Entity): New procedure. | |
439 | * sem_util.adb (Find_Overlaid_Object): Rename to... | |
440 | (Find_Overlaid_Entity): ...this and turn into a procedure. Report | |
441 | whether the address is offseted within the overlaid entity. | |
442 | (Has_Compatible_Alignment): Track the offset globally instead of | |
443 | passing it to Check_Offset. For an indexed component, compute the | |
444 | full offset when possible. If the resulting offset is zero, only | |
445 | check the prefix. | |
446 | (Check_Offset): Delete. | |
447 | * sem_ch13.adb (Address_Clause_Check_Record): Add Off field. | |
448 | (Address_Aliased_Entity): Delete. | |
449 | (Analyze_Attribute_Definition_Clause) <Attribute_Address>: Call | |
450 | Find_Overlaid_Entity to find the overlaid entity and the offset. | |
451 | Adjust throughout for above change. | |
452 | (Validate_Address_Clauses): Always use attributes of entities, not of | |
453 | their type. Tweak message for warning. Call Has_Compatible_Alignment | |
454 | if the address is offseted to warn about incompatible alignments. | |
455 | * gcc-interface/gigi.h (annotate_object): Declare. | |
456 | * gcc-interface/decl.c (gnat_to_gnu_entity) <object>: Annotate renaming | |
457 | entity. Call annotate_object instead of annotating manually objects. | |
458 | (annotate_object): New function. | |
459 | * gcc-interface/trans.c (Subprogram_Body_to_gnu): Annotate parameters | |
460 | at the end. | |
461 | ||
7635b357 EB |
462 | 2009-07-11 Eric Botcazou <ebotcazou@adacore.com> |
463 | ||
464 | * gcc-interface/ada-tree.h: Minor reorganization. | |
465 | * gcc-interface/misc.c (gnat_print_decl): Minor tweaks. | |
466 | (gnat_print_type): Likewise. | |
467 | ||
b0159fbe AC |
468 | 2009-07-11 Thomas Quinot <quinot@adacore.com> |
469 | ||
470 | * sem_util.adb, sem_res.adb, sem_warn.adb: Minor comment editing: | |
471 | Lvalue -> lvalue | |
472 | ||
473 | * exp_ch6.adb: Minor reformatting | |
474 | ||
475 | 2009-07-11 Ed Schonberg <schonberg@adacore.com> | |
476 | ||
477 | * freeze.adb (Expand_Atomic_Aggregate): Clean up code, take into | |
478 | account possible type qualification to determine whether aggregate | |
479 | needs a target temporary to respect atomic type or object. | |
480 | ||
481 | * exp_aggr.adb (Expand_Record_Aggregate): Use new version of | |
482 | Expand_Atomic_Aggregate. | |
483 | ||
484 | 2009-07-11 Emmanuel Briot <briot@adacore.com> | |
485 | ||
486 | * prj.adb, prj.ads, prj-nmsc.adb (Mark_Excluded_Sources): Speed up | |
487 | algorithm. | |
488 | (Excluded_Sources_Htable): No longer a global table. | |
489 | Change error message to indicate which files are illegal in the list | |
490 | of excluded files, as opposed to only the location in the project | |
491 | file. | |
492 | (Find_Source): New subprogram. | |
493 | ||
811c6a85 AC |
494 | 2009-07-10 Thomas Quinot <quinot@adacore.com> |
495 | ||
496 | * exp_ch7.adb: Update comments. | |
497 | ||
498 | 2009-07-10 Arnaud Charlet <charlet@adacore.com> | |
499 | ||
500 | * exp_ch13.adb (Expand_N_Record_Representation_Clause): Ignore mod | |
501 | clause if -gnatI is set instead of crashing. | |
502 | ||
503 | 2009-07-10 Ed Schonberg <schonberg@adacore.com> | |
504 | ||
505 | * sem_ch11.adb (Same_Expression): Null is always equal to itself. | |
506 | Additional work to remove redundant successive raise statements, in | |
507 | this case access checks. | |
508 | ||
509 | 2009-07-10 Vincent Celier <celier@adacore.com> | |
510 | ||
511 | * make.adb (Compile): Always create a deep copy of the mapping file | |
512 | argument (-gnatem=...) as it may be deallocate/reallocate by | |
513 | Normalize_Arguments. | |
514 | ||
515 | 2009-07-10 Javier Miranda <miranda@adacore.com> | |
516 | ||
517 | * einfo.adb (Directly_Designated_Type): Add assertion. | |
518 | ||
519 | * sem_res.adb (Check_Fully_Declared_Prefix): Add missing check on | |
520 | access types before using attribute Directly_Designated_Type. | |
521 | ||
522 | 2009-07-10 Emmanuel Briot <briot@adacore.com> | |
523 | ||
524 | * prj.ads: Minor typo fix | |
525 | ||
526 | 2009-07-10 Ed Schonberg <schonberg@adacore.com> | |
527 | ||
528 | * sem_ch6.adb (Add_Extra_Formal): Protected operations do no need | |
529 | special treatment. | |
530 | ||
531 | * exp_ch6.adb (Expand_Protected_Subprogram_Call): If rewritten | |
532 | subprogram is a function call, resolve properly, to ensure that extra | |
533 | actuals are added as needed. | |
534 | ||
2be0bff8 TQ |
535 | 2009-07-10 Thomas Quinot <quinot@adacore.com> |
536 | ||
537 | * sem_aggr.adb: Minor comments editing | |
538 | ||
539 | * exp_tss.adb, exp_ch3.adb: Minor reformatting | |
540 | ||
ac7120ce RD |
541 | 2009-07-10 Robert Dewar <dewar@adacore.com> |
542 | ||
543 | * exp_util.adb: Minor code reorganization (use N_Short_Circuit) | |
544 | ||
545 | * exp_ch4.adb: Add ??? comment for conditional expressions on limited | |
546 | types. | |
547 | ||
548 | * checks.adb (In_Declarative_Region_Of_Subprogram_Body): New procedure, | |
549 | replaces Safe_To_Capture_In_Parameter_Value, and properly handles the | |
550 | case of conditional expressions that may not be elaborated. | |
551 | ||
552 | * sem_util.adb (Safe_To_Capture_Value): Properly handle case of | |
553 | conditional expression where we may not execute then then or else | |
554 | branches. | |
555 | ||
514d0fc5 AC |
556 | 2009-07-10 Arnaud Charlet <charlet@adacore.com> |
557 | ||
558 | * i-cexten.ads (bool): New type. | |
559 | ||
560 | 2009-07-10 Robert Dewar <dewar@adacore.com> | |
561 | ||
562 | * sinfo.ads (N_Short_Circuit): New definition | |
563 | ||
564 | * sem_ch13.adb, sem_ch6.adb, sem_eval.adb, sem_res.adb, | |
565 | treepr.adb: Minor code reorganization (use N_Short_Circuit) | |
566 | ||
7b4db06c JM |
567 | 2009-07-10 Javier Miranda <miranda@adacore.com> |
568 | ||
569 | * exp_ch3.adb (Expand_Freeze_Record_Type): Handle constructors of | |
570 | non-tagged record types. | |
571 | ||
572 | * sem_prag.adb | |
573 | (Process_Import_Or_Interface): Allow the use of "pragma Import (CPP,..)" | |
574 | with non-tagged types. Required to import C++ classes that have no | |
575 | virtual primitives. | |
576 | (Analyze_Pragma): For pragma CPP_Constructor. Allow the use of functions | |
577 | returning non-tagged types. For backward compatibility, if the | |
578 | constructor returns a class wide type we internally change the | |
579 | returned type to the corresponding non class-wide type. | |
580 | ||
581 | * sem_aggr.adb | |
582 | (Valid_Ancestor_Type): CPP_Constructors code cleanup. | |
583 | (Resolve_Extension_Aggregate): CPP_Constructors code cleanup. | |
584 | (Resolve_Aggr_Expr): CPP_Constructors code cleanup. | |
585 | (Resolve_Record_Aggregate): CPP_Constructors code cleanup. | |
586 | ||
587 | * sem_ch3.adb | |
588 | (Analyze_Object_Declaration): CPP_Constructors code cleanup. | |
589 | ||
590 | * sem_ch5.adb (Analyze_Assignment): CPP_Constructors code cleanup. | |
591 | ||
592 | * sem_util.adb (Is_CPP_Constructor_Call): Code cleanup. | |
593 | ||
594 | * sem_res.adb (Resolve_Allocator): CPP_Constructors code cleanup. | |
595 | ||
596 | * exp_ch4.adb (Expand_Allocator_Expression): CPP_Constructors code | |
597 | cleanup. | |
598 | ||
599 | * exp_aggr.adb (Build_Record_Aggr_Code): CPP_Constructors code clean up. | |
600 | ||
601 | * gnat_rm.texi | |
602 | (pragma CPP_Class): Document that it can be used now with non-tagged | |
603 | record types. | |
604 | (pragma CPP_Constructor): Document that it can be used now with | |
605 | functions returning specific types. For backward compatibility | |
606 | we also support functions returning class-wide types. | |
607 | ||
608 | * gnat_ugn.texi | |
609 | (Interfacing with C++ constructors): Update the examples to incorporate | |
610 | the new syntax in which the functions used to import C++ constructors | |
611 | return specific types. | |
612 | (Interfacing with C++ at the Class Level): Update the examples to | |
613 | incorporate the new syntax in which the functions used to import | |
614 | C++ constructors return specific types. | |
615 | ||
f2abc637 AC |
616 | 2009-07-10 Thomas Quinot <quinot@adacore.com> |
617 | ||
618 | * exp_disp.adb (Make_Disp_Asynchronous_Select_Body, | |
619 | Make_Disp_Conditional_Select_Body, | |
620 | Make_Disp_Timed_Select_Body): For the case of a type that is neither an | |
621 | interface nor a concurrent type, the primitive body is empty. Generate | |
622 | a null statement so that it remains well formed. | |
623 | ||
624 | 2009-07-10 Ed Schonberg <schonberg@adacore.com> | |
625 | ||
626 | * exp_aggr.adb (Build_Record_Aggr_Code): If the type has discriminants, | |
627 | replace references to them in defaulted component expressions with | |
628 | references to the values of the discriminants of the target object. | |
629 | ||
b603e37b AC |
630 | 2009-07-10 Ed Schonberg <schonberg@adacore.com> |
631 | ||
632 | * sem_prag.adb (Analyze pragma, case Task_Name): Analyze argument of | |
633 | pragma, to capture global references if the context is generic. | |
634 | ||
635 | * exp_ch2.adb (Expand_Discriminant): If a task type discriminant | |
636 | appears within the initialization procedure for the corresponding | |
637 | record, replace it with the proper discriminal. | |
638 | ||
639 | 2009-07-10 Vincent Celier <celier@adacore.com> | |
640 | ||
641 | * make.adb: Do not include object directories or library ALI | |
642 | directories of library projects in the object path. | |
643 | ||
644 | 2009-07-10 Javier Miranda <miranda@adacore.com> | |
645 | ||
646 | * exp_util.adb (Find_Interface_Tag): Reorder processing of incoming | |
647 | Typ argument to ensure proper management of access types. | |
648 | ||
649 | 2009-07-10 Ed Schonberg <schonberg@adacore.com> | |
650 | ||
651 | * exp_ch7.adb (Build_Final_List): If the list is being built for a | |
652 | Taft-Amendment type, place the finalization list in the package body, | |
653 | to ensure that the tree for the spec is identical whenever it is | |
654 | compiled. | |
655 | ||
656 | 2009-07-10 Javier Miranda <miranda@adacore.com> | |
657 | ||
658 | * sem_ch3.adb (Build_Derived_Record_Type): Use the full-view when | |
659 | inheriting attributes from a private Parent_Base. | |
660 | ||
661 | 2009-07-10 Ed Schonberg <schonberg@adacore.com> | |
662 | ||
663 | * sem_ch11.adb (analyze_raise_xxx_error): Remove consecutive raise | |
664 | statements with the same condition. | |
665 | ||
666 | 2009-07-10 Robert Dewar <dewar@adacore.com> | |
667 | ||
668 | * exp_ch4.adb (Raise_Accessibility_Error): New procedure | |
669 | ||
a80b0574 TT |
670 | 2009-07-09 Tom Tromey <tromey@redhat.com> |
671 | ||
672 | * raise-gcc.c: Include dwarf2h (unconditionally). | |
673 | ||
24da37f2 AC |
674 | 2009-07-09 Ed Schonberg <schonberg@adacore.com> |
675 | ||
676 | * sem_ch10.adb (Install_Context): If the unit is a package body, | |
677 | install the private with_clauses of the corresponding package | |
678 | declaration. | |
679 | ||
680 | 2009-07-09 Robert Dewar <dewar@adacore.com> | |
681 | ||
682 | * checks.adb: Minor reformatting | |
683 | ||
684 | 2009-07-09 Vasiliy Fofanov <fofanov@adacore.com> | |
685 | ||
686 | * ug_words, gnat_ugn.texi: Move VMS equivalents of the last check in | |
687 | into ug_words. | |
688 | ||
689 | 2009-07-09 Thomas Quinot <quinot@adacore.com> | |
690 | ||
691 | * sem_ch13.adb (Analyze_Attribute_Definition_Clause, case Address): | |
692 | Do not warn for a constant overlaying any constant object | |
693 | ||
694 | 2009-07-09 Ed Schonberg <schonberg@adacore.com> | |
695 | ||
696 | * sem_ch10.adb (Install_Context): If the unit is a package body, | |
697 | install the private with_clauses of the corresponding package | |
698 | declaration. | |
699 | ||
700 | 2009-07-09 Robert Dewar <dewar@adacore.com> | |
701 | ||
702 | * checks.adb: Minor reformatting | |
703 | ||
704 | 2009-07-09 Vasiliy Fofanov <fofanov@adacore.com> | |
705 | ||
706 | * ug_words, gnat_ugn.texi: Move VMS equivalents of the last check in | |
707 | into ug_words. | |
708 | ||
709 | 2009-07-09 Thomas Quinot <quinot@adacore.com> | |
710 | ||
711 | * sem_ch13.adb (Analyze_Attribute_Definition_Clause, case Address): | |
712 | Do not warn for a constant overlaying any constant object | |
713 | ||
d97a04d0 | 714 | 2009-07-09 Arnaud Charlet <charlet@adacore.com> |
24da37f2 AC |
715 | |
716 | * gcc-interface/Make-lang.in: Update dependencies | |
717 | ||
7a5debc9 AC |
718 | 2009-07-09 Thomas Quinot <quinot@adacore.com> |
719 | ||
720 | * g-socket.adb (Check_Selector): Do not create local copies of the | |
721 | socket sets on the stack. | |
722 | ||
723 | 2009-07-09 Vasiliy Fofanov <fofanov@adacore.com> | |
724 | ||
725 | * gnat_ugn.texi: Add missing VMS translations. | |
726 | ||
3f92c93b AC |
727 | 2009-07-09 Ed Schonberg <schonberg@adacore.com> |
728 | ||
729 | * sem_prag.adb (Analyze_Pragma, case Precondition): Do not analyze the | |
730 | condition, to prevent generation of visible code during expansion, | |
731 | when Check is not enabled. | |
732 | ||
733 | 2009-07-09 Gary Dismukes <dismukes@adacore.com> | |
734 | ||
735 | * checks.adb (Install_Static_Check): Call Possible_Local_Raise so that | |
736 | the check gets registered for any available local handler | |
737 | (Set_Local_Raise). | |
738 | ||
739 | * sem_util.adb: Add with and use of Exp_Ch11. | |
740 | (Apply_Compile_Time_Constraint_Error): Call Possible_Local_Raise so | |
741 | that the check gets registered for any available local handler. | |
742 | ||
743 | * exp_ch4.adb (Expand_N_Slice): Remove call to Enable_Range_Check | |
744 | on slice ranges. | |
745 | ||
746 | 2009-07-09 Steve Baird <baird@adacore.com> | |
747 | ||
748 | * exp_ch11.adb (Force_Static_Allocation_Of_Referenced_Objects): New | |
749 | function. | |
750 | (Expand_N_Exception_Declaration): Fix handling of exceptions | |
751 | declared in a subprogram. | |
752 | ||
f6cf5b85 AC |
753 | 2009-07-09 Emmanuel Briot <briot@adacore.com> |
754 | ||
755 | * prj-nmsc.adb (Find_Sources): Avoid error messages from gprbuild from | |
756 | multi-unit files. | |
757 | ||
758 | 2009-07-09 Thomas Quinot <quinot@adacore.com> | |
759 | ||
760 | * freeze.adb: Minor reformatting | |
761 | ||
762 | * exp_ch3.adb: Minor comment fix. | |
763 | ||
764 | * sinfo.ads: Minor comment fix | |
765 | ||
766 | 2009-07-09 Ed Schonberg <schonberg@adacore.com> | |
767 | ||
768 | * exp_ch4.adb (Expand_N_Conditional_Expression): Set Related_Expression. | |
769 | ||
7aedb36a AC |
770 | 2009-07-09 Ed Schonberg <schonberg@adacore.com> |
771 | ||
772 | * freeze.adb (Freeze_Expression): If the expression is the name of a | |
773 | function in a call, and the function has not been frozen yet, create | |
774 | extra formals for it to ensure that the proper actuals are created | |
775 | when expanding the call. | |
776 | ||
777 | 2009-07-09 Emmanuel Briot <briot@adacore.com> | |
778 | ||
779 | * prj-pp.adb (Print): Fix handling of source index when set on a | |
780 | declaration node. | |
781 | ||
a4941eec ES |
782 | 2009-07-09 Ed Schonberg <schonberg@adacore.com> |
783 | ||
784 | * einfo.ads, einfo.adb: New attribute Related_Expression, used to link | |
785 | a temporary to the source expression whose value it captures. | |
786 | ||
787 | * exp_util.adb (Remove_Side_Effects): Set Related_Expression as needed. | |
788 | ||
5e278028 MLI |
789 | 2009-07-07 Manuel López-Ibáñez <manu@gcc.gnu.org> |
790 | ||
a729ce28 | 791 | * gcc-interface/trans.c (gnat_gimplify_expr): Replace EXPR_LOCUS by |
5e278028 MLI |
792 | EXPR_LOCATION. |
793 | ||
c2369146 AC |
794 | 2009-07-07 Gary Dismukes <dismukes@adacore.com> |
795 | ||
796 | * exp_ch6.adb (Expand_Actuals): Call Add_Call_By_Copy_Code for in out | |
797 | parameters when the subtype of the actual is not known to be a subrange | |
798 | of the formal's subtype. | |
799 | (Expand_Call): Generate a range check only in the E_In_parameter case | |
800 | (in out parameter range checks are now handled in Expand_Actuals). | |
801 | ||
802 | * exp_ch4.adb (Expand_N_Slice): Restore code that calls | |
803 | Enable_Range_Check. | |
804 | ||
805 | 2009-07-07 Robert Dewar <dewar@adacore.com> | |
806 | ||
807 | * a-stwise.adb, a-stzsea.adb, a-strsea.adb: Add comments | |
808 | ||
809 | 2009-07-07 Javier Miranda <miranda@adacore.com> | |
810 | ||
811 | * exp_disp.adb (Expand_Interface_Conversion): Handle access type whose | |
812 | designated type comes from a limited views. | |
813 | ||
814 | 2009-07-07 Emmanuel Briot <briot@adacore.com> | |
815 | ||
816 | * prj.ads, prj-nmsc.adb (Mark_Excluded_Sources): Fix handling of | |
817 | locally removed files that are later made visible again in an importing | |
818 | project. | |
819 | ||
820 | 2009-07-07 Robert Dewar <dewar@adacore.com> | |
821 | ||
822 | * gnat_rm.texi: Clarify documentation of Stream_Convert pragma | |
823 | ||
824 | 2009-07-07 Sergey Rybin <rybin@adacore.com> | |
825 | ||
826 | * gnat_ugn.texi: Add an example to the description of gnatcheck | |
827 | 'Style_Checks' rule option. | |
828 | ||
829 | 2009-07-07 Tristan Gingold <gingold@adacore.com> | |
830 | ||
831 | * seh_init.c: Fix inline assembly statement in seh_init.c | |
832 | ||
833 | 2009-07-07 Ed Schonberg <schonberg@adacore.com> | |
834 | ||
835 | * sem_warn.adb (Check_References): Do not emit warnings on formals of | |
836 | an entry body. Only the formals of the entry declaration are traced. | |
837 | ||
75a5a487 RD |
838 | 2009-07-07 Robert Dewar <dewar@adacore.com> |
839 | ||
a729ce28 | 840 | * s-osprim-mingw.adb: Minor code reorganization |
75a5a487 | 841 | |
85686ad9 AC |
842 | 2009-07-07 Robert Dewar <dewar@adacore.com> |
843 | ||
844 | * prj-nmsc.adb: Minor reformatting | |
845 | ||
846 | 2009-07-07 Pascal Obry <obry@adacore.com> | |
847 | ||
848 | * a-stwise.adb, a-stzsea.adb, a-strsea.adb (Index): properly handle | |
849 | cases where Pattern is longer than Source. | |
850 | ||
851 | 2009-07-07 Pascal Obry <obry@adacore.com> | |
852 | ||
853 | * s-osprim-mingw.adb (Get_Base_Time): Avoid infinite loop. | |
854 | ||
54ecb428 AC |
855 | 2009-07-07 Emmanuel Briot <briot@adacore.com> |
856 | ||
857 | * prj-nmsc.adb (Process_Naming): canonicalize file suffixes read in the | |
858 | project file. | |
859 | ||
860 | 2009-07-07 Ed Schonberg <schonberg@adacore.com> | |
861 | ||
862 | * exp_ch3.adb (Expand_Freeze_Record_Type): Add extra formals to | |
863 | primitive operations, in case one of them is called in the | |
864 | initialization procedure for the type. | |
865 | ||
84157c9a RD |
866 | 2009-07-07 Robert Dewar <dewar@adacore.com> |
867 | ||
868 | * a-calend.adb: Minor code reorganization (use conditional expressions) | |
869 | ||
870 | * s-stusta.ads, s-interr-hwint.adb, g-expect-vms.adb, s-secsta.ads, | |
871 | prj-nmsc.adb, a-teioed.adb, output.ads, prj-attr.ads, a-textio.adb, | |
872 | s-taskin.ads, scans.ads, s-osinte-vms.adb, s-taprop-solaris.adb, | |
873 | s-tpopsp-posix-foreign.adb, s-trafor-default.adb, gnat1drv.adb, | |
874 | s-stchop-vxworks.adb, s-tpopsp-posix.adb, prj-env.adb, prj-env.ads, | |
875 | g-comlin.adb, exp_ch11.adb: Minor reformatting. | |
876 | ||
d79e621a GD |
877 | 2009-07-07 Gary Dismukes <dismukes@adacore.com> |
878 | ||
879 | * checks.adb (Generate_Range_Check): Replace type conversions with | |
880 | unchecked conversions to support the case of performing range checks | |
881 | on Enum'Val (permits integer values to be converted to enumeration). | |
882 | ||
883 | * exp_attr.adb (Expand_N_Attribute_Reference, cases Attribute_Pred, | |
884 | Attribute_Succ): Set Do_Range_Check to False before calling | |
885 | Expand_Pred_Succ, to prevent gigi from generating any range checks. | |
886 | (Expand_N_Attribute_Reference, case Attribute_Val): | |
887 | Generate a range check when needed (and set Do_Range_Check to False). | |
888 | ||
889 | * exp_ch3.adb (Expand_N_Object_Declaration): Generate a range check on | |
890 | scalar object initialization if needed. | |
891 | ||
892 | * exp_ch4.adb (Expand_Allocator_Expression): Generate range checks | |
893 | when needed on scalar allocators. | |
894 | (Expand_N_Qualified_Expression): Generate range check when needed. | |
895 | (Expand_N_Slice): Remove call to Enable_Range_Check on slice ranges. | |
896 | Checks on slice ranges handled in Resolve_Slice. | |
897 | ||
898 | * exp_ch5.adb (Expand_N_Assignment_Statement): Generate a range check, | |
899 | when needed, for all scalar assignments, not just discrete. | |
900 | (Expand_Simple_Function_Return): Resolve the conversion created for a | |
901 | scalar function return so that the conversion will get expanded to | |
902 | generate a possible constraint check. | |
903 | ||
904 | * exp_ch6.adb (Expand_Actuals): Call Add_Call_By_Copy_Code for out and | |
905 | in out scalar actuals when subtypes don't match, to ensure generation | |
906 | of return checks (and set Do_Range_Check to False). | |
907 | (Expand_Call): Uncomment code to perform range checks, but make it apply | |
908 | only to in and in out parameters (checks on parameter returns are | |
909 | handled in Expand_Actuals). If a scalar actual for a call to a derived | |
910 | subprogram is marked as needing a range check, peform it here (and set | |
911 | Do_Range_Check to False). | |
912 | ||
913 | * sem_aggr.adb (Resolve_*_Aggregate.Resolve_Aggr_Expr): Generate a | |
914 | range check on scalar component associations when needed. | |
915 | ||
916 | * sem_eval.adb (In_Subrange_Of): Return False when the first type has | |
917 | infinities but the second type does not, as these aren't compatible | |
918 | floating-point types. | |
919 | ||
920 | * sem_res.adb (Resolve_Slice): In the case where the prefix of the | |
921 | slice is itself a slice, pick up the Etype of the prefix. This handles | |
922 | the case where the prefix was an Image attribute expanded to a slice, | |
923 | and ensures that we get the subtype with the slice constraint rather | |
924 | than the unconstrained subbtype of the 'Image. | |
925 | ||
e0ba1bfd ES |
926 | 2009-07-07 Ed Schonberg <schonberg@adacore.com> |
927 | ||
928 | * sem_ch4.adb (Analyze_Conditional_Expression): handle properly | |
929 | overloaded expressions in a conditional expressions. | |
930 | ||
931 | * sem_res.adb (Resolve): Handle properly overloaded conditional | |
932 | expressions. | |
933 | ||
b46be8a2 RD |
934 | 2009-07-07 Robert Dewar <dewar@adacore.com> |
935 | ||
936 | * scng.adb: Minor reformattting | |
937 | ||
938 | * par-ch2.adb (Scan_Pragma_Argument_Association): Pragma argument | |
939 | association allows conditional expression without parens. | |
940 | ||
941 | * par-ch4.adb (P_Name): Attribute arguments can be conditional | |
942 | expressions without enclosing parentheses, and also as parameters, | |
943 | indexing expressions etc. | |
944 | (P_Conditional_Expression): New procedure | |
945 | (P_Expression_If_OK): New procedure | |
946 | ||
947 | * par.adb (P_Conditional_Expression): New procedure | |
948 | (P_Expression_If_OK): New procedure | |
949 | ||
950 | * sem_ch4.adb (Analyze_Conditional_Expression): Allow for two argument | |
951 | form of conditional expression. | |
952 | ||
953 | * sem_res.adb (Resolve_Conditional_Expression): Deal with supplying | |
954 | missing True argument if ELSE argument missing. | |
955 | ||
956 | * sinfo.adb (Is_Elsif): New flag | |
957 | ||
958 | * sinfo.ads (N_Conditional_Expression): This node is now a syntactic | |
959 | part of the language, and the documentation is modified accordingly. | |
960 | (Is_Elsif): New flag | |
961 | ||
4fd263a6 OH |
962 | 2009-07-06 Olivier Hainque <hainque@adacore.com> |
963 | ||
964 | * gcc-interface/trans.c (Handled_Sequence_Of_Statements_to_gnu, | |
965 | setjmp_longjmp): Attach the exception propagation reraise fallback | |
966 | to the sequence end label location when we have it. | |
967 | ||
d5b7dccd FXC |
968 | 2009-07-04 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> |
969 | ||
970 | PR ada/40608 | |
971 | * init.c (APPLE): Include <mach/mach_init.h>. | |
27778058 | 972 | (__gnat_error_handler, APPLE): Add ATTRIBUTE_UNUSED marker. |
d5b7dccd | 973 | |
9ce8e057 EB |
974 | 2009-07-04 Eric Botcazou <ebotcazou@adacore.com> |
975 | ||
976 | * ada-tree.h (SET_TYPE_LANG_SPECIFIC): Rewrite. | |
977 | (SET_DECL_LANG_SPECIFIC): Likewise. | |
978 | (TYPE_RM_VALUE): New macro. | |
979 | (SET_TYPE_RM_VALUE): Likewise. | |
980 | (TYPE_RM_SIZE): Rewrite in terms of TYPE_RM_VALUE. | |
981 | (TYPE_RM_MIN_VALUE): Likewise. | |
982 | (TYPE_RM_MAX_VALUE): Likewise. | |
983 | (SET_TYPE_RM_SIZE): Rewrite in terms of SET_TYPE_RM_VALUE. | |
984 | (SET_TYPE_RM_MIN_VALUE): Likewise. | |
985 | (SET_TYPE_RM_MAX_VALUE): Likewise. | |
986 | * decl.c (gnat_to_gnu_entity) <E_Array_Subtype>: Remove kludge. | |
987 | ||
d8bf0ab8 LG |
988 | 2009-07-04 Laurent GUERBY <laurent@guerby.net> |
989 | ||
990 | PR ada/40631 | |
991 | * tracebak.c (__gnat_backtrace): Fix old-style definition. | |
27778058 | 992 | |
74c9e852 RO |
993 | 2009-07-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
994 | ||
995 | * tracebak.c [i386 && sun] (IS_BAD_PTR): Use -1UL in comparison. | |
996 | ||
882e35a6 JDA |
997 | 2009-07-01 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
998 | ||
999 | PR ada/40609 | |
bf92f919 EB |
1000 | * init.c (__gnat_error_handler, HP-UX): Add ATTRIBUTE_UNUSED marker to |
1001 | ucontext argument. | |
882e35a6 | 1002 | |
c29fe0c8 EB |
1003 | 2009-07-01 Eric Botcazou <ebotcazou@adacore.com> |
1004 | ||
1005 | * init.c (__gnat_error_handler, Solaris): Add ATTRIBUTE_UNUSED marker. | |
1006 | ||
342f368c EB |
1007 | 2009-06-30 Eric Botcazou <ebotcazou@adacore.com> |
1008 | ||
1009 | * gcc-interface/utils2.c (build_binary_op) <MODIFY_EXPR>: Do not use | |
1010 | the type of the left operand if it pads a self-referential type when | |
1011 | the right operand is a constructor. | |
1012 | ||
1013 | * gcc-interface/lang-specs.h: Fix copyright date. | |
1014 | ||
f82a627c EB |
1015 | 2009-06-30 Eric Botcazou <ebotcazou@adacore.com> |
1016 | ||
1017 | * gcc-interface/decl.c: Include tree-inline.h. | |
1018 | (annotate_value) <CALL_EXPR>: Try to inline the call in the expression. | |
1019 | * gcc-interface/utils.c (max_size) <CALL_EXPR>: Likewise. | |
1020 | * gcc-interface/utils2.c: Include tree-inline. | |
1021 | (known_alignment) <CALL_EXPR>: Likewise. | |
1022 | ||
a2350322 EB |
1023 | 2009-06-30 Eric Botcazou <ebotcazou@adacore.com> |
1024 | ||
b6a1a144 | 1025 | * raise-gcc.c: Include dwarf2.h conditionally. |
a2350322 | 1026 | |
bbf531f0 TT |
1027 | 2009-06-29 Tom Tromey <tromey@redhat.com> |
1028 | ||
1029 | * raise-gcc.c: Include elf/dwarf2.h. | |
1030 | ||
6ccbcf32 LG |
1031 | 2009-06-27 Laurent GUERBY <laurent@guerby.net> |
1032 | ||
1033 | * tb-gcc.c (trace_callback): Add casts to silence warning. | |
1034 | ||
463d9ac4 EB |
1035 | 2009-06-27 Eric Botcazou <ebotcazou@adacore.com> |
1036 | ||
1037 | * tb-gcc.c: Fix copyright notice. | |
1038 | ||
c6bd4220 EB |
1039 | 2009-06-27 Eric Botcazou <ebotcazou@adacore.com> |
1040 | ||
1041 | * init.c (__gnat_set_globals): Add prototype. | |
1042 | * adaint.c (__gnat_binder_supports_auto_init): Likewise. | |
1043 | (__gnat_sals_init_using_constructors): Likewise. | |
1044 | * gcc-interface/utils.c (gnat_pushlevel): Likewise. | |
1045 | (get_block_jmpbuf_decl): Likewise. | |
1046 | (gnat_poplevel): Likewise. | |
1047 | (merge_sizes): Rename local variable. | |
1048 | (copy_type): Likewise. | |
1049 | (build_vms_descriptor32): Likewise. | |
1050 | (build_vms_descriptor): Likewise. | |
1051 | (convert_vms_descriptor64): Likewise. | |
1052 | (convert_vms_descriptor32): Likewise. | |
1053 | (convert_to_fat_pointer): Likewise. | |
1054 | (maybe_unconstrained_array): Likewise. | |
1055 | (def_fn_type): Use promoted type with va_arg. | |
1056 | * gcc-interface/decl.c (gnat_to_gnu_entity): Add declaration. | |
1057 | (substitute_in_type): Rename local variable. | |
1058 | * gcc-interface/Make-lang.in (ada-warn): Use STRICT_WARN. | |
1059 | ||
6bf68a93 LG |
1060 | 2009-06-26 Laurent GUERBY <laurent@guerby.net> |
1061 | ||
1062 | * tb-gcc.c (trace_callback): Use char* instead of void*. | |
91dc2352 EB |
1063 | * gcc-interface/misc.c (enumerate_modes): Make loop C++ compatible. |
1064 | * gcc-interface/trans.c (parm_attr): Rename to parm_attr_d. | |
1065 | (Attribute_to_gnu): Adjust for above change. | |
1066 | (Subprogram_Body_to_gnu): Likewise. | |
1067 | * gcc-interface/utils.c (merge_sizes): Rename local variable. | |
1068 | (copy_type): Likewise. | |
1069 | (build_vms_descriptor32): Likewise. | |
1070 | (build_vms_descriptor): Likewise. | |
1071 | (convert_vms_descriptor64): Likewise. | |
1072 | (convert_vms_descriptor32): Likewise. | |
1073 | (convert_to_fat_pointer): Likewise. | |
1074 | (maybe_unconstrained_array): Likewise. | |
1075 | * gcc-interface/decl.c (substitute_in_type): Likewise. | |
1076 | ||
f45f9664 EB |
1077 | 2009-06-26 Eric Botcazou <ebotcazou@adacore.com> |
1078 | ||
1079 | * gcc-interface/decl.c (cannot_be_superflat_p): New predicate. | |
1080 | (gnat_to_gnu_entity) <E_Array_Subtype>: Use it to build the expression | |
1081 | of the upper bound of the index types. | |
1082 | ||
c0e1e108 EB |
1083 | 2009-06-26 Eric Botcazou <ebotcazou@adacore.com> |
1084 | ||
1085 | * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Array_Subtype>: Factor | |
1086 | out common predicate. Use the maximum to compute the upper bound of | |
1087 | the index type only when it is not wider than sizetype. Perform the | |
1088 | comparison in the index type for the generic expression. Use real | |
1089 | precision to decide whether to generate special types for debugging | |
1090 | information. | |
1091 | ||
ffa5876f AC |
1092 | 2009-06-26 Matthew Gingell <gingell@adacore.com> |
1093 | ||
1094 | * adaint.c: Do not use the dummy version of convert_addresses on LynxOS | |
1095 | ||
1096 | 2009-06-26 Vincent Celier <celier@adacore.com> | |
1097 | ||
1098 | * prj.ads (No_Language_Config): Value of Dependency_Kind is None by | |
1099 | default. | |
1100 | ||
1101 | 2009-06-26 Robert Dewar <dewar@adacore.com> | |
1102 | ||
1103 | * exp_ch4.adb, gnatcmd.adb, make.adb: Minor reformatting | |
1104 | ||
4e6602a8 EB |
1105 | 2009-06-26 Eric Botcazou <ebotcazou@adacore.com> |
1106 | ||
1107 | * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Array_Type>: Pass | |
1108 | correct arguments to create_field_decl. Remove redundant iteration. | |
1109 | Rewrite computation of the maximum size. | |
1110 | <E_Array_Subtype>: Reorder and simplify handling of special cases. | |
1111 | Rewrite computation of the maximum size. Use consistent naming. | |
1112 | * gcc-interface/trans.c (Attribute_to_gnu) <Attr_Length>: Swap | |
1113 | comparison order for consistency. Use generic integer node to | |
1114 | build the operator and fold the result. | |
1115 | ||
2a31c32b AC |
1116 | 2009-06-25 Vincent Celier <celier@adacore.com> |
1117 | ||
1118 | * vms_data.ads: Minor comment change | |
1119 | ||
1120 | 2009-06-25 Gary Dismukes <dismukes@adacore.com> | |
1121 | ||
1122 | * exp_ch5.adb (Expand_N_Extended_Return_Statement): Don't build an | |
1123 | assignment statement to targeting a caller-provided object when the | |
1124 | result type is an interface type. | |
1125 | ||
1126 | * exp_ch6.adb (Expand_Call): Remove redundant test of | |
1127 | Is_Limited_Interface (Is_Inherently_Limited is sufficient). | |
1128 | (Is_Build_In_Place_Function): Remove test for Is_Limited_Interface. | |
1129 | ||
1130 | * sem_aggr.adb (Check_Expr_OK_In_Limited_Aggregate): Add type in call | |
1131 | to OK_For_Limited_Init. | |
1132 | ||
1133 | * sem_aux.adb (Is_Inherently_Limited_Type): Revise limited type | |
1134 | condition so that True is returned for all limited interfaces, not | |
1135 | just synchronized ones. Ignore components of an interface type when | |
1136 | checking for limited components (such a component can be a parent | |
1137 | component). | |
1138 | ||
1139 | * sem_ch3.ads (OK_For_Limited_Init_In_05): Add type parameter. | |
1140 | (OK_For_Limited_Init): Add type parameter. | |
1141 | ||
1142 | * sem_ch3.adb (Check_Initialization): Add type in call to | |
1143 | OK_For_Limited_Init. | |
1144 | (OK_For_Limited_Init): Add new type param in call to | |
1145 | OK_For_Limited_Init_In_05. | |
1146 | (OK_For_Limited_Init_In_05): Permit arbitrary expressions of a | |
1147 | nonlimited type when the context type is a limited interface. Add type | |
1148 | on recursive calls. | |
1149 | ||
1150 | * sem_ch4.adb (Analyze_Allocator): Add type in call to | |
1151 | OK_For_Limited_Init. | |
1152 | ||
1153 | * sem_ch6.adb (Check_Limited_Return): Add type in call to | |
1154 | OK_For_Limited_Init. | |
1155 | ||
1156 | * sem_ch12.adb (Analyze_Formal_Object_Declaration): Add type in call to | |
1157 | OK_For_Limited_Init. | |
1158 | (Instantiate_Object): Add type in call to OK_For_Limited_Init. | |
1159 | ||
1160 | * sem_type.adb (Interface_Present_In_Ancestor): In the case of a | |
1161 | class-wide interface, get the base type before applying Etype, in order | |
1162 | to account for class-wide subtypes. | |
1163 | ||
fadcf313 AC |
1164 | 2009-06-25 Emmanuel Briot <briot@adacore.com> |
1165 | ||
1166 | * gnatcmd.adb, prj-proc.adb, make.adb, prj.adb, prj.ads, prj-nmsc.adb, | |
1167 | prj-util.adb, prj-env.adb, prj-env.ads: Merge handling of naming_data | |
1168 | between gnatmake and gprbuild. | |
1169 | (Naming_Data): Removed, no longer used | |
1170 | (Naming_Table, Project_Tree_Ref.Namings): Removed, since this is only | |
1171 | needed locally in one subprogram, no need to store forever in the | |
1172 | structure. | |
1173 | (Check_Naming_Scheme, Check_Package_Naming): Merged, since they play | |
1174 | a similar role. | |
1175 | (Body_Suffix_Of, Body_Suffix_Id_Of, Register_Default_Naming_Scheme, | |
1176 | Same_Naming_Scheme, Set_Body_Suffix, Set_Spec_Suffix, Spec_Suffix_Of, | |
1177 | Spec_Suffix_Id_Of): removed, no longer used. | |
1178 | ||
1179 | 2009-06-25 Javier Miranda <miranda@adacore.com> | |
1180 | ||
1181 | * sem_res.adb (Resolve_Allocator): Skip test requiring exact match of | |
1182 | types on qualified expression in calls to imported C++ constructors. | |
1183 | ||
1184 | * exp_ch4.adb (Expand_Allocator_Expression): Add missing support for | |
1185 | imported C++ constructors. | |
1186 | ||
1187 | 2009-06-25 Sergey Rybin <rybin@adacore.com> | |
1188 | ||
1189 | * vms_data.ads: Add qualifier for new gnatcheck '-t' option. | |
1190 | ||
5b900a45 AC |
1191 | 2009-06-25 Vincent Celier <celier@adacore.com> |
1192 | ||
1193 | * s-os_lib.adb (Normalize_Pathname.Get_Directory): If directory | |
1194 | provided, on Windows change all '/' to '\'. | |
1195 | ||
1196 | * fmap.ads, fmap.adb (Remove_Forbidden_File_Name): Remove, no longer | |
1197 | used. Minor comment changes | |
1198 | ||
1199 | * prj-nmsc.adb: Do not call Fmap.Add_Forbidden_File_Name or | |
1200 | Remove_Forbidden_File_Name. | |
1201 | ||
1202 | 2009-06-25 Quentin Ochem <ochem@adacore.com> | |
1203 | ||
1204 | * prj.ads (Unit_Index): Now general access type. | |
fadcf313 | 1205 | |
a2b62f99 PO |
1206 | 2009-06-25 Pascal Obry <obry@adacore.com> |
1207 | ||
1208 | * a-stwise.adb, a-stzsea.adb: Fix confusion between 'Length and 'Last. | |
1209 | ||
1d24fc5e EB |
1210 | 2009-06-25 Emmanuel Briot <briot@adacore.com> |
1211 | ||
1212 | * fmap.ads, make.adb, prj.adb, prj.ads, prj-nmsc.adb, prj-env.adb, | |
1213 | prj-env.ads (Source_Data.Get_Object): Field removed, since it can be | |
1214 | computed efficiently from the other fields. | |
1215 | (Object_To_Global_Archive): New subprogram | |
1216 | (Create_Mapping): Remove unneeded call to Remove_Forbidden_File_Name. | |
1217 | (Override_Kind): Fix handling of separates in Ada. | |
1218 | (Create_Mapping_File): Remove duplicate code | |
1219 | (Naming_Data.Implementation_Exception, Specification_Exception): | |
1220 | field removed, since never used. | |
1221 | (Naming_Data.Specs, .Bodies): field removed, since this is only | |
1222 | used while processing the project and is not needed once the tree | |
1223 | is in memory. This brings Naming_Data and Lang_Naming_Data | |
1224 | closer (same content now, but different use still). | |
1225 | ||
8f2eeab7 PO |
1226 | 2009-06-25 Pascal Obry <obry@adacore.com> |
1227 | ||
1228 | * sem_ch4.adb: Minor reformatting. | |
1229 | ||
1230 | * a-strsea.adb: Fix confusion between 'Length and 'Last. | |
1231 | ||
bea993f9 AC |
1232 | 2009-06-25 Ed Schonberg <schonberg@adacore.com> |
1233 | ||
1234 | * exp_attr.adb (Expand_N_Attribute_Reference, case 'Access and | |
1235 | Unchecked_Access): If the context is an interface type, and the prefix | |
1236 | is of the corresponding class-wide type, do not insert a conversion | |
1237 | because the pointer displacement has already taken place, and we must | |
1238 | retain the class-wide type in a dispatching context. | |
1239 | ||
1240 | 2009-06-25 Emmanuel Briot <briot@adacore.com> | |
1241 | ||
1242 | * prj-nmsc.adb, prj-env.adb (Override_Kind): Unset the unit field of | |
1243 | the previous source file. | |
1244 | (Create_Mapping): Iterate on sources rather than on units. | |
1245 | ||
cabadd1c AC |
1246 | 2009-06-25 Emmanuel Briot <briot@adacore.com> |
1247 | ||
1248 | * gnatcmd.adb, make.adb, mlib-prj.adb, prj.adb, prj.ads, prj-nmsc.adb, | |
1249 | prj-env.adb, prj-env.ads (Slash): removed, no longer used | |
1250 | (Source_Data): no longer use Path.Name to point to a locally removed | |
1251 | file. Instead we use the field Locally_Removed which is clearer | |
1252 | ||
1253 | 2009-06-25 Arnaud Charlet <charlet@adacore.com> | |
1254 | ||
1255 | * gcc-interface/Make-lang.in: Remove references to sem_maps.o | |
1256 | ||
1257 | * sem_maps.adb, sem_maps.ads: Removed, not used. | |
1258 | ||
9763f8c8 AC |
1259 | 2009-06-25 Ed Falis <falis@adacore.com> |
1260 | ||
1261 | * s-vxwext-rtp.ads: Add missing declaration | |
1262 | ||
1263 | 2009-06-25 Matthew Gingell <gingell@adacore.com> | |
1264 | ||
1265 | * a-stwise.adb, a-stzsea.adb (Count, Index): Avoid local copy on stack, | |
1266 | speed up unmapped case. | |
1267 | ||
1268 | 2009-06-25 Vincent Celier <celier@adacore.com> | |
1269 | ||
1270 | * prj-nmsc.adb (Check): Change error message for illegal abstract | |
1271 | projects. | |
1272 | ||
1273 | 2009-06-25 Robert Dewar <dewar@adacore.com> | |
1274 | ||
1275 | * gnat_ugn.texi: Add note on use of -gnatct for ASIS | |
1276 | ||
1277 | 2009-06-25 Emmanuel Briot <briot@adacore.com> | |
1278 | ||
1279 | * fmap.ads: Add documentation on mapping files | |
1280 | ||
d6533e74 RD |
1281 | 2009-06-25 Robert Dewar <dewar@adacore.com> |
1282 | ||
1283 | * exp_ch6.adb, g-socket.ads, g-socket.adb, sem_ch3.adb: Minor | |
1284 | reformatting | |
1285 | ||
e1f3cb58 AC |
1286 | 2009-06-24 Robert Dewar <dewar@adacore.com> |
1287 | ||
1288 | * prj-nmsc.adb, prj-nmsc.ads, prj-proc.adb, prj.adb: Minor reformatting | |
1289 | ||
1290 | * a-strsea.adb (Count): Avoid local copy on stack, speed up unmapped | |
1291 | case. | |
1292 | (Index): Ditto. | |
1293 | ||
1294 | 2009-06-24 Ed Schonberg <schonberg@adacore.com> | |
1295 | ||
1296 | * sem_ch4.adb (Analyze_One_Call): Check that at least one actual is | |
1297 | present when checking whether a call may be interpreted as an indexing | |
1298 | of the result of a call. | |
1299 | ||
1300 | * exp_ch9.adb (Expand_N_Subprogram_Declaration): Place the generated | |
1301 | body for a null procedure on the freeze actions for the procedure, so | |
1302 | that it will be analyzed at the proper place without premature freezing | |
1303 | of actuals. | |
1304 | ||
1305 | * sem_ch3.adb (Check_Completion): Code cleanup. | |
1306 | Do not diagnose a null procedure without a body, if previous errors | |
1307 | have disabled expansion. | |
1308 | ||
1309 | 2009-06-24 Doug Rupp <rupp@adacore.com> | |
1310 | ||
1311 | * init.c [VMS] Resignal C$_SIGKILL | |
1312 | ||
1313 | 2009-06-24 Ed Falis <falis@adacore.com> | |
1314 | ||
1315 | * s-vxwext.adb, s-vxwext-kernel.adb: Add s-vxwext body for VxWorks 5 | |
1316 | Define ERROR in body for VxWorks 6 kernel | |
1317 | ||
1318 | 2009-06-24 Pascal Obry <obry@adacore.com> | |
1319 | ||
1320 | * g-socket.adb, g-socket.ads: Fix possible unexpected constraint error | |
1321 | in [Send/Receive]_Socket. | |
1322 | ||
c9287857 EB |
1323 | 2009-06-24 Emmanuel Briot <briot@adacore.com> |
1324 | ||
1325 | * prj-proc.adb, prj-proc.ads, prj.ads, prj-nmsc.adb, prj-nmsc.ads, | |
1326 | prj-conf.adb, prj-conf.ads (Allow_Duplicate_Basenames): New parameter | |
1327 | to several subprograms. | |
1328 | (Source_Data.Other_Part): Removed, since can be computed from the | |
1329 | language. | |
1330 | (Other_Part): New subprogram. | |
1331 | ||
2b426674 EB |
1332 | 2009-06-24 Emmanuel Briot <briot@adacore.com> |
1333 | ||
1334 | * gnat_ugn.texi, prj-nmsc.adb (Suffix_Matches): A suffix can also match | |
1335 | the full base name of the file when the suffix doesn't start with a '.'. | |
1336 | ||
95cd3246 AC |
1337 | 2009-06-24 Vincent Celier <celier@adacore.com> |
1338 | ||
1339 | * prj-nmsc.adb (Check): A project declared abstract is legal if no | |
1340 | attribute Source_Dirs, Source_Files, Source_List_File or Languages is | |
1341 | declared. | |
1342 | ||
1343 | 2009-06-24 Robert Dewar <dewar@adacore.com> | |
1344 | ||
1345 | * clean.adb, gnatcmd.adb, make.adb, mlib-prj.adb, | |
1346 | prj-env.adb: Minor reformatting | |
1347 | ||
1348 | 2009-06-24 Ed Falis <falis@adacore.com> | |
1349 | ||
1350 | * s-taprop-vxworks.adb, s-osinte-vxworks.ads, s-vxwext.ads, | |
1351 | s-vxwext-kernel.adb, s-vxwext-kernel.ads, s-vxwext-rtp.adb, | |
1352 | s-tasinf-vxworks.ads, gcc-interface/Makefile.in: Add processor affinity | |
1353 | support for VxWorks SMP. | |
1354 | ||
1355 | * gcc-interface/Make-lang.in: Update dependencies | |
1356 | ||
5a66a766 EB |
1357 | 2009-06-24 Emmanuel Briot <briot@adacore.com> |
1358 | ||
1359 | * gnatcmd.adb, make.adb, mlib-prj.adb, prj.adb, prj.ads, clean.adb, | |
1360 | prj-nmsc.adb, prj-env.adb, prj-proc.adb (Units_Table): Removed, since | |
1361 | no longer useful. | |
1362 | (Source_Data.Lang_Kind): Removed, since it duplicates information | |
1363 | already available through Language.Config. | |
1364 | (Source_Data.Compile): Removed, since information is already available | |
1365 | through the language. | |
1366 | (Is_Compilable): New subprogram. | |
1367 | (Source_Data.Dependency): Removed, since already available through | |
1368 | the language. | |
1369 | (Source_Data.Object_Exist, Object_Linked): Removed since available | |
1370 | through the language already. | |
1371 | (Unit_Data.File_Names): Is now also set in multi_language mode, to | |
1372 | bring the two modes closer in the resulting data structures. | |
1373 | (Source_Data.Unit): Now a direct pointer to the unit data, rather than | |
1374 | just the name that would point into a hash table. | |
1375 | (Get_Language_From_Name): New subprogram. | |
1376 | ||
852dba80 AC |
1377 | 2009-06-24 Javier Miranda <miranda@adacore.com> |
1378 | ||
1379 | * exp_ch4.adb (Expand_N_Type_Conversion): Handle entities that are | |
1380 | visible through limited-with context clauses. In addition, avoid an | |
1381 | extra tag check that is not required when the class-wide | |
1382 | designated types of the operand and target types are | |
1383 | the same entity. | |
1384 | (Tagged_Membership): Handle entities from the limited view. | |
1385 | ||
1386 | 2009-06-24 Emmanuel Briot <briot@adacore.com> | |
1387 | ||
1388 | * gnatcmd.adb, make.adb, mlib-prj.adb, prj.ads, clean.adb, | |
1389 | prj-nmsc.adb, prj-env.adb (File_Name_Data): removed | |
1390 | (Spec_Or_Body): now a subtype of Source_Kind, to avoid using two | |
1391 | different vocabularies for similar concepts (Impl/Body_Part and | |
1392 | Spec/Specification). | |
1393 | (Unit_Data): now points directly to a Source_Id, rather than duplicating | |
1394 | some of the information in File_Name_Data. This also saves a bit of | |
1395 | memory. However, since we are now using a pointer we need to test | |
1396 | for null explicitly in several places of the code | |
1397 | ||
950d217a AC |
1398 | 2009-06-24 Javier Miranda <miranda@adacore.com> |
1399 | ||
1400 | * exp_ch4.adb (Expand_N_Type_Conversion): return immediately | |
1401 | from processing the type conversion when the node is | |
1402 | replaced by an N_Raise_Program_Error node. | |
1403 | ||
1404 | 2009-06-24 Hristian Kirtchev <kirtchev@adacore.com> | |
1405 | ||
1406 | * sem_ch6.adb (Designates_From_With_Type): New routine. | |
1407 | (Process_Formals): Since anonymous access types are no longer flagged | |
1408 | as from with types, traverse the designated type to determine whether | |
1409 | it is coming from a limited view. | |
1410 | ||
1411 | * sem_res.adb: Remove with and use clauses for Sem_Ch10. | |
1412 | (Full_Designated_Type): Use Available_View to extract the non-limited / | |
1413 | full view of a type. | |
1414 | ||
dd3e1ff5 AC |
1415 | 2009-06-24 Robert Dewar <dewar@adacore.com> |
1416 | ||
1417 | * exp_ch6.adb: Minor reformatting | |
1418 | ||
1419 | * layout.adb: Minor reformatting | |
1420 | ||
1421 | * make.adb: Minor reformatting | |
1422 | ||
1423 | 2009-06-24 Thomas Quinot <quinot@adacore.com> | |
1424 | ||
1425 | * sem_ch10.adb: Minor code reorganization. | |
1426 | ||
0386aad1 AC |
1427 | 2009-06-24 Eric Botcazou <ebotcazou@adacore.com> |
1428 | ||
1429 | * ttypes.ads: Minor editing. | |
1430 | ||
1431 | 2009-06-24 Robert Dewar <dewar@adacore.com> | |
1432 | ||
1433 | * exp_ch6.adb (Expand_Actuals): Use Is_Volatile, not Treat_As_Volatile | |
1434 | in deciding to do call-by-copy code. | |
1435 | ||
1436 | 2009-06-24 Vincent Celier <celier@adacore.com> | |
1437 | ||
1438 | * make.adb (Gnatmake): To decide if an executable should be rebuilt, | |
1439 | check if an externally built library file is more current than the | |
1440 | executable. | |
1441 | ||
2724e58f OH |
1442 | 2009-06-23 Olivier Hainque <hainque@adacore.com> |
1443 | ||
1444 | * gcc-interface/utils.c (handle_vector_size_attribute): Import from | |
1445 | c-common.c and populate in gnat_internal_attribute_table. | |
1446 | ||
14e33999 AC |
1447 | 2009-06-23 Ed Schonberg <schonberg@adacore.com> |
1448 | ||
1449 | * sem_res.adb (Valid_Conversion, Full_Designated_Type): Use | |
1450 | Available_View only when designated type of an anonymous access type | |
1451 | is limited view. | |
1452 | ||
1453 | 2009-06-23 Robert Dewar <dewar@adacore.com> | |
1454 | ||
1455 | * sem_ch10.adb: Minor reformatting | |
1456 | ||
792569a9 RD |
1457 | * ali.ads: Mino reformatting. |
1458 | ||
14e33999 AC |
1459 | * gnat1drv.adb (Adjust_Global_Switches): New procedure (take care of |
1460 | turning off inlining if ASIS mode active). | |
1461 | ||
1462 | * switch-c.adb: Remove fiddling with Inspector_Mode and ASIS_Mode | |
1463 | This belongs in gnat1drv.adb after switches are scanned. | |
1464 | ||
c0985d4e HK |
1465 | 2009-06-23 Hristian Kirtchev <kirtchev@adacore.com> |
1466 | ||
1467 | * sem_attr.adb: Add with and use clauses for Sem_Ch10. | |
1468 | (Check_Not_Incomplete_Type): Minor reformatting. Retrieve the root type | |
1469 | when dealing with class-wide types. Detect a legal shadow entity and | |
1470 | retrieve its non-limited view. | |
1471 | ||
1472 | * sem_ch10.adb (Has_With_Clause): Move the spec and body of the | |
1473 | subprogram to top package level from Intall_Limited_Withed_Unit. | |
1474 | (Install_Limited_Withed_Unit): Remove spec and body of Has_With_Clause. | |
1475 | Add check which prevents the installation of a limited view if the | |
1476 | non-limited view is already visible through a with clause. | |
1477 | (Is_Legal_Shadow_Entity_In_Body): New routine. Detect a residual, but | |
1478 | legal shadow entity which may occur in subprogram formals of anonymous | |
1479 | access type. | |
1480 | ||
1481 | * sem_ch10.ads (Is_Legal_Shadow_Entity_In_Body): New routine. | |
1482 | ||
1483 | * sem_ch3.adb (Access_Definition): Remove the propagation of flag | |
1484 | From_With_Type from the designated type to the generated anonymous | |
1485 | access type. Remove associated comment. | |
1486 | ||
1487 | * sem_res.adb Add with and use clauses for Sem_Ch10. | |
1488 | (Full_Designated_Type): Detect a legal shadow entity and retrieve its | |
1489 | non-limited view. Since the shadow entity may replace a regular | |
1490 | incomplete type, return the available full view. | |
1491 | ||
0d354370 AC |
1492 | 2009-06-23 Ed Schonberg <schonberg@adacore.com> |
1493 | ||
1494 | * sem_ch10.adb (Remove_Limited_With_Clause): Clean up code that handles | |
1495 | incomplete type declarations. Previous code was potentially quadratic | |
1496 | in the number of visible declarations in any package appearing in a | |
1497 | limited_with_clause. | |
1498 | ||
1499 | 2009-06-23 Robert Dewar <dewar@adacore.com> | |
1500 | ||
1501 | * prj-conf.ads, prj-part.adb, prj-proc.adb, prj-proc.ads, sem_ch8.adb, | |
1502 | xref_lib.adb: Minor reformatting | |
1503 | ||
85b7d482 RD |
1504 | 2009-06-23 Robert Dewar <dewar@adacore.com> |
1505 | ||
1506 | * a-stzhas.adb: Provide dummy body to avoid build problems with old | |
1507 | versions which did have a body for this unit. | |
1508 | ||
efc81a89 AC |
1509 | 2009-06-23 Vincent Celier <celier@adacore.com> |
1510 | ||
1511 | * prj-attr.adb: Attribute names Initial_Required_Switches and | |
1512 | Final_Required_Switches changed to Leading_Required_Switches and | |
1513 | Trailing_Required_Switches. | |
1514 | ||
1515 | * prj-nmsc.adb (Process_Compiler): Attribute names | |
1516 | Initial_Required_Switches and Final_Required_Switches changed to | |
1517 | Leading_Required_Switches and Trailing_Required_Switches. | |
1518 | ||
1519 | * prj.ads (Language_Config): Component Initial_Required_Switches and | |
1520 | Final_Required_Switches changed to Leading_Required_Switches and | |
1521 | Trailing_Required_Switches. | |
1522 | ||
1523 | * snames.ads-tmpl: Remove standard names Initial_Required_Switches and | |
1524 | Final_Required_Switches; add standard names Leading_Required_Switches | |
1525 | and Trailing_Required_Switches. | |
1526 | ||
1527 | 2009-06-23 Thomas Quinot <quinot@adacore.com> | |
1528 | ||
1529 | * prj-conf.adb: Minor reformatting | |
1530 | ||
1531 | * xref_lib.adb: Minor cleanup | |
1532 | ||
1290ef14 AC |
1533 | 2009-06-23 Emmanuel Briot <briot@adacore.com> |
1534 | ||
1535 | * prj-proc.adb, prj-proc.ads, prj-nmsc.adb, prj-nmsc.ads, prj-conf.adb, | |
1536 | prj-conf.ads (Check_Configuration): New parameter | |
1537 | Compiler_Driver_Mandatory. | |
1538 | ||
1539 | 2009-06-23 Ed Schonberg <schonberg@adacore.com> | |
1540 | ||
1541 | * sem_ch10.adb (Analyze_With_Clause): If a subprogram instance in the | |
1542 | context of the current unit has an inline pragma, the instance is not | |
1543 | rewritten as the declaration of the package wrapper. Handle both | |
1544 | possibilities when retrieving the visible subprogram that renames the | |
1545 | instantiation itself. | |
1546 | ||
d6a24cdb AC |
1547 | 2009-06-23 Javier Miranda <miranda@adacore.com> |
1548 | ||
1549 | * exp_ch4.adb (Displace_Allocator_Pointer, Expand_N_Allocator): Handle | |
1550 | designated types referencing entities from the limited view. | |
1551 | ||
f91c36dc AC |
1552 | 2009-06-23 Robert Dewar <dewar@adacore.com> |
1553 | ||
1554 | * s-strhas.adb, s-strhas.ads: Restrict to 32-bit modular types | |
1555 | ||
1556 | * s-imgdec.adb (Set_Decimal_Digits): Fix error of too many digits for | |
1557 | small values | |
1558 | ||
1559 | * prj-conf.ads: Minor reformatting | |
1560 | ||
1561 | * prj-conf.adb: Minor reformatting | |
1562 | ||
1563 | 2009-06-23 Vasiliy Fofanov <fofanov@adacore.com> | |
1564 | ||
1565 | * g-debpoo.adb (Dump_Gnatmem): Output dummy timestamps for allocations | |
1566 | to correspond to the log format that gnatmem now expects. | |
1567 | ||
1568 | 2009-06-23 Vincent Celier <celier@adacore.com> | |
1569 | ||
1570 | * prj-attr.adb: New attributes Initial_Required_Switches, | |
1571 | Final_Required_Switches and Object_File_Switches | |
1572 | ||
1573 | * prj-nmsc.adb (Process_Compiler): Process new attributes | |
1574 | Name_Final_Required_Switches, Name_Initial_Required_Switches and | |
1575 | Name_Object_File_Switches. | |
1576 | ||
1577 | * prj.ads (Language_Config): New component | |
1578 | Compiler_Initial_Required_Switches (replace Compiler_Required_Switches), | |
1579 | Compiler_Final_Required_Switches and Object_File_Switches. | |
1580 | ||
1581 | * snames.ads-tmpl: New standard names Initial_Required_Switches, | |
1582 | Final_Required_Switches and Object_File_Switches | |
1583 | ||
35262047 AC |
1584 | 2009-06-23 Pascal Obry <obry@adacore.com> |
1585 | ||
1586 | * s-strhas.adb, s-strhas.ads: Minor reformatting. | |
1587 | ||
1588 | 2009-06-23 Ed Schonberg <schonberg@adacore.com> | |
1589 | ||
1590 | * sem_ch10.adb (Install_Limited_Withed_Unit): a null procedure does | |
1591 | not indicate that the enclosing unit needs a body. | |
1592 | ||
abe19d88 EB |
1593 | 2009-06-23 Emmanuel Briot <briot@adacore.com> |
1594 | ||
1595 | * prj-conf.ads, prj-conf.adb: New files part of the project manager. | |
1596 | ||
af268547 ES |
1597 | 2009-06-23 Ed Schonberg <schonberg@adacore.com> |
1598 | ||
1599 | * sem_ch3.adb (Derive_Subprogram): If the inherited subprogram is a | |
1600 | primitive equality include it with its source name even if the | |
1601 | operation is currently invisible, to make sure that the corresponding | |
1602 | slot in the dispatch table is reserved for the internal equality | |
1603 | subsequently generated during expansion. | |
1604 | ||
a3e3b8da MG |
1605 | 2009-06-23 Matthew Gingell <gingell@adacore.com> |
1606 | ||
1607 | * Makefile.rtl, a-stwiha.adb: Add a-stwiha.adb back. | |
1608 | ||
f61580d4 AC |
1609 | 2009-06-22 Jose Ruiz <ruiz@adacore.com> |
1610 | ||
1611 | * sysdep.c (__gnat_localtime_tzoff for RTX): | |
1612 | SystemTimeToTzSpecificLocalTime is not supported by RTX. Use | |
1613 | GetTimeZoneInformation instead. | |
1614 | ||
1615 | 2009-06-22 Robert Dewar <dewar@adacore.com> | |
1616 | ||
1617 | * sem_res.adb (Check_No_Direct_Boolean_Operators): New procedure | |
1618 | ||
1619 | 2009-06-22 Ed Schonberg <schonberg@adacore.com> | |
1620 | ||
1621 | * sem_ch12.adb (Collect_Previous_Instances): Do not collect | |
1622 | instantiations declared in a previous generic package body. | |
1623 | ||
1624 | 2009-06-22 Robert Dewar <dewar@adacore.com> | |
1625 | ||
1626 | * gnat_rm.texi: Add doc that X=True and X=False is allowed for the | |
1627 | restriction No_Direct_Boolean_Operators. | |
1628 | ||
1629 | 2009-06-22 Thomas Quinot <quinot@adacore.com> | |
1630 | ||
1631 | * bindusg.adb: Minor fixes to gnatbind usage message | |
1632 | ||
1633 | * sem_eval.adb: Minor reformatting | |
1634 | ||
6823270c AC |
1635 | 2009-06-22 Javier Miranda <miranda@adacore.com> |
1636 | ||
1637 | * sem_ch3.adb (Analyze_Object_Declaration, Freeze_Entity): Move to the | |
1638 | freezing point the check on the use of abstract types in object | |
1639 | declarations. Done to allow the declaration of C++ imported variables | |
1640 | or constants whose type corresponds with an imported C++ classes for | |
1641 | which the constructor is not imported. | |
1642 | ||
1643 | 2009-06-22 Thomas Quinot <quinot@adacore.com> | |
1644 | ||
1645 | * sem_ch6.adb: Minor reformatting | |
1646 | ||
1647 | 2009-06-22 Ed Schonberg <schonberg@adacore.com> | |
1648 | ||
1649 | * exp_ch3.adb (Build_Initialization_Call): If a discriminated record | |
1650 | component is constrained with an expression rather than with a | |
1651 | discriminant of the enclosing type, use that expression when building | |
1652 | the call to default-initialize the component, when the call is part of | |
1653 | an aggregate with box initialization. | |
1654 | ||
c9e7bd8e AC |
1655 | 2009-06-22 Ed Schonberg <schonberg@adacore.com> |
1656 | ||
1657 | * sem_ch6.adb (Check_Overriding_Indicator): Clean up code, make warning | |
1658 | unconditional rather than a style check, because a formal name out of | |
1659 | order is suspicious. | |
1660 | ||
1661 | 2009-06-22 Vincent Celier <celier@adacore.com> | |
1662 | ||
1663 | * prj-nmsc.adb (Locate_Directory): Indicate the project name when | |
1664 | creating a directory automatically. | |
1665 | ||
1666 | 2009-06-22 Eric Botcazou <ebotcazou@adacore.com> | |
1667 | ||
1668 | * sem_ch3.adb (Create_Constrained_Components): For a subtype of an | |
1669 | untagged derived type, add a hidden component for every constrained | |
1670 | discriminant of the parent type to keep record layout consistent. | |
1671 | ||
d88a51b1 AC |
1672 | 2009-06-22 Thomas Quinot <quinot@adacore.com> |
1673 | ||
1674 | * exp_ch3.adb: Minor code reorganization (avoid an unnecessary tree | |
1675 | copy). | |
1676 | ||
1677 | 2009-06-22 Matthew Gingell <gingell@adacore.com> | |
1678 | ||
1679 | * a-stzhas.adb, a-stwiha.adb, impunit.adb, a-swbwha.adb, a-shcain.adb, | |
1680 | s-htable.adb, a-szuzha.adb, a-stunha.adb, a-stboha.adb, a-strhas.adb, | |
1681 | g-spitbo.adb, s-strhas.adb, a-szbzha.adb, s-strhas.ads, Makefile.rtl, | |
1682 | a-swuwha.adb: New unit System.String_Hash. | |
1683 | Refactor redundant cut and pasted hash functions with instances of a | |
1684 | new generic hash function. | |
1685 | Implement a new string hashing algorithm which appears in testing to | |
1686 | be move effective than to previous approach. | |
1687 | ||
1688 | 2009-06-22 Ed Falis <falis@adacore.com> | |
1689 | ||
1690 | * sysdep.c: remove include for nfsLib.h and an NFS specific error | |
1691 | message for VxWorks 653 vThreads: not supported by the OS. | |
1692 | ||
1693 | * gsocket.h: disable sockets for VxWorks 653 vThreads. | |
1694 | ||
1695 | 2009-06-22 Robert Dewar <dewar@adacore.com> | |
1696 | ||
1697 | * sem_ch6.adb: Add ??? comment for bad use of Style_Check | |
1698 | ||
e7d72fb9 AC |
1699 | 2009-06-22 Robert Dewar <dewar@adacore.com> |
1700 | ||
1701 | * sinput.adb, sinput.ads (Expr_First_Char, Expr_Last_Char): Replaced | |
1702 | by Sloc_Range. | |
1703 | ||
1704 | * freeze.adb: Minor comment updates | |
1705 | ||
1706 | * s-valrea.adb (Bad_Based_Value): New procedure | |
1707 | (Scan_Real): Raise exceptions with messages | |
1708 | ||
1709 | 2009-06-22 Matthew Gingell <gingell@adacore.com> | |
1710 | ||
1711 | * adaint.h: Complete previous change. | |
1712 | ||
1713 | 2009-06-22 Thomas Quinot <quinot@adacore.com> | |
1714 | ||
1715 | * exp_ch7.ads, exp_ch3.adb: Minor reformatting | |
1716 | ||
1717 | 2009-06-22 Ed Schonberg <schonberg@adacore.com> | |
1718 | ||
1719 | * sem_ch6.adb (Check_Overriding_Indicator): When style checks are | |
1720 | enabled, emit warning when a non-controlling argument of the overriding | |
1721 | operation appears out of place vis-a-vis of the formal of the | |
1722 | overridden operation. | |
1723 | ||
03456e44 AC |
1724 | 2009-06-22 Vincent Celier <celier@adacore.com> |
1725 | ||
1726 | * gnatcmd.adb (Check_Files): Close temporary files after all file names | |
1727 | have been written into it. | |
1728 | ||
1729 | 2009-06-22 Matthew Gingell <gingell@adacore.com> | |
1730 | ||
1731 | * adaint.c, adaint.h, cstreams.c: Call stat64 on platforms where it is | |
1732 | available. | |
1733 | ||
1734 | 2009-06-22 Thomas Quinot <quinot@adacore.com> | |
1735 | ||
1736 | * sem_disp.adb (Check_Direct_Call): Handle the case where the full | |
1737 | view of the root type is visible at the point of the call. | |
1738 | ||
1739 | 2009-06-22 Pat Rogers <rogers@adacore.com> | |
1740 | ||
1741 | * gnat_ugn.texi: Revised a sentence to correct a minor grammar error. | |
1742 | ||
59366db6 JL |
1743 | 2009-06-22 Jerome Lambourg <lambourg@adacore.com> |
1744 | ||
1745 | * freeze.adb: Add comments. | |
1746 | ||
f3b57ab0 AC |
1747 | 2009-06-21 Thomas Quinot <quinot@adacore.com> |
1748 | ||
1749 | * exp_ch3.adb, exp_prag.adb, exp_util.adb, exp_util.ads, freeze.adb, | |
1750 | sem_ch13.adb, sem_elab.adb (Exp_Prag.Expand_Pragma_Import_Or_Interface): | |
1751 | Factor out code to new subprogram... | |
1752 | (Exp_Util.Find_Init_Call): New shared routine to find the init proc call | |
1753 | for a default initialized variable. | |
1754 | (Freeze.Check_Address_Clause): Do not reset Has_Delayed_Freeze on an | |
1755 | entity that has an associated freeze node. | |
1756 | (Sem_Ch13.Analyze_Attribute_Definition_Clause, case Address): | |
1757 | If there is an init call for the object, defer it to the object freeze | |
1758 | point. | |
1759 | (Check_Elab_Call.Find_Init_Call): Rename to Check_Init_Call, to avoid | |
1760 | name clash with new subprogram introduced in Exp_Util. | |
1761 | ||
1762 | 2009-06-21 Robert Dewar <dewar@adacore.com> | |
1763 | ||
1764 | * einfo.ads: Minor reformatting | |
1765 | ||
4f91a255 AC |
1766 | 2009-06-21 Ed Falis <falis@adacore.com> |
1767 | ||
1768 | * env.c (__gnat_environ): return NULL for vThreads - unimplemented | |
1769 | ||
1770 | 2009-06-21 Eric Botcazou <ebotcazou@adacore.com> | |
1771 | ||
1772 | * einfo.ads: Update comments. | |
1773 | ||
1774 | 2009-06-21 Hristian Kirtchev <kirtchev@adacore.com> | |
1775 | ||
1776 | * sem_disp.adb (Check_Direct_Call): New routine. Dispatching calls | |
1777 | where the controlling formal is of private class-wide type whose | |
1778 | completion is a synchronized type can be converted into direct calls. | |
1779 | ||
1780 | 2009-06-21 Vincent Celier <celier@adacore.com> | |
1781 | ||
1782 | * gnatcmd.adb (Check_Files): When all sources of the project are to be | |
1783 | indicated to gnatcheck, gnatpp or gnatmetric, always specify the list | |
1784 | of sources using -files=, so that the distinction can be made by the | |
1785 | tool of a call with no source (to display the usage) from a call with | |
1786 | a project file that contains no source. | |
1787 | ||
1788 | 2009-06-21 Jerome Lambourg <lambourg@adacore.com> | |
1789 | ||
1790 | * exp_ch3.adb (Build_Array_Init_Proc): Do not build the init proc in | |
1791 | case of VM convention arrays. | |
1792 | ||
8a45323c RD |
1793 | 2009-06-20 Robert Dewar <dewar@adacore.com> |
1794 | ||
1795 | * a-nudira.adb: Minor reformatting | |
1796 | ||
5afaf827 AC |
1797 | 2009-06-20 Ed Schonberg <schonberg@adacore.com> |
1798 | ||
1799 | * exp_ch3.adb (Build_Record_Init_Proc): When copying initial | |
1800 | expressions (possibly from a parent type) indicate that the scope of | |
1801 | the new itypes is the initialization procedure being built. | |
1802 | ||
1803 | 2009-06-20 Robert Dewar <dewar@adacore.com> | |
1804 | ||
1805 | * a-nudira.adb (Fits_In_32_Bits): New name (inverted sense) for | |
1806 | Needs_64, and now computed without anomolies for some dynamic types. | |
1807 | ||
1808 | 2009-06-20 Thomas Quinot <quinot@adacore.com> | |
1809 | ||
1810 | * sem_prag.adb: Minor reformatting | |
1811 | ||
1812 | * exp_disp.ads: Minor reformatting | |
1813 | ||
e80d72ea ES |
1814 | 2009-06-20 Ed Schonberg <schonberg@adacore.com> |
1815 | ||
1816 | * sem_ch3.adb (Is_OK_For_Limited_Init): An unchecked conversion of a | |
1817 | function call is a legal expression to initialize a limited object. | |
1818 | ||
1819 | * exp_ch3.adb: Rename various freeze operations that perform expansion | |
1820 | actions, to prevent confusion with subprograms in the freeze package. | |
1821 | ||
6ca063eb AC |
1822 | 2009-06-20 Ed Schonberg <schonberg@adacore.com> |
1823 | ||
1824 | * sem.adb (Walk_Library_Units): Check instantiations first. | |
1825 | ||
1826 | * sem_ch6.adb (Analyze_Subprogram_Declaration): Mark a subprogram as a | |
1827 | private primitive if it is a function with a controlling result that is | |
1828 | a type extension with progenitors. | |
1829 | ||
1830 | * exp_ch9.adb (Build_Wrapper_Spec, Build_Wrapper_Body): Handle properly | |
1831 | a primitive operation of a synchronized tagged type that has a | |
1832 | controlling result. | |
1833 | ||
1834 | 2009-06-20 Thomas Quinot <quinot@adacore.com> | |
1835 | ||
1836 | * einfo.ads: Fix typo. | |
1837 | ||
1838 | 2009-06-20 Ed Falis <falis@adacore.com> | |
1839 | ||
1840 | * s-vxwext.ads, s-vxwext-kernel.adb: Complete previous change. | |
1841 | ||
502c4bb9 EB |
1842 | 2009-06-19 Eric Botcazou <ebotcazou@adacore.com> |
1843 | ||
1844 | * gcc-interface/trans.c (emit_check): Do not wrap up the result | |
1845 | in a SAVE_EXPR. | |
1846 | (protect_multiple_eval): Always protect complex expressions. | |
1847 | ||
659819b9 AC |
1848 | 2009-06-19 Emmanuel Briot <briot@adacore.com> |
1849 | ||
1850 | * prj-ext.adb, makeutl.adb, makeutl.ads (Executable_Prefix_Path): Now | |
1851 | make sure we always return a name ending with a path separator. | |
1852 | ||
1853 | 2009-06-19 Javier Miranda <miranda@adacore.com> | |
1854 | ||
1855 | * sem_ch12.adb (Instantiate_Package_Body, Instantiate_Subprogram_Body): | |
1856 | Save and restore the visibility of the parent when installed. | |
1857 | ||
1858 | 2009-06-19 Jose Ruiz <ruiz@adacore.com> | |
1859 | ||
1860 | * s-tposen.ads (Protection_Entry): Replace fields L, Ceiling, and Owner | |
1861 | by Common which contains all these fields. | |
1862 | ||
1863 | * s-tposen.adb (Initialize_Protection_Entry, Lock_Entry, | |
1864 | Lock_Read_Only_Entry, Timed_Protected_Single_Entry_Call, Unlock_Entry): | |
1865 | Remove code duplication in this package by means of calling the | |
1866 | equivalent code in s-taprob. | |
1867 | ||
1868 | 2009-06-19 Robert Dewar <dewar@adacore.com> | |
1869 | ||
1870 | * a-einuoc.ads: Minor reformatting | |
1871 | ||
0eed21bd EF |
1872 | 2009-06-19 Ed Falis <falis@adacore.com> |
1873 | ||
1874 | * a-einuoc.ads, s-osinte-vxworks.ads, s-vxwext.ads, s-vxwext-kernel.adb, | |
1875 | s-vxwext-kernel.ads, s-vxwext-rtp.ads: Code clean up. | |
1876 | ||
93c3fca7 AC |
1877 | 2009-06-19 Eric Botcazou <ebotcazou@adacore.com> |
1878 | ||
1879 | * einfo.ads (Handling of Type'Size Values): Fix Object_Size values. | |
1880 | ||
1881 | 2009-06-19 Robert Dewar <dewar@adacore.com> | |
1882 | ||
1883 | * a-nudira.adb (Need_64): Handle negative ranges and also dynamic | |
1884 | ranges | |
1885 | ||
1886 | * checks.adb (Determine_Range): Move the test for generic types later. | |
1887 | ||
1888 | * sem_eval.adb (Compile_Time_Compare): Improve circuitry to catch more | |
1889 | cases. | |
1890 | (Eval_Relational_Op): Fold more cases including string compares | |
1891 | ||
1892 | * sem_util.ads, sem_util.adb (References_Generic_Formal_Type): New | |
1893 | function. | |
1894 | ||
e29e2483 AC |
1895 | 2009-06-19 Robert Dewar <dewar@adacore.com> |
1896 | ||
1897 | * sem_type.ads, sem_ch12.adb: Minor reformatting | |
1898 | ||
1899 | * s-wchcnv.adb (UTF_32_To_Char_Sequence): Handle invalid data properly | |
1900 | ||
1901 | 2009-06-19 Ed Schonberg <schonberg@adacore.com> | |
1902 | ||
1903 | * exp_ch9.adb (Build_Wrapper_Spec): Handle properly an overridden | |
1904 | primitive operation of a rivate extension whose controlling argument | |
1905 | is an out parameter. | |
1906 | ||
1907 | * sem.adb (Walk_Library_Units): exclude generic package declarations | |
1908 | from check. | |
1909 | ||
f26d5cd3 AC |
1910 | 2009-06-19 Thomas Quinot <quinot@adacore.com> |
1911 | ||
1912 | * i-vxwoio.ads: Add comments | |
1913 | ||
1914 | 2009-06-19 Thomas Quinot <quinot@adacore.com> | |
1915 | ||
1916 | * socket.c, g-socthi-vms.adb, g-socthi-vms.ads, g-socthi-vxworks.adb, | |
1917 | g-socthi-vxworks.ads, g-socthi-mingw.adb, g-socthi-mingw.ads, | |
1918 | g-socthi.adb, g-socthi.ads, g-socket.adb, g-sothco.ads | |
1919 | (GNAT.Sockets.Thin.C_Ioctl): Rename to Socket_Ioctl. | |
1920 | (GNAT.Sockets.Thin.Socket_Ioctl): Use new function | |
1921 | Thin_Common.Socket_Ioctl. | |
1922 | (GNAT.Sockets.Thin_Common.Socket_Ioctl): Binding to new C wrapper | |
1923 | __gnat_socket_ioctl. | |
1924 | (__gnat_socket_ioctl): Wrapper for ioctl(2) called with a single int* | |
1925 | argument after the file descriptor and request code. | |
1926 | ||
1927 | 2009-06-19 Robert Dewar <dewar@adacore.com> | |
1928 | ||
1929 | * checks.adb: Minor reformatting | |
1930 | ||
1abad480 AC |
1931 | 2009-06-19 Jose Ruiz <ruiz@adacore.com> |
1932 | ||
1933 | * env.c (__gnat_environ): RTX does not support this functionality. | |
1934 | ||
1935 | 2009-06-19 Ed Schonberg <schonberg@adacore.com> | |
1936 | ||
1937 | * sem.adb (Walk_Library_Items): Include bodies in the list of units to | |
1938 | traverse, to account for front-end inlining and instantiations in a | |
1939 | spec or in the main unit. | |
1940 | ||
1941 | 2009-06-19 Robert Dewar <dewar@adacore.com> | |
1942 | ||
1943 | * checks.adb (Determine_Range): Do not attempt to get range of generic | |
1944 | type. | |
1945 | ||
c38e990f SR |
1946 | 2009-06-19 Sergey Rybin <rybin@adacore.com> |
1947 | ||
1948 | * gnat_ugn.texi, vms_data.ads: Add the documentation for the new | |
1949 | gnatmetric option for generating the schema file for gnatmetric XML | |
1950 | output. Add corresponding VMS qualifier. | |
1951 | ||
1175f0b6 AC |
1952 | 2009-06-19 Robert Dewar <dewar@adacore.com> |
1953 | ||
1954 | * g-cgi.adb: Minor reformatting | |
1955 | ||
1956 | 2009-06-19 Eric Botcazou <ebotcazou@adacore.com> | |
1957 | ||
1958 | * s-intman-solaris.adb (Notify_Exception): Do not discriminate on the | |
1959 | signal code for SIGFPE and raise Program_Error for SIGILL. | |
1960 | ||
1961 | * s-osinte-solaris.ads: Remove signal code constants for SIGFPE. | |
1962 | ||
1963 | 2009-06-19 Ed Schonberg <schonberg@adacore.com> | |
1964 | ||
1965 | * sem_ch8.adb (Nvis_Messages): Do not list an entity declared in a | |
1966 | generic package if there is a visibility candidate that is declared in | |
1967 | a regular package. | |
1968 | ||
4c1a9016 OH |
1969 | 2009-06-18 Olivier Hainque <hainque@adacore.com> |
1970 | ||
1971 | * system-aix64.ads: New file. | |
1972 | * gcc-interface/Makefile.in (aix LIBGNAT_TARGET_PAIRS): Use the | |
1973 | 64bit system.ads for ppc64 multilib variants. | |
1974 | ||
d81b4c61 RD |
1975 | 2009-06-16 Robert Dewar <dewar@adacore.com> |
1976 | Olivier Hainque <hainque@adacore.com> | |
1977 | ||
1978 | Relax constraints on Machine_Attribute argument types: | |
1979 | * sem_prag.adb (Check_Arg_Is_Static_Expression): Allow for | |
1980 | missing type. | |
1981 | (Analyze_Attribute, case Machine_Attribute): Allow any type for arg 3. | |
1982 | * gcc-interface/decl.c (prepend_attributes): Accept static | |
1983 | expressions of any type as attribute arguments, not only string | |
1984 | literals. | |
1985 | * gnat_rm.texi (pragma Machine_Attribute section): Adjust to reflect | |
1986 | the relaxation of the restriction on the Info argument type. | |
1987 | ||
c172df28 AH |
1988 | 2009-06-13 Aldy Hernandez <aldyh@redhat.com> |
1989 | ||
1990 | * gcc-interface/utils.c (record_builtin_type): Pass location | |
1991 | argument to build_decl. | |
1992 | (create_type_stub_decl): Same. | |
1993 | (create_type_decl): Same. | |
1994 | (create_var_decl_1): Same. | |
1995 | (create_field_decl): Same. | |
1996 | (create_param_decl): Same. | |
1997 | (create_label_decl): Same. | |
c172df28 AH |
1998 | (create_subprog_decl): Same. |
1999 | * gcc-interface/decl.c (gnat_to_gnu_entity): Same. | |
2000 | * gcc-interface/trans.c (Case_Statement_to_gnu): Pass location | |
2001 | argument to create_artificial_label. | |
c172df28 AH |
2002 | (Loop_Statement_to_gnu): Same. |
2003 | (Subprogram_Body_to_gnu): Same. | |
2004 | (gnat_gimplify_stmt): Same. | |
2005 | ||
53b2323e RH |
2006 | 2009-06-11 Richard Henderson <rth@redhat.com> |
2007 | ||
cd19075f EB |
2008 | * gcc-interface/misc.c (gnat_handle_option): Rename OPT_gdwarf_ to |
2009 | OPT_gdwarfplus. | |
53b2323e | 2010 | |
2995ebee AC |
2011 | 2009-06-11 Ed Schonberg <schonberg@adacore.com> |
2012 | ||
2013 | * sem_attr.adb (Resolve_Attribute, case 'access): Add missing | |
2014 | accessibiliy check on access_to_subprogram in the context of an | |
2015 | anonymous access that is not an access parameter. | |
2016 | ||
2017 | 2009-06-11 Eric Botcazou <ebotcazou@adacore.com> | |
2018 | ||
2019 | * tracebak.c (i386 section): Define IS_BAD_PTR on Solaris. | |
2020 | ||
2021 | 2009-06-11 Quentin Ochem <ochem@adacore.com> | |
2022 | ||
2023 | * sem_warn.adb, scng.adb, sfn_scan.adb, freeze.adb: Add CODEFIX | |
2024 | comments for message handled by GPS. | |
2025 | ||
2026 | 2009-06-11 Matthew Gingell <gingell@adacore.com> | |
2027 | ||
2028 | * adaint.c: Use fopen64 instead of fopen on platforms where we know | |
2029 | it's supported. | |
2030 | ||
2031 | 2009-06-11 Pascal Obry <obry@adacore.com> | |
2032 | ||
2033 | * g-cgi.ads: Fix comment typo. | |
2034 | ||
2035 | * g-cgi.adb: Properly decode "+" in CGI parameters as spaces. | |
2036 | ||
c244bf8f EB |
2037 | 2009-06-10 Eric Botcazou <ebotcazou@adacore.com> |
2038 | ||
2039 | * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Record_Subtype>: Use | |
2040 | a reference to the original type for the type of the field of the | |
2041 | XVS type. | |
2042 | (maybe_pad_type): Likewise. | |
2043 | ||
2044 | * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Record_Type>: Factor | |
2045 | common predicate and remove redundant setting of TYPE_BY_REFERENCE_P. | |
2046 | Pass correctly typed arguments to create_field_decl. | |
2047 | <E_Record_Subtype>: Set BLKmode for tagged and limited types in the | |
2048 | case of contrained discriminants as well. Use the padded base type | |
2049 | in the other case as well. Rename temporary variable. Tweak test. | |
2050 | Factor common access pattern. Set GNU_SIZE only once. | |
2051 | ||
ff346f70 OH |
2052 | 2009-06-09 Olivier Hainque <hainque@adacore.com> |
2053 | ||
2054 | * gcc-interface/utils2.c (build_call_alloc_dealloc_proc): New | |
2055 | helper for build_call_alloc_dealloc with arguments to be interpreted | |
2056 | identically. Process the case where a GNAT_PROC to call is provided. | |
2057 | (maybe_wrap_malloc): New helper for build_call_alloc_dealloc, to build | |
2058 | and return an allocator for DATA_SIZE bytes aimed at containing a | |
2059 | DATA_TYPE object, using the default __gnat_malloc allocator. Honor | |
2060 | DATA_TYPE alignments greater than what the latter offers. | |
2061 | (maybe_wrap_free): New helper for build_call_alloc_dealloc, to | |
2062 | release a DATA_TYPE object designated by DATA_PTR using the | |
2063 | __gnat_free entry point. | |
2064 | (build_call_alloc_dealloc): Expect object data type instead of naked | |
2065 | alignment constraint. Use the new helpers. | |
2066 | (build_allocator): Remove special processing for the super-aligned | |
2067 | case, now handled by build_call_alloc_dealloc. Pass data | |
2068 | type instead of the former alignment argument, as expected by the new | |
2069 | interface. | |
2070 | * gcc-interface/gigi.h (build_call_alloc_dealloc): Adjust prototype | |
2071 | and comment. | |
2072 | * gcc-interface/trans.c (gnat_to_gnu) <case N_Free_Statement>: | |
2073 | Remove special processing for the super-aligned case, now handled | |
2074 | by build_call_alloc_dealloc. Pass data type instead of the former | |
2075 | alignment argument, as expected by the new interface. | |
2076 | ||
2153915d AO |
2077 | 2009-06-08 Alexandre Oliva <aoliva@redhat.com> |
2078 | ||
2079 | * lib-writ.adb (flag_compare_debug): Import. | |
2080 | (Write_ALI): Skip during -fcompare-debug-second. | |
2081 | ||
cdaa0e0b EB |
2082 | 2009-06-03 Eric Botcazou <ebotcazou@adacore.com> |
2083 | ||
2084 | * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Record_Type>: When | |
2085 | adjusting the discriminant nodes in an extension, use the full view | |
2086 | of the parent subtype if it is of a private kind. | |
2087 | ||
a6a29d0c EB |
2088 | 2009-06-03 Eric Botcazou <ebotcazou@adacore.com> |
2089 | ||
2090 | * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Record_Type>: Add the | |
2091 | _Parent field, if any, to the record before adding the other fields. | |
2092 | <E_Record_Subtype>: Put the _Controller field before the other fields | |
2093 | except for the _Tag or _Parent fields. | |
2094 | (components_to_record): Likewise. Retrieve the _Parent field from the | |
2095 | record type. | |
2096 | ||
8cd28148 EB |
2097 | 2009-06-03 Eric Botcazou <ebotcazou@adacore.com> |
2098 | ||
2099 | * gcc-interface/decl.c (substitution_list): Rename to build_subst_list, | |
2100 | remove unused parameter and simplify. | |
2101 | (gnat_to_gnu_entity) <E_Record_Type>: Do not set TYPE_FIELDS. Factor | |
2102 | common predicate. Rewrite loop for clarity. Use GNU_TYPE directly | |
2103 | as context for all discriminants. Fix formatting nits. | |
2104 | <E_Record_Subtype>: Add cosmetic 'break'. Test Has_Discriminants | |
2105 | before Discriminant_Constraint. Adjust for above renaming. Do not | |
2106 | set GNU_TYPE more than once. | |
2107 | (elaborate_entity): Test Has_Discriminants on the entity and use | |
2108 | Implementation_Base_Type. | |
2109 | (components_to_record): Rename component_list to gnat_component_list. | |
2110 | Retrieve the _Parent field from the list. Fix nits in comments. | |
2111 | Clarify logic in loop. Pass correct arguments to create_field_decl. | |
2112 | ||
beb7e030 EB |
2113 | 2009-06-02 Eric Botcazou <ebotcazou@adacore.com> |
2114 | ||
2115 | * gcc-interface/Make-lang.in: Fix formatting. | |
2116 | ||
db868e1e | 2117 | 2009-06-01 Olivier Hainque <hainque@adacore.com> |
53b2323e | 2118 | Eric Botcazou <ebotcazou@adacore.com> |
db868e1e OH |
2119 | |
2120 | * gcc-interface/utils.c (convert) <CONSTRUCTOR case>: When converting | |
2121 | to the packable version of the type, clear TREE_STATIC/TREE_CONSTANT | |
2122 | on the result if at least one of the input fields couldn't be output | |
2123 | as a static constant any more. | |
2124 | ||
324c9b02 | 2125 | 2009-06-01 Olivier Hainque <hainque@adacore.com> |
53b2323e | 2126 | Eric Botcazou <ebotcazou@adacore.com> |
324c9b02 OH |
2127 | |
2128 | * gcc-interface/utils2.c (gnat_build_constructor): Factor | |
18d6353c | 2129 | out code. Use initializer_constant_valid_for_bitfield_p and |
324c9b02 OH |
2130 | CONSTRUCTOR_BITFIELD_P for bit-fields. |
2131 | ||
7980bfb8 ILT |
2132 | 2009-05-26 Ian Lance Taylor <iant@google.com> |
2133 | ||
2134 | * gcc-interface/Makefile.in (COMPILER): Define. | |
2135 | (COMPILER_FLAGS, ALL_COMPILERFLAGS): Define. | |
2136 | (.c.o, cio.o, init.o, initialize.o, targext.o): Use $(COMPILER). | |
2137 | (seh_init.o, tracebak.o): Likewise. | |
2138 | * gcc-interface/Make-lang.in (ada/targext.o): Likewise. | |
2139 | (ada/cio.o, ada/init.o, ada/initialize.o, ada/raise.o): Likewise. | |
2140 | (ada/tracebak.o, ada/cuintp.o, ada/decl.o, ada/misc.o): Likewise. | |
2141 | (ada/targtyps.o, ada/trans.o, ada/utils.o): Likewise. | |
2142 | (ada/utils2.o): Likewise. | |
2143 | ||
6e00e546 OH |
2144 | 2009-05-24 Olivier Hainque <hainque@adacore.com> |
2145 | ||
2146 | * switch.adb (Is_Internal_GCC_Switch, Switch_Last): Bodies of ... | |
2147 | * switch.ads (Is_Internal_GCC_Switch, Switch_Last): New functions. | |
2148 | Add -auxbase variants to the list of recognized internal switches. | |
2149 | * back_end.adb (Scan_Back_End_Switches): Use the new functions and | |
2150 | adjust comments. | |
2151 | * lib.ads: Make comment on internal GCC switches more general. | |
2152 | * gcc-interface/lang-specs.h (specs for Ada): Pass -auxbase variants | |
2153 | as for C. | |
2154 | ||
22702f93 EB |
2155 | 2009-05-23 Eric Botcazou <ebotcazou@adacore.com> |
2156 | ||
2157 | * gcc-interface/misc.c (gnat_get_subrange_bounds): Fix thinko. | |
2158 | ||
03049a4e EB |
2159 | 2009-05-23 Eric Botcazou <ebotcazou@adacore.com> |
2160 | ||
2161 | * gcc-interface/decl.c (set_rm_size): Bypass the check for packed array | |
2162 | types. | |
2163 | ||
aae8570a EB |
2164 | 2009-05-23 Eric Botcazou <ebotcazou@adacore.com> |
2165 | ||
2166 | * gcc-interface/decl.c (gnat_to_gnu_entity) <object>: Do not modify the | |
2167 | original type because of the alignment when there is an address clause. | |
2168 | ||
3f6f0eb2 EB |
2169 | 2009-05-20 Eric Botcazou <ebotcazou@adacore.com> |
2170 | ||
2171 | * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Record_Subtype>: When | |
2172 | discriminants affect the shape of the subtype, retrieve the GCC type | |
2173 | directly from the original field if the GNAT types for the field and | |
2174 | the original field are the same. | |
2175 | ||
84fb43a1 EB |
2176 | 2009-05-15 Eric Botcazou <ebotcazou@adacore.com> |
2177 | ||
2178 | * gcc-interface/ada-tree.h (TYPE_GCC_MIN_VALUE, TYPE_GCC_MAX_VALUE): | |
2179 | New macros. | |
2180 | (TYPE_RM_VALUES): Likewise. | |
2181 | (TYPE_RM_SIZE): Rewrite in terms of TYPE_RM_VALUES. | |
2182 | (SET_TYPE_RM_SIZE): New macro. | |
2183 | (TYPE_RM_MIN_VALUE, TYPE_RM_MAX_VALUE): Likewise. | |
2184 | (SET_TYPE_RM_SIZE, SET_TYPE_RM_MAX_VALUE): Likewise. | |
2185 | (TYPE_MIN_VALUE, TYPE_MAX_VALUE): Redefine. | |
2186 | * gcc-interface/gigi.h (create_range_type): Declare. | |
2187 | * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Modular_Integer_Type> | |
2188 | Use SET_TYPE_RM_MAX_VALUE to set the upper bound on the UMT type. | |
2189 | <E_Signed_Integer_Subtype>: Build a regular integer type first and | |
2190 | then set the RM bounds. Use SET_TYPE_RM_SIZE to set the RM size. | |
2191 | <E_Floating_Point_Subtype>: Build a regular floating-point type first | |
2192 | and then set the RM bounds. | |
2193 | <E_Array_Type>: Use create_range_type instead of build_range_type. | |
2194 | <E_Array_Subtype>: Build a regular integer type first and then set | |
2195 | the RM bounds for the extra subtype. | |
2196 | <E_String_Literal_Subtype>: Use create_range_type instead of | |
2197 | build_range_type. | |
2198 | <all>: Set the RM bounds for enumeration types and the GCC bounds for | |
2199 | floating-point types. | |
2200 | (set_rm_size): Use SET_TYPE_RM_SIZE to set the RM size. | |
2201 | (make_type_from_size) <INTEGER_TYPE>: Use SET_TYPE_RM_{MIN,MAX}_VALUE | |
2202 | to set the bounds. Use SET_TYPE_RM_SIZE to set the RM size. | |
2203 | (substitute_in_type) <INTEGER_TYPE>: Deal with GCC bounds for domain | |
2204 | types and with RM bounds for subtypes. | |
2205 | * gcc-interface/misc.c (LANG_HOOKS_GET_SUBRANGE_BOUNDS): Define. | |
2206 | (gnat_print_type) <REAL_TYPE>: New case. | |
2207 | <ENUMERAL_TYPE>: Fall through to above case. | |
2208 | (gnat_get_subrange_bounds): New function. | |
2209 | * gcc-interface/trans.c (add_decl_expr): Mark the trees rooted as | |
2210 | TYPE_RM_MIN_VALUE and TYPE_RM_MAX_VALUE, if any. | |
2211 | * gcc-interface/utils.c (gnat_init_decl_processing): Use precision 8 | |
2212 | for booleans. Adjust and use SET_TYPE_RM_SIZE to set the RM size. | |
2213 | (create_range_type): New function. | |
2214 | (create_param_decl): Build a regular integer type first and then set | |
2215 | the RM bounds for the extra subtype. | |
2216 | (unchecked_convert): Remove kludge for 'Valid. | |
2217 | * gcc-interface/utils2.c (build_binary_op) <ARRAY_RANGE_REF>: Convert | |
2218 | the index to sizetype instead of TYPE_DOMAIN. | |
2219 | ||
a531043b EB |
2220 | 2009-05-14 Eric Botcazou <ebotcazou@adacore.com> |
2221 | ||
2222 | * gcc-interface/decl.c (elaborate_expression_1): Remove GNAT_EXPR | |
2223 | parameter and move check for static expression to... | |
2224 | (elaborate_expression): ...here. Adjust call to above function. | |
2225 | (gnat_to_gnu_entity): Likewise for all calls. Use correct arguments | |
2226 | in calls to elaborate_expression. | |
2227 | (elaborate_entity): Likewise. | |
2228 | (substitution_list): Likewise. | |
2229 | (maybe_variable): Fix formatting. | |
2230 | (substitute_in_type) <REAL_TYPE>: Merge with INTEGER_TYPE case and add | |
2231 | missing guard. | |
2232 | * gcc-interface/trans.c (protect_multiple_eval): Minor cleanup. | |
2233 | ||
59141a28 AC |
2234 | 2009-05-07 Arnaud Charlet <charlet@adacore.com> |
2235 | ||
c608b4d2 | 2236 | * gcc-interface/Make-lang.in: Update dependencies. |
59141a28 | 2237 | |
c608b4d2 EB |
2238 | 2009-05-06 Laurent GUERBY <laurent@guerby.net> |
2239 | ||
2240 | * s-linux.ads, s-linux-alpha.ads, s-linux-hppa.ads, osinte-linux.ads: | |
2241 | Define sa_handler_pos. | |
2242 | * s-osinte-linux.ads: Use it. | |
2243 | * s-linux-mipsel.ads: New. | |
2244 | * system-linux-mips64el.ads: New. | |
2245 | * gcc-interface/Makefile.in: Multilib handling for mipsel-linux and | |
2246 | mips64el-linux. | |
e84efdce | 2247 | |
1f110335 AC |
2248 | 2009-05-06 Arnaud Charlet <charlet@adacore.com> |
2249 | ||
2250 | * exp_ch5.adb, exp_util.adb, exp_attr.adb, sem_util.adb, sem_res.adb, | |
2251 | targparm.adb, targparm.ads, exp_ch4.adb, exp_ch6.adb, exp_disp.adb, | |
2252 | opt.ads, exp_aggr.adb, exp_intr.adb, sem_disp.adb, exp_ch3.adb | |
2253 | (Tagged_Type_Expansion): New flag. | |
2254 | Replace use of VM_Target related to tagged types expansion by | |
2255 | Tagged_Type_Expansion, since tagged type expansion is not necessarily | |
2256 | linked to VM targets. | |
2257 | ||
e0bf7d65 RD |
2258 | 2009-05-06 Robert Dewar <dewar@adacore.com> |
2259 | ||
1f110335 AC |
2260 | * sem_attr.adb: Add processing for Standard'Compiler_Version |
2261 | ||
e0bf7d65 RD |
2262 | * sinput.adb (Expr_Last_Char): Fix some copy-paste errors for paren |
2263 | skipping. | |
2264 | (Expr_First_Char): Add ??? comment that paren skipping needs work | |
2265 | (Expr_Last_Char): Add ??? comment that paren skipping needs work | |
2266 | ||
2267 | * exp_attr.adb: Add processing for Compiler_Version | |
2268 | ||
2269 | * sem_attr.adb: New attribute Compiler_Version | |
2270 | ||
2271 | * snames.ads-tmpl: Add entries for Compiler_Version attribute | |
2272 | ||
2273 | * gnat_rm.texi: Document Compiler_Version attribute | |
2274 | ||
483c78cb RD |
2275 | 2009-05-06 Robert Dewar <dewar@adacore.com> |
2276 | ||
2277 | * errout.adb: Minor reformatting | |
2278 | ||
2279 | * scng.adb, sem_prag.adb, par-ch4.adb, sem_res.adb, par-ch6.adb, | |
2280 | sem_ch6.adb, par-prag.adb, sem_ch8.adb, sem_warn.adb, par-util.adb, | |
2281 | styleg.adb: Add stylized comments to error messages that are included | |
2282 | in the codefix circuitry of IDE's such as GPS. | |
2283 | ||
4e7a4f6e AC |
2284 | 2009-05-06 Sergey Rybin <rybin@adacore.com> |
2285 | ||
2286 | * gnat_ugn.texi: For Misnamed_Identifiers rule all description of the | |
2287 | new form of the rule parameter that allows to specify the suffix for | |
2288 | access-to-access type names. | |
2289 | ||
2290 | 2009-05-06 Robert Dewar <dewar@adacore.com> | |
2291 | ||
2292 | * sem_warn.adb (Warn_On_Useless_Assignment): Avoid false negative for | |
2293 | out parameter assigned when exception handlers are present. | |
2294 | ||
2295 | * sem_ch5.adb (Analyze_Exit_Statement): Kill current value last | |
2296 | assignments on exit. | |
2297 | ||
2298 | * par-ch9.adb, sem_aggr.adb, par-endh.adb, sem_res.adb, par-ch6.adb, | |
2299 | sinput-l.adb, par-load.adb, errout.ads, sem_ch4.adb, lib-load.adb, | |
2300 | prj-dect.adb, par-ch12.adb, sem_ch8.adb, par-util.adb, par-ch3.adb, | |
2301 | par-tchk.adb, par-ch5.adb: This patch adds stylized comments to error | |
2302 | messages that are included in the codefix circuitry of IDE's such as | |
2303 | GPS. | |
2304 | ||
2305 | * sinput.ads, sinput.adb (Expr_First_Char): New function | |
53b2323e | 2306 | (Expr_Last_Char): New function |
4e7a4f6e | 2307 | |
35117aa8 AC |
2308 | 2009-05-06 Sergey Rybin <rybin@adacore.com> |
2309 | ||
2310 | * gnat_ugn.texi: Add subsection for Exits_From_Conditional_Loops rule | |
2311 | Add formal definition for extra exit point metric | |
2312 | ||
2313 | 2009-05-06 Pascal Obry <obry@adacore.com> | |
2314 | ||
2315 | * adaint.c: Support for setting attributes on unicode filename on | |
2316 | Windows. | |
2317 | ||
0c020dde AC |
2318 | 2009-05-06 Robert Dewar <dewar@adacore.com> |
2319 | ||
2320 | * sem_warn.adb: Minor reformatting | |
2321 | ||
2322 | 2009-05-06 Javier Miranda <miranda@adacore.com> | |
2323 | ||
2324 | * sem_prag.adb (Process_Import_Or_Interface): Imported CPP types must | |
2325 | not have discriminants or components with default expressions. | |
2326 | (Analyze_Pragma): For pragma CPP_Class check that imported types | |
2327 | have no discriminants and components have no default expression. | |
2328 | ||
2329 | * sem_aggr.adb (Resolve_Aggr_Expr): Add missing check on wrong use of | |
2330 | class-wide types in the expression of a record component association. | |
2331 | ||
2332 | 2009-05-06 Sergey Rybin <rybin@adacore.com> | |
2333 | ||
2334 | * vms_data.ads: Add qualifier for gnatmetric extra exit points metric | |
2335 | ||
2336 | * gnat_ugn.texi: Add description for the new extra exit points metric | |
2337 | (gnatmetric section). | |
2338 | ||
deef4289 AC |
2339 | 2009-05-06 Robert Dewar <dewar@adacore.com> |
2340 | ||
2341 | * s-fileio.adb: Minor comment update | |
2342 | ||
2343 | * sem_ch8.adb: Minor reformatting | |
2344 | ||
2345 | * exp_ch3.adb: Update comments. | |
2346 | ||
2347 | 2009-05-06 Tristan Gingold <gingold@adacore.com> | |
2348 | ||
2349 | * init.c, s-osinte-darwin.ads: Reduce alternate stack size | |
2350 | ||
89522556 AC |
2351 | 2009-05-06 Arnaud Charlet <charlet@adacore.com> |
2352 | ||
2353 | * gcc-interface/Makefile.in: Update LIBGNAT_TARGET_PAIRS for Xenomai. | |
2354 | Fix missing unit for rtp-smp runtime on both ppc and x86 vxworks | |
2355 | ||
2356 | * gcc-interface/Make-lang.in: Update dependencies | |
2357 | ||
a693f55e AC |
2358 | 2009-05-06 Ed Schonberg <schonberg@adacore.com> |
2359 | ||
2360 | * sem_ch12.adb (Build_Instance_Compilation_Unit_Nodes): Revert previous | |
2361 | change. The context clause of a generic instance declaration must be | |
2362 | preserved until the end of the compilation, because it may have to be | |
2363 | installed/removed repeatedly. | |
2364 | The latest change to sem.adb ensures that the context of both spec and | |
2365 | body of an instance is traversed before the instance itself, making | |
2366 | this patch redundant. | |
2367 | ||
e264efcc AC |
2368 | 2009-05-06 Gary Dismukes <dismukes@adacore.com> |
2369 | ||
2370 | * sem_aggr.adb: Fix typo. | |
2371 | ||
2372 | 2009-05-06 Thomas Quinot <quinot@adacore.com> | |
2373 | ||
2374 | * exp_ch3.adb (Expand_N_Object_Declaration): For a controlled object | |
2375 | declaration, do not adjust if the declaration is to be rewritten into | |
2376 | a renaming. | |
2377 | ||
2378 | 2009-05-06 Ed Schonberg <schonberg@adacore.com> | |
2379 | ||
2380 | * sem_ch8.adb (Find_Type): Reject the use of a task type in its own | |
2381 | discriminant part. | |
2382 | ||
2383 | 2009-05-06 Bob Duff <duff@adacore.com> | |
2384 | ||
2385 | * s-fileio.adb (File_IO_Clean_Up_Type): Make this type limited, since | |
2386 | otherwise the compiler would be allowed to optimize away the cleanup | |
2387 | code. | |
2388 | ||
69a0c174 AC |
2389 | 2009-05-06 Gary Dismukes <dismukes@adacore.com> |
2390 | ||
2391 | * gnat_ugn.texi: Fix typo. | |
2392 | ||
2393 | 2009-05-06 Thomas Quinot <quinot@adacore.com> | |
2394 | ||
2395 | * g-debuti.adb: Minor reformatting | |
2396 | ||
2397 | * exp_attr.adb: Minor reformatting | |
2398 | ||
2399 | 2009-05-06 Robert Dewar <dewar@adacore.com> | |
2400 | ||
2401 | * sem_aggr.adb: Minor reformatting. | |
2402 | ||
2403 | * g-socthi-vms.adb: Minor reformatting | |
2404 | ||
2405 | 2009-05-06 Bob Duff <duff@adacore.com> | |
2406 | ||
2407 | * g-table.ads, g-table.adb, g-dyntab.ads, g-dyntab.adb: | |
2408 | (Append_All): Add Append_All to g-table and g-dyntab, similar to table. | |
2409 | ||
4e0d20ca BD |
2410 | 2009-05-06 Bob Duff <duff@adacore.com> |
2411 | ||
2412 | * gnat_ugn.texi, gnat_rm.texi: Add missing documentation for warnings | |
2413 | flags. | |
2414 | ||
11795185 JM |
2415 | 2009-05-06 Javier Miranda <miranda@adacore.com> |
2416 | ||
2417 | * sem_aggr.adb (Valid_Ancestor_Type): Add support for C++ constructors. | |
2418 | (Resolve_Extension_Aggregate): Do not reject C++ constructors in | |
2419 | extension aggregates. | |
2420 | (Resolve_Record_Aggregate): Add support for C++ constructors in | |
2421 | extension aggregates. | |
2422 | ||
2423 | * exp_aggr.adb (Build_Record_Aggr_Code): Add support for C++ | |
2424 | constructors in extension aggregates. | |
2425 | ||
426d2717 AC |
2426 | 2009-05-06 Robert Dewar <dewar@adacore.com> |
2427 | ||
2428 | * freeze.adb (Freeze_Record_Type): Improve error msg for bad size | |
2429 | clause. | |
2430 | ||
2431 | 2009-05-06 Thomas Quinot <quinot@adacore.com> | |
2432 | ||
2433 | * g-socthi-vms.adb (C_Recvmsg, C_Sendmsg): Convert Msg to appropriate | |
2434 | packed type, since on OpenVMS, struct msghdr is packed. | |
2435 | ||
2436 | 2009-05-06 Ed Schonberg <schonberg@adacore.com> | |
2437 | ||
2438 | * sem_ch8.adb (Analyze_Object_Renaming): If the object is a function | |
2439 | call returning an unconstrained composite value, create the proper | |
2440 | subtype for it, as is done for object dclarations with unconstrained | |
2441 | nominal subtypes. Perform this transformation regarless of whether | |
2442 | call comes from source. | |
2443 | ||
8dc10d38 AC |
2444 | 2009-05-06 Robert Dewar <dewar@adacore.com> |
2445 | ||
2446 | * freeze.adb (Freeze_Record_Type): Implement Implicit_Packing for | |
2447 | records | |
2448 | ||
2449 | * gnat_rm.texi: | |
2450 | Add documentation for pragma Implicit_Packing applied to record | |
2451 | types. | |
2452 | ||
2453 | 2009-05-06 Ed Schonberg <schonberg@adacore.com> | |
2454 | ||
2455 | * sem.adb (Walk_Library_Items): Place all with_clauses of an | |
2456 | instantiation on the spec, because late instance bodies may generate | |
2457 | with_clauses for the instance body but are inserted in the instance | |
2458 | spec. | |
2459 | ||
3249690d AC |
2460 | 2009-05-06 Emmanuel Briot <briot@adacore.com> |
2461 | ||
2462 | * prj-nmsc.adb (Locate_Directory): Remove unused parameters, and add | |
2463 | support for returning the directory even if it doesn't exist. This is | |
2464 | used for the object directory, since we are always setting it to a | |
2465 | non-null value, and we should set it to an absolute name rather than a | |
2466 | relative name for the sake of external tools that might depend on it. | |
2467 | (Check_Library_Attributes): When Project.Library_Dir is known, check | |
2468 | that the directory exists. | |
2469 | ||
2470 | 2009-05-06 Ed Schonberg <schonberg@adacore.com> | |
2471 | ||
2472 | * sem_attr.adb (Check_Dereference): If the prefix of an attribute | |
2473 | reference is an implicit dereference, do not freeze the designated type | |
2474 | if within a default expression or when preanalyzing a pre/postcondtion. | |
2475 | ||
fd366a46 AC |
2476 | 2009-05-06 Ed Schonberg <schonberg@adacore.com> |
2477 | ||
2478 | * sem_ch8.adb (Analyze_Object_Renaming): If the object is a function | |
2479 | call returning an unconstrained composite value, create the proper | |
2480 | subtype for it, as is done for object dclarations with unconstrained | |
2481 | nominal subtypes | |
2482 | ||
2483 | 2009-05-06 Robert Dewar <dewar@adacore.com> | |
2484 | ||
2485 | * sem_ch13.adb (Check_Constant_Address_Clause): Minor error message | |
2486 | improvements | |
2487 | ||
2488 | * freeze.adb: Minor reformatting | |
2489 | ||
7dd1ab84 AC |
2490 | 2009-05-06 Thomas Quinot <quinot@adacore.com> |
2491 | ||
2492 | * sem_ch3.adb (Access_Type_Declaration): An access type whose | |
2493 | designated type is a limited view from a limited with clause (flagged | |
2494 | From_With_Type) is not itself such a limited view. | |
2495 | ||
2496 | 2009-05-06 Emmanuel Briot <briot@adacore.com> | |
2497 | ||
2498 | * prj-nmsc.adb: Remove unused variable. | |
2499 | ||
2500 | * clean.adb, gnatcmd.adb, makeutl.ads, prj-pars.adb, prj-pars.ads, | |
2501 | prj-proc.ads, prj.ads, switch-m.adb (Subdirs_Option): Moved to | |
2502 | makeutl.ads, since not all users of prj.ads need this. | |
2503 | ||
28541488 JM |
2504 | 2009-05-06 Javier Miranda <miranda@adacore.com> |
2505 | ||
2506 | * exp_aggr.adb (Build_Record_Aggr_Code): Add implicit call to the C++ | |
2507 | constructor in case of aggregates whose type is a CPP_Class type. | |
2508 | ||
55c078ac AC |
2509 | 2009-05-06 Robert Dewar <dewar@adacore.com> |
2510 | ||
2511 | * sem_ch13.adb: Minor comment additions | |
2512 | ||
2513 | * osint.adb: Minor reformatting | |
2514 | ||
2515 | 2009-05-06 Pascal Obry <obry@adacore.com> | |
2516 | ||
2517 | * initialize.c: On Windows, keep full pathname to expanded command | |
2518 | line patterns. | |
2519 | ||
6bde3eb5 AC |
2520 | 2009-05-06 Ed Schonberg <schonberg@adacore.com> |
2521 | ||
2522 | * sem_aggr.adb (Resolve_Record_Aggregate): If a defaulted component of | |
2523 | an aggregate with box default is of a discriminated private type, do | |
2524 | not build a subaggregate for it. | |
2525 | A proper call to the initialization procedure is generated for it. | |
2526 | ||
2527 | 2009-05-06 Thomas Quinot <quinot@adacore.com> | |
2528 | ||
2529 | * rtsfind.adb, rtsfind.ads, exp_dist.adb, exp_dist.ads | |
2530 | (Exp_Dist.Build_TC_Call, Build_From_Any_Call, Build_To_Any_Call): | |
2531 | Use PolyORB strings to represent Ada.Strings.Unbounded_String value; | |
2532 | use standard array code for Standard.String. | |
2533 | (Exp_Dist): Bump PolyORB s-parint API version to 3. | |
2534 | (Rtsfind): New entities TA_Std_String, Unbounded_String. | |
2535 | ||
2536 | 2009-05-06 Robert Dewar <dewar@adacore.com> | |
2537 | ||
2538 | * g-comlin.ads: Minor reformatting | |
2539 | ||
2540 | * xoscons.adb: Minor reformatting | |
2541 | ||
3743d5bd AC |
2542 | 2009-05-06 Gary Dismukes <dismukes@adacore.com> |
2543 | ||
2544 | * sem_aggr.adb (Resolve_Record_Aggregate): In step 5, get the | |
2545 | Underlying_Type before retrieving the type definition for gathering | |
2546 | components, to account for the case where the type is private. | |
2547 | ||
2548 | 2009-05-06 Tristan Gingold <gingold@adacore.com> | |
2549 | ||
2550 | * g-comlin.ads: Fix minor typos (Getopt instead of Get_Opt). | |
2551 | ||
2552 | 2009-05-06 Thomas Quinot <quinot@adacore.com> | |
2553 | ||
2554 | * g-socthi-vms.adb, g-socthi-vms.ads, g-socthi-vxworks.adb, | |
2555 | g-socthi-vxworks.ads, g-socthi-mingw.adb g-socthi-mingw.ads, | |
2556 | g-socthi.adb, g-stsifd-sockets.adb, g-socthi.ads, g-socket.adb | |
2557 | (GNAT.Sockets.Thin.C_Sendmsg, GNAT.Sockets.Thin.C_Recvmsg, | |
2558 | Windows versions): Fix incorrect base | |
2559 | address of Iovec (it's Msg_Iov, not Msg_Iov'Address). | |
2560 | (GNAT.Sockets.Thin.C_Sendto, GNAT.Sockets.Thin.C_Recvfrom): Use a | |
2561 | System.Address for the To parameter instead of a Sockaddr_In_Access, to | |
2562 | achieve independance from AF_INET family, and also to allow this | |
2563 | parameter to be retrieved from a Msghdr for the Windows case where | |
2564 | these routines are used to implement C_Sendmsg and C_Recvmsg. | |
2565 | ||
2566 | 2009-05-06 Bob Duff <duff@adacore.com> | |
2567 | ||
2568 | * g-expect.adb, g-expect.ads: Minor reformatting | |
2569 | ||
2570 | * sdefault.ads: Minor comment fix | |
2571 | ||
2572 | * g-expect-vms.adb: Minor reformatting | |
2573 | ||
2574 | * table.ads, table.adb (Append_All): New convenience procedure for | |
2575 | appending a whole array. | |
2576 | ||
2577 | * comperr.adb (Compiler_Abort): Mention the -gnatd.n switch in the bug | |
2578 | box message. Call Osint.Dump_Source_File_Names to print out the file | |
2579 | list, instead of rummaging around in various data structures. | |
2580 | ||
2581 | * debug.adb: New switch -gnatd.n, to print source file names as they | |
2582 | are read. | |
2583 | ||
2584 | * alloc.ads: Add parameters for Osint.File_Name_Chars. | |
2585 | ||
2586 | * osint.ads, osint.adb (Dump_Source_File_Names): New procedure to print | |
2587 | out source file names during a "bug box". | |
2588 | (Include_Dir_Default_Prefix): Use memo-izing to avoid repeated new/free. | |
2589 | (Read_Source_File): Print out the file name, if requested via -gnatd.n. | |
2590 | If it's not part of the runtimes, store it for later printing by | |
2591 | Dump_Source_File_Names. | |
2592 | ||
2593 | 2009-05-06 Javier Miranda <miranda@adacore.com> | |
2594 | ||
2595 | * gnat_rm.texi (CPP_Constructor): Avoid duplication of the | |
2596 | documentation and add reference to the GNAT user guide for further | |
2597 | details. | |
2598 | ||
2599 | 2009-05-06 Javier Miranda <miranda@adacore.com> | |
2600 | ||
2601 | * gnat_ugn.texi: Complete documentation for CPP_Constructor and remove | |
2602 | also wrong examples that use extension aggregates. | |
2603 | ||
2604 | 2009-05-06 Albert Lee <lee@adacore.com> | |
2605 | ||
2606 | * s-oscons-tmplt.c (System.OS_Constants): Do not use special definition | |
2607 | of Msg_Iovlen_T for VMS. | |
2608 | ||
ffef1219 LG |
2609 | 2009-05-04 Laurent GUERBY <laurent@guerby.net> |
2610 | ||
2611 | PR ada/38874 | |
2612 | * make.adb (Scan_Make_Arg): Pass --param= to compiler and linker. | |
2613 | ||
70b70ce8 AC |
2614 | 2009-04-29 Ed Schonberg <schonberg@adacore.com> |
2615 | ||
2616 | * sem_ch8.adb (Analyze_Subprogram_Renaming): Improve error message on | |
2617 | box-defaulted operator in an instantiation, when the type of the | |
2618 | operands is not directly visible. | |
2619 | ||
2620 | 2009-04-29 Gary Dismukes <dismukes@adacore.com> | |
2621 | ||
2622 | * sem_aggr.adb (Valid_Limited_Ancestor): Undo previous change. | |
2623 | (Resolve_Extension_Aggregate): Call Check_Parameterless_Call after the | |
2624 | analysis of the ancestor part. Remove prohibition against limited | |
2625 | interpretations of the ancestor expression in the case of Ada 2005. | |
2626 | Revise error message in overloaded case, adding a message to cover | |
2627 | the Ada 2005 case. | |
2628 | ||
2629 | 2009-04-29 Thomas Quinot <quinot@adacore.com> | |
2630 | ||
2631 | * xoscons.adb: Minor reformatting | |
2632 | ||
2633 | 2009-04-29 Bob Duff <duff@adacore.com> | |
2634 | ||
2635 | * sem_ch13.adb (Analyze_Attribute_Definition_Clause): Do not ignore | |
2636 | attribute_definition_clauses for the following attributes when the | |
2637 | -gnatI switch is used: External_Tag, Input, Output, Read, Storage_Pool, | |
2638 | Storage_Size, Write. Otherwise, we get spurious errors (for example, | |
2639 | missing Read attribute on remote types). | |
2640 | ||
2641 | * gnat_ugn.texi: Document the change, and add a stern warning. | |
2642 | ||
2643 | 2009-04-29 Ed Schonberg <schonberg@adacore.com> | |
2644 | ||
2645 | * sem_attr.adb (Check_Local_Access): Indicate that value tracing is | |
2646 | disabled not just for the current scope, but for the innermost dynamic | |
2647 | scope as well. | |
2648 | ||
4cc51f5e AC |
2649 | 2009-04-29 Arnaud Charlet <charlet@adacore.com> |
2650 | ||
2651 | * gcc-interface/Make-lang.in: Update dependencies | |
2652 | ||
107b023c AC |
2653 | 2009-04-29 Vincent Celier <celier@adacore.com> |
2654 | ||
2655 | * prj-part.adb: Minor comment update | |
2656 | ||
2657 | 2009-04-29 Ed Schonberg <schonberg@adacore.com> | |
2658 | ||
2659 | * sem_aggr.adb (Resolve_Record_Aggregate): handle properly | |
2660 | box-initialized records with discriminated subcomponents that are | |
2661 | constrained by discriminants of enclosing components. New subsidiary | |
2662 | procedures Add_Discriminant_Values, Propagate_Discriminants. | |
2663 | ||
2664 | 2009-04-29 Arnaud Charlet <charlet@adacore.com> | |
2665 | ||
2666 | * g-socket.adb: Code clean up. | |
2667 | ||
1933c497 AC |
2668 | 2009-04-29 Gary Dismukes <dismukes@adacore.com> |
2669 | ||
2670 | * sem_aggr.adb (Valid_Limited_Ancestor): Add test for the name of a | |
2671 | function entity, to cover the case of a parameterless function call | |
2672 | that has not been resolved. | |
2673 | ||
2674 | 2009-04-29 Robert Dewar <dewar@adacore.com> | |
2675 | ||
2676 | * err_vars.ads, prj-part.adb, scans.ads, exp_tss.adb: Minor | |
2677 | reformatting and comment updates. | |
2678 | ||
51ec70b8 AC |
2679 | 2009-04-29 Arnaud Charlet <charlet@adacore.com> |
2680 | ||
2681 | * gnat_ugn.texi: Update some documentation about interfacing with C++ | |
2682 | Mention -fkeep-inline-functions. | |
2683 | ||
2684 | * gnat_ugn.texi: Minor edits | |
2685 | ||
2686 | 2009-04-29 Ed Schonberg <schonberg@adacore.com> | |
2687 | ||
2688 | * sem_aggr.adb (Resolve_Record_Aggregate): When building an aggregate | |
2689 | for a defaulted component of an enclosing aggregate, inherit the type | |
2690 | from the component declaration of the enclosing type. | |
2691 | ||
2692 | 2009-04-29 Albert Lee <lee@adacore.com> | |
2693 | ||
2694 | * g-socthi-vms.ads, g-socthi-vxworks.ads, s-oscons-tmplt.c, | |
2695 | g-socthi-mingw.ads, g-socthi.ads, g-socket.adb, g-sothco.ads | |
2696 | (System.OS_Constants): New type Msg_Iovlen_T which follows whether the | |
2697 | msg_iovlen field in struct msghdr is 32 or 64 bits wide. | |
2698 | Relocate the Msghdr record type from GNAT.Sockets.Thin to | |
2699 | GNAT.Sockets.Common, and use System.OS_Constants.Msg_Iovlen_T as the | |
2700 | type for the Msg_Iovlen field. | |
2701 | ||
9e895ab5 AC |
2702 | 2009-04-29 Vincent Celier <celier@adacore.com> |
2703 | ||
2704 | * sinput-l.adb (Load_File): When preprocessing, set temporarily the | |
2705 | Source_File_Index_Table entries for the source, to avoid crash when | |
2706 | reporting an error. | |
2707 | ||
2708 | * gnatcmd.adb (Test_If_Relative_Path): Use | |
2709 | Makeutl.Test_If_Relative_Path. | |
2710 | ||
2711 | * makeutl.adb:(Test_If_Relative_Path): Process switches --RTS= only if | |
2712 | Including_RTS is True. | |
2713 | ||
2714 | * makeutl.ads (Test_If_Relative_Path): New Boolean parameter | |
2715 | Including_RTS defaulted to False. | |
2716 | ||
2717 | * sinput.ads, scans.ads, err_vars.ads: Initialize some variables with | |
2718 | a default value. | |
2719 | ||
2720 | 2009-04-29 Javier Miranda <miranda@adacore.com> | |
2721 | ||
2722 | * gnat_ugn.texi: Adding documentation for non-default C++ constructors. | |
2723 | ||
236fecbf JM |
2724 | 2009-04-29 Javier Miranda <miranda@adacore.com> |
2725 | ||
2726 | * sem_ch3.adb (Analyze_Object_Declaration): Disable error message | |
2727 | associated with dyamically tagged expressions if the expression | |
2728 | initializing a tagged type corresponds with a non default CPP | |
2729 | constructor. | |
2730 | (OK_For_Limited_Init): CPP constructor calls are OK for initialization | |
2731 | of limited type objects. | |
2732 | ||
2733 | * sem_ch5.adb (Analyze_Assignment): Improve the error message reported | |
2734 | when a CPP constructor is called in an assignment. Disable also the | |
2735 | error message associated with dyamically tagged expressions if the | |
2736 | exporession initializing a tagged type corresponds with a non default | |
2737 | CPP constructor. | |
2738 | ||
2739 | * sem_prag.adb (Analyze_Pragma): Remove code disabling the use of | |
2740 | non-default C++ constructors. | |
2741 | ||
2742 | * sem_util.ads, sem_util.adb (Is_CPP_Constructor_Call): New subprogram. | |
2743 | ||
2744 | * exp_tss.ads, exp_tss.adb (Base_Init_Proc): Add support for | |
2745 | non-default constructors. | |
2746 | (Init_Proc): Add support for non-default constructors. | |
2747 | ||
2748 | * exp_disp.adb (Set_Default_Constructor): Removed. | |
2749 | (Set_CPP_Constructors): Code based in removed Set_Default_Constructor | |
2750 | but extending its functionality to handle non-default constructors. | |
2751 | ||
2752 | * exp_aggr.adb (Build_Record_Aggr_Code): Add support for non-default | |
2753 | constructors. Minor code cleanup removing unrequired label and goto | |
2754 | statement. | |
2755 | ||
2756 | * exp_ch3.adb (Build_Initialization_Call): Add support for non-default | |
2757 | constructors. | |
2758 | (Build_Init_Statements): Add support for non-default constructors. | |
2759 | (Expand_N_Object_Declaration): Add support for non-default constructors. | |
2760 | (Freeze_Record_Type): Replace call to Set_Default_Constructor by call | |
2761 | to Set_CPP_Constructors. | |
2762 | ||
2763 | * exp_ch5.adb (Expand_N_Assignment_Statement): Add support for | |
2764 | non-default constructors. | |
2765 | Required to handle its use in build-in-place statements. | |
2766 | ||
2767 | * gnat_rm.texi (CPP_Constructor): Document new extended use of this | |
2768 | pragma for non-default C++ constructors and the new compiler support | |
2769 | that allows the use of these constructors in record components, limited | |
2770 | aggregates, and extended return statements. | |
2771 | ||
0ec21a5b AC |
2772 | 2009-04-29 Vincent Celier <celier@adacore.com> |
2773 | ||
2774 | * prj-part.adb (Parse_Single_Project): Do not attempt to find a | |
2775 | project extending an abstract project. | |
2776 | ||
2777 | 2009-04-29 Eric Botcazou <ebotcazou@adacore.com> | |
2778 | ||
2779 | * targparm.ads: Fix oversight. | |
2780 | ||
96b20738 ES |
2781 | 2009-04-29 Ed Schonberg <schonberg@adacore.com> |
2782 | ||
2783 | * lib-xref.adb (Output_Overridden_Op): Follow several levels of | |
2784 | derivation when necessary, to find the user-subprogram that is actally | |
2785 | being overridden. | |
2786 | ||
3b4ebfc3 RD |
2787 | 2009-04-29 Robert Dewar <dewar@adacore.com> |
2788 | ||
2789 | * sem_util.adb (May_Be_Lvalue): Fix cases involving indexed/selected | |
2790 | components | |
2791 | ||
eb9cb0fc ES |
2792 | 2009-04-29 Ed Schonberg <schonberg@adacore.com> |
2793 | ||
2794 | * exp_ch9.ads, exp_ch9.adb (Build_Wrapper_Spec): Use source line of | |
2795 | primitive operation, rather than source line of synchronized type, when | |
2796 | building the wrapper for a primitive operation that overrides an | |
2797 | operation inherited from a progenitor, to improve the error message on | |
2798 | duplicate declarations. | |
2799 | ||
2800 | * sem_ch3.adb (Process_Full_View): Use new signature of | |
2801 | Build_Wrapper_Spec. | |
2802 | ||
7f7d37cb AC |
2803 | 2009-04-29 Robert Dewar <dewar@adacore.com> |
2804 | ||
2805 | * prj-nmsc.ads: Minor reformatting | |
2806 | ||
2807 | 2009-04-29 Eric Botcazou <ebotcazou@adacore.com> | |
2808 | ||
2809 | * exp_ch4.adb (Expand_N_Conditional_Expression): Set the SLOC of the | |
2810 | expression on the existing parent If statement. | |
2811 | ||
3c638456 RD |
2812 | 2009-04-29 Robert Dewar <dewar@adacore.com> |
2813 | ||
2814 | * prj-proc.adb, prj.ads: Minor reformatting | |
2815 | ||
fb1949a0 EB |
2816 | 2009-04-29 Eric Botcazou <ebotcazou@adacore.com> |
2817 | ||
2818 | * exp_ch4.adb (Expand_N_Conditional_Expression): Set the SLOC of an | |
2819 | existing parent If statement on the newly created one. | |
2820 | ||
bd0a4cab EB |
2821 | 2009-04-29 Emmanuel Briot <briot@adacore.com> |
2822 | ||
2823 | * gnatcmd.adb, prj-proc.adb, prj-proc.ads, make.adb, prj-part.adb, | |
2824 | prj-part.ads, prj.adb, prj.ads, clean.adb, prj-dect.adb, prj-dect.ads, | |
2825 | prj-nmsc.adb, prj-nmsc.ads, prj-pars.adb, prj-pars.ads, prj-makr.adb | |
2826 | (Set_In_Configuration, In_Configuration): Removed. | |
2827 | Replaced by an extra parameter Is_Config_File in several parameter to | |
2828 | avoid global variables to store the state of the parser. | |
2829 | ||
9af094a1 ES |
2830 | 2009-04-29 Ed Schonberg <schonberg@adacore.com> |
2831 | ||
2832 | * sinfo.ads, sinfo.adb: New attribute Next_Implicit_With, to chain | |
2833 | with_clauses generated for the same unit through rtsfind, and that | |
2834 | appear in the context of different units. | |
2835 | ||
2836 | * rtsfind.adb: New attribute First_Implicit_With, component of the | |
2837 | Unit_Record that stores information about a unit loaded through rtsfind. | |
2838 | ||
ac72c9c5 AC |
2839 | 2009-04-29 Gary Dismukes <dismukes@adacore.com> |
2840 | ||
2841 | * exp_ch3.adb (Stream_Operation_OK): Return True for limited interfaces | |
2842 | (other conditions permitting), so that abstract stream subprograms will | |
2843 | be declared for them. | |
2844 | ||
2845 | 2009-04-29 Bob Duff <duff@adacore.com> | |
2846 | ||
2847 | * g-expect.adb (Expect_Internal): Fix check for overfull buffer. | |
2848 | ||
2849 | * g-expect.ads: Minor comment fixes. | |
2850 | ||
2851 | 2009-04-29 Ed Schonberg <schonberg@adacore.com> | |
2852 | ||
2853 | * freeze.adb, lib-xref.adb (Check_Dispatching_Operation): if the | |
2854 | dispatching operation is a body without previous spec, update the list | |
2855 | of primitive operations to ensure that cross-reference information is | |
2856 | up-to-date. | |
2857 | ||
2858 | 2009-04-29 Albert Lee <lee@adacore.com> | |
2859 | ||
2860 | * g-socthi-vms.adb, g-socthi-vms.ads, g-socthi-vxworks.adb, | |
2861 | g-socthi-vxworks.ads, g-socthi-mingw.adb, g-socthi-mingw.ads, | |
2862 | g-socthi.adb, g-socthi.ads, g-socket.adb, g-socket.ads | |
2863 | (GNAT.Sockets.Thin.C_Readv, | |
2864 | GNAT.Sockets.Thin.C_Writev): Remove unused subprograms. | |
2865 | (GNAT.Sockets.Thin.C_Recvmsg, | |
2866 | GNAT.Sockets.Thin.C_Sendmsg): New bindings to call recvmsg(2) and | |
2867 | sendmsg(2). | |
2868 | (GNAT.Sockets.Receive_Vector, GNAT.Sockets.Send_Vector): Use | |
2869 | C_Recvmsg/C_Sendmsg rather than Readv/C_Writev. | |
2870 | ||
4fc26524 AC |
2871 | 2009-04-29 Ed Schonberg <schonberg@adacore.com> |
2872 | ||
2873 | * sem_disp.adb (Check_Dispatching_Operation): if the dispatching | |
2874 | operation is a body without previous spec, update the list of | |
2875 | primitive operations to ensure that cross-reference information is | |
2876 | up-to-date. | |
2877 | ||
2878 | * sem_ch12.adb (Build_Instance_Compilation_Unit_Nodes): When creating a | |
2879 | new compilation unit node for the instance declaration, keep the | |
2880 | context items of the original unit on it, so that the context of the | |
2881 | instance body only holds the context inherited from the generic body. | |
2882 | ||
2883 | 2009-04-29 Bob Duff <duff@adacore.com> | |
2884 | ||
2885 | * sem_res.adb: Minor comment fix. | |
2886 | ||
7f4c1903 AC |
2887 | 2009-04-29 Thomas Quinot <quinot@adacore.com> |
2888 | ||
2889 | * sem_elim.adb: Minor reformatting | |
2890 | ||
2891 | 2009-04-29 Ed Schonberg <schonberg@adacore.com> | |
2892 | ||
2893 | * exp_aggr.adb (Convert_To_Positional): if the current unit is a | |
2894 | predefined unit, allow arbitrary number of components in static | |
2895 | aggregate, to ensure that the same level of constant folding applies | |
2896 | for Ada 95 and Ada 05 versions of the file. | |
2897 | ||
33374829 AC |
2898 | 2009-04-29 Ed Schonberg <schonberg@adacore.com> |
2899 | ||
2900 | * sem_elim.adb (Check_Eliminated): Handle new improved eliminate | |
2901 | information: no need for full scope check. | |
2902 | (Eliminate_Error): Do not emit error in a generic context. | |
2903 | ||
2904 | 2009-04-29 Ed Falis <falis@adacore.com> | |
2905 | ||
2906 | * adaint.c (__gnat_rmdir): return error code if VTHREADS is defined. | |
2907 | VxWorks 653 POS does not support rmdir. | |
2908 | ||
2909 | 2009-04-29 Matteo Bordin <bordin@adacore.com> | |
2910 | ||
2911 | * s-stausa.adb, s-stausa.ads: Get_Usage_Range: changing the way | |
2912 | results are printed. | |
2913 | ||
91c2cbdb AC |
2914 | 2009-04-29 Arnaud Charlet <charlet@adacore.com> |
2915 | ||
2916 | * s-taskin.adb (Initialize): Remove pragma Warnings Off and remove | |
2917 | unused assignment. | |
2918 | ||
2919 | 2009-04-29 Thomas Quinot <quinot@adacore.com> | |
2920 | ||
2921 | * make.adb: Minor reformatting. | |
2922 | Minor code reorganization throughout. | |
2923 | ||
2924 | 2009-04-29 Matteo Bordin <bordin@adacore.com> | |
2925 | ||
2926 | * s-stausa.ads: Changed visibility of type Task_Result: moved to | |
2927 | public part to give application visibility over it. | |
2928 | This is for future improvement and to build a public API on top of it. | |
2929 | Changed record components name of type Task_Result to reflect the new | |
2930 | way of reporting. | |
2931 | ||
2932 | * s-stausa.adb: Actual_Size_Str changed to reflect the new way of | |
2933 | reporting Stack usage. | |
2934 | ||
2935 | * gnat_ugn.texi: Update doc of stack usage report. | |
2936 | ||
2937 | * g-tastus.ads, s-stusta.ads, s-stusta.adb: New files. | |
2938 | ||
2939 | * Makefile.rtl: Add new run-time files. | |
2940 | ||
6d47b1e3 PO |
2941 | 2009-04-29 Pascal Obry <obry@adacore.com> |
2942 | ||
2943 | * initialize.c: Do not expand quoted arguments. | |
2944 | ||
d45871da EB |
2945 | 2009-04-29 Emmanuel Briot <briot@adacore.com> |
2946 | ||
2947 | * prj-ext.adb, prj.adb, prj.ads: Fix memory leaks. | |
2948 | ||
2949 | * clean.adb (Ultimate_Extension_Of): removed, since duplicate of | |
2950 | Prj.Ultimate_Extending_Project_Of | |
2951 | ||
4f87ded3 ES |
2952 | 2009-04-29 Ed Schonberg <schonberg@adacore.com> |
2953 | ||
2954 | * exp_ch7.adb (Build_Final_List): If the designated type is a Taft | |
2955 | Amendment type, add the with_clause for Finalization.List_Controller | |
2956 | only if the current context is a package body. | |
2957 | ||
349ff68f AC |
2958 | 2009-04-29 Thomas Quinot <quinot@adacore.com> |
2959 | ||
2960 | * sem_ch12.adb: Minor reformatting | |
2961 | ||
2962 | * sem_aggr.adb: Minor reformatting | |
2963 | ||
2964 | * sem_ch6.adb, sem_cat.ads: Minor reformatting | |
2965 | ||
2966 | * sem_ch10.adb, gnat1drv.adb, prj-nmsc.adb: Minor reformatting | |
2967 | ||
2968 | 2009-04-29 Quentin Ochem <ochem@adacore.com> | |
2969 | ||
2970 | * prj.ads (Source_Id): Now general pointer type. | |
2971 | ||
d81b4bfe TQ |
2972 | 2009-04-29 Thomas Quinot <quinot@adacore.com> |
2973 | ||
2974 | * exp_ch7.adb, rtsfind.adb: Minor reformatting | |
2975 | ||
2976 | * sem_res.adb: Minor reformatting | |
2977 | ||
4342eda9 TQ |
2978 | 2009-04-29 Thomas Quinot <quinot@adacore.com> |
2979 | ||
2980 | * sem_res.adb (Static_Concatenation): An N_Op_Concat with static | |
2981 | operands is static only if it is a predefined concatenation operator. | |
2982 | ||
2983 | * sem_util.adb: Minor reformatting | |
2984 | ||
2985 | * sem_ch12.adb (Save_References): When propagating semantic information | |
2986 | from generic copy back to generic template, for the case of an | |
2987 | identifier that has been rewritten to an explicit dereference whose | |
2988 | prefix is either an object name or a parameterless funcion call | |
2989 | denoting a global object or function, properly capture the denoted | |
2990 | global entity: perform the corresponding rewriting in the template, | |
2991 | and point the rewritten identifier to the correct global entity (not | |
2992 | to the associated identifier in the generic copy). | |
2993 | ||
0b8074ed AC |
2994 | 2009-04-29 Robert Dewar <dewar@adacore.com> |
2995 | ||
2996 | * rtsfind.adb, prj-env.adb: Minor reformatting | |
2997 | Minor code reorganization | |
2998 | ||
2999 | 2009-04-29 Emmanuel Briot <briot@adacore.com> | |
3000 | ||
3001 | * make.adb: Fix comment | |
3002 | ||
3003 | * prj.adb (Ultimate_Extending_Project_Of): Fix handling when no project | |
3004 | is given as argument, as might happen in gnatmake. | |
3005 | ||
8f983e64 ES |
3006 | 2009-04-29 Ed Schonberg <schonberg@adacore.com> |
3007 | ||
3008 | * sem_ch3.adb (Check_Abstract_Overriding): Improve error message when | |
3009 | an abstract operation of a progenitor is not properly overridden by an | |
3010 | operation of a derived synchronized type. | |
3011 | ||
132410cb RD |
3012 | 2009-04-29 Robert Dewar <dewar@adacore.com> |
3013 | ||
3014 | * mlib-prj.adb, mlib-tgt.adb, mlib-tgt.ads, prj-nmsc.adb, | |
3015 | prj-proc.adb: Minor reformatting | |
3016 | Minor code reorganization | |
3017 | ||
66713d62 AC |
3018 | 2009-04-29 Bob Duff <duff@adacore.com> |
3019 | ||
3020 | * exp_ch7.adb (Build_Final_List): For an access type that designates a | |
3021 | Taft Amendment type, if the access type needs finalization, make sure | |
3022 | the implicit with clause for List_Controller occurs on the package spec. | |
3023 | ||
3024 | * rtsfind.adb (Text_IO_Kludge): Fine tune the creation of implicit | |
3025 | with's created for the pseudo-children of Text_IO and friends. In | |
3026 | particular, avoid cycles, such as Ada.Wide_Text_IO.Integer_IO and | |
3027 | Ada.Text_IO.Integer_IO both with-ing each other. | |
3028 | ||
3029 | * sem.adb (Walk_Library_Items): Suppress assertion failure in certain | |
3030 | oddball cases when pragma Extend_System is used. | |
3031 | ||
3032 | * sem_ch12.adb (Get_Associated_Node): Prevent direct 'with' cycles in | |
3033 | the case where a package spec instantiates a generic whose body with's | |
3034 | this package, so Walk_Library_Items won't complain about cyclic with's. | |
3035 | ||
3036 | 2009-04-29 Emmanuel Briot <briot@adacore.com> | |
3037 | ||
3038 | * gnatcmd.adb, prj-proc.adb, make.adb, mlib-prj.adb, prj.adb, prj.ads, | |
3039 | prj-pp.adb, prj-pp.ads, makeutl.adb, clean.adb, prj-nmsc.adb, | |
3040 | mlib-tgt.adb, mlib-tgt.ads, prj-util.adb, prj-env.adb, prj-env.ads | |
3041 | (Project_Id): now a real pointer to Project_Data, instead of an index | |
3042 | into the Projects_Table. This simplifies the API significantly, avoiding | |
3043 | extra lookups in this table and the need to pass the Project_Tree_Ref | |
3044 | parameter in several cases | |
3045 | ||
059caa3e NS |
3046 | 2009-04-29 Nicolas Setton <setton@adacore.com> |
3047 | ||
3048 | * gcc-interface/Makefile.in: Produce .dSYM files for shared libs on | |
3049 | darwin. | |
3050 | ||
19440588 EB |
3051 | 2009-04-25 Eric Botcazou <ebotcazou@adacore.com> |
3052 | ||
3053 | * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Array_Subtype>: Put | |
3054 | back kludge. | |
3055 | ||
b178461a RD |
3056 | 2009-04-24 Robert Dewar <dewar@adacore.com> |
3057 | ||
3058 | * mlib-prj.adb, prj-env.adb, prj-nmsc.adb, prj-proc.adb, make.adb, | |
3059 | clean.adb: Minor reformatting. | |
3060 | Minor code reorganization and message improvement. | |
3061 | ||
e1c9f239 EB |
3062 | 2009-04-24 Emmanuel Briot <briot@adacore.com> |
3063 | ||
3064 | * prj-proc.adb, prj.adb, prj.ads, prj-nmsc.adb, prj-nmsc.ads | |
3065 | (Alternate_Languages): now implemented as a malloc-ed list rather | |
3066 | than through a table. | |
3067 | ||
c72a85f2 TQ |
3068 | 2009-04-24 Thomas Quinot <quinot@adacore.com> |
3069 | ||
3070 | * sem_res.adb (Static_Concatenation): Simplify predicate to make it | |
3071 | accurately handle cases such as "lit" & "lit" and | |
3072 | "lit" & static_string_constant | |
3073 | ||
3563739b AC |
3074 | 2009-04-24 Emmanuel Briot <briot@adacore.com> |
3075 | ||
3076 | * prj-proc.adb, make.adb, mlib-prj.adb, prj.adb, prj.ads, clean.adb, | |
3077 | prj-nmsc.adb, prj-env.adb (Project_List_Table, Project_Element): | |
3078 | removed. Lists of projects are now implemented via standard malloc | |
3079 | rather than through the table. | |
3080 | ||
3081 | 2009-04-24 Thomas Quinot <quinot@adacore.com> | |
3082 | ||
3083 | * sem_ch12.adb: Minor reformatting | |
3084 | ||
3085 | * g-trasym.adb: Minor reformatting | |
3086 | ||
3087 | * exp_ch6.adb: Minor reformatting | |
3088 | ||
3089 | 2009-04-24 Robert Dewar <dewar@adacore.com> | |
3090 | ||
3091 | * layout.adb (Layout_Type): For packed array type, copy unset | |
3092 | size/alignment fields from the referenced Packed_Array_Type. | |
3093 | ||
3094 | 2009-04-24 Bob Duff <duff@adacore.com> | |
3095 | ||
3096 | * lib-load.adb (Make_Instance_Unit): Revert previous change, no | |
3097 | longer needed after sem_ch12 changes. | |
3098 | ||
3099 | * sem.adb (Walk_Library_Items): Include with's in some debugging | |
3100 | printouts. | |
3101 | ||
757240b3 AC |
3102 | 2009-04-24 Emmanuel Briot <briot@adacore.com> |
3103 | ||
3104 | * prj.ads, prj-nmsc.adb (Unit_Project): removed, since in fact we were | |
3105 | only ever using the Project field. | |
3106 | ||
3107 | 2009-04-24 Ed Schonberg <schonberg@adacore.com> | |
3108 | ||
3109 | * sem_ch12.adb (Build_Instance_Compilation_Unit_Nodes): Do not set | |
3110 | Body_Required on the generated compilation node. The new node is linked | |
3111 | to its body, but both share the same file, so we do not set this flag | |
3112 | on the new unit so as not to create a spurious dependency on a | |
3113 | non-existent body in the ali file for the instance. | |
3114 | ||
3115 | 2009-04-24 Robert Dewar <dewar@adacore.com> | |
3116 | ||
3117 | * make.adb: Minor reformatting | |
3118 | ||
aca53298 AC |
3119 | 2009-04-24 Emmanuel Briot <briot@adacore.com> |
3120 | ||
3121 | * prj.adb, prj.ads, prj-nmsc.adb (Check_File, Record_Ada_Source, | |
3122 | Add_Source): merge some code between those. In particular change where | |
3123 | file normalization is done to avoid a few extra calls to | |
3124 | Canonicalize_File_Name. This also removes the need for passing | |
3125 | Current_Dir in a number of subprograms. | |
3126 | ||
3127 | 2009-04-24 Bob Duff <duff@adacore.com> | |
3128 | ||
3129 | * lib-load.adb (Make_Instance_Unit): In the case where In_Main is | |
3130 | False, assign the correct unit to the Cunit field of the new table | |
3131 | entry. We want the spec unit, not the body unit. | |
3132 | ||
3133 | * rtsfind.adb (Make_Unit_Name, Maybe_Add_With): Simplify calling | |
3134 | interface for these. | |
3135 | (Maybe_Add_With): Check whether we're trying to a with on the current | |
3136 | unit, and avoid creating such directly self-referential with clauses. | |
3137 | (Text_IO_Kludge): Add implicit with's for the generic pseudo-children of | |
3138 | [[Wide_]Wide_]Text_IO. These are needed for Walk_Library_Items, | |
3139 | and matches existing comments in the spec. | |
3140 | ||
3141 | * sem.adb (Walk_Library_Items): Add various special cases to make the | |
3142 | assertions pass. | |
3143 | ||
3144 | * sem_ch12.adb (Build_Instance_Compilation_Unit_Nodes): Use Body_Cunit | |
3145 | instead of Parent (N), for uniformity. | |
3146 | ||
6db828c3 AC |
3147 | 2009-04-24 Robert Dewar <dewar@adacore.com> |
3148 | ||
3149 | * errout.ads: Minor reformatting | |
3150 | ||
3151 | 2009-04-24 Emmanuel Briot <briot@adacore.com> | |
3152 | ||
3153 | * gnat_ugn.texi (Library Projects): add documentation on gnatmake's | |
3154 | behavior when the project includes sources from multiple languages | |
3155 | ||
3156 | 2009-04-24 Vincent Celier <celier@adacore.com> | |
3157 | ||
3158 | * prj.adb (Has_Foreign_Sources): Returns True in Ada_Only mode if there | |
3159 | is a language other than Ada declared. | |
3160 | ||
3161 | * makeutl.adb (Linker_Options_Switches): Call For_All_Projects with | |
3162 | Imported_First set to True. | |
3163 | ||
a7a3cf5c AC |
3164 | 2009-04-24 Ed Schonberg <schonberg@adacore.com> |
3165 | ||
3166 | * sem_res.adb: additional optimization to inhibit creation of | |
3167 | redundant transient scopes. | |
3168 | ||
3169 | 2009-04-24 Bob Duff <duff@adacore.com> | |
3170 | ||
3171 | * rtsfind.ads: Minor comment fix | |
3172 | ||
3173 | 2009-04-24 Emmanuel Briot <briot@adacore.com> | |
3174 | ||
3175 | * prj-proc.adb, prj-nmsc.adb (Find_Ada_Sources, | |
3176 | Get_Path_Name_And_Record_Ada_Sources): merged, since these were | |
3177 | basically doing the same work (for explicit or implicit sources). | |
3178 | (Find_Explicit_Sources): renamed to Find_Sources to better reflect its | |
3179 | role. Rewritten to share some code (testing that all explicit sources | |
3180 | have been found) between ada_only and multi_language modes. | |
3181 | ||
3182 | 2009-04-24 Jerome Lambourg <lambourg@adacore.com> | |
3183 | ||
3184 | * sem_prag.adb (Check_Form_Of_Interface_Name): Allow space in Ext_Name | |
3185 | for CLI imported types. | |
3186 | (Analyze_Pragma): Allow CIL or Java imported functions returning | |
3187 | access-to-subprogram types. | |
3188 | ||
2324b3fd EB |
3189 | 2009-04-24 Emmanuel Briot <briot@adacore.com> |
3190 | ||
3191 | * make.adb, prj.adb, prj.ads, makeutl.adb, makeutl.ads: | |
3192 | (Project_Data.Dir_Path): field removed, since it can be computed | |
3193 | directly from .Directory, and is needed only once when processing the | |
3194 | project is buildgpr.adb or make.adb | |
3195 | ||
8eaf1723 RD |
3196 | 2009-04-24 Robert Dewar <dewar@adacore.com> |
3197 | ||
3198 | * prj-env.adb, prj-proc.adb, prj.adb, prj.ads, | |
3199 | rtsfind.adb: Minor reformatting. | |
3200 | Minor code reorganization | |
3201 | ||
04f33e7b AC |
3202 | 2009-04-24 Arnaud Charlet <charlet@adacore.com> |
3203 | ||
3204 | * mlib-prj.adb: Use friendlier english identifier. | |
3205 | ||
3206 | * gnatcmd.adb, make.adb: Use better english identifiers. | |
3207 | ||
3208 | 2009-04-24 Robert Dewar <dewar@adacore.com> | |
3209 | ||
3210 | * clean.adb: Minor reformatting | |
3211 | ||
d1f453b7 RD |
3212 | 2009-04-24 Robert Dewar <dewar@adacore.com> |
3213 | ||
3214 | * einfo.adb (OK_To_Rename): New flag | |
3215 | ||
3216 | * einfo.ads (OK_To_Rename): New flag | |
3217 | ||
3218 | * exp_ch3.adb (Expand_N_Object_Declaration): Rewrite as renames if | |
3219 | OK_To_Rename set. | |
3220 | ||
3221 | * exp_ch4.adb (Expand_Concatenate): Mark temp variable OK_To_Rename | |
3222 | ||
3223 | * sem_ch7.adb (Uninstall_Declarations): Allow for renames from | |
3224 | OK_To_Rename. | |
3225 | ||
8b9890fa EB |
3226 | 2009-04-24 Emmanuel Briot <briot@adacore.com> |
3227 | ||
3228 | * prj-proc.adb, make.adb, mlib-prj.adb, prj.adb, prj.ads, makeutl.adb, | |
3229 | clean.adb, prj-nmsc.adb, prj-env.adb, prj-env.ads (Project_Data.Seen): | |
3230 | field removed. This is not a property of the | |
3231 | project, just a boolean used to traverse the project tree, and storing | |
3232 | it in the structure prevents doing multiple traversal in parallel. | |
3233 | (Project_Data.Checked): also removed, since it was playing the same role | |
3234 | as Seen when we had two nested loops, and this is no longer necessary | |
3235 | (For_All_Imported_Projects): removed, since in fact there was already | |
3236 | the equivalent in For_Every_Project_Imported. The latter was rewritten | |
3237 | to use a local hash table instead of Project_Data.Seen | |
3238 | Various loops were rewritten to use For_Every_Project_Imported, thus | |
3239 | removing the need for Project_Data.Seen. This avoids a lot of code | |
3240 | duplication | |
3241 | ||
76e776e5 AC |
3242 | 2009-04-24 Ed Schonberg <schonberg@adacore.com> |
3243 | ||
3244 | * sem_res.adb (Resolve_Actuals): Do not create blocks around code | |
3245 | statements, even though the actual of the call is a concatenation, | |
3246 | because the argument is static, and we want to preserve warning | |
3247 | messages about sequences of code statements that are not marked | |
3248 | volatile. | |
3249 | ||
3250 | * sem_warn.adb: remove obsolete comment about warning being obsolete | |
3251 | ||
3252 | * s-tasren.adb (Task_Do_Or_Queue): If a timed entry call is being | |
3253 | requeued and the delay has expired while within the accept statement | |
3254 | that executes the requeue, do not perform the requeue and indicate that | |
3255 | the timed call has been aborted. | |
3256 | ||
3257 | 2009-04-24 Emmanuel Briot <briot@adacore.com> | |
3258 | ||
3259 | * mlib-prj.adb, prj.adb, prj.ads, prj-nmsc.adb, prj-env.adb | |
3260 | (Has_Ada_Sources, Has_Foreign_Sources): new subprograms | |
3261 | (Project_Data.Ada_Sources_Present, Foreign_Sources_Present): removed, | |
3262 | since they can be computed from the above. | |
3263 | ||
481f29eb VC |
3264 | 2009-04-24 Vincent Celier <celier@adacore.com> |
3265 | ||
3266 | * gnatcmd.adb: Call Prj.Env.Initialize with the Project_Tree | |
3267 | ||
3268 | * prj-env.adb: Move all global variables to the private part of the | |
3269 | project tree data. | |
3270 | Access these new components instead of the global variables no longer | |
3271 | in existence. | |
3272 | (Add_To_Path): New Project_Tree_Ref parameter, to access the new | |
3273 | components that were previously global variables. | |
3274 | ||
3275 | * prj-env.ads (Initialize): New Project_Tree_Ref parameter | |
3276 | (Set_Mapping_File_Initial_State_To_Empty): New Project_Tree_Ref | |
3277 | parameter. | |
3278 | ||
3279 | * prj-nmsc.adb (Compute_Unit_Name): New Project_Tree_Ref parameter to | |
3280 | be able to call Set_Mapping_File_Initial_State_To_Empty with it. | |
3281 | ||
3282 | * prj.adb (Initialize): Do not call Prj.Env.Initialize | |
3283 | (Reset): Do not call Prj.Env.Initialize. Instead, initialize the new | |
3284 | components in the private part of the project tree data. | |
3285 | ||
3286 | * prj.ads (Private_Project_Tree_Data): new components moved from | |
3287 | Prj.Env: Current_Source_Path_File, Current_Object_Path_File, | |
3288 | Ada_Path_Buffer, Ada_Path_Length, Ada_Prj_Include_File_Set, | |
3289 | Ada_Prj_Objects_File_Set, Fill_Mapping_File. | |
3290 | ||
c54ab0b5 AC |
3291 | 2009-04-24 Vincent Celier <celier@adacore.com> |
3292 | ||
3293 | * opt.ads (Unchecked_Shared_Lib_Imports): New Boolean flag. | |
3294 | ||
3295 | * prj-nmsc.adb (Check_Library): No error for imports by shared library | |
3296 | projects, when --unchecked-shared-lib-imports is used. | |
3297 | ||
3298 | 2009-04-24 Robert Dewar <dewar@adacore.com> | |
3299 | ||
3300 | * sem_ch7.adb: Minor reformatting | |
3301 | ||
b3520ca0 AC |
3302 | 2009-04-24 Tristan Gingold <gingold@adacore.com> |
3303 | ||
3304 | * s-osinte-darwin.adb, s-osinte-darwin.ads: lwp_self now returns the | |
3305 | mach thread id. | |
3306 | ||
3307 | 2009-04-24 Emmanuel Briot <briot@adacore.com> | |
3308 | ||
3309 | * prj-env.adb, prj-env.ads (Body_Path_Name_Of, Spec_Path_Name_Of, | |
3310 | Path_Name_Of_Library_Unit_Body): rEmove unused subprograms. | |
3311 | (For_All_Imported_Projects): new procedure | |
3312 | (For_All_Source_Dirs, For_All_Object_Dirs): Rewritten based on the | |
3313 | above rather than duplicating code. | |
3314 | ||
5d07d0cf EB |
3315 | 2009-04-24 Emmanuel Briot <briot@adacore.com> |
3316 | ||
3317 | * prj-proc.adb, prj.adb, prj.ads, prj-nmsc.adb, prj-env.adb | |
3318 | (Source_Id, Source_Data): use a real list to store sources rather than | |
3319 | using an external table to store the elements. This makes code more | |
3320 | efficient and more readable. | |
3321 | ||
5eed512d EB |
3322 | 2009-04-24 Emmanuel Briot <briot@adacore.com> |
3323 | ||
3324 | * prj-proc.adb, prj.adb, prj.ads, prj-nmsc.adb, prj-env.adb | |
3325 | (Source_Iterator): new type. | |
53b2323e RH |
3326 | This removes the need for having the sources on three different |
3327 | lists at the project tree, project and language level. They are now | |
3328 | on a single list. | |
5eed512d | 3329 | |
5876578b EB |
3330 | 2009-04-24 Emmanuel Briot <briot@adacore.com> |
3331 | ||
3332 | * gnatcmd.adb, prj.adb, prj.ads: Remove unused entities | |
3333 | ||
a9d17e32 ES |
3334 | 2009-04-24 Ed Schonberg <schonberg@adacore.com> |
3335 | ||
3336 | * sem_warn.adb: Add comment on obsolete warning | |
3337 | ||
144c034d AC |
3338 | 2009-04-24 Arnaud Charlet <charlet@adacore.com> |
3339 | ||
3340 | * s-tassta.adb (Create_Task): Fix violation of locking rule. | |
3341 | ||
e0697153 EB |
3342 | 2009-04-24 Emmanuel Briot <briot@adacore.com> |
3343 | ||
3344 | * prj.adb, prj.ads, prj-nmsc.adb, prj-env.adb (Language_Index): renamed | |
3345 | to Language_Ptr to better reflect its new implementation. | |
3346 | (Project_Data.First_Languages_Processing): renamed to Languages now | |
3347 | that the field with that name is no longer used | |
3348 | (Project_Data.Languages): removed, no longer used, and duplicates | |
3349 | information already available through First_Language_Processing. | |
3350 | (Prj.Language_Index): now an actual pointer, instead of an index into | |
3351 | a table. This makes the list somewhat more obvious, but more importantly | |
3352 | removes the need to pass a pointer to the project_tree_data in a few | |
3353 | places, and makes accessing the attributes of a languages more | |
3354 | efficient. | |
3355 | ||
18e6d56a | 3356 | 2009-04-24 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
53b2323e | 3357 | Thomas Quinot <quinot@adacore.com> |
18e6d56a RK |
3358 | |
3359 | * fe.h (Set_Identifier_Casing): Add const to second parameter. | |
c91f9cd4 | 3360 | * gcc-interface/misc.c (internal_error_function): Make copy of return |
18e6d56a RK |
3361 | from pp_formatted_text before assigning BUFFER to it. |
3362 | (gnat_init): Likewise for main_input_filename and gnat_argv. | |
3363 | (gnat_printable_name): Remove cast from call to Set_Identifier_Casing. | |
3364 | ||
caa9d12a EB |
3365 | 2009-04-24 Eric Botcazou <ebotcazou@adacore.com> |
3366 | ||
3367 | * ttypes.ads (Target_Double_Float_Alignment): New variable. | |
3368 | (Target_Double_Scalar_Alignment): Likewise. | |
3369 | * get_targ.ads (Get_Strict_Alignment): Adjust external name. | |
3370 | (Get_Double_Float_Alignment): New imported function. | |
3371 | (Get_Double_Scalar_Alignment): Likewise. | |
3372 | * layout.adb (Set_Elem_Alignment): Take into account specific caps for | |
3373 | the alignment of "double" floating-point types and "double" or larger | |
3374 | scalar types, as parameterized by Target_Double_Float_Alignment and | |
3375 | Target_Double_Scalar_Alignment respectively. | |
3376 | * gcc-interface/gigi.h (double_float_alignment): Declare. | |
3377 | (double_scalar_alignment): Likewise. | |
3378 | (is_double_float_or_array): Likewise. | |
3379 | (is_double_scalar_or_array): Likewise. | |
3380 | (get_target_double_float_alignment): Likewise. | |
3381 | (get_target_double_scalar_alignment): Likewise. | |
3382 | * gcc-interface/targtyps.c (get_strict_alignment): Rename into... | |
3383 | (get_target_strict_alignment): ...this. | |
3384 | (get_target_double_float_alignment): New function. | |
3385 | (get_target_double_scalar_alignment): Likewise. | |
3386 | * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Signed_Integer_Subtype>: | |
3387 | Test the presence of an alignment clause for under-aligned integer | |
3388 | types. Take into account specific caps for the alignment of "double" | |
3389 | floating-point types and "double" or larger scalar types, as | |
3390 | parameterized by Target_Double_Float_Alignment and | |
3391 | Target_Double_Scalar_Alignment respectively. | |
3392 | (validate_alignment): Likewise. | |
3393 | * gcc-interface/trans.c (Attribute_to_gnu) <Attr_Alignment>: Likewise. | |
3394 | (gigi): Initialize double_float_alignment and double_scalar_alignment. | |
3395 | * gcc-interface/utils.c (double_float_alignment): New global variable. | |
3396 | (double_scalar_alignment): Likewise. | |
3397 | (is_double_float_or_array): New predicate. | |
3398 | (is_double_scalar_or_array): Likewise. | |
3399 | ||
1275de7d EB |
3400 | 2009-04-24 Eric Botcazou <ebotcazou@adacore.com> |
3401 | ||
3402 | * gcc-interface/utils2.c (build_cond_expr): Move SAVE_EXPR ahead of | |
3403 | the conditional expression only if it is common to both arms. | |
3404 | ||
6f61bd41 EB |
3405 | 2009-04-24 Eric Botcazou <ebotcazou@adacore.com> |
3406 | ||
3407 | * gcc-interface/gigi.h (build_call_alloc_dealloc): Update comment. | |
3408 | * gcc-interface/decl.c (gnat_to_gnu_entity) <object>: Pass correct | |
3409 | arguments to build_allocator. | |
3410 | * gcc-interface/utils2.c (build_call_alloc_dealloc): Update comment. | |
3411 | Remove code handling special allocator and assert its uselessness. | |
3412 | ||
0d858698 EB |
3413 | 2009-04-24 Eric Botcazou <ebotcazou@adacore.com> |
3414 | ||
3415 | * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Array_Type>: If an | |
3416 | alignment is specified, do not promote that of the component type | |
3417 | beyond it. | |
3418 | <E_Array_Subtype>: Likewise. | |
3419 | ||
bbaba73f EB |
3420 | 2009-04-23 Eric Botcazou <ebotcazou@adacore.com> |
3421 | ||
3422 | * einfo.ads (Is_True_Constant): Lift restriction on atomic objects. | |
3423 | * sinfo.ads (Object Declaration): Likewise. | |
3424 | (Assignment Statement): Likewise. | |
3425 | * freeze.adb (Expand_Atomic_Aggregate): Remove useless test. | |
3426 | Do not force Is_True_Constant to false on the temporary. | |
3427 | (Freeze_Entity): Do not force Is_True_Constant to false on names on | |
3428 | the RHS of object declarations. | |
3429 | * gcc-interface/trans.c (lvalue_required_p) <N_Object_Declaration>: | |
3430 | New case. Return 1 if the object is atomic. | |
3431 | <N_Assignment_Statement>: Likewise. | |
3432 | ||
4fd78fe6 EB |
3433 | 2009-04-23 Eric Botcazou <ebotcazou@adacore.com> |
3434 | ||
3435 | * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Modular_Integer_Subtype> | |
3436 | For packed array types, make the original array type a parallel type | |
3437 | for the modular type and its JM wrapper if the type is bit-packed. | |
3438 | <E_Array_Subtype>: Likewise. Do not generate the special XA parallel | |
3439 | record type for packed array types. Remove kludge. | |
3440 | ||
c1abd261 EB |
3441 | 2009-04-23 Eric Botcazou <ebotcazou@adacore.com> |
3442 | ||
3443 | * gcc-interface/gigi.h (create_index_type): Adjust head comment. | |
3444 | * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Signed_Integer_Subtype>: | |
3445 | Use front-end predicates to compute signedness and precision. | |
3446 | <E_String_Literal_Subtype>: Fold range type. | |
3447 | Make sure to set longest_float_type_node to a scalar type. | |
3448 | (elaborate_entity): Use consistent Constraint_Error spelling. | |
3449 | (substitute_in_type) <INTEGER_TYPE>: Always copy the type. | |
3450 | * gcc-interface/misc.c (gnat_print_type) <INTEGER_TYPE>: Use brief | |
3451 | output for the modulus, if any. | |
3452 | <ENUMERAL_TYPE>: Likewise for the RM size. | |
3453 | * gcc-interface/trans.c (gnat_to_gnu): Use consistent Constraint_Error | |
3454 | spelling. | |
3455 | * gcc-interface/utils.c (finish_record_type): Really test the alignment | |
3456 | of BLKmode bit-fields to compute their addressability. | |
3457 | (create_index_type): Adjust comments. | |
3458 | (create_param_decl): Create the biased subtype manually. | |
3459 | * gcc-interface/utils2.c (build_component_ref): Use consistent | |
3460 | Constraint_Error spelling. | |
3461 | ||
8713b7e4 EB |
3462 | 2009-04-23 Eric Botcazou <ebotcazou@adacore.com> |
3463 | ||
3464 | * gcc-interface/cuintp.c: Clean up include directives. | |
3465 | * gcc-interface/targtyps.c: Likewise. | |
3466 | * gcc-interface/decl.c: Likewise. | |
3467 | * gcc-interface/misc.c: Likewise. | |
3468 | * gcc-interface/trans.c: Likewise. | |
3469 | * gcc-interface/utils.c: Likewise. | |
3470 | * gcc-interface/utils2.c: Likewise. | |
3471 | * gcc-interface/Make-lang.in: Adjust dependencies accordingly. | |
3472 | ||
26383c64 EB |
3473 | 2009-04-23 Eric Botcazou <ebotcazou@adacore.com> |
3474 | ||
3475 | * gcc-interface/ada-tree.h (union lang_tree_node): Use standard idiom. | |
3476 | (SET_TYPE_LANG_SPECIFIC): Likewise. Fix formatting. | |
3477 | (SET_DECL_LANG_SPECIFIC): Likewise. | |
3478 | Reorder macros. | |
3479 | * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Signed_Integer_Subtype>: | |
3480 | Update comment about use of build_range_type. | |
3481 | <E_Array_Type, E_Array_Subtype>: Use consistent naming convention. | |
3482 | <E_Array_Subtype>: Rework comments about TYPE_ACTUAL_BOUNDS and add | |
3483 | check for other cases of overloading. | |
3484 | * gcc-interface/trans.c (gigi): Use size_int in lieu of build_int_cst. | |
3485 | * gcc-interface/utils2.c (build_call_raise): Fix off-by-one error. | |
3486 | Use size_int in lieu of build_int_cst. | |
3487 | (build_call_alloc_dealloc): Use build_index_2_type in lieu of | |
3488 | build_range_type. | |
3489 | ||
b7babd5d EB |
3490 | 2009-04-22 Eric Botcazou <ebotcazou@adacore.com> |
3491 | ||
3492 | * gcc-interface/utils2.c (build_binary_op) <PLUS_EXPR>: If operation's | |
3493 | type is an enumeral or a boolean type, change it to an integer type | |
3494 | with the same mode and signedness. | |
3495 | ||
5225a138 EB |
3496 | 2009-04-22 Eric Botcazou <ebotcazou@adacore.com> |
3497 | ||
3498 | * gcc-interface/utils.c (create_var_decl_1): Do not emit debug info | |
3499 | for an external constant whose initializer is not absolute. | |
3500 | ||
3501 | 2009-04-22 Taras Glek <tglek@mozilla.com> | |
d1b38208 TG |
3502 | |
3503 | * gcc-interface/ada-tree.h: Update GTY annotations to new syntax. | |
3504 | * gcc-interface/trans.c: Likewise. | |
3505 | * gcc-interface/utils.c: Likewise. | |
3506 | ||
a52fefe6 AC |
3507 | 2009-04-22 Ed Schonberg <schonberg@adacore.com> |
3508 | ||
3509 | * sem_res.adb: Create block around procedure call when actual is a | |
3510 | concatenation. | |
3511 | ||
3512 | 2009-04-22 Thomas Quinot <quinot@adacore.com> | |
3513 | ||
3514 | * s-soflin.ads: Fix typos | |
3515 | ||
3516 | 2009-04-22 Vincent Celier <celier@adacore.com> | |
3517 | ||
3518 | * prj-env.adb: Minor comment change | |
3519 | ||
3520 | * prj-nmsc.adb (Check_Common): Add guard to avoid calling | |
3521 | Get_Name_String with No_File. | |
3522 | ||
3523 | * tempdir.adb (Create_Temp_File): Output diagnostic when temp file | |
3524 | cannot be created even when not in verbose mode. | |
3525 | ||
2f1e0b61 EB |
3526 | 2009-04-22 Emmanuel Briot <briot@adacore.com> |
3527 | ||
3528 | * make.adb, prj-env.adb, prj-env.ads, prj-nmsc.adb, prj.adb, | |
3529 | prj.ads (Create_Mapping_File): merge the two versions for Ada_Only and | |
3530 | Multi_Language modes, to avoid code duplication. | |
3531 | (Project_Data.Include_Language): Removed. | |
3532 | ||
35afb012 AC |
3533 | 2009-04-22 Vincent Celier <celier@adacore.com> |
3534 | ||
3535 | * tempdir.adb (Create_Temp_File): Add a diagnostic in verbose mode when | |
3536 | the temporary file cannot be created, indicating the directory when the | |
3537 | creation was attempted. | |
3538 | ||
3539 | 2009-04-22 Emmanuel Briot <briot@adacore.com> | |
3540 | ||
3541 | * prj-env.adb, prj-env.ads (Create_Mapping_File): we need to compare | |
3542 | the language names, not their indices. | |
3543 | ||
10d2a6f7 EB |
3544 | 2009-04-22 Emmanuel Briot <briot@adacore.com> |
3545 | ||
3546 | * prj.ads, prj-nmsc.adb, prj-env.adb, prj-env.ads | |
3547 | (Source_Data.Language_Name): Field removed. | |
3548 | ||
39d4e04a EB |
3549 | 2009-04-22 Emmanuel Briot <briot@adacore.com> |
3550 | ||
3551 | * prj.adb, prj.ads, prj-nmsc.adb (Project_Data.Unit_Based_Language_*): | |
3552 | Two fields removed. | |
3553 | ||
f1eea135 EB |
3554 | 2009-04-22 Emmanuel Briot <briot@adacore.com> |
3555 | ||
3556 | * prj-nmsc.adb (Check_Naming_Ada_Only): Properly initialize the | |
3557 | separate_suffix to the same value as the body_suffix. | |
3558 | ||
d9c0e057 AC |
3559 | 2009-04-22 Robert Dewar <dewar@adacore.com> |
3560 | ||
3561 | * prj.adb: Minor code reorganization | |
3562 | Code clean up. | |
3563 | ||
3564 | * prj-proc.adb: Minor code reorganization, clean up. | |
3565 | ||
3566 | * prj-nmsc.adb: Minor reformatting | |
3567 | Minor code reorganization | |
3568 | ||
3569 | * gnat_ugn.texi: Add to doc on strict aliasing | |
3570 | ||
3571 | 2009-04-22 Pascal Obry <obry@adacore.com> | |
3572 | ||
3573 | * s-osinte-mingw.ads: Rename Reserved field in CRITICAL_SECTION to | |
3574 | SpinCount. | |
3575 | ||
3576 | * s-tasini.adb: Minor reformatting. | |
3577 | ||
3578 | * s-tassta.adb: Minor reformatting. | |
3579 | ||
ce30eccb EB |
3580 | 2009-04-22 Emmanuel Briot <briot@adacore.com> |
3581 | ||
3582 | * prj-proc.adb, prj-nmsc.adb (Check_Naming_Schemes): split into several | |
3583 | smaller subprograms. | |
3584 | Renamed to Check_File_Naming_Schemes to avoid confusion with the | |
3585 | other Check_Naming_Schemes functions that plays a totally different | |
3586 | role. | |
3587 | (Check_Unit_Based_Lang, Check_File_Based_Lang): new subprograms, | |
3588 | extracted from the above. These were partially rewritten to avoid | |
3589 | unnecessary code and temporary variables. | |
3590 | (Compute_Unit_Name): new subprogram, merge of Check_Unit_Based_Lang | |
3591 | and Get_Unit (which for now still exist since they contain mode-specific | |
3592 | code) | |
3593 | ||
347ab254 EB |
3594 | 2009-04-22 Emmanuel Briot <briot@adacore.com> |
3595 | ||
3596 | * prj.ads, prj.adb, prj-nmsc.adb, prj-proc.adb (Recursive_Process): | |
3597 | Remove duplicated code. | |
3598 | (Canonical_Case_File_Name): new subprogram | |
3599 | (Check_And_Normalize_Unit_Names): new subprogram | |
3600 | (Write_Attr): new subprogram | |
3601 | Better sharing of code | |
3602 | (Check_Naming_Ada_Only, Check_Naming_Multi_Lang): new subprogram, to | |
3603 | split Check_Naming and help find duplicated code | |
3604 | (Check_Common): new subprogram, sharing code between ada_only and | |
3605 | multi_language mode. | |
3606 | (Naming_Data.Dot_Repl_Loc): field removed | |
3607 | ||
aa903780 EB |
3608 | 2009-04-22 Emmanuel Briot <briot@adacore.com> |
3609 | ||
3610 | * prj-proc.adb, prj-nmsc.adb (Load_Naming_Exceptions): New subprogram. | |
3611 | Minor refactoring to reduce the size of | |
3612 | Process_Sources_In_Multi_Language_Mode. | |
3613 | Avoid extra copied of Source_Data, which we found in the past could be | |
3614 | quite slow. | |
3615 | (Mark_Excluded_Sources): new subprogram. | |
3616 | (Remove_Locally_Removed_Files_From_Units): merged into the above | |
3617 | Refactors Process_Sources_In_Multi_Language_Mode to reduce its size, | |
3618 | and allow better sharing of code between multi_lang and ada_only modes | |
3619 | (Project_Extends): removed, since exact duplicate of Prj.Is_Extending | |
3620 | ||
95c05c62 EB |
3621 | 2009-04-22 Emmanuel Briot <briot@adacore.com> |
3622 | ||
3623 | * prj-proc.adb, prj.adb, prj.ads (Project_Data.First_Referred_By): | |
3624 | Removed, since unused. | |
3625 | ||
c9a1acdc AC |
3626 | 2009-04-22 Vincent Celier <celier@adacore.com> |
3627 | ||
3628 | * prj-attr.adb: New single project level attribute | |
3629 | Separate_Run_Path_Options. | |
3630 | ||
3631 | * prj-nmsc.adb (Process_Project_Level_Simple_Attributes): Process | |
3632 | attribute Seperate_Run_Path_Options. | |
3633 | ||
3634 | * prj.ads: (Project_Configuration): New Boolean component | |
3635 | Separate_Run_Path_Options, defaulted to False. | |
3636 | ||
3637 | * snames.ads-tmpl: New standard name Seperate_Run_Path_Options | |
3638 | ||
6d2a1120 RD |
3639 | 2009-04-22 Robert Dewar <dewar@adacore.com> |
3640 | ||
c9a1acdc AC |
3641 | * sem_type.adb: Minor reformatting |
3642 | ||
6d2a1120 RD |
3643 | * mlib.adb: Minor reformatting |
3644 | ||
3645 | * sem_aggr.adb: Minor reformatting. Defend against junk aggregate from | |
3646 | syntax error. | |
3647 | ||
3b81743f NS |
3648 | 2009-04-22 Nicolas Setton <setton@adacore.com> |
3649 | ||
3650 | * link.c: Add flag __gnat_separate_run_path_options. | |
3651 | ||
3652 | * mlib.adb (Separate_Run_Path_Options): New subprogram. | |
3653 | ||
3654 | * mlib.ads (Separate_Run_Path_Options): Declare. | |
3655 | ||
3656 | * gnatcmd.adb (Process_Link): Add support for emitting one "rpath" | |
3657 | switch per directory, rather than one "rpath" switch listing all | |
3658 | directories. | |
3659 | ||
3660 | * gnatlink.adb (Process_Binder_File): Likewise. | |
3661 | ||
3662 | * make.adb (Gnatmake): Likewise. | |
3663 | ||
3a69b5ff AC |
3664 | 2009-04-22 Hristian Kirtchev <kirtchev@adacore.com> |
3665 | ||
3666 | * exp_ch6.adb (Make_Build_In_Place_Call_In_Assignment): Code cleanup. | |
3667 | Add a call to Move_Final_List when the target of the assignment is a | |
3668 | return object that needs finalization and the expression is a | |
3669 | controlled build-in-place function. | |
3670 | ||
3671 | 2009-04-22 Vincent Celier <celier@adacore.com> | |
3672 | ||
3673 | * make.adb (Gnatmake, Bind_Step): call Set_Ada_Paths with | |
3674 | Including_Libraries set to True. | |
3675 | ||
f3a67cfc ES |
3676 | 2009-04-22 Ed Schonberg <schonberg@adacore.com> |
3677 | ||
3678 | * lib-load.ads, lib-load.adb (Make_Child_Decl_Unit): New subprogram, to | |
3679 | create a unit table entry for the subprogram declaration created for a | |
3680 | child suprogram body that has no separate specification. | |
3681 | ||
3682 | * sem_ch10.adb (Analyze_Compilation_Unit): For a child unit that is a | |
3683 | subprogram body, call Make_Child_Decl_Unit. | |
3684 | ||
3685 | * lib.adb (Get_Cunit_Unit_Number): Verify that an entry not yet in the | |
3686 | table can only be the created specification of a child subprogram body | |
3687 | that is the main unit, which has not been entered in the table yet. | |
3688 | ||
3689 | * errout.adb (Output_Messages): Ignore created specification of a | |
3690 | child subprogram body to prevent repeated listing of error messages. | |
3691 | ||
3692 | * gnat1drv.adb (gnat1drv): The generated specification for a child | |
3693 | subprogram body does not generate code. | |
3694 | ||
1ef4d0a8 AC |
3695 | 2009-04-22 Arnaud Charlet <charlet@adacore.com> |
3696 | ||
3697 | * s-bitops.adb, s-bitops.ads (Raise_Error): Do not use Ada 05 syntax, | |
3698 | since this unit is now part of bootstrap units, so must use Ada 95 | |
3699 | syntax only. | |
3700 | ||
3701 | 2009-04-22 Thomas Quinot <quinot@adacore.com> | |
3702 | ||
3703 | * a-tasatt.adb: Minor reformatting | |
3704 | ||
3705 | 2009-04-22 Bob Duff <duff@adacore.com> | |
3706 | ||
3707 | * s-stalib.ads: Remove "with System;" since we're inside System, so | |
3708 | it's unnecessary. | |
3709 | ||
3710 | 2009-04-22 Vincent Celier <celier@adacore.com> | |
3711 | ||
3712 | * prj-nmsc.adb (Add_Source): Always put the dependency file name in | |
3713 | the source record, as there may be a dependency file even if no object | |
3714 | file is created. | |
3715 | ||
1cb46af0 RD |
3716 | 2009-04-22 Robert Dewar <dewar@adacore.com> |
3717 | ||
1ef4d0a8 | 3718 | * lib-load.adb: Minor reformatting |
1cb46af0 RD |
3719 | |
3720 | * lib-load.ads: Minor reformatting | |
3721 | ||
3722 | * sinfo.ads: Minor reformatting | |
3723 | ||
218e53ff BD |
3724 | 2009-04-22 Bob Duff <duff@adacore.com> |
3725 | ||
3726 | * exp_pakd.adb: Minor comment fixes. | |
3727 | ||
3728 | * sinfo.ads, par-load.adb, sem_ch10.adb, lib-load.ads, lib-load.adb | |
3729 | sem_ch12.adb: Change the meaning of the Library_Unit attribute to | |
3730 | include units containing instantiations, as well as units that are | |
3731 | generic instantiations. | |
3732 | ||
3733 | * sem.adb: Include dependents and corresponding specs/bodies in the | |
3734 | unit walk. | |
3735 | ||
3736 | * gcc-interface/Make-lang.in: | |
3737 | sem now depends on s-bitops, because of the packed array of Booleans. | |
3738 | ||
feec4372 EB |
3739 | 2009-04-22 Eric Botcazou <ebotcazou@adacore.com> |
3740 | ||
3741 | * gcc-interface/ada-tree.def: Fix formatting nits. | |
3742 | (REGION_STMT): Delete. | |
3743 | (HANDLER_STMT): Likewise. | |
3744 | * gcc-interface/ada-tree.h: Fix formatting nits. | |
3745 | (IS_STMT): Delete. | |
3746 | (REGION_STMT_BODY): Likewise. | |
3747 | (REGION_STMT_HANDLE): Likewise. | |
3748 | (REGION_STMT_BLOCK): Likewise. | |
3749 | (HANDLER_STMT_ARG): Likewise. | |
3750 | (HANDLER_STMT_LIST): Likewise. | |
3751 | (HANDLER_STMT_BLOCK): Likewise. | |
3752 | * gcc-interface/gigi.h (fp_prec_to_size): Update comment. | |
3753 | (fp_size_to_prec): Likewise. | |
3754 | (largest_move_alignment): Delete. | |
3755 | (gnat_compute_largest_alignment): Likewise. | |
3756 | Fix minor nits. | |
3757 | * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Signed_Integer_Subtype>: | |
3758 | Remove redundant code. | |
3759 | <E_Array_Type>: Remove redundant assert. | |
3760 | <E_Array_Subtype>: Exit early from index computation in pathological | |
3761 | cases. | |
3762 | Rewrite conditional assignment. | |
3763 | (make_type_from_size): Likewise. | |
3764 | * gcc-interface/misc.c (largest_move_alignment): Delete. | |
3765 | (gnat_finish_incomplete_decl): Likewise. | |
3766 | (LANG_HOOKS_FINISH_INCOMPLETE_DECL): Likewise. | |
3767 | (asm_out_file): Likewise | |
3768 | (gnat_print_type) <INTEGER_TYPE>: Fall through to ENUMERAL_TYPE case. | |
3769 | (gnat_dwarf_name): Move around. | |
3770 | * gcc-interface/trans.c (Attribute_to_gnu): Fix minor nits. | |
3771 | (gigi): Remove call to gnat_compute_largest_alignment. | |
3772 | * utils.c (create_field_decl): Rewrite conditional assignment. | |
3773 | Fix minor nits. | |
3774 | ||
a8e05f92 EB |
3775 | 2009-04-22 Eric Botcazou <ebotcazou@adacore.com> |
3776 | ||
3777 | * gcc-interface/decl.c (gnat_to_gnu_entity): Compute is_type predicate | |
3778 | on entry. Defer common processing for types. Reorder and clean up. | |
3779 | Compute the equivalent GNAT node and the default size for types only. | |
3780 | <E_Modular_Integer_Type>: Directly use Esize for the type's precision. | |
3781 | <E_Access_Type>: For an unconstrained designated type, do not pretend | |
3782 | that a dummy type is always made. | |
3783 | <all> Fix nits in comments. | |
3784 | (validate_size): Fix formatting nits and comments. | |
3785 | (set_rm_size): Likewise. | |
3786 | * gcc-interface/utils.c (create_param_decl): Replace bogus argument | |
3787 | passed to TARGET_PROMOTE_PROTOTYPES hook. | |
3788 | ||
0fb2335d EB |
3789 | 2009-04-22 Eric Botcazou <ebotcazou@adacore.com> |
3790 | ||
3791 | * fe.h (Get_External_Name): Declare. | |
3792 | * gcc-interface/gigi.h (concat_id_with_name): Rename to... | |
3793 | (concat_name): ...this. | |
3794 | * gcc-interface/decl.c (gnat_to_gnu_entity): Rename gnu_entity_id to | |
3795 | gnu_entity_name and adjust for above renaming. | |
3796 | <E_Access_Type>: Use create_concat_name to get the name of the various | |
3797 | types associated with unconstrained array types. | |
3798 | (make_aligning_type): Adjust for above renaming. | |
3799 | (maybe_pad_type): Likewise. | |
a8e05f92 | 3800 | (components_to_record): Likewise. Use get_identifier_with_length for |
0fb2335d EB |
3801 | the encoding of the variant. |
3802 | (get_entity_name): Use get_identifier_with_length. | |
a8e05f92 | 3803 | (create_concat_name): Likewise. Use Get_External_Name if no suffix. |
0fb2335d EB |
3804 | Do not fiddle with Name_Buffer. |
3805 | (concat_id_with_name): Rename to... | |
a8e05f92 | 3806 | (concat_name): ...this. Use get_identifier_with_length. Do not fiddle |
0fb2335d EB |
3807 | with Name_Buffer. |
3808 | * gcc-interface/utils.c (rest_of_record_type_compilation): Adjust for | |
3809 | above renaming. | |
3810 | ||
ad41bd84 JM |
3811 | 2009-04-21 Joseph Myers <joseph@codesourcery.com> |
3812 | ||
3813 | * ChangeLog, ChangeLog.ptr, ChangeLog.tree-ssa: Add copyright and | |
3814 | license notices. | |
3815 | ||
ca80e52b EB |
3816 | 2009-04-21 Eric Botcazou <ebotcazou@adacore.com> |
3817 | ||
3818 | * gcc-interface/trans.c (gnat_to_gnu): Do not overwrite location info. | |
3819 | ||
b4680ca1 EB |
3820 | 2009-04-21 Eric Botcazou <ebotcazou@adacore.com> |
3821 | ||
71b495a2 | 3822 | * gcc-interface/ada-tree.h (TYPE_RM_SIZE_NUM): Delete. |
b4680ca1 | 3823 | (TYPE_RM_SIZE): Access TYPE_LANG_SLOT_1 directly for integral types. |
71b495a2 EB |
3824 | * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Modular_Integer_Type>: |
3825 | Remove useless support code for packed array types and assert its | |
3826 | uselessness. | |
b4680ca1 EB |
3827 | <E_Signed_Integer_Subtype>: Reuse entity identifier in more places and |
3828 | adjust for TYPE_RM_SIZE change. | |
3829 | <all> Fix nits in comments. Use Original_Array_Type accessor instead | |
3830 | of Associated_Node_For_Itype accessor for packed array types. | |
3831 | (make_packable_type): Likewise. | |
3832 | (maybe_pad_type): Likewise. | |
3833 | (set_rm_size): Likewise. Rework conditional statement. Adjust for | |
3834 | TYPE_RM_SIZE change. | |
3835 | (make_type_from_size): Adjust for TYPE_RM_SIZE change. | |
3836 | (rm_size): Fix nits in comments. Rework conditional statements. | |
71b495a2 EB |
3837 | * gcc-interface/misc.c (gnat_print_type): Adjust for TYPE_RM_SIZE |
3838 | change. | |
3839 | * gcc-interface/trans.c (Attribute_to_gnu): Fix nits in comments. | |
3840 | * gcc-interface/utils.c (gnat_init_decl_processing): Use more | |
3841 | appropriate function to initialize the size_type_node. Adjust for | |
3842 | TYPE_RM_SIZE change. | |
b4680ca1 | 3843 | |
a962b0a1 EB |
3844 | 2009-04-21 Eric Botcazou <ebotcazou@adacore.com> |
3845 | ||
3846 | * gcc-interface/decl.c (gnat_to_gnu_entity): Do not set force_global | |
3847 | for imported subprograms. | |
3848 | ||
2f283818 EB |
3849 | 2009-04-21 Eric Botcazou <ebotcazou@adacore.com> |
3850 | ||
3851 | * gcc-interface/decl.c (gnat_to_gnu_entity) <object>: Do not make | |
3852 | constant objects covered by 13.3(19) volatile. | |
3853 | ||
ac53d5f2 EB |
3854 | 2009-04-21 Eric Botcazou <ebotcazou@adacore.com> |
3855 | ||
3856 | * gcc-interface/utils.c (create_type_decl): Do not pass declarations | |
3857 | of dummy fat pointer types to the debug back-end. | |
3858 | ||
6e0f0975 EB |
3859 | 2009-04-20 Eric Botcazou <ebotcazou@adacore.com> |
3860 | ||
3861 | * gcc-interface/decl.c (gnat_to_gnu_entity): Rewrite Esize calculation. | |
3862 | <E_Signed_Integer_Subtype>: Set the RM size on the integer type | |
3863 | before wrapping it up in the record type. Do not overwrite the | |
3864 | Ada size of the record type with the Esize. | |
3865 | ||
c2efda0d EB |
3866 | 2009-04-20 Eric Botcazou <ebotcazou@adacore.com> |
3867 | ||
3868 | * gcc-interface/trans.c (unchecked_conversion_lhs_nop): New predicate. | |
3869 | (gnat_to_gnu) <N_Unchecked_Type_Conversion>: Return the expression | |
3870 | if the conversion is on the LHS of an assignment and a no-op. | |
3871 | <all> Do not convert the result to the result type if the Parent | |
3872 | node is such a conversion. | |
3873 | ||
77022fa8 EB |
3874 | 2009-04-20 Eric Botcazou <ebotcazou@adacore.com> |
3875 | ||
3876 | * gcc-interface/ada-tree.h (DECL_HAS_REP_P): Delete. | |
3877 | * gcc-interface/decl.c (gnat_to_gnu_entity): Add support for extension | |
3878 | of types with unknown discriminants. | |
3879 | (substitute_in_type): Rewrite and restrict to formal substitutions. | |
3880 | * gcc-interface/utils.c (create_field_decl): Do not set DECL_HAS_REP_P. | |
3881 | (update_pointer_to): Update comment. | |
3882 | ||
e69614ad AC |
3883 | 2009-04-20 Ed Schonberg <schonberg@adacore.com> |
3884 | ||
3885 | * sem_ch8.adb (Use_One_Package): In an instance, if two | |
3886 | potentially_use_visible and non-overloadable homonyms are available | |
3887 | from the actuals of distinct formal packages, retain the current one, | |
3888 | which was visible in the generic, to prevent spurious visibility | |
3889 | errors. | |
3890 | (End_Use_Package): Restore use_visibility when needed. | |
3891 | ||
3892 | 2009-04-20 Sergey Rybin <rybin@adacore.com> | |
3893 | ||
3894 | * gnat_ugn.texi, vms_data.ads: Update doc. | |
3895 | ||
32838704 AC |
3896 | 2009-04-20 Arnaud Charlet <charlet@adacore.com> |
3897 | ||
3898 | * gcc-interface/Make-lang.in: Update dependencies | |
3899 | ||
3900 | * gcc-interface/Makefile.in: Link run-time against winsock2 lib under | |
3901 | Windows. | |
3902 | ||
37951d8e AC |
3903 | 2009-04-20 Robert Dewar <dewar@adacore.com> |
3904 | ||
3905 | * checks.ads: Fix documentation of range check handling | |
3906 | ||
3907 | 2009-04-20 Ed Schonberg <schonberg@adacore.com> | |
3908 | ||
3909 | * sem_ch8.adb (Use_One_Type): Use proper entity on warning message for | |
3910 | a redundant use_type clause. | |
3911 | ||
5d5832bc AC |
3912 | 2009-04-20 Robert Dewar <dewar@adacore.com> |
3913 | ||
3914 | * sem_attr.adb (Eval_Attribute, case Length): Catch more cases where | |
3915 | this attribute can be evaluated at compile time. | |
3916 | (Eval_Attribute, case Range_Length): Same improvement | |
3917 | ||
3918 | * sem_eval.ads, sem_eval.adb (Compile_Time_Compare): New procedure | |
3919 | ||
3920 | 2009-04-20 Ed Schonberg <schonberg@adacore.com> | |
3921 | ||
3922 | * sem_ch6.adb (Analye_Subprogram_Declaration): Code reorganization, | |
3923 | for better handling of null procedures. | |
3924 | (Check_Overriding_Indicator): Do not emit a warning on a missing | |
3925 | overriding indicator on an operator when the type of which the operator | |
3926 | is a primitive is private. | |
3927 | ||
97a8fb16 AC |
3928 | 2009-04-20 Bob Duff <duff@adacore.com> |
3929 | ||
3930 | * sem.adb, gnat1drv.adb, debug.adb: Use the -gnatd.W switch to control | |
3931 | debugging output. | |
3932 | ||
3933 | 2009-04-20 Robert Dewar <dewar@adacore.com> | |
3934 | ||
3935 | * sem_attr.adb: Minor reformatting | |
3936 | ||
3937 | * gnatcmd.adb: Minor reformatting | |
3938 | ||
7340e432 AC |
3939 | 2009-04-20 Ed Schonberg <schonberg@adacore.com> |
3940 | ||
3941 | * sem_ch4.adb (Analyze_User_Defined_Binary_Op): If left operand is | |
3942 | overloaded and one interpretation matches the context, label the | |
3943 | operand with the type of first formal. | |
3944 | ||
3945 | 2009-04-20 Bob Duff <duff@adacore.com> | |
3946 | ||
3947 | * debug.ads: Minor comment fix. | |
3948 | ||
3949 | * debug.adb: Minor comment fixes. | |
3950 | ||
3951 | 2009-04-20 Javier Miranda <miranda@adacore.com> | |
3952 | ||
3953 | * rtsfind.ads (RE_Null_Id): New entity of package Ada.Exceptions | |
3954 | ||
3955 | * exp_ch6.adb (Expand_Inlined_Call): Undo previous patch. | |
3956 | ||
3957 | * exp_ch11.adb (Expand_N_Raise_Statement): When the raise stmt | |
3958 | is expanded into a call to Raise_Exception, avoid passing the | |
3959 | exception-name'identity in runtimes in which this argument | |
3960 | is not used. | |
3961 | ||
bf06d37f AC |
3962 | 2009-04-20 Jerome Lambourg <lambourg@adacore.com> |
3963 | ||
3964 | * impunit.adb: Add i-cil and i-cilobj packages, now needed by the | |
3965 | generated bindings for cil. | |
3966 | ||
3967 | 2009-04-20 Ed Schonberg <schonberg@adacore.com> | |
3968 | ||
3969 | * sem_aggr.adb (Resolve_Record_Aggregate): If the type has unknown | |
3970 | discriminants, collect components from the Underlying_Record_View, | |
3971 | which will be used in the expansion of the aggregate into assignments. | |
3972 | ||
3973 | * sem_ch3.adb: Do not label derived type with unknown discriminants as | |
3974 | having a private declaration. | |
3975 | ||
58a9d876 AC |
3976 | 2009-04-20 Ed Schonberg <schonberg@adacore.com> |
3977 | ||
3978 | * exp_util.adb (Expand_Subtype_From_Expr): use the | |
3979 | underlying_record_view when available, to create the proper constrained | |
3980 | subtype for an object of a derived type with unknown discriminants. | |
3981 | ||
3982 | 2009-04-20 Javier Miranda <miranda@adacore.com> | |
3983 | ||
3984 | * exp_ch6.adb (Expand_Inlined_Call): Avoid generation of temporaries for | |
3985 | formals that have pragma unreferenced. | |
3986 | ||
e34ca162 AC |
3987 | 2009-04-20 Pascal Obry <obry@adacore.com> |
3988 | ||
3989 | * a-direct.adb (To_Lower_If_Case_Insensitive): Removed. | |
3990 | Remove all calls to To_Lower_If_Case_Insensitive to preserve | |
3991 | the pathname original casing. | |
3992 | ||
3993 | 2009-04-20 Robert Dewar <dewar@adacore.com> | |
3994 | ||
3995 | * g-trasym.adb: Minor reformatting | |
3996 | ||
3997 | * s-os_lib.adb: Minor reformatting | |
3998 | ||
3999 | * sem.adb: Minor reformatting | |
4000 | Minor code reorganization | |
4001 | ||
4002 | * sem_ch3.adb: Minor reformatting | |
4003 | ||
4004 | * sem_ch4.adb: Minor reformatting | |
4005 | ||
4006 | * sem_ch8.adb: Minor reformatting | |
4007 | ||
4008 | * sem_type.adb: Minor reformatting | |
4009 | ||
ee9aa7b6 AC |
4010 | 2009-04-20 Javier Miranda <miranda@adacore.com> |
4011 | ||
4012 | * sem_disp.adb (Find_Dispatching_Type): For subprograms internally | |
4013 | generated by derivations of tagged types use the aliased subprogram a | |
4014 | reference to locate their controlling type. | |
4015 | ||
4016 | 2009-04-20 Tristan Gingold <gingold@adacore.com> | |
4017 | ||
4018 | * g-trasym.adb: Set size of result buffer before calling | |
4019 | convert_address. | |
4020 | ||
4021 | 2009-04-20 Ed Schonberg <schonberg@adacore.com> | |
4022 | ||
4023 | * sem_ch4.adb (Valid_Candidate): When checking whether a prefixed call | |
4024 | to a function returning an array can be interpreted as a call with | |
4025 | defaulted parameters whose result is indexed, take into account the | |
4026 | types of all the indices of the array result type. | |
4027 | ||
4028 | 2009-04-20 Pascal Obry <obry@adacore.com> | |
4029 | ||
4030 | * a-direct.adb, s-os_lib.adb: Minor reformatting. | |
4031 | ||
bddd6058 AC |
4032 | 2009-04-20 Ed Schonberg <schonberg@adacore.com> |
4033 | ||
4034 | * sem_ch8.adb (Analyze_Object_Renaming): Proper checks on incorrect | |
4035 | null exclusion qualifiers for object renaming declarations. | |
4036 | ||
4037 | 2009-04-20 Nicolas Roche <roche@adacore.com> | |
4038 | ||
4039 | * sysdep.c (__gnat_localtime_tzoff): on Windows, manipulated times are | |
4040 | unsigned long long. So compare local_time and utc_time before computing | |
4041 | the difference. | |
4042 | ||
4043 | 2009-04-20 Eric Botcazou <ebotcazou@adacore.com> | |
4044 | ||
4045 | * sem_ch3.adb (Build_Derived_Private_Type): Insert the declaration | |
4046 | of the Underlying_Record_View before that of the derived type. | |
4047 | ||
4048 | * exp_ch3.adb (Expand_Record_Extension): Do not special-case types | |
4049 | with unknown discriminants with regard to the parent subtype. | |
4050 | ||
4f18d860 BD |
4051 | 2009-04-20 Bob Duff <duff@adacore.com> |
4052 | ||
4053 | * sem.adb (Semantics, Walk_Library_Items): Include dependents of bodies | |
4054 | that are not included. This is necessary if the main unit is a generic | |
4055 | instantiation. | |
4056 | ||
4057 | * gnat1drv.adb (Gnat1drv): Comment out the call to Check_Library_Items, | |
4058 | because it doesn't work if -gnatn is used. | |
4059 | ||
5987e59c AC |
4060 | 2009-04-20 Ed Schonberg <schonberg@adacore.com> |
4061 | ||
4062 | * rtsfind.adb (RTE, RTE_Record_Component): In | |
4063 | Configurable_Run_Time_Mode, do not enable front-end inlining. | |
4064 | ||
4065 | 2009-04-20 Thomas Quinot <quinot@adacore.com> | |
4066 | ||
4067 | * g-socthi-vms.adb: Remove now unnecessary WITH clause on | |
4068 | System.Address_To_Access_Conversions. | |
4069 | ||
4070 | 2009-04-20 Ed Schonberg <schonberg@adacore.com> | |
4071 | ||
4072 | * sem.adb: Guard against ill-formed subunits. | |
4073 | ||
4074 | 2009-04-20 Bob Duff <duff@adacore.com> | |
4075 | ||
4076 | * output.adb (Flush_Buffer): Do not indent blank lines. | |
4077 | (Ignore_Output): New procedure for output suppression. | |
4078 | ||
4079 | 2009-04-20 Hristian Kirtchev <kirtchev@adacore.com> | |
4080 | ||
4081 | * a-calfor.adb (Image): Subtract 0.5 from the sub second component only | |
4082 | when it is positive. This avoids a potential constraint error raised | |
4083 | by the conversion to Natural. | |
4084 | ||
4085 | 2009-04-20 Gary Dismukes <dismukes@adacore.com> | |
4086 | ||
4087 | * exp_ch5.adb (Expand_Assign_Array): For the case where the assignment | |
4088 | involves a target that has a specified address, don't set Forward_OK | |
4089 | and Backward_OK to False if the rhs is an aggregate, since overlap | |
4090 | can't occur. | |
4091 | ||
4092 | 2009-04-20 Ed Schonberg <schonberg@adacore.com> | |
4093 | ||
451800a0 | 4094 | * sem_ch8.adb (Analyze_Object_Renaming): Reject ambiguous expressions |
5987e59c AC |
4095 | in an object renaming declaration when the expected type is an |
4096 | anonymous access type. | |
4097 | ||
4098 | * sem_type.adb (Disambiguate): Use anonymousness to resolve a potential | |
4099 | ambiguity when one interpretation is an anonymous access type and the | |
4100 | other is a named access type, and the context itself is anonymous | |
4101 | ||
4102 | 2009-04-20 Thomas Quinot <quinot@adacore.com> | |
4103 | ||
4104 | * einfo.ads: Minor comment rewording | |
4105 | ||
4106 | * sem_aggr.adb: Minor comment rewording | |
4107 | ||
4108 | * sem_ch3.adb, sem_ch6.adb: Minor reformatting | |
4109 | ||
4110 | 2009-04-20 Pascal Obry <obry@adacore.com> | |
4111 | ||
4112 | * adaint.c (__gnat_is_readable_file): Check for file existence | |
4113 | when not using ACL (always the case on remote drives). | |
4114 | ||
8737a29a AC |
4115 | 2009-04-20 Robert Dewar <dewar@adacore.com> |
4116 | ||
4117 | * sinfo.ads: Minor comment fixes | |
4118 | ||
4119 | * exp_disp.adb: Minor reformatting | |
4120 | ||
4121 | * gnat1drv.adb: Minor reformatting | |
4122 | ||
4123 | * output.adb: Minor reformatting | |
4124 | ||
4125 | * s-vxwext-kernel.ads: Minor reformatting | |
4126 | ||
4127 | * sem.ads: Minor reformatting | |
4128 | ||
4129 | * sem.adb: Minor reformatting | |
4130 | ||
4131 | * sem_elim.adb: Minor reformatting | |
4132 | ||
4133 | * uname.ads: Minor reformatting | |
4134 | ||
4135 | 2009-04-20 Eric Botcazou <ebotcazou@adacore.com> | |
4136 | ||
4137 | * init.c (__gnat_adjust_context_for_raise): On x86{-64}/Linux, add | |
4138 | a small dope of 4 words to the adjustment to the stack pointer. | |
4139 | ||
4140 | 2009-04-20 Thomas Quinot <quinot@adacore.com> | |
4141 | ||
4142 | * xoscons.adb: generate C header s-oscons.h in | |
4143 | addition to s-oscons.ads. | |
4144 | ||
4145 | * socket.c: On VMS, use s-oscons.h. | |
4146 | ||
4147 | * sem_ch3.adb: Minor reformatting | |
4148 | ||
4149 | * exp_ch9.adb: Minor reformatting | |
4150 | ||
85087bcb EB |
4151 | 2009-04-20 Eric Botcazou <ebotcazou@adacore.com> |
4152 | ||
4153 | * gcc-interface/trans.c (check_for_eliminated_entity): Remove. | |
4154 | (Attribute_to_gnu): Do not call check_for_eliminated_entity. | |
4155 | (call_to_gnu): Likewise. | |
4156 | ||
ecc3905a EB |
4157 | 2009-04-20 Eric Botcazou <ebotcazou@adacore.com> |
4158 | ||
4159 | * gcc-interface/trans.c (gigi): Declare the name of the compilation | |
4160 | unit as the first global name at the very beginning. | |
4161 | ||
2907036d TQ |
4162 | 2009-04-20 Thomas Quinot <quinot@adacore.com> |
4163 | ||
4164 | * socket.c, g-socthi-vms.adb, g-socthi-vms.ads, g-socthi-vxworks.ads, | |
4165 | s-oscons-tmplt.c, gsocket.h, g-socthi-mingw.ads, g-socthi.ads, | |
4166 | g-sothco.ads (__gnat_inet_pton): Needs to be enabled for HP-UX as well, | |
4167 | since HP-UX supports neither inet_aton nor inet_pton (altough the | |
4168 | latter is part of the Single UNIX Specification!). | |
4169 | So reorganize code, and share C implementation based on inet_addr(3) | |
4170 | with VMS (instead of having a VMS specific Ada implementation in | |
4171 | g-socthi-vms.adb). | |
4172 | ||
d5063351 AC |
4173 | 2009-04-20 Gary Dismukes <dismukes@adacore.com> |
4174 | ||
4175 | * osint-c.ads, osint-c.adb (Get_Object_Output_File_Name): New function | |
4176 | to return the object file name saved by Set_Object_Output_File_Name. | |
4177 | ||
4178 | 2009-04-20 Emmanuel Briot <briot@adacore.com> | |
4179 | ||
4180 | * g-comlin.adb (Initialize_Option_Scan): Fix initialization of parsers | |
4181 | for the standard command line, when argc has been modified since the | |
4182 | start of the application. | |
4183 | ||
4184 | 2009-04-20 Thomas Quinot <quinot@adacore.com> | |
4185 | ||
4186 | * socket.c (__gnat_inet_pton, Windows case): Adjust return value. | |
4187 | WSAStringToAddress returns 0 for success and SOCKET_ERROR for failure. | |
4188 | ||
3edf2f76 AC |
4189 | 2009-04-20 Bob Duff <duff@adacore.com> |
4190 | ||
4191 | * gnat1drv.adb (Gnat1drv): Put call to Check_Library_Items inside | |
4192 | pragma Debug. | |
4193 | ||
4194 | 2009-04-20 Ed Schonberg <schonberg@adacore.com> | |
4195 | ||
4196 | * exp_ch9.adb (Build_Protected_Sub_Specification): Mark generated | |
4197 | subprogram as Eliminated when source operation is. | |
4198 | (Expand_N_Protected_Type_Declaration): Generate protected and | |
4199 | unprotected specs for the internal operations, even if the source | |
4200 | operation is eliminated. | |
4201 | ||
4202 | 2009-04-20 Hristian Kirtchev <kirtchev@adacore.com> | |
4203 | ||
4204 | * exp_ch3.adb (Make_Predefined_Primitive_Specs, | |
4205 | Predefined_Primitive_Bodies): Do not create the declarations and bodies | |
4206 | of the primitive subprograms associated with dispatching select | |
4207 | statements when the runtime is in configurable mode. | |
4208 | ||
4209 | 2009-04-20 Ed Falis <falis@adacore.com> | |
4210 | ||
4211 | * s-vxwext-kernel.ads (tickGet): Use tick64Get. | |
4212 | ||
4fd1e8b0 AC |
4213 | 2009-04-20 Thomas Quinot <quinot@adacore.com> |
4214 | ||
4215 | * s-oscons-tmplt.c: Add support for generating a dummy version of | |
4216 | s-oscons.ads providing all possible constants. | |
4217 | ||
4218 | * g-socthi-mingw.ads: Fix calling convention for __gnat_inet_pton. | |
4219 | ||
4220 | * socket.c (__gnat_inet_pton): On Windows make sure we always use the | |
4221 | ANSI version (not the UNICODE version) of WSAStringToAddress. | |
4222 | ||
4223 | 2009-04-20 Pascal Obry <obry@adacore.com> | |
4224 | ||
4225 | * adaint.c (__gnat_set_OWNER_ACL): properly free memory | |
4226 | allocated for the security descriptor and make sure all | |
4227 | handles are closed before leaving this procedure. | |
4228 | ||
9013065b AC |
4229 | 2009-04-20 Javier Miranda <miranda@adacore.com> |
4230 | ||
4231 | * einfo.ads, einfo.adb (Is_Underlying_Record_View): New subprogram | |
4232 | (Set_Is_Underlying_Record_View): New subprogram | |
4233 | ||
4234 | * sem_aggr.adb (Discr_Present, Resolve_Record_Aggregate): In case of | |
4235 | private types with unknown discriminants use the underlying record view | |
4236 | if available. | |
4237 | ||
4238 | * sem_ch3.adb (Build_Derived_Private_Type): Enable construction of the | |
4239 | underlying record view in the full view of private types whose parent | |
4240 | has unknown discriminants. | |
4241 | (Build_Derived_Record_Type): Avoid generating the class-wide entity | |
4242 | associated with an underlying record view. | |
4243 | (Derived_Type_Declaration): Avoid deriving parent primitives in | |
4244 | underlying record views. | |
4245 | ||
4246 | * sem_ch6.adb (Check_Return_Subtype_Indication): Add support for | |
4247 | records with unknown discriminants. | |
4248 | ||
4249 | * sem_type.adb (Covers): Handle underlying record views. | |
4250 | (Is_Ancestor): Add support for underlying record views. | |
4251 | ||
4252 | * exp_attr.adb (Expand_Attribute): Expand attribute 'size into a | |
4253 | dispatching call if the type of the target object is tagged and has | |
4254 | unknown discriminants. | |
4255 | ||
4256 | * exp_aggr.adb (Resolve_Record_Aggregate): Add support for records with | |
4257 | unknown discriminants. | |
4258 | ||
4259 | * exp_disp.adb (Build_Dispatch_Tables): Avoid generating dispatch | |
4260 | tables for internally built underlying record views. | |
4261 | ||
4262 | * sprint.adb (sprint_node_actual): Improve output of aggregates with an | |
4263 | empty list of component associations. | |
4264 | ||
4265 | 2009-04-20 Thomas Quinot <quinot@adacore.com> | |
4266 | ||
4267 | * sem_ch10.adb: Minor reformatting | |
4268 | ||
4269 | * socket.c, g-socthi-vms.adb, g-socthi-vms.ads, g-socthi-vxworks.ads, | |
4270 | g-socthi-mingw.ads, g-socthi.ads, g-socket.adb | |
4271 | (GNAT.Sockets.Inet_Addr): Do not use non-portable inet_aton, instead use | |
4272 | standard inet_pton API (and emulate it on platforms that do not | |
4273 | support it). | |
4274 | (GNAT.Sockets.Thin.Inet_Pton, VMS case): Implement in terms of | |
4275 | DECC$INET_ADDR, imported in Ada. | |
4276 | (GNAT.Sockets.Thin.Inet_Pton, VxWorks and Windows cases): Use C | |
4277 | implementation provided by GNAT runtime. | |
4278 | (__gnat_inet_pton): C implementation of inet_pton(3) for VxWorks and | |
4279 | Windows. | |
4280 | ||
7289b80c AC |
4281 | 2009-04-20 Eric Botcazou <ebotcazou@adacore.com> |
4282 | ||
4283 | * gnat_ugn.texi: Add documentation for -fno-ivopts. | |
4284 | ||
4285 | 2009-04-20 Ed Schonberg <schonberg@adacore.com> | |
4286 | ||
4287 | * sem_ch10.adb (Analyze_Context): Do not analyze a unit in a | |
4288 | with_clause if it is the main unit. | |
4289 | ||
c09a557e AC |
4290 | 2009-04-20 Thomas Quinot <quinot@adacore.com> |
4291 | ||
4292 | * sem_type.adb, ali.adb, erroutc.adb: Minor code reorganization | |
4293 | (no behaviour change): Use Append instead of Increment_Last followed | |
4294 | by assignment. | |
4295 | ||
4296 | 2009-04-20 Hristian Kirtchev <kirtchev@adacore.com> | |
4297 | ||
4298 | * exp_ch3.adb (Make_Predefined_Primitive_Specs): Do not generate the | |
4299 | declarations of all primitives associated with dispatching asynchronous, | |
4300 | conditional and timed selects when dispaching calls are forbidden and | |
4301 | select statements are not allowed (such as in Ravenscar). | |
4302 | (Predefined_Primitive_Bodies): Ditto for bodies. | |
4303 | ||
4304 | * exp_disp.ad (Make_DT): Do not create and populate the | |
4305 | Select_Specific_Data of the dispatch table when dispatching calls are | |
4306 | forbidden and select statements are not allowed (such as in Ravenscar). | |
4307 | ||
4308 | 2009-04-20 Robert Dewar <dewar@adacore.com> | |
4309 | ||
4310 | * a-tifiio.adb: Minor reformatting | |
4311 | ||
4312 | 2009-04-20 Thomas Quinot <quinot@adacore.com> | |
4313 | ||
4314 | * g-socthi-vms.adb, g-socket.adb, g-socket.ads: inet_aton(3), unlike | |
4315 | other C library functions, report *failure* with a zero status, and | |
4316 | success with a non-zero status. | |
4317 | ||
4318 | 2009-04-20 Bob Duff <duff@adacore.com> | |
4319 | ||
4320 | * sem.ads, sem.adb (Walk_Library_Items): New generic procedure. | |
4321 | (Semantics): After analyzing each unit, Append it to the | |
4322 | Comp_Unit_List, if appropriate. | |
4323 | ||
4324 | * gnat1drv.adb (Check_Library_Items): New procedure for debugging | |
4325 | purposes. | |
4326 | (Gnat1drv): Correct comment regarding Back_End_Mode. | |
4327 | ||
4328 | 2009-04-20 Eric Botcazou <ebotcazou@adacore.com> | |
4329 | ||
4330 | * gnat_ugn.texi: Add documentation for -fno-inline-small-functions. | |
4331 | ||
7e728b0f TQ |
4332 | 2009-04-20 Thomas Quinot <quinot@adacore.com> |
4333 | ||
4334 | * s-taprop-irix.adb, s-taprop-tru64.adb, s-taprop-vms.adb, | |
4335 | output.adb, output.ads, s-taprop-hpux-dce.adb, | |
4336 | s-taprop-linux.adb, s-taprop-solaris.adb, s-taprop-posix.adb: Minor | |
4337 | reformatting. | |
4338 | ||
5e39baa6 TQ |
4339 | 2009-04-20 Thomas Quinot <quinot@adacore.com> |
4340 | ||
4341 | * g-socket.adb, g-socket.ads, g-socthi-mingw.ads, g-socthi-vms.adb, | |
4342 | g-socthi-vms.ads, g-socthi-vxworks.ads, g-socthi.ads | |
4343 | (GNAT.Sockets.Thin.C_Inet_Addr): Remove. | |
4344 | (GNAT.Sockets.Thin.Inet_Aton): New function, imported from C library | |
4345 | except for VMS where it is reimplemented in Ada using DECC$INET_ADDR. | |
4346 | (GNAT.Sockets.Inet_Addr): Use inet_aton(3) instead of inet_addr(3). | |
4347 | ||
4348 | * debug.adb: Fix typo | |
4349 | ||
4350 | * gnat_rm.texi: Minor doc fix. | |
4351 | ||
4352 | * sem_ch7.adb, freeze.adb: Minor reformatting | |
4353 | ||
3568b271 AC |
4354 | 2009-04-20 Thomas Quinot <quinot@adacore.com> |
4355 | ||
4356 | * g-socket.ads: Add new constants: | |
4357 | Loopback_Inet_Addr | |
4358 | Unspecified_Group_Inet_Addr | |
4359 | All_Hosts_Group_Inet_Addr | |
4360 | All_Routers_Group_Inet_Addr | |
4361 | ||
4362 | * s-oscons-tmplt.c, g-sttsne-vxworks.adb (System.OS_Constants): Add | |
4363 | ERANGE (Result too large). | |
4364 | (GNAT.Sockets.Thin.Task_Safe_NetDB, VxWorks version): Add missing | |
4365 | propagation of errno to caller. | |
4366 | ||
4367 | 2009-04-20 Hristian Kirtchev <kirtchev@adacore.com> | |
4368 | ||
4369 | * a-calend.adb, a-calend-vms.adb: Increase the number of leap seconds | |
4370 | to 24. Increment Leap_Seconds_Count and add an entry to aggregate | |
4371 | Leap_Second_Times. | |
4372 | ||
4373 | 2009-04-20 Gary Dismukes <dismukes@adacore.com> | |
4374 | ||
4375 | * sem_elim.ads (Check_For_Eliminated_Subprogram): New procedure for | |
4376 | checking for references to eliminated subprograms that should be | |
4377 | flagged. | |
4378 | (Eliminate_Error_Message): Update comment to say "references" rather | |
4379 | than "calls" (since attribute cases are handled here as well). | |
4380 | ||
4381 | * sem_elim.adb (Check_For_Eliminated_Subprogram): New procedure for | |
4382 | checking for references to eliminated subprograms that should be | |
4383 | flagged. Add with and use of Sem and Sem_Util. | |
4384 | ||
4385 | * sem_res.adb (Resolve_Call): Reject calls to eliminated subprograms. | |
4386 | Add with and use of Sem_Elim. | |
4387 | ||
4388 | * sem_attr.adb (Analyze_Access_Attribute): Reject access attributes | |
4389 | applied to eliminated subprograms. | |
4390 | (Analyze_Attribute): Reject 'Address and 'Code_Address applied to | |
4391 | eliminated subprograms. | |
4392 | Add with and use of Sem_Elim. | |
4393 | ||
4394 | * sem_disp.adb (Check_Dispatching_Call): Remove error check for calls | |
4395 | to eliminated subprograms, now handled during Resolve_Call. | |
4396 | Remove with and use of Sem_Elim. | |
4397 | ||
4398 | * exp_disp.adb (Make_DT): Get Ultimate_Alias of primitive before | |
4399 | testing Is_Eliminated, for proper handling of primitive derived from | |
4400 | eliminated subprograms. | |
4401 | ||
4402 | 2009-04-20 Vincent Celier <celier@adacore.com> | |
4403 | ||
4404 | * mlib-prj.adb (Build_Library): Use the shared library linker, if one | |
4405 | has been declared (Library_GCC or Linker'Driver), for the driver name. | |
4406 | ||
4407 | * prj-nmsc.adb (Process_Linker): If Library_GCC is not declared and | |
4408 | Linker'Driver is, use Linker'Driver as the shared library linker. | |
4409 | (Process_Project_Level_Simple_Attributes): Issue a warning if attribute | |
4410 | Library_GCC is declared. | |
4411 | (Check_Library_Attributes): Set up the shared linker driver: either | |
4412 | Library_GCC or Linker'Driver. Issue a warning if Library_GCC is | |
4413 | declared. | |
4414 | ||
6e55ac7a TQ |
4415 | 2009-04-20 Thomas Quinot <quinot@adacore.com> |
4416 | ||
4417 | * g-socket.ads (Send_Socket): Fix misleading comment. | |
4418 | ||
68218f7c AC |
4419 | 2009-04-20 Arnaud Charlet <charlet@adacore.com> |
4420 | ||
4421 | * switch-c.adb (Scan_Front_End_Switches): Disable inspector mode in | |
4422 | ASIS mode. | |
4423 | ||
4424 | 2009-04-20 Geert Bosch <bosch@adacore.com> | |
4425 | ||
4426 | * a-tifiio.adb (Put): Avoid generating too many digits for certain | |
4427 | fixed types with smalls that are neither integer or the reciprocal | |
4428 | of an integer. | |
4429 | ||
4430 | 2009-04-20 Bob Duff <duff@adacore.com> | |
4431 | ||
4432 | * uname.ads: Minor comment fix. | |
4433 | ||
4434 | * types.ads: Minor comment fix. | |
4435 | ||
262991d8 PO |
4436 | 2009-04-20 Pascal Obry <obry@adacore.com> |
4437 | ||
4438 | * adaint.c (__gnat_get_libraries_from_registry): Fix code to | |
4439 | avoid warning. At the same time fix a memory leak. | |
4440 | ||
4441 | * osint.adb (Get_Libraries_From_Registry): Properly free memory | |
4442 | returned by the above routine. | |
4443 | ||
d0f8d157 AC |
4444 | 2009-04-20 Robert Dewar <dewar@adacore.com> |
4445 | ||
4446 | * s-conca5.adb, s-conca5.ads, s-conca7.adb, s-conca7.ads, s-conca9.adb, | |
4447 | s-conca9.ads, rtsfind.ads, s-conca2.adb, s-conca2.ads, s-conca4.adb, | |
4448 | s-conca4.ads, s-conca6.adb, s-conca6.ads, s-conca8.adb, s-conca8.ads, | |
4449 | s-conca3.adb, s-conca3.ads (Str_Concat_Bounds_x): New functions. | |
4450 | ||
4451 | * exp_ch4.adb (Expand_Concatenate): Minor code reorganization | |
4452 | ||
4453 | 2009-04-20 Pascal Obry <obry@adacore.com> | |
4454 | ||
4455 | * initialize.c (__gnat_initialize): Add braces to kill warning. | |
4456 | ||
262991d8 | 4457 | * adaint.c: Minor reformatting, remove trailing spaces. |
d0f8d157 | 4458 | |
34c25b32 AC |
4459 | 2009-04-17 Arnaud Charlet <charlet@adacore.com> |
4460 | ||
4461 | * gcc-interface/Make-lang.in: Update dependencies. | |
4462 | ||
9549767b AC |
4463 | 2009-04-20 Eric Botcazou <ebotcazou@adacore.com> |
4464 | ||
4465 | * adaint.h (__gnat_lwp_self): Declare on Linux. | |
4466 | ||
4467 | * adaint.c (__gnat_os_filename): Add ATTRIBUTE_UNUSED on 'filename'. | |
4468 | ||
4469 | 2009-04-20 Robert Dewar <dewar@adacore.com> | |
4470 | ||
4471 | * exp_ch5.adb, usage.adb, back_end.adb, opt.ads: Implement | |
4472 | front-end part of -fpreserve-control-flow switch. | |
4473 | ||
d7f94401 AC |
4474 | 2009-04-20 Bob Duff <duff@adacore.com> |
4475 | ||
4476 | * rtsfind.adb: Minor comment fix | |
4477 | ||
4478 | 2009-04-20 Robert Dewar <dewar@adacore.com> | |
4479 | ||
4480 | * exp_aggr.adb: Minor reformatting | |
4481 | Minor code reorganization (use Nkind_In) | |
4482 | ||
4483 | * g-socket.adb: Minor reformatting | |
4484 | ||
4485 | * g-socket.ads: Minor comment fix | |
4486 | ||
4487 | * s-auxdec.ads: Minor comment and organization update. | |
4488 | ||
4489 | * s-auxdec-vms_64.ads: Minor comment and organization update. | |
4490 | ||
4491 | * sem_ch10.adb: Minor addition of ??? comment | |
4492 | ||
4493 | * sem_disp.adb: Minor reformatting | |
4494 | ||
f8b86c2d AC |
4495 | 2009-04-20 Ed Schonberg <schonberg@adacore.com> |
4496 | ||
4497 | * inline.adb (Add_Inlined_Subprogram): Do not place on the back-end | |
4498 | list a caller of an inlined subprogram, if the caller itself is not | |
4499 | called. | |
4500 | ||
4501 | 2009-04-20 Pascal Obry <obry@adacore.com> | |
4502 | ||
4503 | * adaint.c: Disable use of ACL on network drives. | |
4504 | ||
4505 | 2009-04-20 Arnaud Charlet <charlet@adacore.com> | |
4506 | ||
4507 | * gnat_ugn.texi: Add examples. | |
4508 | ||
efec4f2a TQ |
4509 | 2009-04-20 Thomas Quinot <quinot@adacore.com> |
4510 | ||
4511 | * g-socket.ads (Abort_Selector): Clarify documentation. | |
4512 | ||
ff2e7c1e AC |
4513 | 2009-04-20 Arnaud Charlet <charlet@adacore.com> |
4514 | ||
4515 | * opt.ads (Inspector_Mode): Update documentation of this flag. | |
4516 | ||
4517 | 2009-04-20 Thomas Quinot <quinot@adacore.com> | |
4518 | ||
4519 | * g-socket.ads: Minor reformatting | |
4520 | ||
4521 | * socket.c, gsocket.h (__gnat_get_h_errno, VxWorks case): No need to | |
4522 | consider S_resolvLib error codes since we only use the hostLib wrappers. | |
4523 | ||
4524 | 2009-04-20 Eric Botcazou <ebotcazou@adacore.com> | |
4525 | ||
4526 | * sem_ch3.adb (Build_Derived_Private_Type): Insert the declaration | |
4527 | of the Underlying_Record_View after that of the derived type. | |
4528 | ||
26a43556 AC |
4529 | 2009-04-20 Arnaud Charlet <charlet@adacore.com> |
4530 | ||
4531 | * switch-c.adb (Scan_Front_End_Switches): Disable front-end inlining | |
4532 | in inspector mode. | |
4533 | ||
4534 | 2009-04-20 Javier Miranda <miranda@adacore.com> | |
4535 | ||
4536 | * sem_ch6.adb (New_Overloaded_Entity): Minor reformating. | |
4537 | ||
4538 | * sem_ch6.ads (Subtype_Conformant, Type_Conformant): Add missing | |
4539 | documentation. | |
4540 | ||
4541 | * exp_aggr.adb (Build_Record_Aggr_Code): Code cleanup. | |
4542 | ||
4543 | * sem_disp.adb | |
4544 | (Check_Dispatching_Operation): Set attribute Is_Dispatching_Operation | |
4545 | in internally built overriding subprograms. | |
4546 | ||
4547 | 2009-04-20 Doug Rupp <rupp@adacore.com> | |
4548 | ||
4549 | * s-auxdec-vms_64.ads (Integer_{8,16,32,64}_Array): New array types. | |
4550 | ||
4551 | * s-auxdec.ads: Likewise | |
4552 | ||
4553 | 2009-04-20 Ed Schonberg <schonberg@adacore.com> | |
4554 | ||
4555 | * sem_ch3.adb (Find_Type_Name): Reject the completion of a private | |
4556 | type by an interface. | |
4557 | ||
4558 | * exp_ch6.adb (Expand_Call): Inline To_Address unconditionally, to | |
4559 | minimze difference in expanded tree when compiled as spec of the main | |
4560 | unit, or as a spec in the context of another unit. | |
4561 | ||
3f25c54d AC |
4562 | 2009-04-20 Hristian Kirtchev <kirtchev@adacore.com> |
4563 | ||
4564 | * a-calend.adb: Remove types char_Pointer, int, tm and tm_Pointer. | |
4565 | (localtime_tzoff): This routine no longer accepts an actual of type | |
4566 | tm_Pointer. | |
4567 | (UTC_Time_Offset): Remove local variable Secs_TM. | |
4568 | ||
4569 | * sysdep.c (__gnat_localtime_tzoff): This routine no longer accepts an | |
4570 | actual of type struct tm*. Add local variable of type struct tm for all | |
4571 | targets that provide localtime_r and need to invoke it. | |
4572 | ||
4573 | 2009-04-20 Thomas Quinot <quinot@adacore.com> | |
4574 | ||
4575 | * s-oscons-tmplt.c, g-socket.adb, g-socket.ads | |
4576 | (GNAT.Sockets.Resolve_Error): Add case of EPIPE | |
4577 | Add case of EAGAIN for platforms where it is not equal to EWOULDBLOCK | |
4578 | ||
8dbf3473 AC |
4579 | 2009-04-20 Robert Dewar <dewar@adacore.com> |
4580 | ||
4581 | * sem_ch3.adb: Minor reformatting | |
4582 | ||
4583 | * lib-load.adb: Minor reformatting | |
4584 | ||
4585 | * sem_ch4.adb: Minor reformatting | |
4586 | ||
4587 | 2009-04-20 Robert Dewar <dewar@adacore.com> | |
4588 | ||
4589 | * namet-sp.ads, namet-sp.adb (Is_Bad_Spelling_Of): Implement new spec | |
4590 | (equal values => False). | |
4591 | ||
4592 | 2009-04-20 Ed Schonberg <schonberg@adacore.com> | |
4593 | ||
4594 | * exp_ch6.adb (Is_Null_Procedure): predicate is global, so that calls | |
4595 | to null procedures can be inlined unconditionally. | |
4596 | ||
56fe7b05 EB |
4597 | 2009-04-20 Eric Botcazou <ebotcazou@adacore.com> |
4598 | ||
4599 | * gcc-interface/trans.c (call_to_gnu): When creating the copy for a | |
4600 | non-addressable parameter passed by reference, do not convert the | |
4601 | actual if its type is already the nominal type, unless it is of | |
4602 | self-referential size. | |
4603 | ||
9fcf2a0b AC |
4604 | 2009-04-20 Arnaud Charlet <charlet@adacore.com> |
4605 | ||
4606 | * gnat_ugn.texi: Fix typos. | |
4607 | ||
4608 | 2009-04-20 Robert Dewar <dewar@adacore.com> | |
4609 | ||
4610 | * debug.adb, gnat1drv.adb, sem_ch13.adb: Add circuitry to | |
4611 | Validate_Unchecked_Warnings to suppress warnings about size or | |
4612 | alignment or extra bits if either type involved has pragma Warnings | |
4613 | (Off) set for the type entity. | |
4614 | ||
f7ebc6a8 EB |
4615 | 2009-04-19 Eric Botcazou <ebotcazou@adacore.com> |
4616 | ||
4617 | * gcc-interface/trans.c (gigi): Make the special IA-64 descriptor type | |
4618 | a builtin type and give it a name. | |
4619 | ||
105ab5db DN |
4620 | 2009-04-17 Diego Novillo <dnovillo@google.com> |
4621 | ||
4622 | * gcc-interface/misc.c (gnat_expand_expr): Remove. | |
4623 | (LANG_HOOKS_EXPAND_EXPR): Remove. | |
4624 | ||
03b64787 AC |
4625 | 2009-04-17 Robert Dewar <dewar@adacore.com> |
4626 | ||
4627 | * sem_ch3.adb: Minor reformatting | |
4628 | ||
4629 | 2009-04-17 Pascal Obry <obry@adacore.com> | |
4630 | ||
4631 | * adaint.c: Add __gnat_use_acl global variable to control use of ACL. | |
4632 | ||
054275e4 ES |
4633 | 2009-04-17 Ed Schonberg <schonberg@adacore.com> |
4634 | ||
4635 | * sem_ch3.adb (Build_Derived_Enumeration_Type): Diagnose properly | |
4636 | illegal constraints on type derived from formal discrete types. | |
4637 | ||
aed6fda8 TQ |
4638 | 2009-04-17 Thomas Quinot <quinot@adacore.com> |
4639 | ||
4640 | PR ada/35953 | |
4641 | ||
4642 | * g-socthi-vms.adb, g-socthi-vms.ads, g-socthi-vxworks.adb, | |
4643 | g-socthi-vxworks.ads, g-socthi-mingw.adb, g-socthi-mingw.ads, | |
4644 | g-socthi.adb, g-stsifd-sockets.adb, g-socthi.ads, g-socket.adb, | |
4645 | g-socket.ads (GNAT.Sockets.Thin.C_Send, | |
4646 | GNAT.Sockets.Thin.Syscall_Send): Remove unused subprograms. | |
4647 | Replace calls to send(2) with equivalent sendto(2) calls. | |
4648 | (GNAT.Sockets.Send_Socket): Factor common code in inlined subprogram. | |
4649 | (GNAT.Sockets.Write): Account for the case of hyper-empty arrays, do not | |
4650 | report an error in that case. Factor code common to the two versions | |
4651 | (datagram and stream) in common routine Stream_Write. | |
4652 | ||
c5d91669 AC |
4653 | 2009-04-17 Robert Dewar <dewar@adacore.com> |
4654 | ||
4655 | * exp_disp.adb: Minor reformatting | |
4656 | Minor code reorganization (use Nkind_In) | |
4657 | ||
4658 | * prepcomp.adb: Minor reformatting | |
4659 | ||
4660 | * sem_ch3.adb: Minor reformatting | |
4661 | ||
4662 | * sem_res.adb: Minor comment addition | |
4663 | ||
4664 | * exp_ch5.adb (Expand_Assign_Array): Use Has_Address_Clause to test | |
4665 | for address clause | |
4666 | ||
4667 | * lib-xref.adb (Generate_Reference): Exclude recursive calls from | |
4668 | setting Is_Referenced | |
4669 | ||
4670 | * types.ads: Minor reformatting | |
4671 | ||
4672 | 2009-04-17 Arnaud Charlet <charlet@adacore.com> | |
4673 | ||
4674 | * gnat_ugn.texi: Initial documentation on binding generator. | |
4675 | ||
39f346aa ES |
4676 | 2009-04-17 Ed Schonberg <schonberg@adacore.com> |
4677 | ||
4678 | * einfo.ads, einfo.adb: New attribute Underlying_Record_View, to handle | |
4679 | type extensions whose parent is a type with unknown discriminants. | |
4680 | ||
4681 | * exp_aggr.adb (Expand_Record_Aggregate): If the type of an extension | |
4682 | aggregate has unknown discriminants, use the Underlying_Record_View to | |
4683 | obtain the discriminants of the ancestor part. | |
4684 | ||
4685 | * exp_disp.adb (Build_Dispatch_Tables): Types that are | |
4686 | Underlying_Record_Views share the dispatching information of the | |
4687 | original record extension. | |
4688 | ||
4689 | * exp_ch3.adb (Expand_Record_Extension): If the type inherits unknown | |
4690 | discriminants, propagate dispach table information to the | |
4691 | Underlying_Record_View. | |
4692 | ||
4693 | * sem_ch3.adb (Build_Derived_Private_Type): If parent type has unknown | |
4694 | discriminants and declaration is not a completion, generate | |
4695 | Underlying_Record_View to provide proper discriminant information to | |
4696 | the front-end and to gigi. | |
4697 | ||
8c64de1e RD |
4698 | 2009-04-17 Robert Dewar <dewar@adacore.com> |
4699 | ||
4700 | * s-conca5.adb, g-sercom.adb, s-conca5.ads, s-conca7.adb, exp_imgv.adb, | |
4701 | s-conca7.ads, s-crc32.adb, s-crc32.ads, s-conca9.adb, s-conca9.ads, | |
4702 | s-addope.adb, i-cstrin.ads, s-addope.ads, s-carun8.adb, s-carun8.ads, | |
4703 | g-htable.ads, g-hesora.adb, g-hesora.ads, s-htable.adb, s-htable.ads, | |
4704 | s-conca2.adb, s-conca2.ads, a-except.adb, s-conca4.adb, a-except.ads, | |
4705 | s-conca4.ads, s-except.adb, s-except.ads, s-conca6.adb, s-conca6.ads, | |
4706 | g-spchge.adb, g-spchge.ads, g-u3spch.adb, g-u3spch.ads, s-conca8.adb, | |
4707 | s-conca8.ads, g-byorma.adb, g-byorma.ads, s-memory.adb, s-memory.ads, | |
4708 | g-speche.adb, g-speche.ads, g-stsifd-sockets.adb, exp_dist.adb, | |
4709 | s-imgenu.adb, s-imgenu.ads, s-mastop.adb, s-mastop.ads, s-exctab.adb, | |
4710 | s-exctab.ads, s-imenne.adb, s-imenne.ads, s-casuti.adb, osint.adb, | |
4711 | s-assert.adb, s-casuti.ads, s-assert.ads, s-os_lib.adb, s-conca3.adb, | |
4712 | s-conca3.ads: Remove unneeded pragma Warnings | |
4713 | ||
74e63df1 RD |
4714 | 2009-04-17 Robert Dewar <dewar@adacore.com> |
4715 | ||
4716 | * g-moreex.adb: Add comments. | |
4717 | ||
4718 | * s-auxdec.ads: Add ??? comment for uncommented pragma Warnings (Off) | |
4719 | ||
4720 | * s-auxdec-vms_64.ads: Add ??? comment for uncommented pragma | |
4721 | Warnings (Off) | |
4722 | ||
4723 | * prepcomp.adb: Add ??? comment | |
4724 | ||
4725 | * a-tasatt.adb: Minor reformatting | |
4726 | ||
4727 | * g-trasym-vms-alpha.adb: Add ??? comment | |
4728 | ||
4729 | * g-trasym-vms-ia64.adb: Add ??? comment | |
4730 | ||
4731 | * xoscons.adb: Minor reformatting | |
4732 | ||
4733 | * s-tassta.adb: Minor reformatting | |
4734 | ||
4735 | * s-scaval.adb: Add ??? comment | |
4736 | ||
4737 | * stand.ads: Minor code clean up (remove junk with of Namet) | |
4738 | ||
4739 | * s-strcom.adb, s-strcom.ads, s-string.adb, s-string.ads, s-sopco3.adb, | |
4740 | s-sopco3.ads, s-strops.adb, s-strops.ads, s-sopco5.adb, s-sopco5.ads, | |
4741 | s-wchcnv.adb, s-wchcnv.ads, s-ststop.adb, s-ststop.ads, s-soflin.adb, | |
4742 | s-soflin.ads, s-traceb.adb, s-traceb.ads, s-traent.adb, s-traent.ads, | |
4743 | s-secsta.adb, s-secsta.ads, s-utf_32.adb, s-utf_32.ads, s-wchcon.adb, | |
4744 | s-wchjis.adb, s-wchcon.ads, s-wchjis.ads, s-sopco4.adb, s-sopco4.ads, | |
4745 | s-stache.adb, s-stache.ads, s-stoele.adb, s-stoele.ads, s-stalib.adb, | |
4746 | s-stalib.ads, s-os_lib.ads, s-purexc.ads: Remove no longer needed | |
4747 | Warnings off pragmas. | |
4748 | ||
df416fb0 AC |
4749 | 2009-04-17 Pascal Obry <obry@adacore.com> |
4750 | ||
4751 | * initialize.c: Fix test for reallocating the arguments array. | |
4752 | ||
4753 | 2009-04-17 Geert Bosch <bosch@adacore.com> | |
4754 | ||
4755 | * exp_fixd.adb (Expand_Convert_Float_To_Fixed): Have float to fixed | |
4756 | conversion truncate only for decimal fixed point types. | |
4757 | ||
4758 | 2009-04-17 Jerome Lambourg <lambourg@adacore.com> | |
4759 | ||
4760 | * g-comlin.adb (Initialize_Scan_Option): Make sure the sections are | |
4761 | reinitialized. | |
4762 | ||
01cd0938 AC |
4763 | 2009-04-17 Robert Dewar <dewar@adacore.com> |
4764 | ||
4765 | * exp_ch5.adb (Expand_Assign_Array): Do not set Forwards_OK and | |
4766 | Backwards_OK if either operand has an address clause. | |
4767 | ||
4768 | 2009-04-17 Pascal Obry <obry@adacore.com> | |
4769 | ||
4770 | * initialize.c: Code clean up, use realloc. | |
4771 | ||
46e26fe3 PO |
4772 | 2009-04-17 Pascal Obry <obry@adacore.com> |
4773 | ||
4774 | * initialize.c: Do not get Unicode command line if Unicode support not | |
4775 | activated. | |
4776 | Add support for wildcard expansion for Unicode parameters on Win32. | |
4777 | ||
4778 | * mingw32.h: Add missing macros when Unicode support not activated. | |
4779 | ||
b20de9b9 AC |
4780 | 2009-04-17 Javier Miranda <miranda@adacore.com> |
4781 | ||
4782 | * sem_ch6.adb (Check_Anonymous_Return): Add missing checks to | |
4783 | avoid generating code that references the Current_Master | |
4784 | when compiling without tasks. | |
4785 | ||
4786 | 2009-04-17 Vincent Celier <celier@adacore.com> | |
4787 | ||
4788 | * prj-attr.adb: New project level attribute Target | |
4789 | ||
4790 | * prj-nmsc.adb (Process_Project_Level_Simple_Attributes): Process | |
4791 | attribute Target | |
4792 | ||
4793 | * prj.ads (Project_Configuration): New component Target | |
4794 | ||
a8f59a33 AC |
4795 | 2009-04-17 Thomas Quinot <quinot@adacore.com> |
4796 | ||
4797 | * exp_ch7.adb (Expand_Ctrl_Function_Call): Remove incorrect special | |
4798 | case for the case of an aggregate component, the attach call for the | |
4799 | result is actually needed. | |
4800 | ||
4801 | * exp_aggr.adb (Backend_Processing_Possible): Backend processing for | |
4802 | an array aggregate must be disabled if the component type requires | |
4803 | controlled actions. | |
4804 | ||
4805 | * exp_ch3.adb: Minor reformatting | |
4806 | ||
4807 | 2009-04-17 Bob Duff <duff@adacore.com> | |
4808 | ||
4809 | * output.ads (Indent,Outdent): New procedures for indenting the output. | |
4810 | (Write_Char): Correct comment -- LF _is_ allowed. | |
4811 | ||
4812 | * output.adb (Indent,Outdent): New procedures for indenting the output. | |
4813 | Keep track of the indentation level, and make sure it doesn't get too | |
4814 | high. | |
4815 | (Flush_Buffer): Insert spaces at the beginning of each line, if | |
4816 | indentation level is nonzero. | |
4817 | (Save_Output_Buffer,Restore_Output_Buffer): Save and restore the current | |
4818 | indentation level. | |
4819 | (Set_Standard_Error,Set_Standard_Output): Remove superfluous | |
4820 | "Next_Col := 1;". Flush_Buffer does that. | |
4821 | ||
4822 | * sem_ch6.adb, sem_ch7.adb (Debug_Flag_C): Reorganize the output | |
4823 | controlled by the -gnatdc switch. It now occurs on entry/exit to the | |
4824 | relevant analysis routines, and calls Indent/Outdent to make the | |
4825 | indentation reflect the nesting level. Add "helper" routines, since | |
4826 | otherwise lots of "return;" statements would skip the debugging output. | |
4827 | ||
4828 | 2009-04-17 Arnaud Charlet <charlet@adacore.com> | |
4829 | ||
4830 | * s-taprop-tru64.adb, s-taprop-vms.adb, s-taprop-linux.adb, | |
4831 | s-taprop-solaris.adb, s-taprop-irix.adb, s-taprop-hpux-dce.adb, | |
4832 | s-taprop-posix.adb (Suspend_Until_True): Protect against early wakeup. | |
4833 | ||
32beb1f3 AC |
4834 | 2009-04-17 Thomas Quinot <quinot@adacore.com> |
4835 | ||
4836 | * exp_aggr.adb: Minor code reorganization, no behaviour change. | |
4837 | ||
4838 | 2009-04-17 Ed Schonberg <schonberg@adacore.com> | |
4839 | ||
4840 | * sem_ch8.adb (Use_One_Type): Handle properly a redundant use type | |
4841 | clause in a unit that is a package body or a subunit, when the previous | |
4842 | clause appears in a spec or a parent. | |
4843 | ||
36c73552 AC |
4844 | 2009-04-17 Thomas Quinot <quinot@adacore.com> |
4845 | ||
4846 | * sinfo.ads, exp_aggr.adb, exp_aggr.ads: Minor reformatting | |
4847 | ||
4848 | * exp_ch7.adb: Minor reformatting | |
4849 | ||
4850 | 2009-04-17 Bob Duff <duff@adacore.com> | |
4851 | ||
4852 | * exp_ch4.adb (Expand_Allocator_Expression): In an initialized | |
4853 | allocator, check that the expression of the qualified expression obeys | |
4854 | the constraints of the subtype of the qualified expression. | |
4855 | ||
4856 | 2009-04-17 Thomas Quinot <quinot@adacore.com> | |
4857 | ||
4858 | * sprint.adb (Write_Itype): Add handling of enumeration subtypes. | |
4859 | ||
cac5a801 AC |
4860 | 2009-04-17 Ed Schonberg <schonberg@adacore.com> |
4861 | ||
4862 | * exp_ch4.adb (Expand_Allocator_Expression): Apply constraint check to | |
4863 | aggregate, using context imposed by subtype mark in allocator. | |
4864 | ||
4865 | 2009-04-17 Pascal Obry <obry@adacore.com> | |
4866 | ||
4867 | * gnat_rm.texi: Document GNAT_CODE_PAGE environment variable | |
4868 | ||
03f050b6 AC |
4869 | 2009-04-17 Nicolas Roche <roche@adacore.com> |
4870 | ||
4871 | * initialize.c (__gnat_initialize): remove MAX_PATH limitation on each | |
4872 | argument length. | |
4873 | ||
4874 | 2009-04-17 Gary Dismukes <dismukes@adacore.com> | |
4875 | ||
4876 | * sem_elim.adb (Eliminate_Error_Msg): Minor change to error message to | |
4877 | cover both calls and attribute references ("call" => "reference"). | |
4878 | ||
4879 | 2009-04-17 Ed Schonberg <schonberg@adacore.com> | |
4880 | ||
4881 | * sem_ch3.adb (Analyze_Subtype_Declaration): A subtype of an access | |
4882 | type for which Storage_Size is set to 0 is legal in a pure unit. | |
4883 | ||
bf327c92 AC |
4884 | 2009-04-17 Thomas Quinot <quinot@adacore.com> |
4885 | ||
4886 | * exp_ch7.adb: Minor reformatting | |
4887 | ||
4888 | 2009-04-17 Robert Dewar <dewar@adacore.com> | |
4889 | ||
4890 | * restrict.adb (Check_Restriction_No_Dependence): Don't check | |
4891 | restriction if outside main extended source unit. | |
4892 | ||
4893 | * sem_ch10.adb (Analyze_With_Clause): Check No_Dependence restriction | |
4894 | for parents of child units as well as the child unit itself. | |
4895 | ||
4896 | 2009-04-17 Bob Duff <duff@adacore.com> | |
4897 | ||
4898 | * checks.ads: Minor comment fix | |
4899 | ||
4900 | * exp_aggr.ads: Minor comment fix | |
4901 | ||
4902 | 2009-04-17 Nicolas Roche <roche@adacore.com> | |
4903 | ||
4904 | * adaint.c: Improve cross compiler detection and handling. | |
4905 | ||
ffec8e81 AC |
4906 | 2009-04-17 Eric Botcazou <ebotcazou@adacore.com> |
4907 | ||
4908 | * exp_ch4.adb (Expand_Concatenation): Do not use calls at -Os. | |
4909 | ||
4910 | 2009-04-17 Pascal Obry <obry@adacore.com> | |
4911 | ||
4912 | * mingw32.h: Add S2WSC and WS2SC macros to convert to/from | |
4913 | CurrentCodePage. | |
4914 | ||
4915 | * adaint.h: Encoding_Unspecified is now defined. Corresponds to the | |
4916 | value when no encoding form paramter is set on Text_IO services. | |
4917 | ||
4918 | * adaint.c: CurrentCodePage new variable on Windows. | |
4919 | Use new macros S2WSC and WS2SC instead of the UTF-8 oriented | |
4920 | ones. | |
4921 | ||
4922 | * mkdir.c: Use new macros S2WSC and WS2SC instead of the UTF-8 oriented | |
4923 | ones. | |
4924 | ||
4925 | * initialize.c: Initialize CurrentCodePage depending on GNAT_CODE_PAGE | |
4926 | environment variable value. Default is UTF-8. | |
4927 | ||
4928 | * s-crtl.ads: Filename_Encoding add Unspecified in the enumeration type. | |
4929 | fopen and freopen encoding parameter is now set to Unspecified. | |
4930 | The default value is in this case UTF-8 (as it was before) but | |
4931 | use the new macros that convert to/from the code page set | |
4932 | at runtime (CurrentCodePage). | |
4933 | ||
4934 | * s-fileio.adb: When no encoding specified use Unspecified value. | |
4935 | ||
4936 | 2009-04-17 Ed Schonberg <schonberg@adacore.com> | |
4937 | ||
4938 | * atree.adb, atree.ads: Remove dead code. | |
4939 | ||
432e3422 AC |
4940 | 2009-04-17 Arnaud Charlet <charlet@adacore.com> |
4941 | ||
4942 | * gcc-interface/Make-lang.in: Update dependencies. | |
4943 | ||
f3b01cd9 AC |
4944 | 2009-04-17 Ed Schonberg <schonberg@adacore.com> |
4945 | ||
4946 | * sem_ch3.adb (Access_Subprogram_Definition): Additional checks on | |
4947 | illegal uses of incomplete types in formal parts and return types. | |
4948 | ||
4949 | * sem_ch6.adb (Process_Formals): Taft-amendment types are legal in | |
4950 | access to subprograms. | |
4951 | ||
4952 | * sem_ch7.adb (Uninstall_Declarations): diagnose attempts to use | |
4953 | Taft-amendment types as the return type of an access_to_function type. | |
4954 | ||
4955 | * freeze.adb (Freeze_Entity): Remove tests on formals of an incomplete | |
4956 | type for access_to_subprograms. The check is performed on package exit. | |
4957 | ||
4958 | 2009-04-17 Ed Schonberg <schonberg@adacore.com> | |
4959 | ||
4960 | * atree.ads, atree.adb: Move New_Copy_Tree.to sem_util. | |
4961 | ||
4962 | * nlists.ads, nlists.adb: Move New_Copy_List to sem_util. | |
4963 | ||
4964 | * lib-load.adb: Use Copy_Separate_Tree rather than New_Copy_Tree | |
4965 | ||
4966 | * sem_util.ads, sem_util.adb: New_Copy_Tree and New_Copy_List belong in | |
4967 | semantic units, because the handling of itypes in the copied tree | |
4968 | requires semantic information that does not belong in atree. | |
4969 | ||
4970 | 2009-04-17 Robert Dewar <dewar@adacore.com> | |
4971 | ||
4972 | * par-ch6.adb: Minor reformatting | |
4973 | ||
4974 | * prj.adb: Minor reformatting | |
4975 | ||
618fb570 AC |
4976 | 2009-04-17 Gary Dismukes <dismukes@adacore.com> |
4977 | ||
4978 | * par-ch6.adb (P_Subprogram): Overriding indicators should be allowed | |
4979 | on protected subprogram bodies, so exclude the case where Pf_Flags is | |
4980 | Pf_Decl_Pbod from the error check. | |
4981 | ||
4982 | * par-ch9.adb (P_Protected_Operation_Items): Permit overriding | |
4983 | indicators on subprograms in protected bodies, and proceed with parsing | |
4984 | the subprogram. | |
4985 | ||
4986 | * sem_ch6.adb (Verify_Overriding_Indicator): Exclude protected | |
4987 | subprograms from the check for primitiveness on subprograms with | |
4988 | overriding indicators. | |
4989 | (Check_Overriding_Indicator): Include protected subprograms in the | |
4990 | style check for missing overriding indicators. | |
4991 | ||
4992 | 2009-04-17 Tristan Gingold <gingold@adacore.com> | |
4993 | ||
4994 | * init.c: Fix stack checking for x86 Darwin. | |
4995 | ||
4996 | 2009-04-17 Vincent Celier <celier@adacore.com> | |
4997 | ||
4998 | * prj-attr.adb: New project level attribute Object_File_Suffix | |
4999 | (<language>). | |
5000 | ||
5001 | * prj-nmsc.adb (Add_Source): Use the object file suffix to get the | |
5002 | object file name | |
5003 | (Process_Compiler): Process attribute Object_File_Suffix | |
5004 | ||
5005 | * prj.adb (Object_Name): Use suffix Object_File_Suffix instead of | |
5006 | platform suffix, when specified. | |
5007 | ||
5008 | * prj.ads (Language_Config): New component Object_File_Suffix, | |
5009 | defaulted to No_Name. | |
5010 | (Object_Name): New parameter Object_File_Suffix, defaulted to No_Name | |
5011 | ||
5012 | * snames.ads-tmpl: New standard name Object_File_Suffix | |
5013 | ||
93bcda23 AC |
5014 | 2009-04-17 Robert Dewar <dewar@adacore.com> |
5015 | ||
5016 | * gnat_rm.texi: Add documentation about No_Streams restriction | |
5017 | ||
5018 | * sem_attr.adb (Check_Stream_Attribute): Exclude implicit stream | |
5019 | attributes when checking No_Streams restriction. | |
5020 | ||
5021 | 2009-04-17 Thomas Quinot <quinot@adacore.com> | |
5022 | ||
5023 | * rtsfind.ads (RE_Request_Destroy): New PolyORB s-parint entity. | |
5024 | ||
5025 | * exp_dist.adb (PolyORB_Support.Build_General_Calling_Stubs): Add | |
5026 | missing calls to RE_Request_Destroy to deallocate request objects after | |
5027 | use. | |
5028 | ||
5029 | 2009-04-17 Nicolas Setton <setton@adacore.com> | |
5030 | ||
5031 | * link.c: Fix support for passing a response file under Darwin. | |
5032 | ||
5033 | 2009-04-17 Emmanuel Briot <briot@adacore.com> | |
5034 | ||
5035 | * prj.adb (Free): new subprogram. | |
5036 | ||
5037 | 2009-04-17 Ed Schonberg <schonberg@adacore.com> | |
5038 | ||
5039 | * sem_ch3.adb: additional initialization on incomplete subtypes. | |
5040 | ||
5041 | * sem_ch6.adb (Process_Formals): if the subprogram is in the private | |
5042 | part and one of the formals is an incomplete tagged type, attach to | |
5043 | list of private dependends of the type for later validation. | |
5044 | ||
5045 | * sem_ch7.adb (Uninstall_Declarations): diagnose attempts to declare | |
5046 | primitive operations of a Taft-amendmment type. | |
5047 | ||
5048 | * freeze.adb (Freeze_Entity): Remove tests on formals of an incomplete | |
5049 | type. The check is performed on package exit, possibly after the | |
5050 | subprogram is frozen. | |
5051 | ||
5052 | 2009-04-17 Vincent Celier <celier@adacore.com> | |
5053 | ||
5054 | * prj-nmsc.adb (Get_Directories): Get the object and exec directory | |
5055 | before looking for source directories, but make sure that there are nil | |
5056 | if they are not explicitely declared and there is explicitely no | |
5057 | sources in the project. | |
5058 | ||
ba4a2f78 | 5059 | 2009-04-17 Pascal Obry <obry@adacore.com> |
78246a6e | 5060 | |
ba4a2f78 | 5061 | * initialize.c: Set gnat_argv with UTF-8 encoded strings on Windows. |
78246a6e | 5062 | |
ba4a2f78 | 5063 | * init.c: Fix minor typo and style fix. |
ee00428a | 5064 | |
ba4a2f78 | 5065 | 2009-04-17 Robert Dewar <dewar@adacore.com> |
ee00428a | 5066 | |
ba4a2f78 | 5067 | * a-except.adb, a-except-2005.adb: Add PE_Address_Of_Intrinsic |
ee00428a | 5068 | |
ba4a2f78 AC |
5069 | * sem_attr.adb (Analyze_Attribute, case Address): Use |
5070 | PE_Address_Of_Intrinsic. | |
5071 | ||
5072 | * types.ads: Add PE_Address_Of_Intrinsic | |
5073 | ||
5074 | * types.h: Add PE_Address_Of_Intrinsic | |
5075 | ||
5076 | 2009-04-17 Nicolas Setton <setton@adacore.com> | |
5077 | ||
5078 | * gcc-interface/Makefile.in: Under darwin, build shared libraries | |
5079 | with install_name starting with "@rpath/". | |
ee00428a AC |
5080 | |
5081 | 2009-04-17 Nicolas Setton <setton@adacore.com> | |
5082 | ||
5083 | * link.c: Add darwin section | |
5084 | ||
9fbb3ae6 AC |
5085 | 2009-04-16 Robert Dewar <dewar@adacore.com> |
5086 | ||
5087 | * g-pehage.adb: Minor reformatting | |
5088 | ||
5089 | * sem_ch12.adb: Minor reformatting | |
5090 | ||
5091 | * exp_dist.adb: Minor reformatting | |
5092 | ||
5093 | * bindgen.adb: Minor style fixes. | |
5094 | ||
5095 | 2009-04-16 Ed Schonberg <schonberg@adacore.com> | |
5096 | ||
5097 | * sem_eval.adb (Eval_Indexed_Component): Extend constant-folding of | |
5098 | indexed components to the case where the prefix is a static string | |
5099 | literal. | |
5100 | ||
5101 | 2009-04-16 Javier Miranda <miranda@adacore.com> | |
5102 | ||
5103 | * exp_ch3.adb (Expand_N_Object_Declaration): In case of build-in-place | |
5104 | objects avoid any further expansion of the expression initializing the | |
5105 | object. | |
5106 | ||
c1c5e0fa AC |
5107 | 2009-04-16 Ed Schonberg <schonberg@adacore.com> |
5108 | ||
5109 | * sem_ch12.adb (Preanalyze_Actuals): If the instance is a child unit | |
5110 | that hides an outer homograph, make that homograph invisible when | |
5111 | analyzing the actuals, to to prevent illegal direct visibility on it. | |
5112 | ||
5113 | 2009-04-16 Eric Botcazou <ebotcazou@adacore.com> | |
5114 | ||
5115 | * g-pehage.adb (Initialize): Fix off-by-one error. | |
5116 | ||
d15d61c6 AC |
5117 | 2009-04-16 Tristan Gingold <gingold@adacore.com> |
5118 | ||
5119 | * init.c: Detect real stack overflow on Darwin. | |
5120 | ||
5121 | * system-darwin-x86.ads: Use stack probing on darwin x86. | |
5122 | ||
5123 | 2009-04-16 Ed Schonberg <schonberg@adacore.com> | |
5124 | ||
5125 | * sem_attr.adb (Analyze_Attribute, case 'Address): It is illegal to | |
5126 | take the address of an intrinsic subprogram. | |
5127 | ||
0a0a18c3 AC |
5128 | 2009-04-16 Arnaud Charlet <charlet@adacore.com> |
5129 | ||
5130 | * gcc-interface/Makefile.in: Change g-trasym to g-trasym-unimplemented | |
5131 | for the targets where GNAT.Traceback.Symbolic is not supported. | |
5132 | ||
d15d61c6 AC |
5133 | 2009-04-16 Vincent Celier <celier@adacore.com> |
5134 | ||
5135 | * g-trasym-unimplemented.ads, g-trasym-unimplemented.adb: New file. | |
5136 | ||
5137 | * g-trasym.ads: Update comments. | |
5138 | ||
5139 | 2009-04-16 Vasiliy Fofanov <fofanov@adacore.com> | |
5140 | ||
5141 | * tracebak.c (STOP_FRAME): Verify validity of the current address | |
5142 | before dereferencing. | |
5143 | ||
b61ebe4f AC |
5144 | 2009-04-16 Ed Schonberg <schonberg@adacore.com> |
5145 | ||
5146 | * sprint.adb (Write_Itype): If the itype is an array subtype, preserve | |
5147 | the original location of the index expressions and the index subtypes, | |
5148 | to prevent spurious out-of-scope references in gigi. | |
5149 | ||
5150 | 2009-04-16 Tristan Gingold <gingold@adacore.com> | |
5151 | ||
5152 | * init.c, s-osinte-darwin.ads, system-darwin-x86_64.ads: | |
5153 | Add support for stack checking on darwin. | |
5154 | ||
5155 | 2009-04-16 Vincent Celier <celier@adacore.com> | |
5156 | ||
5157 | * prj-attr.adb: New attribute Runtime_Source_Dir | |
5158 | ||
5159 | * prj-nmsc.adb (Process_Project_Level_Array_Attributes): Process | |
5160 | attribute Runtime_Source_Dir. | |
5161 | (Check_Naming_Schemes): Give default values to out parameters to avoid | |
5162 | invalid data. | |
5163 | ||
5164 | * prj.ads (Language_Config): New component Runtime_Source_Dir | |
5165 | ||
5166 | * snames.ads-tmpl: New standard name Runtime_Source_Dir | |
5167 | ||
468ee337 PO |
5168 | 2009-04-16 Pascal Obry <obry@adacore.com> |
5169 | ||
5170 | * adaint.h, adaint.c (__gnat_rmdir): New routine. | |
5171 | Simple wrapper routines used to convert to proper encoding on | |
5172 | Windows. | |
5173 | ||
5174 | * s-crtl.ads: Use __gnat_rmdir instead of direct call to the C library. | |
5175 | ||
5176 | * g-dirope.adb (Remove_Dir): Fix a bug, the root directory was removed | |
5177 | twice. | |
5178 | ||
bca17d51 PO |
5179 | 2009-04-16 Pascal Obry <obry@adacore.com> |
5180 | ||
5181 | * s-crtl.ads, s-os_lib.adb: Minor code clean-up. | |
5182 | ||
4e0079cc AC |
5183 | 2009-04-16 Thomas Quinot <quinot@adacore.com> |
5184 | ||
5185 | * snames.ads-tmpl (Name_Defined): New predefined name for use by the | |
5186 | integrated preprocessor. | |
5187 | ||
5188 | * prep.ads, prep.adb (Setup_Hooks): New subprogram. | |
5189 | (Initialize): Split into two subprograms, Initialize (to be called | |
5190 | prior to compiler command line processing) and Setup_Hooks (to be called | |
5191 | later on when the first source file is loaded). | |
5192 | ||
5193 | * gprep.adb: Change call to Prep.Initialize to call to Prep.Setup_Hooks. | |
5194 | Add call to Prep.Initialize. | |
5195 | ||
5196 | * sinput-l.adb, prepcomp.adb: Change call to Prep.Initialize to call | |
5197 | to Prep.Setup_Hooks. | |
5198 | ||
5199 | 2009-04-16 Pascal Obry <obry@adacore.com> | |
5200 | ||
5201 | * adaint.h, adaint.c (__gnat_chdir): New routine. | |
5202 | Simple wrapper routines used to convert to proper encoding on | |
5203 | Windows. | |
5204 | ||
5205 | * s-crtl.ads: Use __gnat_chdir instead of direct call to the C library. | |
5206 | ||
5207 | * a-direct.adb, g-dirope.adb: Use chdir from System.CRTL. | |
5208 | ||
cbbdee52 AC |
5209 | 2009-04-16 Quentin Ochem <ochem@adacore.com> |
5210 | ||
5211 | * sinput-p.adb (Clear_Source_File_Table): Use Sinput.Initialize instead | |
5212 | of Source.Init. | |
5213 | ||
5214 | 2009-04-16 Eric Botcazou <ebotcazou@adacore.com> | |
5215 | ||
5216 | * a-convec.ads (Is_Empty): Mark inline. | |
5217 | ||
5218 | 2009-04-16 Nicolas Roche <roche@adacore.com> | |
5219 | ||
5220 | * init.c (__gnat_init_float): Initialize FPU on x86_64 windows | |
5221 | ||
5222 | 2009-04-16 Thomas Quinot <quinot@adacore.com> | |
5223 | ||
5224 | * prepcomp.adb: Minor reformatting | |
5225 | ||
7e8ed0a6 AC |
5226 | 2009-04-16 Jerome Lambourg <lambourg@adacore.com> |
5227 | ||
5228 | * sem_prag.adb (Process_Import_Or_Interface): With .NET, | |
5229 | Access_Subprogram types can also be imported. | |
5230 | (Check_Form_Of_Interface_Name): Accept '/' character in entity CIL | |
5231 | names. | |
5232 | ||
5233 | 2009-04-16 Ed Schonberg <schonberg@adacore.com> | |
5234 | ||
5235 | * exp_ch6.adb (Make_Build_In_Place_Call_In_Object_Declaration): | |
5236 | preserve homonym chain when the declaration is rewritten into a | |
5237 | renaming declaration, in order to preserve visibility structure. | |
5238 | ||
540b5d9c AC |
5239 | 2009-04-16 Jerome Lambourg <lambourg@adacore.com> |
5240 | ||
5241 | * sem_prag.adb (Analyze_Pragma): Make sure that pragma pack is not | |
5242 | taken into account for VM targets. | |
5243 | ||
5244 | 2009-04-16 Hristian Kirtchev <kirtchev@adacore.com> | |
5245 | ||
5246 | * g-calend.ads, g-calend.adb (Week_In_Year): Now calls | |
5247 | Year_Week_In_Year. | |
5248 | (Year_Week_In_Year): New routine which contains the original code from | |
5249 | Week_In_Year. Add the missing special case for January 1st falling on | |
5250 | a Monday. | |
5251 | ||
dae4faf2 TQ |
5252 | 2009-04-16 Thomas Quinot <quinot@adacore.com> |
5253 | ||
5254 | * exp_dist.adb (Build_From_Any_Call): For a subtype that is a generic | |
5255 | actual type, use the base type to build the To_Any function. | |
5256 | (Build_From_Any_Function): Remove junk, useless subtype conversion. | |
5257 | ||
5258 | 2009-04-16 Thomas Quinot <quinot@adacore.com> | |
5259 | ||
5260 | * exp_ch9.adb, exp_code.adb, tbuild.adb, sem_case.adb, | |
5261 | restrict.adb: Minor code reorganization (use | |
5262 | Add_{Char,Str}_To_Name_Buffer instead of inlining it by hand). | |
5263 | ||
2794f022 AC |
5264 | 2009-04-16 Bob Duff <duff@adacore.com> |
5265 | ||
5266 | * exp_ch6.ads, exp_ch6.adb (Is_Build_In_Place_Function_Return): Remove, | |
5267 | unused. | |
5268 | ||
5269 | 2009-04-16 Thomas Quinot <quinot@adacore.com> | |
5270 | ||
5271 | * sem_ch4.adb: Minor reformatting | |
5272 | ||
5273 | * adaint.c: Remove junk duplicated code. | |
5274 | ||
5275 | * sem_ch3.adb: Minor reformatting | |
5276 | ||
5277 | * exp_dist.adb: Minor comment rewording | |
5278 | ||
a8e65aa5 AC |
5279 | 2009-04-16 Robert Dewar <dewar@adacore.com> |
5280 | ||
5281 | * gnat_rm.texi: Document effect of Assume_No_Invalid_Values and -gnatVa | |
5282 | used together. | |
5283 | ||
5284 | 2009-04-16 Ed Schonberg <schonberg@adacore.com> | |
5285 | ||
5286 | * sem_ch4.adb (Find_Equality_Types): Filter out types that are not | |
5287 | usable before calling Add_One_Interp, to resolve spurious ambiguities. | |
5288 | ||
bded454f RD |
5289 | 2009-04-16 Robert Dewar <dewar@adacore.com> |
5290 | ||
b0fbf3c0 RD |
5291 | * Make-lang.in: Add entries for s-conca?.o |
5292 | ||
bded454f RD |
5293 | * Makefile.rtl: Add entries for s-conca? |
5294 | ||
5295 | * debug.adb: Add debug flags -gnatd.c and -gnatd.C to control behavior | |
5296 | of concatenation expansion | |
5297 | ||
5298 | * exp_ch4.adb (Expand_Concatenation): Generate calls for certain | |
5299 | string cases instead of expanding assignments inline. | |
5300 | ||
5301 | * opt.ads (Optimize_Size): New flag | |
5302 | ||
5303 | * s-conca2.ads, s-conca2.adb, s-conca3.adb, s-conca3.ads, | |
5304 | s-conca4.adb, s-conca4.ads, s-conca5.adb, s-conca5.ads, s-conca6.adb, | |
5305 | s-conca6.ads, s-conca7.ads, s-conca7.adb, s-conca8.adb, s-conca8.ads, | |
5306 | s-conca9.adb, s-conca9.ads: New file. | |
5307 | ||
4a3b249c RD |
5308 | 2009-04-16 Robert Dewar <dewar@adacore.com> |
5309 | ||
5310 | * exp_ch6.adb: Add comments | |
5311 | ||
5312 | * rtsfind.ads: Add entries for s-conca? routines | |
5313 | ||
e8e028cb | 5314 | 2009-04-16 Arnaud Charlet <charlet@adacore.com> |
14814170 AC |
5315 | |
5316 | * gcc-interface/Make-lang.in: Update dependencies. | |
5317 | ||
5318 | * gcc-interface/Makefile.in: Update translation for vms. | |
5319 | ||
3204b9cd AC |
5320 | 2009-04-16 Ed Schonberg <schonberg@adacore.com> |
5321 | ||
5322 | * sem_ch12.adb (Map_Formal_Package_Entities): renamed from Map_Entities | |
5323 | and made global, to be used when installing parents of a child | |
5324 | instance, to provide mappings for entities declared in formal packages | |
5325 | of ancestor units. Now called from Install_Formal_Packages. | |
5326 | ||
5327 | 2009-04-16 Doug Rupp <rupp@adacore.com> | |
5328 | ||
5329 | * s-taskin.adb (Initialize_ATCB): Initialize Debug_Events with others | |
5330 | notation for clarity. | |
5331 | ||
5332 | * s-taprop-vxworks.adb, s-taprop-tru64.adb, s-taprop-vms.adb, | |
5333 | s-taprop-mingw.adb, s-taprop-linux.adb, s-taprop-solaris.adb, | |
5334 | s-taprop-irix.adb, s-taprop-hpux-dce.adb, s-taprop-posix.adb | |
5335 | (Initialize): Initialize Known_Tasks with Environment task. | |
5336 | ||
5337 | * s-taskin.ads (Task_States): Move new states to end for the sake of | |
5338 | GDB compatibility. | |
5339 | ||
5340 | * s-tassta.adb (Task_Wrapper): Fix comment about Enter_Task. | |
5341 | ||
f17f3601 ES |
5342 | 2009-04-16 Ed Schonberg <schonberg@adacore.com> |
5343 | ||
5344 | * exp_ch9.adb (Expand_N_Protected_Type_Declaration): If a protected | |
5345 | operation has an inline pragma, propagate the flag to the internal | |
5346 | unprotected subprogram. | |
5347 | ||
5e44c5ea DR |
5348 | 2009-04-16 Doug Rupp <rupp@adacore.com> |
5349 | ||
5350 | * s-taprop-vxworks.adb, s-taprop-tru64.adb, s-taprop-mingw.adb, | |
5351 | s-taprop-linux.adb, s-taprop-solaris.adb, s-taprop-irix.adb, | |
5352 | s-taprop-hpux-dce.adb, s-taprop-posix.adb | |
5353 | (Enter_Task): Move Known_Tasks initialization to s-tassta.adb | |
5354 | ||
5355 | * s-taprop-vms.adb (Enter_Task): Likewise. | |
5356 | (Initialize): Import DBEXT, Debug_Register. Register DBGEXT callback. | |
5357 | ||
5358 | * s-tassta.adb (Activate_Tasks): After task creation set state to | |
5359 | Activating, vice Runnable. Initialize Known_Tasks, moved here from | |
5360 | s-taprop.adb (Enter_Task). Set Debug_Event_Activating for debugger. | |
5361 | Set state to Runnable after above. | |
5362 | (Task_Wrapper): Set Debug_Event_Run. In exception block set | |
5363 | Debug_Event_Terminated. | |
5364 | ||
5365 | * s-taskin.ads (Task_States): Add new states Activiting and | |
5366 | Activator_Delay_Sleep. | |
5367 | (Bit_Array, Debug_Event_Array): New types. | |
5368 | (Global_Task_Debug_Event_Set: New flag. | |
5369 | (Common_ATCB): New field Debug_Events. | |
5370 | ||
5371 | * s-taskin.adb (Initialize_ATCB): Initialize Debug_Events. | |
5372 | ||
5373 | * s-tasren.adb (Timed_Selective_Wait): Set Activator_Delay_Sleep vice | |
5374 | Activator_Sleep. | |
5375 | ||
5376 | * s-tasini.adb (Locked_Abort_To_Level): Add case alternatives for when | |
5377 | Activating and when Acceptor_Delay_Sleep. | |
5378 | ||
5379 | * s-tasdeb.ads: Add constants for Debug_Events. | |
5380 | (Debug_Event_Kind_Type): New subtype. | |
5381 | (Signal_Debug_Event): New subprogram. | |
5382 | ||
5383 | * s-tasdeb.adb (Signal_Debug_Event): New null subprogram. | |
5384 | ||
205c14b0 TQ |
5385 | 2009-04-16 Thomas Quinot <quinot@adacore.com> |
5386 | ||
5387 | * sem_elim.adb: Minor reformatting | |
5388 | ||
5389 | * freeze.adb: Minor reformatting | |
5390 | ||
5391 | * exp_ch4.adb: Minor reformatting | |
5392 | ||
b4763f5c AC |
5393 | 2009-04-16 Emmanuel Briot <briot@adacore.com> |
5394 | ||
5395 | * prj-nmsc.adb (Path_Name_Of): fix memory leak | |
5396 | ||
5397 | 2009-04-16 Robert Dewar <dewar@adacore.com> | |
5398 | ||
5399 | * sinfo.ads (Backwards_OK, Forwards_OK): Clarify documentation | |
5400 | ||
5401 | 2009-04-16 Vincent Celier <celier@adacore.com> | |
5402 | ||
5403 | * fmap.adb (Initialize): Show the current line when the mapping file | |
5404 | is detected as "incorrectly formatted". | |
5405 | ||
5406 | 2009-04-16 Robert Dewar <dewar@adacore.com> | |
5407 | ||
5408 | * sem_ch12.adb: Minor reformatting | |
5409 | ||
5410 | * sem_ch5.adb: Minor comment addition | |
5411 | ||
5412 | * sem_util.adb: Minor reformatting | |
5413 | ||
5414 | * sinput-p.adb: Minor reformatting | |
5415 | Add missing pragma Warnings (On) | |
5416 | ||
0c72247e AC |
5417 | 2009-04-16 Ed Falis <falis@adacore.com> |
5418 | ||
5419 | * s-vxwext-kernel.adb: (ERROR): deleted unused constant | |
5420 | ||
5421 | 2009-04-16 Vincent Celier <celier@adacore.com> | |
5422 | ||
5423 | * ali-util.adb: Minor comment spelling error fix | |
5424 | ||
014caddb EB |
5425 | 2009-04-16 Eric Botcazou <ebotcazou@adacore.com> |
5426 | ||
5427 | * exp_ch5.adb (Expand_Assign_Array): For the GCC back-end, do not | |
5428 | generate an assignment loop in case of overlap. | |
5429 | ||
b2ed7a03 AC |
5430 | 2009-04-16 Olivier Hainque <hainque@adacore.com> |
5431 | ||
5432 | * gnat_ugn.texi (gnatmem description): Make it explicit that | |
5433 | gnatmem is designed to work in association with static runtime | |
5434 | library only. | |
5435 | ||
5436 | 2009-04-16 Thomas Quinot <quinot@adacore.com> | |
5437 | ||
5438 | * sem_type.adb: Minor reformatting | |
5439 | ||
5440 | 2009-04-16 Hristian Kirtchev <kirtchev@adacore.com> | |
5441 | ||
5442 | * s-osprim-darwin.adb, s-osprim-posix.adb (Clock): Add comment | |
5443 | concerning return codes of gettimeofday and return value check. | |
5444 | ||
5445 | 2009-04-16 Ed Falis <falis@adacore.com> | |
5446 | ||
5447 | * s-vxwext-kernel.ads (Int_Lock, Int_Unlock): set to convention C so | |
5448 | body can be renaming of imported routines. | |
5449 | ||
5450 | 2009-04-16 Vasiliy Fofanov <fofanov@adacore.com> | |
5451 | ||
5452 | * s-asthan-vms-alpha.adb: Disable warnings on alignment in a more | |
5453 | targeted fashion. | |
5454 | ||
8a912a6e AC |
5455 | 2009-04-15 Hristian Kirtchev <kirtchev@adacore.com> |
5456 | ||
5457 | * exp_ch9.adb: Comment improvements. | |
5458 | (Build_Entry_Family_Name): Add parentheses around the index of a entry | |
5459 | family member. | |
5460 | ||
5461 | 2009-04-15 Bob Duff <duff@adacore.com> | |
5462 | ||
5463 | * sem_warn.adb (Check_Infinite_Loop_Warning): Catch cases like | |
5464 | "while X /= null loop" where X is unchanged inside the loop. We were | |
5465 | not warning in this case, because of the pointers -- we feared that the | |
5466 | loop variable could be updated via a pointer, if there are any pointers | |
5467 | around the place. But that is impossible in this case. | |
5468 | ||
5469 | * sem_util.adb (May_Be_Lvalue): This routine was overly pessimistic in | |
5470 | the case of dereferences. In X.all, X cannot be an l-value. We now | |
5471 | catch that case (and implicit dereferences, too). | |
5472 | ||
5473 | 2009-04-15 Vincent Celier <celier@adacore.com> | |
5474 | ||
5475 | * sinput-p.ads, sinput-p.adb (Clear_Source_File_Table): New procedure | |
5476 | ||
5477 | 2009-04-15 Ed Schonberg <schonberg@adacore.com> | |
5478 | ||
5479 | * sem_ch12.adb (Is_Actual_Of_Previous_Formal): Make fully recursive. | |
5480 | From code reading. | |
5481 | (Analyze_Package_Instantiation): If generic unit in child instance is | |
5482 | the same as generic unit in parent instance, look for an outer homonym | |
5483 | to locate the desired generic. | |
5484 | ||
4a13695c AC |
5485 | 2009-04-15 Bob Duff <duff@adacore.com> |
5486 | ||
5487 | * sem_ch5.adb (Analyze_Loop_Statement): Don't check for infinite loop | |
5488 | warnings unless the loop comes from source, because checking generated | |
5489 | loops is a waste of time, and makes it harder to debug | |
5490 | Check_Infinite_Loop_Warning. | |
5491 | ||
5492 | * sem_warn.adb (Check_Infinite_Loop_Warning): If the local variable | |
5493 | tested in the while loop is a renaming, do not warn. Otherwise, we get | |
5494 | false alarms, because it's usually renaming something that we can't | |
5495 | deal with (an indexed component, a global variable, ...). | |
5496 | ||
5497 | * gnat_rm.texi: Fix typo | |
5498 | ||
5499 | 2009-04-15 Thomas Quinot <quinot@adacore.com> | |
5500 | ||
5501 | * sem_ch6.adb: Minor reformatting | |
5502 | ||
c3b36d48 AC |
5503 | 2009-04-15 Hristian Kirtchev <kirtchev@adacore.com> |
5504 | ||
5505 | * exp_ch7.adb (Expand_Ctrl_Function_Call): Check for the case where the | |
5506 | immediate parent of the controlled function call is a component | |
5507 | association. | |
5508 | ||
5509 | 2009-04-15 Ed Schonberg <schonberg@adacore.com> | |
5510 | ||
5511 | * sem_ch8.adb (Use_One_Type): If the type is tagged, indicate that the | |
5512 | corresponding class-wide type is also in use. | |
5513 | ||
5514 | 2009-04-15 Thomas Quinot <quinot@adacore.com> | |
5515 | ||
5516 | * frontend.adb: Minor comment fix | |
5517 | ||
1f07382d AC |
5518 | 2009-04-15 Robert Dewar <dewar@adacore.com> |
5519 | ||
5520 | * gnatchop.adb (BOM_Length): New global variable | |
5521 | (Write_Unit): Add new parameter Write_BOM | |
5522 | (Write_Chopped_Files): Check for BOM and set Write_BOM for call | |
5523 | to Write_Unit | |
5524 | ||
5525 | * gnat_ugn.texi: Add note on propagation of BOM by gnatchop | |
5526 | ||
5527 | 2009-04-15 Geert Bosch <bosch@adacore.com> | |
5528 | ||
5529 | * system-mingw-x86_64.ads, system-darwin-x86_64.ads | |
5530 | (Backend_Overflow_Checks): Set to True. | |
5531 | ||
5532 | 2009-04-15 Gary Dismukes <dismukes@adacore.com> | |
5533 | ||
5534 | * par-ch3.adb (P_Type_Declaration): Issue an error if the synchronized | |
5535 | keyword is given in a record extension. | |
5536 | ||
5537 | 2009-04-15 Hristian Kirtchev <kirtchev@adacore.com> | |
5538 | ||
5539 | * exp_ch7.adb (Expand_Ctrl_Function_Call): Procede with the expansion | |
5540 | of a controlled function call in the context of a record aggregate. | |
5541 | This does not apply to array aggregates since the call will be expanded | |
5542 | into assignments. | |
5543 | ||
5544 | 2009-04-15 Ed Falis <falis@adacore.com> | |
5545 | ||
5546 | * s-osinte-vxworks-kernel.adb, s-osinte-vxworks.adb, | |
5547 | s-osinte-vxworks.ads s-vxwext.ads, s-vxwext-kernel.adb, | |
3405870d EF |
5548 | s-vxwext-kernel.ads, s-vxwext-rtp.ads, s-vxwext-rtp.adb: Reorganize |
5549 | s-osinte-vxworks* and s-vxwext*. | |
1f07382d | 5550 | |
6cc60200 AC |
5551 | 2009-04-15 Arnaud Charlet <charlet@adacore.com> |
5552 | ||
5553 | * gcc-interface/Make-lang.in: Update dependencies. | |
5554 | ||
5555 | * gcc-interface/Makefile.in: Reorganization of s-osinte-vxworks* | |
5556 | and s-vxwext*. | |
5557 | ||
f66d46ec AC |
5558 | 2009-04-15 Robert Dewar <dewar@adacore.com> |
5559 | ||
5560 | * sem_ch13.adb (Unchecked_Conversions): Store source location instead | |
5561 | of node for location for warning messages. | |
5562 | ||
5563 | * gnatchop.adb: Minor reformatting | |
5564 | ||
5565 | 2009-04-15 Ed Schonberg <schonberg@adacore.com> | |
5566 | ||
5567 | * exp_ch6.adb: additional guard for renaming declarations for in | |
5568 | parameters of an array type. | |
5569 | ||
bafc9e1d AC |
5570 | 2009-04-15 Robert Dewar <dewar@adacore.com> |
5571 | ||
5572 | * sem_eval.adb (Get_Static_Length): Go to origin node for array bounds | |
5573 | in case they were rewritten by expander (Force_Evaluation). | |
5574 | ||
5575 | * targparm.adb (Get_Target_Parameters): Correct check for | |
5576 | Suppress_Exception_Locations. | |
5577 | ||
5578 | 2009-04-15 Ed Schonberg <schonberg@adacore.com> | |
5579 | ||
5580 | * exp_ch6.adb (Expand_Inlined_Call): If an in-parameter in a call to be | |
5581 | inlined is of an array type that is not bit-packed, use a renaming | |
5582 | declaration to capture its value, rather than a constant declaration. | |
5583 | ||
443614e3 AC |
5584 | 2009-04-15 Robert Dewar <dewar@adacore.com> |
5585 | ||
5586 | * rtsfind.adb: Minor reformatting. | |
5587 | ||
5588 | 2009-04-15 Emmanuel Briot <briot@adacore.com> | |
5589 | ||
5590 | * prj-part.adb, prj-tree.adb, prj-tree.ads (Restore_And_Free): renames | |
5591 | Restore, and free the saved context. | |
5592 | ||
5593 | 2009-04-15 Gary Dismukes <dismukes@adacore.com> | |
5594 | ||
5595 | * sem_ch3.adb (Analyze_Private_Extension_Declaration): Move error check | |
5596 | for illegal private extension from a synchronized interface parent in | |
5597 | front of check for illegal limited extension so that limited extension | |
5598 | from a synchronized interface will be rejected. | |
5599 | (Check_Ifaces): Check that a private extension that has a synchronized | |
5600 | interface as a progenitor must be explicitly declared synchronized. | |
5601 | Also check that a record extension cannot derive from a synchronized | |
5602 | interface. | |
5603 | ||
991395ab AC |
5604 | 2009-04-15 Pascal Obry <obry@adacore.com> |
5605 | ||
5606 | * adaint.h (__gnat_unlink): Add spec. | |
5607 | (__gnat_rename): Likewise. | |
5608 | ||
5609 | 2009-04-15 Vincent Celier <celier@adacore.com> | |
5610 | ||
5611 | * prj-nmsc.adb: Minor spelling error corrections in error messages | |
5612 | ||
5613 | 2009-04-15 Robert Dewar <dewar@adacore.com> | |
5614 | ||
5615 | * sinfo.ads: Minor comment update | |
5616 | ||
5617 | * opt.ads: Minor comment updates | |
5618 | ||
5619 | * checks.adb (Enable_Overflow_Check): Do not set Do_Overflow_Check for | |
5620 | modular type. | |
5621 | ||
5622 | 2009-04-15 Ed Schonberg <schonberg@adacore.com> | |
5623 | ||
5624 | * exp_disp.ads, exp_disp.adb (Register_Primitive): Is now a function | |
5625 | that generates the code needed to update a dispatch table when a | |
5626 | primitive operation is declared with a subprogram body without previous | |
5627 | spec. Insertion of the generated code is responsibility of the caller. | |
5628 | (Make_DT): When building static tables, append the code created by | |
5629 | Register_Primitive to update a secondary table after it has been | |
5630 | constructed. | |
5631 | ||
5632 | * exp_ch3.adb, exp_ch6.adb: use new version of Register_Primitive. | |
5633 | ||
5634 | * sem_disp.adb (Check_Dispatching_Operation): Call Register_Primitive | |
5635 | on an overriding operation that implements an interface operation only | |
5636 | if not building static dispatch tables. | |
5637 | ||
5638 | 2009-04-15 Hristian Kirtchev <kirtchev@adacore.com> | |
5639 | ||
5640 | * a-caldel-vms.adb (To_Duration): Declare a "safe" end of time which | |
5641 | does not cause overflow when converted to Duration. Use the safe value | |
5642 | as the maximum allowable time delay.. | |
5643 | ||
5644 | 2009-04-15 Jerome Lambourg <lambourg@adacore.com> | |
5645 | ||
5646 | * g-comlin.adb (Set_Command_Line): When adding a switch with attached | |
5647 | parameter, specify that the delimiter is NUL, otherwise "-j2" will be | |
5648 | translated to "-j 2". | |
5649 | ||
5650 | 2009-04-15 Bob Duff <duff@adacore.com> | |
5651 | ||
5652 | * rtsfind.adb (Maybe_Add_With): Split out procedure to add implicit | |
5653 | with_clauses, to avoid code duplication. Change this processing so we | |
5654 | always add a with_clause on the main unit if needed. | |
5655 | ||
55cc1a05 AC |
5656 | 2009-04-15 Pascal Obry <obry@adacore.com> |
5657 | ||
5658 | Add support for Win32 native encoding for delete/rename routines. | |
5659 | ||
5660 | * adaint.c (__gnat_unlink): New routine. | |
5661 | (__gnat_rename): New routine. | |
5662 | Simple wrapper routines used to convert to proper encoding on | |
5663 | Windows. | |
5664 | ||
5665 | * s-os_lib.adb: Use __gnat_unlink and __gnat_rename instead of direct | |
5666 | call to the C library. | |
5667 | ||
5668 | * g-sercom-mingw.adb, s-win32.ads: Update Win32 binding. | |
5669 | ||
5670 | 2009-04-15 Robert Dewar <dewar@adacore.com> | |
5671 | ||
5672 | * s-tassta.adb: Minor reformatting | |
5673 | ||
1f6821b4 AC |
5674 | 2009-04-15 Robert Dewar <dewar@adacore.com> |
5675 | ||
5676 | * frontend.adb (Frontend): Set proper default for | |
5677 | Warn_On_Non_Local_Exception. | |
5678 | ||
5679 | * opt.ads (Exception_Handler_Encountered): New flag | |
5680 | (No_Warn_On_Non_Local_Exception): New flag | |
5681 | ||
5682 | * par-ch11.adb (P_Exception_Handler): Set Exception_Handler_Encountered | |
5683 | ||
5684 | * sem_warn.adb (Set_Warning_Switch): Set No_Warn_On_Non_Local_Exception | |
5685 | (Set_Dot_Warning_Switch): Set No_Warn_On_Non_Local_Exception | |
5686 | ||
5687 | 2009-04-15 Cyrille Comar <comar@adacore.com> | |
5688 | ||
5689 | * s-tassta.adb, a-exextr.adb, a-elchha.adb | |
5690 | (Ada.Exception.Last_Chance_Handler): Do not print unhandled exception | |
5691 | message when exception traces are active since it would generate | |
5692 | redundant information. | |
5693 | (Exception_Traces.Notify_Exception): put message output by a critical | |
5694 | section to avoid unsynchronized output. | |
5695 | (Trace_Unhandled_Exception_In_Task): put message output by a critical | |
5696 | section to avoid unsynchronized output. | |
5697 | ||
5698 | 2009-04-15 Emmanuel Briot <briot@adacore.com> | |
5699 | ||
5700 | * g-comlin.adb, prj-tree.adb, prj-tree.ads, prj.adb, prj.ads | |
5701 | (Free): New subprogram. | |
5702 | ||
8aec446b AC |
5703 | 2009-04-15 Hristian Kirtchev <kirtchev@adacore.com> |
5704 | ||
5705 | * a-calend.adb: Add new constant Nanos_In_Four_Years. | |
5706 | (Formatting_Operations.Time_Of): Change the way four year chunks of | |
5707 | nanoseconds are added to the intermediate result. | |
5708 | ||
5709 | 2009-04-15 Nicolas Setton <setton@adacore.com> | |
5710 | ||
5711 | * sysdep.c: Add __APPLE__ in the list of systems where get_immediate | |
5712 | does not need to wait for a carriage return. | |
5713 | ||
5714 | 2009-04-15 Tristan Gingold <gingold@adacore.com> | |
5715 | ||
5716 | * bindgen.adb: Do not generate adafinal if No_Finalization restriction | |
5717 | is set. | |
5718 | ||
5719 | 2009-04-15 Ed Schonberg <schonberg@adacore.com> | |
5720 | ||
5721 | * freeze.adb (Freeze_Entity): improve error message for improper use of | |
5722 | incomplete types. | |
5723 | Diagnose additional illegal uses of incomplete types in formal parts. | |
5724 | appearing in formal parts. | |
5725 | ||
5726 | * sem_ch6.adb (Process_Formals, Analyze_Return_Type): ditto. | |
5727 | ||
5728 | 2009-04-15 Robert Dewar <dewar@adacore.com> | |
5729 | ||
5730 | * exp_ch4.adb (Expand_N_Allocator): Install test for object too large. | |
5731 | ||
442dd5fb NR |
5732 | 2009-04-15 Nicolas Roche <roche@adacore.com> |
5733 | ||
5734 | * adaint.c: Add function __gnat_lwp_self that retrieves the LWP of the | |
5735 | current thread. | |
5736 | ||
5737 | * s-osinte-linux.ads: Import the __gnat_lwp_self function as lwp_self | |
5738 | ||
5739 | * s-taprop-linux.adb (Enter_Task): Store the LWP in the TCB | |
5740 | ||
61bee0e3 AC |
5741 | 2009-04-15 Ed Schonberg <schonberg@adacore.com> |
5742 | ||
5743 | * sem_ch4.adb: improve error message on exponentiation. | |
5744 | ||
5745 | 2009-04-15 Hristian Kirtchev <kirtchev@adacore.com> | |
5746 | ||
5747 | * a-calend.adb: Move constant Epoch_Offset from package | |
5748 | Conversion_Operations to top level. | |
5749 | (Delay_Operations.To_Duration): Define a constant which represents | |
5750 | "end of time" and use it as a guard against very distant delay dates. | |
5751 | Protect the code against overflow when performing the origin shift to | |
5752 | Unix time. | |
5753 | ||
361effb1 AC |
5754 | 2009-04-15 Robert Dewar <dewar@adacore.com> |
5755 | ||
5756 | * sem_prag.adb: Minor reformatting. | |
5757 | ||
5758 | * sem_type.adb: Minor reformatting | |
5759 | ||
5760 | 2009-04-15 Javier Miranda <miranda@adacore.com> | |
5761 | ||
5762 | * sem_ch6.adb (Analyze_Abstract_Subprogram_Declaration): Add missing | |
5763 | support to check eliminated subprograms. | |
5764 | ||
5765 | * sem_elim.ads (Eliminate_Error_Msg): Update documentation. | |
5766 | ||
5767 | * sem_elim.adb (Set_Eliminated): Add support for elimination of | |
5768 | dispatching subprograms. | |
5769 | ||
5770 | * exp_disp.adb (Make_DT): Minor code cleanup when freezing primitive | |
5771 | operations. Initialize with "null" the slots of eliminated dispaching | |
5772 | primitives. | |
5773 | (Write_DT): Add output for eliminated primitives. | |
5774 | ||
5775 | * sem_disp.adb (Check_Dispatching_Call): Check eliminated primitives. | |
5776 | ||
f7ca1d04 AC |
5777 | 2009-04-15 Ed Schonberg <schonberg@adacore.com> |
5778 | ||
5779 | * sem_ch8.adb (Use_One_Type): If both clauses appear on the same unit, | |
5780 | the second is redundant, regardless of scopes. | |
5781 | ||
5782 | 2009-04-15 Vincent Celier <celier@adacore.com> | |
5783 | ||
5784 | * prj-nmsc.adb (Get_Directories): Check for sources before checking | |
5785 | the object directory as when there are no sources, they may not be any | |
5786 | object directory. | |
5787 | ||
5788 | * make.adb (Gnatmake): Do not attempt to get the path name of the exec | |
5789 | directory, when there are no exec directory. | |
5790 | ||
5791 | 2009-04-15 Ed Schonberg <schonberg@adacore.com> | |
5792 | ||
5793 | * sem_type.adb (Remove_Conversions): In order to resolve spurious | |
5794 | ambiguities, refine removal of universal interpretations from complex | |
5795 | expressions with literal arguments, when some numeric operators have | |
5796 | been declared abstract. | |
5797 | ||
5798 | 2009-04-15 Ed Falis <falis@adacore.com> | |
5799 | ||
5800 | * init.c: Map SIGSEGV to Storage_Error for all targets for uniformity | |
5801 | and backward compatibility for targets using probing for stack overflow | |
5802 | ||
5803 | 2009-04-15 Ed Schonberg <schonberg@adacore.com> | |
5804 | ||
5805 | * sem_prag.adb (Analyze_Pragma, case 'Obsolescent): Pragma is legal | |
5806 | after any declaration, including renaming declarations. | |
5807 | ||
4bffd4e0 AC |
5808 | 2009-04-15 Arnaud Charlet <charlet@adacore.com> |
5809 | ||
5810 | * gcc-interface/Make-lang.in: Update dependencies. | |
5811 | ||
5812 | * gcc-interface/Makefile.in: Fix VxWorks target pairs. | |
cbd8be94 | 5813 | Update xenomai target pairs. |
4bffd4e0 | 5814 | |
a523b302 JM |
5815 | 2009-04-15 Javier Miranda <miranda@adacore.com> |
5816 | ||
5817 | * exp_ch4.adb (Expand_N_Allocator): Code cleanup. | |
5818 | ||
5819 | * sem_ch6.adb (Check_Anonymous_Return): Add missing support for | |
5820 | functions returning anonymous access to class-wide limited types. Mark | |
5821 | also the containing scope as a task master. | |
5822 | ||
5823 | * sem_ch8.adb (Restore_Scope_Stack): Add missing management for | |
5824 | limited-withed packages. Required to restore their visibility after | |
5825 | processing packages associated with implicit with-clauses. | |
5826 | ||
5827 | * exp_ch3.adb (Build_Class_Wide_Master): Avoid marking masters | |
5828 | associated with return statements because this work is now done by | |
5829 | Check_Anonymous_Return. | |
5830 | (Build_Master): Code cleanup. | |
5831 | ||
e358346d AC |
5832 | 2009-04-15 Thomas Quinot <quinot@adacore.com> |
5833 | ||
5834 | * sem_warn.ads: Minor reformatting | |
5835 | ||
5836 | 2009-04-15 Ed Schonberg <schonberg@adacore.com> | |
5837 | ||
5838 | * sem_ch3.adb: better error message for illegal interfaces | |
5839 | ||
5840 | * sem_ch6.adb (Possible_Freeze): Delay freezing a subprogram if a | |
5841 | formal is an incomplete type from a limited_with clause. | |
5842 | ||
a9872a59 VC |
5843 | 2009-04-15 Vincent Celier <celier@adacore.com> |
5844 | ||
5845 | * prj-nmsc.adb (Locate_Directory): New Boolean parameter | |
5846 | Externally_Built indicating if the project is externally built. If it | |
5847 | is, and --subdirs is specified, but the subdir does not exist, look | |
5848 | for the specified directory, without the subdir. | |
5849 | ||
b8aadf01 AC |
5850 | 2009-04-15 Gary Dismukes <dismukes@adacore.com> |
5851 | ||
5852 | * a-tasatt.adb: Fix typo, plus minor reformatting | |
5853 | ||
5854 | * sem_ch3.ads: Add missing hyphen ("class wide" => "class-wide"). | |
5855 | ||
5856 | * sem_ch10.adb: Add missing hyphen ("use visible" => "use-visible"). | |
5857 | ||
5858 | 2009-04-15 Ed Schonberg <schonberg@adacore.com> | |
5859 | ||
5860 | * sem_ch3.adb (Analyze_Private_Extension_Declaration): Verify that a | |
5861 | private extension whose parent is a synchronized interface carries an | |
5862 | explicit synchronized keyword. | |
5863 | ||
a808ba1b TQ |
5864 | 2009-04-15 Thomas Quinot <quinot@adacore.com> |
5865 | ||
5866 | * exp_smem.adb (Make_Shared_Var_Procs): For a protected type, | |
5867 | instantiate generic shared object package with the corresponding | |
5868 | record type. | |
5869 | ||
e0568eec AC |
5870 | 2009-04-15 Arnaud Charlet <charlet@adacore.com> |
5871 | ||
5872 | * system-linux-sparc.ads: Remove obsolete entries. | |
5873 | ||
5874 | 2009-04-15 Thomas Quinot <quinot@adacore.com> | |
5875 | ||
5876 | * s-tasuti.ads: Add ??? comment | |
5877 | ||
28450a75 ES |
5878 | 2009-04-15 Ed Schonberg <schonberg@adacore.com> |
5879 | ||
5880 | * sem_ch3.adb (Analyze_Type_Declaration): Create freeze node for access | |
5881 | type even if the designated type comes from a limited_with clause, to | |
5882 | ensure that the symbol for the finalization list of the access type is | |
5883 | created. | |
5884 | ||
b0d3b11d AC |
5885 | 2009-04-10 Robert Dewar <dewar@adacore.com> |
5886 | ||
5887 | * sem_warn.ads, sem_warn.adb (Check_Low_Bound_Tested): Catch more cases | |
5888 | for warning suppression. | |
5889 | ||
5890 | 2009-04-10 Ed Schonberg <schonberg@adacore.com> | |
5891 | ||
5892 | * sem_ch8.adb (Use_One_Type): If the two use_type clauses are | |
5893 | identical, there is no redudancy to check. | |
5894 | ||
5895 | 2009-04-10 Gary Dismukes <dismukes@adacore.com> | |
5896 | ||
5897 | * exp_ch5.adb (Expand_N_Extended_Return_Statement): Delete redundant | |
5898 | calls initializing SS_Allocator (which is initialized in following | |
5899 | code). | |
5900 | (Expand_Simple_Function_Return): Add comment about False value for | |
5901 | Comes_From_Source on secondary-stack allocator. | |
5902 | ||
5903 | * exp_ch9.adb (Build_Entry_Family_Name): Add comment. | |
5904 | (Build_Entry_Name): Add comment. | |
5905 | ||
fad0600d AC |
5906 | 2009-04-10 Robert Dewar <dewar@adacore.com> |
5907 | ||
5908 | * einfo.ads, einfo.adb (Low_Bound_Tested): New name for Low_Bound_Known | |
5909 | ||
5910 | * sem_prag.adb (Analyze_Pragma, case Check): Remove check for lower | |
5911 | bound tested, since this is now done more generally in Sem_Res. | |
5912 | ||
5913 | * sem_res.adb (Resolve_Comparison_Op): Add call to | |
5914 | Check_Lower_Bound_Tested. | |
5915 | (Resolve_Equality_Op): Add call to Check_Lower_Bound_Tested | |
5916 | ||
5917 | * sem_warn.ads, sem_warn.adb (Check_Low_Bound_Tested): New procedure | |
5918 | (Low_Bound_Tested): New name for Low_Bound_Known flag | |
5919 | ||
5920 | * exp_ch5.adb: Minor reformatting | |
5921 | ||
5922 | * exp_ch4.adb: | |
5923 | Add comments on copying the Comes_From_Source flag for allocators | |
5924 | ||
5925 | * sinfo.ads: | |
5926 | Add comments on copying the Comes_From_Source flag for allocators | |
5927 | ||
5928 | * exp_ch6.adb (Make_Build_In_Place_Call_In_Allocator): Copy | |
5929 | Comes_From_Source flag from old allocator to new one. | |
5930 | ||
5931 | 2009-04-10 Ed Schonberg <schonberg@adacore.com> | |
5932 | ||
5933 | * sem_ch6.ads: Address missing documentation query | |
5934 | ||
5935 | 2009-04-10 Vincent Celier <celier@adacore.com> | |
5936 | ||
5937 | * prj-attr.adb: | |
5938 | Add new Linker attributes Max_Command_Line_Length, Response_File_Format | |
5939 | and Response_File_Switches. | |
5940 | ||
5941 | * prj-nmsc.adb (Process_Linker): Process new attributes | |
5942 | Max_Command_Line_Length, Response_File_Format and | |
5943 | Response_File_Switches. | |
5944 | ||
5945 | * prj.ads (Response_File_Format): New enumeration type | |
5946 | (Project_Configuration): New componants Max_Command_Line_Length, | |
5947 | Resp_File_Format and Resp_File_Options. | |
5948 | ||
5949 | * snames.ads-tmpl: Add new standard names for linking response files | |
5950 | for gprbuild: GNU, None, Object_List, Option_List, | |
5951 | Max_Command_Line_Length, Response_File_Format and | |
5952 | Response_File_Switches. | |
5953 | ||
5954 | 2009-04-10 Geert Bosch <bosch@adacore.com> | |
5955 | ||
5956 | * system-aix.ads, system-darwin-ppc.ads, system-darwin-x86.ads, | |
5957 | system-freebsd-x86.ads, system-hpux.ads, system-hpux-ia64.ads, | |
5958 | system-irix-n32.ads, system-irix-o32.ads, system-linux-alpha.ads, | |
5959 | system-linux-hppa.ads, system-linux-ia64.ads, system-linux-ppc.ads, | |
5960 | system-linux-s390.ads, system-linux-s390x.ads, system-linux-sh4.ads, | |
5961 | system-linux-sparc.ads, system-linux-x86_64.ads, system-linux-x86.ads, | |
5962 | system-mingw.ads, system-solaris-sparc.ads, system-solaris-sparcv9.ads, | |
5963 | system-solaris-x86.ads, system-tru64.ads, system-vms_64.ads, | |
5964 | system-vms.ads, system-vms-ia64.ads, system-vms-zcx.ads, | |
5965 | system-vxworks-arm.ads, system-vxworks-m68k.ads, | |
5966 | system-vxworks-mips.ads, system-vxworks-ppc.ads, | |
5967 | system-vxworks-sparcv9.ads, system-vxworks-x86.ads | |
5968 | (Backend_Overflow_Checks): Set to True. | |
5969 | ||
934a3a25 AC |
5970 | 2009-04-10 Thomas Quinot <quinot@adacore.com> |
5971 | ||
5972 | * exp_attr.adb: Minor reformatting | |
5973 | ||
5974 | 2009-04-10 Ed Schonberg <schonberg@adacore.com> | |
5975 | ||
5976 | * sem_prag.adb (Check_Precondition_Postcondition): Within a generic, | |
5977 | analyze the expression for a postcondition, even if the compiler mode | |
5978 | is Generate_Code. | |
5979 | ||
ab8e1b35 RD |
5980 | 2009-04-10 Robert Dewar <dewar@adacore.com> |
5981 | ||
5982 | * sem_aux.adb: Minor reformatting | |
5983 | ||
2c880bdf EF |
5984 | 2009-04-10 Ed Falis <falis@adacore.com> |
5985 | ||
5986 | * init.c: Change VxWorks 6 stack overflow checking for kernel apps. | |
5987 | ||
5988 | * system-vxworks-ppc.ads, system-vxworks-x86.ads: Update header. | |
5989 | ||
d8221f45 TQ |
5990 | 2009-04-10 Thomas Quinot <quinot@adacore.com> |
5991 | ||
5992 | * sem_ch6.ads (Check_Subtype_Conformant): Add ??? comment for | |
5993 | undocumented formal. | |
5994 | Minor reformatting | |
5995 | ||
5996 | * a-direio.ads: Fix typo in comment | |
5997 | ||
5998 | * sem_ch3.adb, g-dirope.adb, sem_type.adb, sem_ch12.adb, sem_case.adb, | |
5999 | errout.adb, sem_ch4.adb, sem_ch11.adb, exp_dist.adb, sem_ch13.adb: | |
6000 | Use uniform phrasing for comment at start of subprogram body. | |
6001 | ||
6002 | * xsnamest.adb: Add note to explain why we use specific names for the | |
6003 | newly generated files instead of generating snames.{ads,adb,h} directly | |
6004 | ||
f559e62f AC |
6005 | 2009-04-10 Sergey Rybin <rybin@adacore.com> |
6006 | ||
6007 | * vms_data.ads: | |
6008 | Add qualifier for new gnatstub option '--no-exception' | |
6009 | ||
6010 | * gnat_ugn.texi: | |
6011 | Add the description of the new gnatstub option '--no-exception' | |
6012 | ||
6013 | 2009-04-10 Robert Dewar <dewar@adacore.com> | |
6014 | ||
6015 | * rtsfind.adb: Minor reformatting | |
6016 | ||
6017 | 2009-04-10 Thomas Quinot <quinot@adacore.com> | |
6018 | ||
6019 | * sem_disp.adb: Minor reformatting. | |
6020 | Add comment pointing to RM clause for the case of warning against a | |
6021 | (failed) attempt at declaring a primitive operation elsewhere than in a | |
6022 | package spec. | |
6023 | ||
6024 | 2009-04-10 Ed Schonberg <schonberg@adacore.com> | |
6025 | ||
6026 | * sem_ch12.adb (Denotes_Formal_Package): Check whether the package is | |
6027 | an actual for a previous formal package of the current instance. | |
6028 | ||
e50e1c5e AC |
6029 | 2009-04-10 Bob Duff <duff@adacore.com> |
6030 | ||
6031 | * rtsfind.adb (RTE): Put implicit with_clauses on whatever unit needs | |
6032 | them first, rather than on the extended main unit. | |
6033 | ||
6034 | 2009-04-10 Ed Schonberg <schonberg@adacore.com> | |
6035 | ||
6036 | * sem_ch6.adb (Check_Discriminant_Conformance): If discriminant | |
6037 | specification of full view carries a null exclusion indicator, create | |
6038 | an itype for it, to check for conformance with partial view. | |
6039 | ||
cb736868 AC |
6040 | 2009-04-10 Bob Duff <duff@adacore.com> |
6041 | ||
6042 | * rtsfind.ads: Minor code change: make RE_Unit_Table constant. | |
6043 | ||
6044 | * rtsfind.adb: Minor comment changes, and remove useless code. | |
6045 | ||
6046 | * sinfo.ads: Add ??? comment. | |
6047 | ||
6048 | 2009-04-10 Vincent Celier <celier@adacore.com> | |
6049 | ||
6050 | * vms_data.ads: Add missing GNAT SYNC VMS qualifiers -main= and -U | |
6051 | ||
8a78c50d AC |
6052 | 2009-04-10 Ed Schonberg <schonberg@adacore.com> |
6053 | ||
6054 | * exp_attr.adb (Expand_N_Attribute_Reference, case 'Tag): If the tagged | |
6055 | type is a synchronized type, retrieve tag information from the | |
6056 | corresponding record, which has the dispatch table link. | |
6057 | ||
6058 | 2009-04-10 Jerome Lambourg <lambourg@adacore.com> | |
6059 | ||
6060 | * g-comlin.adb (Group_Analysis): Take care of switches that might be | |
6061 | decomposed afterwards, but are present as-is in the command line | |
6062 | configuration, and thus should be kept as-is. | |
6063 | ||
b66c3ff4 AC |
6064 | 2009-04-10 Robert Dewar <dewar@adacore.com> |
6065 | ||
6066 | * gnat_rm.texi: Document that postconditions are tested on implicit | |
6067 | returns. | |
6068 | ||
6069 | * sem_aux.adb: Minor reformatting | |
6070 | ||
6071 | 2009-04-10 Gary Dismukes <dismukes@adacore.com> | |
6072 | ||
6073 | * itypes.adb (Create_Null_Excluding_Itype): Apply Base_Type when | |
6074 | setting Etype. | |
6075 | ||
6076 | * par-ch3.adb (P_Access_Type_Definition): Set new attribute | |
6077 | Null_Exclusion_In_Return_Present when an access-to-function type has a | |
6078 | result type with an explicit not null. | |
6079 | ||
6080 | * sem_ch3.adb (Access_Subprogram_Definition): If a null exclusion is | |
6081 | given on the result type, then create a null-excluding itype for the | |
6082 | function. | |
6083 | ||
6084 | * sem_ch6.adb (Analyze_Return_Type): Create a null-excluding itype in | |
6085 | the case where a null exclusion is imposed on a named access type. | |
6086 | (Analyze_Subprogram_Specification): Push and pop the scope of the | |
6087 | function around the call to Analyze_Return_Type in the case of no | |
6088 | formals, for consistency with handling when formals are present | |
6089 | (Process_Formals does this). Ensures that any itype created for the | |
6090 | return type will be associated with the proper scope. | |
6091 | ||
6092 | * sem_ch12.adb (Analyze_Generic_Subprogram_Declaration): If a null | |
6093 | exclusion is given on a generic function's result type, then create a | |
6094 | null-excluding itype for the generic function. | |
6095 | (Instantiate_Object): Set Null_Exclusion_Present of a constant created | |
6096 | for an actual for a formal in object according to the setting on the | |
6097 | formal. Ensures null exclusion checks are done when the association is | |
6098 | elaborated. | |
6099 | ||
6100 | * sinfo.ads: Add new flag Null_Exclusion_In_Return_Present on | |
6101 | N_Access_Function_Definition. | |
6102 | ||
6103 | * sinfo.adb: Add Get_ and Set_ operations for | |
6104 | Null_Exclusion_In_Return_Present. | |
6105 | ||
5334d18f BD |
6106 | 2009-04-10 Bob Duff <duff@adacore.com> |
6107 | ||
6108 | * exp_ch5.adb, exp_ch6.adb, sem_ch6.adb: Move the code that creates a | |
6109 | call to the _Postconditions procedure in the case of implicit returns | |
6110 | from analysis to expansion. This eliminates some duplicated code. Use | |
6111 | the Postcondition_Proc to find the identity of this procedure during | |
6112 | expansion. | |
6113 | ||
701b7fbb RD |
6114 | 2009-04-10 Robert Dewar <dewar@adacore.com> |
6115 | ||
6116 | * sem_ch6.adb: Minor code clean up. | |
6117 | ||
6118 | * einfo.ads, sem_attr.adb: Minor comment fixes. | |
6119 | ||
6120 | 2009-04-10 Robert Dewar <dewar@adacore.com> | |
6121 | ||
6122 | * sem_ch8.adb: Minor reformatting | |
6123 | ||
7ca78bba RD |
6124 | 2009-04-10 Robert Dewar <dewar@adacore.com> |
6125 | ||
6126 | * einfo.ads, einfo.adb (Postcondition_Proc): New attribute for | |
6127 | procedures. | |
6128 | ||
6129 | * sem_ch6.adb: Minor code clean up. | |
6130 | ||
043ce308 AC |
6131 | 2009-04-10 Robert Dewar <dewar@adacore.com> |
6132 | ||
6133 | * mlib-tgt-specific-xi.adb: Minor reformatting | |
6134 | ||
6135 | 2009-04-10 Bob Duff <duff@adacore.com> | |
6136 | ||
6137 | * einfo.ads: Minor comment fixes | |
6138 | ||
6139 | 2009-04-10 Vincent Celier <celier@adacore.com> | |
6140 | ||
6141 | * snames.ads-tmpl: Remove names that are no longer used in the | |
6142 | Project Manager. | |
6143 | Mark specifically those that are used only in gprbuild | |
6144 | ||
6145 | 2009-04-10 Eric Botcazou <ebotcazou@adacore.com> | |
6146 | ||
6147 | * init.c: Adjust EH support code on Alpha/Tru64. | |
6148 | ||
6149 | 2009-04-10 Bob Duff <duff@adacore.com> | |
6150 | ||
6151 | * sem_ch6.adb (Process_PPCs): Add a call to the _Postconditions | |
6152 | procedure on every path that could return implicitly (not via a return | |
6153 | statement) from a procedure. | |
6154 | ||
6155 | 2009-04-10 Ed Schonberg <schonberg@adacore.com> | |
6156 | ||
6157 | * exp_ch9.adb (Build_Master_Entity): An extended return statement is a | |
6158 | valid scope for a task declarations and therefore for a master id. | |
6159 | ||
6160 | 2009-04-10 Robert Dewar <dewar@adacore.com> | |
6161 | ||
6162 | * sem_aux.adb: Minor reformatting | |
6163 | ||
6164 | 2009-04-10 Vincent Celier <celier@adacore.com> | |
6165 | ||
6166 | * scn.adb (Obsolescent_Check_Flag): New Boolean flag, initialized to | |
6167 | True. | |
6168 | (Obsolescent_Check): Do nothing if Obsolescent_Check_Flag is False | |
6169 | (Set_Obsolescent_Check): New procedure to change the value of | |
6170 | Obsolescent_Check_Flag. | |
6171 | ||
6172 | * scn.ads (Set_Obsolescent_Check): New procedure to control | |
6173 | Obsolescent_Check. | |
6174 | ||
6175 | * sinput-l.adb (Load_File): Do not check for pragma Restrictions on | |
6176 | obsolescent features while preprocessing. | |
6177 | ||
550f4135 AC |
6178 | 2009-04-10 Thomas Quinot <quinot@adacore.com> |
6179 | ||
6180 | * xsnamest.adb: Use XUtil to have uniform line endings (UNIX style) in | |
6181 | generated files on all platforms. | |
6182 | ||
6183 | 2009-04-10 Robert Dewar <dewar@adacore.com> | |
6184 | ||
6185 | * sem_aux.adb: Minor reformatting | |
6186 | ||
6187 | 2009-04-10 Ed Schonberg <schonberg@adacore.com> | |
6188 | ||
6189 | * sem_ch3.adb (Access_Definition): Handle properly the case of a | |
6190 | protected function with formals that returns an anonymous access type. | |
6191 | ||
6192 | 2009-04-10 Thomas Quinot <quinot@adacore.com> | |
6193 | ||
6194 | * sem_disp.adb: Minor reformatting | |
6195 | ||
6196 | 2009-04-10 Vasiliy Fofanov <fofanov@adacore.com> | |
6197 | ||
6198 | * seh_init.c: Do not use the 32-bit specific implementation of | |
6199 | __gnat_install_SEH_handler on 64-bit Windows target (64-bit specific | |
6200 | version TBD). | |
6201 | ||
6202 | 2009-04-10 Jose Ruiz <ruiz@adacore.com> | |
6203 | ||
6204 | * mlib-tgt-specific-xi.adb (Get_Target_Prefix): Target_Name may contain | |
6205 | a '/' at the end so we better use the complete target name to determine | |
6206 | whether it is a PowerPC 55xx target. | |
6207 | ||
3996951a TQ |
6208 | 2009-04-10 Thomas Quinot <quinot@adacore.com> |
6209 | ||
6210 | * sem_eval.adb: Minor reformatting | |
6211 | ||
b62a90f2 AC |
6212 | 2009-04-10 Thomas Quinot <quinot@adacore.com> |
6213 | ||
6214 | * snames.h, snames.ads, snames.adb: Remove files, now generated from | |
6215 | templates. | |
6216 | ||
6217 | * snames.h-tmpl, snames.ads-tmpl, snames.adb-tmpl: Templates for the | |
6218 | above. | |
6219 | ||
6220 | * xsnamest.adb: New file. | |
6221 | ||
6222 | * gcc-interface/Make-lang.in: New target for automated generation of | |
6223 | snames.ads, snames.adb and snames.h | |
6224 | ||
62298c61 TG |
6225 | 2009-04-10 Tristan Gingold <gingold@adacore.com> |
6226 | ||
6227 | * gcc-interface/Makefile.in, gcc-interface/utils.c: Include "rtl.h" to | |
6228 | avoid compile time warnings. | |
6229 | Do not add gcc/config in include search list while compiling the RTS. | |
6230 | Pragma Thread_Local_Storage is available on any target. | |
6231 | ||
3764bb00 BD |
6232 | 2009-04-10 Bob Duff <duff@adacore.com> |
6233 | ||
6234 | * sem.ads, par.adb, sem_ch6.adb, sem_ch8.adb: Minor comment fixes. | |
6235 | ||
b3b9865d AC |
6236 | 2009-04-10 Tristan Gingold <gingold@adacore.com> |
6237 | ||
6238 | * init.c: Install signal handler on Darwin. | |
6239 | ||
6240 | 2009-04-10 Robert Dewar <dewar@adacore.com> | |
6241 | ||
6242 | * sem_prag.adb: Minor reformatting | |
6243 | ||
6244 | * exp_util.adb (Make_Non_Empty_Check): New function | |
6245 | (Silly_Boolean_Array_Not_Test): Add call to Make_Non_Empty_Check | |
6246 | (Silly_Boolean_Array_Xor_Test): Use Make_Non_Empty_Check | |
6247 | ||
6248 | 2009-04-10 Arnaud Charlet <charlet@adacore.com> | |
6249 | ||
6250 | * make.adb, gnatlink.adb: Rename JGNAT toolchain. | |
6251 | ||
6252 | 2009-04-10 Jose Ruiz <ruiz@adacore.com> | |
6253 | ||
6254 | * mlib-tgt-specific-xi.adb (Get_Target_Prefix): Insert the appropriate | |
6255 | tool prefix for AVR and PowerPC 55xx targets. | |
6256 | ||
6257 | 2009-04-10 Robert Dewar <dewar@adacore.com> | |
6258 | ||
6259 | * sem_warn.adb (Within_Postcondition): New function | |
6260 | (Check_Unset_Reference): Use Within_Postcondition to stop bad warning | |
6261 | ||
c5288c90 AC |
6262 | 2009-04-10 Robert Dewar <dewar@adacore.com> |
6263 | ||
6264 | * sem_warn.adb: Minor reformatting | |
6265 | ||
6266 | * make.adb: Minor reformatting. | |
6267 | ||
6268 | 2009-04-10 Gary Dismukes <dismukes@adacore.com> | |
6269 | ||
6270 | * exp_ch7.adb (Find_Final_List): When creating a finalization-chain | |
6271 | entity and the scope is a subprogram, retrieve the Sloc of the | |
6272 | subprogram's body rather than using the sloc of the spec, for better | |
6273 | line-stepping behavior in gdb. | |
6274 | (Wrap_Transient_Declaration): For the Sloc of nodes created with a list | |
6275 | controller, use the Sloc of the first declaration of the containing list | |
6276 | rather than that of the node that triggered creation of the list | |
6277 | controller. | |
6278 | ||
2844b330 AC |
6279 | 2009-04-10 Vincent Celier <celier@adacore.com> |
6280 | ||
6281 | * prj-nmsc.adb (Check_Naming_Schemes): Initialize local variable Casing | |
6282 | to avoid gcc warning. | |
6283 | ||
6284 | 2009-04-10 Robert Dewar <dewar@adacore.com> | |
6285 | ||
6286 | * g-comlin.adb: Add ??? comment | |
6287 | ||
6288 | 2009-04-10 Ed Schonberg <schonberg@adacore.com> | |
6289 | ||
6290 | * sem_warn.adb (Check_Unused_Withs): Do not emit message about | |
6291 | unreferenced entities for a package with no visible declarations. | |
6292 | ||
6293 | 2009-04-10 Robert Dewar <dewar@adacore.com> | |
6294 | ||
6295 | * exp_ch9.adb: Minor reformatting | |
6296 | ||
be21e9d8 AC |
6297 | 2009-04-10 Thomas Quinot <quinot@adacore.com> |
6298 | ||
6299 | * sem_prag.adb: Minor reformatting | |
6300 | ||
6301 | 2009-04-10 Vincent Celier <celier@adacore.com> | |
6302 | ||
6303 | * prj-nmsc.adb: | |
6304 | (Check_Library_Attributes): For a project qualified as a library project | |
6305 | that is not a library project, indicate in the error message which | |
6306 | attributes are missing (Library_Dir and/or Library_Name). | |
6307 | ||
4a7dedcb BD |
6308 | 2009-04-10 Bob Duff <duff@adacore.com> |
6309 | ||
6310 | * exp_ch5.adb, exp_ch9.adb: Avoid use of No_Position in Sloc of | |
6311 | generated nodes, because it might confuse various circuits in the FE. | |
6312 | ||
4017021b AC |
6313 | 2009-04-10 Ed Schonberg <schonberg@adacore.com> |
6314 | ||
6315 | * sem_prag.adb (Analyze_Pragma, case Task_Name): Do not expand argument | |
6316 | of pragma. It will be recopied and analyzed when used in call to | |
6317 | Create_Task. | |
6318 | ||
6319 | * sem_res.adb (Resolve_Call): Clarify use of secondary stack within | |
6320 | initialization operations and recognize use of it in procedure calls | |
6321 | within init_procs. | |
6322 | ||
6323 | * exp_ch9.adb (Make_Task_Create_Call): Copy full tree of Task_Name | |
6324 | argument, because it may have side-effects. | |
6325 | ||
6326 | * exp_ch2.adb: Remove obsolete comments on default functions | |
6327 | ||
6328 | 2009-04-10 Jose Ruiz <ruiz@adacore.com> | |
6329 | ||
6330 | * adaint.c (RTX section): Do for RTX the same thing as we do for | |
6331 | Windows (include ctype.h and define a fallback ISALPHA if IN_RTS). | |
6332 | ||
24357840 RD |
6333 | 2009-04-10 Robert Dewar <dewar@adacore.com> |
6334 | ||
6335 | * sem_aux.ads, sem_aux.adb (Nearest_Current_Scope): New function. | |
6336 | ||
6337 | * sem_res.adb (Resolve_Call): Fix test for | |
6338 | Suppress_Value_Tracking_On_Call (was wrong for the case of a call from | |
6339 | a non-dynamic scope). | |
6340 | ||
4f64abad AC |
6341 | 2009-04-10 Robert Dewar <dewar@adacore.com> |
6342 | ||
6343 | * make.adb: Add comment. | |
6344 | Minor reformatting | |
6345 | ||
6346 | 2009-04-10 Nicolas Setton <setton@adacore.com> | |
6347 | ||
6348 | * s-osprim-darwin.adb: New file. | |
6349 | ||
6350 | * s-osinte-darwin.adb, s-osinte-darwin.ads: Fix binding to timespec. | |
6351 | ||
6352 | 2009-04-10 Thomas Quinot <quinot@adacore.com> | |
6353 | ||
6354 | * g-socket.ads: Add comment clarifying alignment requirement for Fd_Set | |
6355 | ||
748086b7 JJ |
6356 | 2009-04-09 Nick Clifton <nickc@redhat.com> |
6357 | ||
6358 | * adadecode.h: Change copyright header to refer to version | |
6359 | 3 of the GNU General Public License with version 3.1 of the | |
6360 | GCC Runtime Library Exception and to point readers at the | |
6361 | COPYING3 and COPYING3.RUNTIME files and the FSF's license web | |
6362 | page. | |
6363 | * 9drpc.adb: Likewise. | |
6364 | * a-assert.adb: Likewise. | |
6365 | * a-astaco.adb: Likewise. | |
6366 | * a-calari.adb: Likewise. | |
6367 | * a-calcon.adb: Likewise. | |
6368 | * a-calcon.ads: Likewise. | |
6369 | * a-caldel.ads: Likewise. | |
6370 | * a-calend-vms.adb: Likewise. | |
6371 | * a-calend-vms.ads: Likewise. | |
6372 | * a-calend.adb: Likewise. | |
6373 | * a-calend.ads: Likewise. | |
6374 | * a-calfor.adb: Likewise. | |
6375 | * a-catizo.adb: Likewise. | |
6376 | * a-cdlili.adb: Likewise. | |
6377 | * a-cdlili.ads: Likewise. | |
6378 | * a-cgaaso.adb: Likewise. | |
6379 | * a-cgaaso.ads: Likewise. | |
6380 | * a-cgarso.adb: Likewise. | |
6381 | * a-cgcaso.adb: Likewise. | |
6382 | * a-chacon.adb: Likewise. | |
6383 | * a-chacon.ads: Likewise. | |
6384 | * a-chahan.adb: Likewise. | |
6385 | * a-chahan.ads: Likewise. | |
6386 | * a-chlat9.ads: Likewise. | |
6387 | * a-chtgke.adb: Likewise. | |
6388 | * a-chtgke.ads: Likewise. | |
6389 | * a-chtgop.adb: Likewise. | |
6390 | * a-chtgop.ads: Likewise. | |
6391 | * a-chzla1.ads: Likewise. | |
6392 | * a-chzla9.ads: Likewise. | |
6393 | * a-cidlli.adb: Likewise. | |
6394 | * a-cidlli.ads: Likewise. | |
6395 | * a-cihama.adb: Likewise. | |
6396 | * a-cihama.ads: Likewise. | |
6397 | * a-cihase.adb: Likewise. | |
6398 | * a-cihase.ads: Likewise. | |
6399 | * a-ciorma.adb: Likewise. | |
6400 | * a-ciorma.ads: Likewise. | |
6401 | * a-ciormu.adb: Likewise. | |
6402 | * a-ciormu.ads: Likewise. | |
6403 | * a-ciorse.adb: Likewise. | |
6404 | * a-ciorse.ads: Likewise. | |
6405 | * a-clrefi.adb: Likewise. | |
6406 | * a-clrefi.ads: Likewise. | |
6407 | * a-cohama.adb: Likewise. | |
6408 | * a-cohama.ads: Likewise. | |
6409 | * a-cohase.adb: Likewise. | |
6410 | * a-cohase.ads: Likewise. | |
6411 | * a-cohata.ads: Likewise. | |
6412 | * a-coinve.adb: Likewise. | |
6413 | * a-coinve.ads: Likewise. | |
6414 | * a-colien.adb: Likewise. | |
6415 | * a-colien.ads: Likewise. | |
6416 | * a-colire.adb: Likewise. | |
6417 | * a-colire.ads: Likewise. | |
6418 | * a-comlin.adb: Likewise. | |
6419 | * a-comlin.ads: Likewise. | |
6420 | * a-convec.adb: Likewise. | |
6421 | * a-convec.ads: Likewise. | |
6422 | * a-coorma.adb: Likewise. | |
6423 | * a-coorma.ads: Likewise. | |
6424 | * a-coormu.adb: Likewise. | |
6425 | * a-coormu.ads: Likewise. | |
6426 | * a-coorse.adb: Likewise. | |
6427 | * a-coorse.ads: Likewise. | |
6428 | * a-coprnu.adb: Likewise. | |
6429 | * a-coprnu.ads: Likewise. | |
6430 | * a-crbltr.ads: Likewise. | |
6431 | * a-crbtgk.adb: Likewise. | |
6432 | * a-crbtgk.ads: Likewise. | |
6433 | * a-crbtgo.adb: Likewise. | |
6434 | * a-crbtgo.ads: Likewise. | |
6435 | * a-crdlli.adb: Likewise. | |
6436 | * a-crdlli.ads: Likewise. | |
6437 | * a-cwila1.ads: Likewise. | |
6438 | * a-cwila9.ads: Likewise. | |
6439 | * a-decima.adb: Likewise. | |
6440 | * a-decima.ads: Likewise. | |
6441 | * a-diocst.adb: Likewise. | |
6442 | * a-diocst.ads: Likewise. | |
6443 | * a-direct.adb: Likewise. | |
6444 | * a-direct.ads: Likewise. | |
6445 | * a-direio.adb: Likewise. | |
6446 | * a-direio.ads: Likewise. | |
6447 | * a-dirval-mingw.adb: Likewise. | |
6448 | * a-dirval-vms.adb: Likewise. | |
6449 | * a-dirval.adb: Likewise. | |
6450 | * a-dirval.ads: Likewise. | |
6451 | * a-dynpri.adb: Likewise. | |
6452 | * a-einuoc.adb: Likewise. | |
6453 | * a-einuoc.ads: Likewise. | |
6454 | * a-elchha.adb: Likewise. | |
6455 | * a-elchha.ads: Likewise. | |
6456 | * a-envvar.adb: Likewise. | |
6457 | * a-excach.adb: Likewise. | |
6458 | * a-except-2005.adb: Likewise. | |
6459 | * a-except-2005.ads: Likewise. | |
6460 | * a-except.adb: Likewise. | |
6461 | * a-except.ads: Likewise. | |
6462 | * a-excpol-abort.adb: Likewise. | |
6463 | * a-excpol.adb: Likewise. | |
6464 | * a-exctra.adb: Likewise. | |
6465 | * a-exctra.ads: Likewise. | |
6466 | * a-exetim-mingw.adb: Likewise. | |
6467 | * a-exetim-mingw.ads: Likewise. | |
6468 | * a-exexda.adb: Likewise. | |
6469 | * a-exexpr-gcc.adb: Likewise. | |
6470 | * a-exexpr.adb: Likewise. | |
6471 | * a-exextr.adb: Likewise. | |
6472 | * a-exstat.adb: Likewise. | |
6473 | * a-filico.adb: Likewise. | |
6474 | * a-filico.ads: Likewise. | |
6475 | * a-finali.adb: Likewise. | |
6476 | * a-finali.ads: Likewise. | |
6477 | * a-interr.ads: Likewise. | |
6478 | * a-intnam-aix.ads: Likewise. | |
6479 | * a-intnam-darwin.ads: Likewise. | |
6480 | * a-intnam-dummy.ads: Likewise. | |
6481 | * a-intnam-freebsd.ads: Likewise. | |
6482 | * a-intnam-hpux.ads: Likewise. | |
6483 | * a-intnam-irix.ads: Likewise. | |
6484 | * a-intnam-linux.ads: Likewise. | |
6485 | * a-intnam-lynxos.ads: Likewise. | |
6486 | * a-intnam-mingw.ads: Likewise. | |
6487 | * a-intnam-rtems.ads: Likewise. | |
6488 | * a-intnam-solaris.ads: Likewise. | |
6489 | * a-intnam-tru64.ads: Likewise. | |
6490 | * a-intnam-vms.ads: Likewise. | |
6491 | * a-intnam-vxworks.ads: Likewise. | |
6492 | * a-intsig.adb: Likewise. | |
6493 | * a-intsig.ads: Likewise. | |
6494 | * a-ngcefu.adb: Likewise. | |
6495 | * a-ngcoar.adb: Likewise. | |
6496 | * a-ngcoty.adb: Likewise. | |
6497 | * a-ngcoty.ads: Likewise. | |
6498 | * a-ngelfu.adb: Likewise. | |
6499 | * a-ngrear.adb: Likewise. | |
6500 | * a-ngrear.ads: Likewise. | |
6501 | * a-nudira.adb: Likewise. | |
6502 | * a-nudira.ads: Likewise. | |
6503 | * a-nuflra.adb: Likewise. | |
6504 | * a-nuflra.ads: Likewise. | |
6505 | * a-numaux-darwin.adb: Likewise. | |
6506 | * a-numaux-darwin.ads: Likewise. | |
6507 | * a-numaux-libc-x86.ads: Likewise. | |
6508 | * a-numaux-vxworks.ads: Likewise. | |
6509 | * a-numaux-x86.adb: Likewise. | |
6510 | * a-numaux-x86.ads: Likewise. | |
6511 | * a-numaux.ads: Likewise. | |
6512 | * a-rbtgso.adb: Likewise. | |
6513 | * a-rbtgso.ads: Likewise. | |
6514 | * a-reatim.ads: Likewise. | |
6515 | * a-retide.adb: Likewise. | |
6516 | * a-retide.ads: Likewise. | |
6517 | * a-rttiev.adb: Likewise. | |
6518 | * a-rttiev.ads: Likewise. | |
6519 | * a-secain.adb: Likewise. | |
6520 | * a-secain.ads: Likewise. | |
6521 | * a-sequio.adb: Likewise. | |
6522 | * a-sequio.ads: Likewise. | |
6523 | * a-shcain.adb: Likewise. | |
6524 | * a-shcain.ads: Likewise. | |
6525 | * a-siocst.adb: Likewise. | |
6526 | * a-siocst.ads: Likewise. | |
6527 | * a-slcain.adb: Likewise. | |
6528 | * a-slcain.ads: Likewise. | |
6529 | * a-ssicst.adb: Likewise. | |
6530 | * a-ssicst.ads: Likewise. | |
6531 | * a-stboha.adb: Likewise. | |
6532 | * a-stmaco.ads: Likewise. | |
6533 | * a-storio.adb: Likewise. | |
6534 | * a-strbou.adb: Likewise. | |
6535 | * a-strbou.ads: Likewise. | |
6536 | * a-stream.ads: Likewise. | |
6537 | * a-strfix.adb: Likewise. | |
6538 | * a-strhas.adb: Likewise. | |
6539 | * a-strmap.adb: Likewise. | |
6540 | * a-strmap.ads: Likewise. | |
6541 | * a-strsea.adb: Likewise. | |
6542 | * a-strsea.ads: Likewise. | |
6543 | * a-strsup.adb: Likewise. | |
6544 | * a-strsup.ads: Likewise. | |
6545 | * a-strunb.adb: Likewise. | |
6546 | * a-strunb.ads: Likewise. | |
6547 | * a-ststio.adb: Likewise. | |
6548 | * a-ststio.ads: Likewise. | |
6549 | * a-stunau.adb: Likewise. | |
6550 | * a-stunau.ads: Likewise. | |
6551 | * a-stunha.adb: Likewise. | |
6552 | * a-stwibo.adb: Likewise. | |
6553 | * a-stwibo.ads: Likewise. | |
6554 | * a-stwifi.adb: Likewise. | |
6555 | * a-stwiha.adb: Likewise. | |
6556 | * a-stwima.adb: Likewise. | |
6557 | * a-stwima.ads: Likewise. | |
6558 | * a-stwise.adb: Likewise. | |
6559 | * a-stwise.ads: Likewise. | |
6560 | * a-stwisu.adb: Likewise. | |
6561 | * a-stwisu.ads: Likewise. | |
6562 | * a-stwiun.adb: Likewise. | |
6563 | * a-stwiun.ads: Likewise. | |
6564 | * a-stzbou.adb: Likewise. | |
6565 | * a-stzbou.ads: Likewise. | |
6566 | * a-stzfix.adb: Likewise. | |
6567 | * a-stzhas.adb: Likewise. | |
6568 | * a-stzmap.adb: Likewise. | |
6569 | * a-stzmap.ads: Likewise. | |
6570 | * a-stzsea.adb: Likewise. | |
6571 | * a-stzsea.ads: Likewise. | |
6572 | * a-stzsup.adb: Likewise. | |
6573 | * a-stzsup.ads: Likewise. | |
6574 | * a-stzunb.adb: Likewise. | |
6575 | * a-stzunb.ads: Likewise. | |
6576 | * a-suteio.adb: Likewise. | |
6577 | * a-suteio.ads: Likewise. | |
6578 | * a-swbwha.adb: Likewise. | |
6579 | * a-swmwco.ads: Likewise. | |
6580 | * a-swunau.adb: Likewise. | |
6581 | * a-swunau.ads: Likewise. | |
6582 | * a-swuwha.adb: Likewise. | |
6583 | * a-swuwti.adb: Likewise. | |
6584 | * a-swuwti.ads: Likewise. | |
6585 | * a-sytaco.adb: Likewise. | |
6586 | * a-sytaco.ads: Likewise. | |
6587 | * a-szbzha.adb: Likewise. | |
6588 | * a-szmzco.ads: Likewise. | |
6589 | * a-szunau.adb: Likewise. | |
6590 | * a-szunau.ads: Likewise. | |
6591 | * a-szuzha.adb: Likewise. | |
6592 | * a-szuzti.adb: Likewise. | |
6593 | * a-szuzti.ads: Likewise. | |
6594 | * a-tags.adb: Likewise. | |
6595 | * a-tags.ads: Likewise. | |
6596 | * a-tasatt.ads: Likewise. | |
6597 | * a-taside.adb: Likewise. | |
6598 | * a-taside.ads: Likewise. | |
6599 | * a-taster.adb: Likewise. | |
6600 | * a-teioed.adb: Likewise. | |
6601 | * a-teioed.ads: Likewise. | |
6602 | * a-textio.adb: Likewise. | |
6603 | * a-textio.ads: Likewise. | |
6604 | * a-tiboio.adb: Likewise. | |
6605 | * a-ticoau.adb: Likewise. | |
6606 | * a-ticoau.ads: Likewise. | |
6607 | * a-ticoio.adb: Likewise. | |
6608 | * a-ticoio.ads: Likewise. | |
6609 | * a-tideau.adb: Likewise. | |
6610 | * a-tideau.ads: Likewise. | |
6611 | * a-tideio.adb: Likewise. | |
6612 | * a-tideio.ads: Likewise. | |
6613 | * a-tienau.adb: Likewise. | |
6614 | * a-tienau.ads: Likewise. | |
6615 | * a-tienio.adb: Likewise. | |
6616 | * a-tienio.ads: Likewise. | |
6617 | * a-tifiio.adb: Likewise. | |
6618 | * a-tifiio.ads: Likewise. | |
6619 | * a-tiflau.adb: Likewise. | |
6620 | * a-tiflau.ads: Likewise. | |
6621 | * a-tiflio.adb: Likewise. | |
6622 | * a-tiflio.ads: Likewise. | |
6623 | * a-tigeau.adb: Likewise. | |
6624 | * a-tigeau.ads: Likewise. | |
6625 | * a-tiinau.adb: Likewise. | |
6626 | * a-tiinau.ads: Likewise. | |
6627 | * a-tiinio.adb: Likewise. | |
6628 | * a-tiinio.ads: Likewise. | |
6629 | * a-timoau.adb: Likewise. | |
6630 | * a-timoau.ads: Likewise. | |
6631 | * a-timoio.adb: Likewise. | |
6632 | * a-timoio.ads: Likewise. | |
6633 | * a-tiocst.adb: Likewise. | |
6634 | * a-tiocst.ads: Likewise. | |
6635 | * a-titest.adb: Likewise. | |
6636 | * a-wichun.adb: Likewise. | |
6637 | * a-wichun.ads: Likewise. | |
6638 | * a-witeio.adb: Likewise. | |
6639 | * a-witeio.ads: Likewise. | |
6640 | * a-wtcoau.adb: Likewise. | |
6641 | * a-wtcoau.ads: Likewise. | |
6642 | * a-wtcoio.adb: Likewise. | |
6643 | * a-wtcstr.adb: Likewise. | |
6644 | * a-wtcstr.ads: Likewise. | |
6645 | * a-wtdeau.adb: Likewise. | |
6646 | * a-wtdeau.ads: Likewise. | |
6647 | * a-wtdeio.adb: Likewise. | |
6648 | * a-wtdeio.ads: Likewise. | |
6649 | * a-wtedit.adb: Likewise. | |
6650 | * a-wtedit.ads: Likewise. | |
6651 | * a-wtenau.adb: Likewise. | |
6652 | * a-wtenau.ads: Likewise. | |
6653 | * a-wtenio.adb: Likewise. | |
6654 | * a-wtenio.ads: Likewise. | |
6655 | * a-wtfiio.adb: Likewise. | |
6656 | * a-wtfiio.ads: Likewise. | |
6657 | * a-wtflau.adb: Likewise. | |
6658 | * a-wtflau.ads: Likewise. | |
6659 | * a-wtflio.adb: Likewise. | |
6660 | * a-wtflio.ads: Likewise. | |
6661 | * a-wtgeau.adb: Likewise. | |
6662 | * a-wtgeau.ads: Likewise. | |
6663 | * a-wtinau.adb: Likewise. | |
6664 | * a-wtinau.ads: Likewise. | |
6665 | * a-wtinio.adb: Likewise. | |
6666 | * a-wtmoau.adb: Likewise. | |
6667 | * a-wtmoau.ads: Likewise. | |
6668 | * a-wtmoio.adb: Likewise. | |
6669 | * a-wtmoio.ads: Likewise. | |
6670 | * a-wttest.adb: Likewise. | |
6671 | * a-wwboio.adb: Likewise. | |
6672 | * a-zchuni.adb: Likewise. | |
6673 | * a-zchuni.ads: Likewise. | |
6674 | * a-ztcoau.adb: Likewise. | |
6675 | * a-ztcoau.ads: Likewise. | |
6676 | * a-ztcoio.adb: Likewise. | |
6677 | * a-ztcstr.adb: Likewise. | |
6678 | * a-ztcstr.ads: Likewise. | |
6679 | * a-ztdeau.adb: Likewise. | |
6680 | * a-ztdeau.ads: Likewise. | |
6681 | * a-ztdeio.adb: Likewise. | |
6682 | * a-ztdeio.ads: Likewise. | |
6683 | * a-ztedit.adb: Likewise. | |
6684 | * a-ztedit.ads: Likewise. | |
6685 | * a-ztenau.adb: Likewise. | |
6686 | * a-ztenau.ads: Likewise. | |
6687 | * a-ztenio.adb: Likewise. | |
6688 | * a-ztenio.ads: Likewise. | |
6689 | * a-ztexio.adb: Likewise. | |
6690 | * a-ztexio.ads: Likewise. | |
6691 | * a-ztfiio.adb: Likewise. | |
6692 | * a-ztfiio.ads: Likewise. | |
6693 | * a-ztflau.adb: Likewise. | |
6694 | * a-ztflau.ads: Likewise. | |
6695 | * a-ztflio.adb: Likewise. | |
6696 | * a-ztflio.ads: Likewise. | |
6697 | * a-ztgeau.adb: Likewise. | |
6698 | * a-ztgeau.ads: Likewise. | |
6699 | * a-ztinau.adb: Likewise. | |
6700 | * a-ztinau.ads: Likewise. | |
6701 | * a-ztinio.adb: Likewise. | |
6702 | * a-ztmoau.adb: Likewise. | |
6703 | * a-ztmoau.ads: Likewise. | |
6704 | * a-ztmoio.adb: Likewise. | |
6705 | * a-ztmoio.ads: Likewise. | |
6706 | * a-zttest.adb: Likewise. | |
6707 | * a-zzboio.adb: Likewise. | |
6708 | * adadecode.c: Likewise. | |
6709 | * adaint.c: Likewise. | |
6710 | * adaint.h: Likewise. | |
6711 | * alloc.ads: Likewise. | |
6712 | * argv.c: Likewise. | |
6713 | * arit64.c: Likewise. | |
6714 | * atree.adb: Likewise. | |
6715 | * atree.ads: Likewise. | |
6716 | * aux-io.c: Likewise. | |
6717 | * cal.c: Likewise. | |
6718 | * casing.adb: Likewise. | |
6719 | * casing.ads: Likewise. | |
6720 | * cio.c: Likewise. | |
6721 | * csets.adb: Likewise. | |
6722 | * csets.ads: Likewise. | |
6723 | * cstreams.c: Likewise. | |
6724 | * ctrl_c.c: Likewise. | |
6725 | * debug.adb: Likewise. | |
6726 | * debug.ads: Likewise. | |
6727 | * dec.ads: Likewise. | |
6728 | * einfo.adb: Likewise. | |
6729 | * einfo.ads: Likewise. | |
6730 | * elists.adb: Likewise. | |
6731 | * elists.ads: Likewise. | |
6732 | * env.c: Likewise. | |
6733 | * env.h: Likewise. | |
6734 | * errno.c: Likewise. | |
6735 | * exit.c: Likewise. | |
6736 | * fe.h: Likewise. | |
6737 | * final.c: Likewise. | |
6738 | * fname.adb: Likewise. | |
6739 | * fname.ads: Likewise. | |
6740 | * g-allein.ads: Likewise. | |
6741 | * g-alleve.adb: Likewise. | |
6742 | * g-alleve.ads: Likewise. | |
6743 | * g-altcon.adb: Likewise. | |
6744 | * g-altcon.ads: Likewise. | |
6745 | * g-altive.ads: Likewise. | |
6746 | * g-alveop.adb: Likewise. | |
6747 | * g-alveop.ads: Likewise. | |
6748 | * g-alvety.ads: Likewise. | |
6749 | * g-alvevi.ads: Likewise. | |
6750 | * g-arrspl.adb: Likewise. | |
6751 | * g-arrspl.ads: Likewise. | |
6752 | * g-calend.ads: Likewise. | |
6753 | * g-comlin.adb: Likewise. | |
6754 | * g-debpoo.adb: Likewise. | |
6755 | * g-debpoo.ads: Likewise. | |
6756 | * g-eacodu-vms.adb: Likewise. | |
6757 | * g-eacodu.adb: Likewise. | |
6758 | * g-excact.adb: Likewise. | |
6759 | * g-excact.ads: Likewise. | |
6760 | * g-locfil.adb: Likewise. | |
6761 | * g-os_lib.ads: Likewise. | |
6762 | * g-rannum.adb: Likewise. | |
6763 | * g-rannum.ads: Likewise. | |
6764 | * g-regist.adb: Likewise. | |
6765 | * g-regist.ads: Likewise. | |
6766 | * g-signal.adb: Likewise. | |
6767 | * g-signal.ads: Likewise. | |
6768 | * g-soccon.ads: Likewise. | |
6769 | * g-string.adb: Likewise. | |
6770 | * g-string.ads: Likewise. | |
6771 | * g-strspl.ads: Likewise. | |
6772 | * g-timsta.adb: Likewise. | |
6773 | * g-timsta.ads: Likewise. | |
6774 | * g-trasym-vms-alpha.adb: Likewise. | |
6775 | * g-trasym-vms-ia64.adb: Likewise. | |
6776 | * g-utf_32.adb: Likewise. | |
6777 | * g-utf_32.ads: Likewise. | |
6778 | * g-wistsp.ads: Likewise. | |
6779 | * g-zstspl.ads: Likewise. | |
6780 | * gmem.c: Likewise. | |
6781 | * gnatvsn.adb: Likewise. | |
6782 | * gnatvsn.ads: Likewise. | |
6783 | * gsocket.h: Likewise. | |
6784 | * hostparm.ads: Likewise. | |
6785 | * i-c.adb: Likewise. | |
6786 | * i-cexten.ads: Likewise. | |
6787 | * i-cobol.adb: Likewise. | |
6788 | * i-cobol.ads: Likewise. | |
6789 | * i-cpoint.adb: Likewise. | |
6790 | * i-cpoint.ads: Likewise. | |
6791 | * i-cpp.adb: Likewise. | |
6792 | * i-cpp.ads: Likewise. | |
6793 | * i-cstrea-vms.adb: Likewise. | |
6794 | * i-cstrea.adb: Likewise. | |
6795 | * i-cstrea.ads: Likewise. | |
6796 | * i-cstrin.adb: Likewise. | |
6797 | * i-cstrin.ads: Likewise. | |
6798 | * i-forbla-darwin.adb: Likewise. | |
6799 | * i-forbla-unimplemented.ads: Likewise. | |
6800 | * i-forbla.adb: Likewise. | |
6801 | * i-forbla.ads: Likewise. | |
6802 | * i-forlap.ads: Likewise. | |
6803 | * i-fortra.adb: Likewise. | |
6804 | * i-pacdec.adb: Likewise. | |
6805 | * i-pacdec.ads: Likewise. | |
6806 | * i-vxwoio.adb: Likewise. | |
6807 | * i-vxwoio.ads: Likewise. | |
6808 | * indepsw-aix.adb: Likewise. | |
6809 | * indepsw-gnu.adb: Likewise. | |
6810 | * indepsw-mingw.adb: Likewise. | |
6811 | * indepsw.adb: Likewise. | |
6812 | * indepsw.ads: Likewise. | |
6813 | * init.c: Likewise. | |
6814 | * initialize.c: Likewise. | |
6815 | * interfac.ads: Likewise. | |
6816 | * krunch.adb: Likewise. | |
6817 | * krunch.ads: Likewise. | |
6818 | * lib-list.adb: Likewise. | |
6819 | * lib-sort.adb: Likewise. | |
6820 | * lib.adb: Likewise. | |
6821 | * lib.ads: Likewise. | |
6822 | * link.c: Likewise. | |
6823 | * math_lib.adb: Likewise. | |
6824 | * memtrack.adb: Likewise. | |
6825 | * mingw32.h: Likewise. | |
6826 | * mkdir.c: Likewise. | |
6827 | * namet-sp.adb: Likewise. | |
6828 | * namet-sp.ads: Likewise. | |
6829 | * namet.adb: Likewise. | |
6830 | * namet.ads: Likewise. | |
6831 | * nlists.adb: Likewise. | |
6832 | * nlists.ads: Likewise. | |
6833 | * opt.adb: Likewise. | |
6834 | * opt.ads: Likewise. | |
6835 | * output.adb: Likewise. | |
6836 | * output.ads: Likewise. | |
6837 | * raise-gcc.c: Likewise. | |
6838 | * raise.c: Likewise. | |
6839 | * raise.h: Likewise. | |
6840 | * repinfo.adb: Likewise. | |
6841 | * repinfo.ads: Likewise. | |
6842 | * repinfo.h: Likewise. | |
6843 | * rident.ads: Likewise. | |
6844 | * s-addima.adb: Likewise. | |
6845 | * s-addima.ads: Likewise. | |
6846 | * s-addope.adb: Likewise. | |
6847 | * s-addope.ads: Likewise. | |
6848 | * s-arit64.adb: Likewise. | |
6849 | * s-arit64.ads: Likewise. | |
6850 | * s-assert.adb: Likewise. | |
6851 | * s-assert.ads: Likewise. | |
6852 | * s-asthan-vms-alpha.adb: Likewise. | |
6853 | * s-asthan.adb: Likewise. | |
6854 | * s-asthan.ads: Likewise. | |
6855 | * s-atacco.adb: Likewise. | |
6856 | * s-atacco.ads: Likewise. | |
6857 | * s-auxdec-empty.adb: Likewise. | |
6858 | * s-auxdec-empty.ads: Likewise. | |
6859 | * s-auxdec-vms_64.ads: Likewise. | |
6860 | * s-auxdec.adb: Likewise. | |
6861 | * s-auxdec.ads: Likewise. | |
6862 | * s-bitops.adb: Likewise. | |
6863 | * s-bitops.ads: Likewise. | |
6864 | * s-boarop.ads: Likewise. | |
6865 | * s-carsi8.adb: Likewise. | |
6866 | * s-carsi8.ads: Likewise. | |
6867 | * s-carun8.adb: Likewise. | |
6868 | * s-carun8.ads: Likewise. | |
6869 | * s-casi16.adb: Likewise. | |
6870 | * s-casi16.ads: Likewise. | |
6871 | * s-casi32.adb: Likewise. | |
6872 | * s-casi32.ads: Likewise. | |
6873 | * s-casi64.adb: Likewise. | |
6874 | * s-casi64.ads: Likewise. | |
6875 | * s-casuti.ads: Likewise. | |
6876 | * s-caun16.adb: Likewise. | |
6877 | * s-caun16.ads: Likewise. | |
6878 | * s-caun32.adb: Likewise. | |
6879 | * s-caun32.ads: Likewise. | |
6880 | * s-caun64.adb: Likewise. | |
6881 | * s-caun64.ads: Likewise. | |
6882 | * s-chepoo.ads: Likewise. | |
6883 | * s-crc32.adb: Likewise. | |
6884 | * s-crc32.ads: Likewise. | |
6885 | * s-crtl.ads: Likewise. | |
6886 | * s-direio.adb: Likewise. | |
6887 | * s-direio.ads: Likewise. | |
6888 | * s-dsaser.ads: Likewise. | |
6889 | * s-except.adb: Likewise. | |
6890 | * s-except.ads: Likewise. | |
6891 | * s-exctab.adb: Likewise. | |
6892 | * s-exctab.ads: Likewise. | |
6893 | * s-exnint.adb: Likewise. | |
6894 | * s-exnint.ads: Likewise. | |
6895 | * s-exnllf.adb: Likewise. | |
6896 | * s-exnllf.ads: Likewise. | |
6897 | * s-exnlli.adb: Likewise. | |
6898 | * s-exnlli.ads: Likewise. | |
6899 | * s-expint.adb: Likewise. | |
6900 | * s-expint.ads: Likewise. | |
6901 | * s-explli.adb: Likewise. | |
6902 | * s-explli.ads: Likewise. | |
6903 | * s-expllu.adb: Likewise. | |
6904 | * s-expllu.ads: Likewise. | |
6905 | * s-expmod.adb: Likewise. | |
6906 | * s-expmod.ads: Likewise. | |
6907 | * s-expuns.adb: Likewise. | |
6908 | * s-expuns.ads: Likewise. | |
6909 | * s-fatflt.ads: Likewise. | |
6910 | * s-fatgen.adb: Likewise. | |
6911 | * s-fatgen.ads: Likewise. | |
6912 | * s-fatlfl.ads: Likewise. | |
6913 | * s-fatllf.ads: Likewise. | |
6914 | * s-fatsfl.ads: Likewise. | |
6915 | * s-ficobl.ads: Likewise. | |
6916 | * s-fileio.adb: Likewise. | |
6917 | * s-fileio.ads: Likewise. | |
6918 | * s-filofl.ads: Likewise. | |
6919 | * s-finimp.adb: Likewise. | |
6920 | * s-finimp.ads: Likewise. | |
6921 | * s-finroo.adb: Likewise. | |
6922 | * s-finroo.ads: Likewise. | |
6923 | * s-fishfl.ads: Likewise. | |
6924 | * s-fore.adb: Likewise. | |
6925 | * s-fore.ads: Likewise. | |
6926 | * s-fvadfl.ads: Likewise. | |
6927 | * s-fvaffl.ads: Likewise. | |
6928 | * s-fvagfl.ads: Likewise. | |
6929 | * s-gearop.adb: Likewise. | |
6930 | * s-gearop.ads: Likewise. | |
6931 | * s-gecobl.adb: Likewise. | |
6932 | * s-gecobl.ads: Likewise. | |
6933 | * s-gecola.adb: Likewise. | |
6934 | * s-gecola.ads: Likewise. | |
6935 | * s-gerebl.adb: Likewise. | |
6936 | * s-gerebl.ads: Likewise. | |
6937 | * s-gerela.adb: Likewise. | |
6938 | * s-gerela.ads: Likewise. | |
6939 | * s-geveop.adb: Likewise. | |
6940 | * s-geveop.ads: Likewise. | |
6941 | * s-gloloc.adb: Likewise. | |
6942 | * s-gloloc.ads: Likewise. | |
6943 | * s-hibaen.ads: Likewise. | |
6944 | * s-imenne.adb: Likewise. | |
6945 | * s-imenne.ads: Likewise. | |
6946 | * s-imgbiu.adb: Likewise. | |
6947 | * s-imgbiu.ads: Likewise. | |
6948 | * s-imgboo.adb: Likewise. | |
6949 | * s-imgboo.ads: Likewise. | |
6950 | * s-imgcha.adb: Likewise. | |
6951 | * s-imgcha.ads: Likewise. | |
6952 | * s-imgdec.adb: Likewise. | |
6953 | * s-imgdec.ads: Likewise. | |
6954 | * s-imgenu.adb: Likewise. | |
6955 | * s-imgenu.ads: Likewise. | |
6956 | * s-imgint.adb: Likewise. | |
6957 | * s-imgint.ads: Likewise. | |
6958 | * s-imgllb.adb: Likewise. | |
6959 | * s-imgllb.ads: Likewise. | |
6960 | * s-imglld.adb: Likewise. | |
6961 | * s-imglld.ads: Likewise. | |
6962 | * s-imglli.adb: Likewise. | |
6963 | * s-imglli.ads: Likewise. | |
6964 | * s-imgllu.adb: Likewise. | |
6965 | * s-imgllu.ads: Likewise. | |
6966 | * s-imgllw.adb: Likewise. | |
6967 | * s-imgllw.ads: Likewise. | |
6968 | * s-imgrea.adb: Likewise. | |
6969 | * s-imgrea.ads: Likewise. | |
6970 | * s-imguns.adb: Likewise. | |
6971 | * s-imguns.ads: Likewise. | |
6972 | * s-imgwch.adb: Likewise. | |
6973 | * s-imgwch.ads: Likewise. | |
6974 | * s-imgwiu.adb: Likewise. | |
6975 | * s-imgwiu.ads: Likewise. | |
6976 | * s-inmaop-dummy.adb: Likewise. | |
6977 | * s-inmaop-vms.adb: Likewise. | |
6978 | * s-inmaop.ads: Likewise. | |
6979 | * s-interr-hwint.adb: Likewise. | |
6980 | * s-interr-sigaction.adb: Likewise. | |
6981 | * s-interr-vms.adb: Likewise. | |
6982 | * s-interr.adb: Likewise. | |
6983 | * s-interr.ads: Likewise. | |
6984 | * s-intman-dummy.adb: Likewise. | |
6985 | * s-intman-mingw.adb: Likewise. | |
6986 | * s-intman-posix.adb: Likewise. | |
6987 | * s-intman-solaris.adb: Likewise. | |
6988 | * s-intman-vms.adb: Likewise. | |
6989 | * s-intman-vms.ads: Likewise. | |
6990 | * s-intman-vxworks.adb: Likewise. | |
6991 | * s-intman-vxworks.ads: Likewise. | |
6992 | * s-intman.ads: Likewise. | |
6993 | * s-io.adb: Likewise. | |
6994 | * s-io.ads: Likewise. | |
6995 | * s-linux-alpha.ads: Likewise. | |
6996 | * s-linux-hppa.ads: Likewise. | |
6997 | * s-linux.ads: Likewise. | |
6998 | * s-maccod.ads: Likewise. | |
6999 | * s-mantis.adb: Likewise. | |
7000 | * s-mantis.ads: Likewise. | |
7001 | * s-mastop-irix.adb: Likewise. | |
7002 | * s-mastop.adb: Likewise. | |
7003 | * s-mastop.ads: Likewise. | |
7004 | * s-memcop.ads: Likewise. | |
7005 | * s-memory-mingw.adb: Likewise. | |
7006 | * s-memory.adb: Likewise. | |
7007 | * s-memory.ads: Likewise. | |
7008 | * s-os_lib.ads: Likewise. | |
7009 | * s-oscons-tmplt.c: Likewise. | |
7010 | * s-osinte-aix.adb: Likewise. | |
7011 | * s-osinte-darwin.adb: Likewise. | |
7012 | * s-osinte-freebsd.adb: Likewise. | |
7013 | * s-osinte-irix.adb: Likewise. | |
7014 | * s-osinte-lynxos-3.adb: Likewise. | |
7015 | * s-osinte-rtems.ads: Likewise. | |
7016 | * s-osinte-tru64.adb: Likewise. | |
7017 | * s-osinte-vxworks-kernel.adb: Likewise. | |
7018 | * s-osinte-vxworks.adb: Likewise. | |
7019 | * s-osprim-mingw.adb: Likewise. | |
7020 | * s-osprim-posix.adb: Likewise. | |
7021 | * s-osprim-solaris.adb: Likewise. | |
7022 | * s-osprim-unix.adb: Likewise. | |
7023 | * s-osprim-vms.adb: Likewise. | |
7024 | * s-osprim-vms.ads: Likewise. | |
7025 | * s-osprim-vxworks.adb: Likewise. | |
7026 | * s-osprim.ads: Likewise. | |
7027 | * s-pack03.adb: Likewise. | |
7028 | * s-pack03.ads: Likewise. | |
7029 | * s-pack05.adb: Likewise. | |
7030 | * s-pack05.ads: Likewise. | |
7031 | * s-pack06.adb: Likewise. | |
7032 | * s-pack06.ads: Likewise. | |
7033 | * s-pack07.adb: Likewise. | |
7034 | * s-pack07.ads: Likewise. | |
7035 | * s-pack09.adb: Likewise. | |
7036 | * s-pack09.ads: Likewise. | |
7037 | * s-pack10.adb: Likewise. | |
7038 | * s-pack10.ads: Likewise. | |
7039 | * s-pack11.adb: Likewise. | |
7040 | * s-pack11.ads: Likewise. | |
7041 | * s-pack12.adb: Likewise. | |
7042 | * s-pack12.ads: Likewise. | |
7043 | * s-pack13.adb: Likewise. | |
7044 | * s-pack13.ads: Likewise. | |
7045 | * s-pack14.adb: Likewise. | |
7046 | * s-pack14.ads: Likewise. | |
7047 | * s-pack15.adb: Likewise. | |
7048 | * s-pack15.ads: Likewise. | |
7049 | * s-pack17.adb: Likewise. | |
7050 | * s-pack17.ads: Likewise. | |
7051 | * s-pack18.adb: Likewise. | |
7052 | * s-pack18.ads: Likewise. | |
7053 | * s-pack19.adb: Likewise. | |
7054 | * s-pack19.ads: Likewise. | |
7055 | * s-pack20.adb: Likewise. | |
7056 | * s-pack20.ads: Likewise. | |
7057 | * s-pack21.adb: Likewise. | |
7058 | * s-pack21.ads: Likewise. | |
7059 | * s-pack22.adb: Likewise. | |
7060 | * s-pack22.ads: Likewise. | |
7061 | * s-pack23.adb: Likewise. | |
7062 | * s-pack23.ads: Likewise. | |
7063 | * s-pack24.adb: Likewise. | |
7064 | * s-pack24.ads: Likewise. | |
7065 | * s-pack25.adb: Likewise. | |
7066 | * s-pack25.ads: Likewise. | |
7067 | * s-pack26.adb: Likewise. | |
7068 | * s-pack26.ads: Likewise. | |
7069 | * s-pack27.adb: Likewise. | |
7070 | * s-pack27.ads: Likewise. | |
7071 | * s-pack28.adb: Likewise. | |
7072 | * s-pack28.ads: Likewise. | |
7073 | * s-pack29.adb: Likewise. | |
7074 | * s-pack29.ads: Likewise. | |
7075 | * s-pack30.adb: Likewise. | |
7076 | * s-pack30.ads: Likewise. | |
7077 | * s-pack31.adb: Likewise. | |
7078 | * s-pack31.ads: Likewise. | |
7079 | * s-pack33.adb: Likewise. | |
7080 | * s-pack33.ads: Likewise. | |
7081 | * s-pack34.adb: Likewise. | |
7082 | * s-pack34.ads: Likewise. | |
7083 | * s-pack35.adb: Likewise. | |
7084 | * s-pack35.ads: Likewise. | |
7085 | * s-pack36.adb: Likewise. | |
7086 | * s-pack36.ads: Likewise. | |
7087 | * s-pack37.adb: Likewise. | |
7088 | * s-pack37.ads: Likewise. | |
7089 | * s-pack38.adb: Likewise. | |
7090 | * s-pack38.ads: Likewise. | |
7091 | * s-pack39.adb: Likewise. | |
7092 | * s-pack39.ads: Likewise. | |
7093 | * s-pack40.adb: Likewise. | |
7094 | * s-pack40.ads: Likewise. | |
7095 | * s-pack41.adb: Likewise. | |
7096 | * s-pack41.ads: Likewise. | |
7097 | * s-pack42.adb: Likewise. | |
7098 | * s-pack42.ads: Likewise. | |
7099 | * s-pack43.adb: Likewise. | |
7100 | * s-pack43.ads: Likewise. | |
7101 | * s-pack44.adb: Likewise. | |
7102 | * s-pack44.ads: Likewise. | |
7103 | * s-pack45.adb: Likewise. | |
7104 | * s-pack45.ads: Likewise. | |
7105 | * s-pack46.adb: Likewise. | |
7106 | * s-pack46.ads: Likewise. | |
7107 | * s-pack47.adb: Likewise. | |
7108 | * s-pack47.ads: Likewise. | |
7109 | * s-pack48.adb: Likewise. | |
7110 | * s-pack48.ads: Likewise. | |
7111 | * s-pack49.adb: Likewise. | |
7112 | * s-pack49.ads: Likewise. | |
7113 | * s-pack50.adb: Likewise. | |
7114 | * s-pack50.ads: Likewise. | |
7115 | * s-pack51.adb: Likewise. | |
7116 | * s-pack51.ads: Likewise. | |
7117 | * s-pack52.adb: Likewise. | |
7118 | * s-pack52.ads: Likewise. | |
7119 | * s-pack53.adb: Likewise. | |
7120 | * s-pack53.ads: Likewise. | |
7121 | * s-pack54.adb: Likewise. | |
7122 | * s-pack54.ads: Likewise. | |
7123 | * s-pack55.adb: Likewise. | |
7124 | * s-pack55.ads: Likewise. | |
7125 | * s-pack56.adb: Likewise. | |
7126 | * s-pack56.ads: Likewise. | |
7127 | * s-pack57.adb: Likewise. | |
7128 | * s-pack57.ads: Likewise. | |
7129 | * s-pack58.adb: Likewise. | |
7130 | * s-pack58.ads: Likewise. | |
7131 | * s-pack59.adb: Likewise. | |
7132 | * s-pack59.ads: Likewise. | |
7133 | * s-pack60.adb: Likewise. | |
7134 | * s-pack60.ads: Likewise. | |
7135 | * s-pack61.adb: Likewise. | |
7136 | * s-pack61.ads: Likewise. | |
7137 | * s-pack62.adb: Likewise. | |
7138 | * s-pack62.ads: Likewise. | |
7139 | * s-pack63.adb: Likewise. | |
7140 | * s-pack63.ads: Likewise. | |
7141 | * s-parame-ae653.ads: Likewise. | |
7142 | * s-parame-hpux.ads: Likewise. | |
7143 | * s-parame-rtems.adb: Likewise. | |
7144 | * s-parame-vms-alpha.ads: Likewise. | |
7145 | * s-parame-vms-ia64.ads: Likewise. | |
7146 | * s-parame-vms-restrict.ads: Likewise. | |
7147 | * s-parame-vxworks.adb: Likewise. | |
7148 | * s-parame-vxworks.ads: Likewise. | |
7149 | * s-parame.adb: Likewise. | |
7150 | * s-parame.ads: Likewise. | |
7151 | * s-parint.adb: Likewise. | |
7152 | * s-parint.ads: Likewise. | |
7153 | * s-pooglo.adb: Likewise. | |
7154 | * s-pooglo.ads: Likewise. | |
7155 | * s-pooloc.adb: Likewise. | |
7156 | * s-pooloc.ads: Likewise. | |
7157 | * s-poosiz.adb: Likewise. | |
7158 | * s-poosiz.ads: Likewise. | |
7159 | * s-powtab.ads: Likewise. | |
7160 | * s-proinf-irix-athread.adb: Likewise. | |
7161 | * s-proinf-irix-athread.ads: Likewise. | |
7162 | * s-proinf.adb: Likewise. | |
7163 | * s-proinf.ads: Likewise. | |
7164 | * s-purexc.ads: Likewise. | |
7165 | * s-rannum.adb: Likewise. | |
7166 | * s-rannum.ads: Likewise. | |
7167 | * s-restri.adb: Likewise. | |
7168 | * s-restri.ads: Likewise. | |
7169 | * s-rident.ads: Likewise. | |
7170 | * s-rpc.adb: Likewise. | |
7171 | * s-rpc.ads: Likewise. | |
7172 | * s-scaval.adb: Likewise. | |
7173 | * s-scaval.ads: Likewise. | |
7174 | * s-secsta.adb: Likewise. | |
7175 | * s-secsta.ads: Likewise. | |
7176 | * s-sequio.adb: Likewise. | |
7177 | * s-sequio.ads: Likewise. | |
7178 | * s-shasto.adb: Likewise. | |
7179 | * s-shasto.ads: Likewise. | |
7180 | * s-soflin.adb: Likewise. | |
7181 | * s-soflin.ads: Likewise. | |
7182 | * s-solita.adb: Likewise. | |
7183 | * s-solita.ads: Likewise. | |
7184 | * s-sopco3.adb: Likewise. | |
7185 | * s-sopco3.ads: Likewise. | |
7186 | * s-sopco4.adb: Likewise. | |
7187 | * s-sopco4.ads: Likewise. | |
7188 | * s-sopco5.adb: Likewise. | |
7189 | * s-sopco5.ads: Likewise. | |
7190 | * s-stache.adb: Likewise. | |
7191 | * s-stache.ads: Likewise. | |
7192 | * s-stalib.adb: Likewise. | |
7193 | * s-stalib.ads: Likewise. | |
7194 | * s-stausa.adb: Likewise. | |
7195 | * s-stausa.ads: Likewise. | |
7196 | * s-stchop-limit.ads: Likewise. | |
7197 | * s-stchop-rtems.adb: Likewise. | |
7198 | * s-stchop-vxworks.adb: Likewise. | |
7199 | * s-stchop.adb: Likewise. | |
7200 | * s-stchop.ads: Likewise. | |
7201 | * s-stoele.adb: Likewise. | |
7202 | * s-stoele.ads: Likewise. | |
7203 | * s-stopoo.adb: Likewise. | |
7204 | * s-stopoo.ads: Likewise. | |
7205 | * s-stratt.adb: Likewise. | |
7206 | * s-stratt.ads: Likewise. | |
7207 | * s-strcom.adb: Likewise. | |
7208 | * s-strcom.ads: Likewise. | |
7209 | * s-string.adb: Likewise. | |
7210 | * s-string.ads: Likewise. | |
7211 | * s-strops.adb: Likewise. | |
7212 | * s-strops.ads: Likewise. | |
7213 | * s-strxdr.adb: Likewise. | |
7214 | * s-ststop.adb: Likewise. | |
7215 | * s-ststop.ads: Likewise. | |
7216 | * s-taasde.adb: Likewise. | |
7217 | * s-taasde.ads: Likewise. | |
7218 | * s-tadeca.adb: Likewise. | |
7219 | * s-tadeca.ads: Likewise. | |
7220 | * s-tadert.adb: Likewise. | |
7221 | * s-tadert.ads: Likewise. | |
7222 | * s-taenca.adb: Likewise. | |
7223 | * s-taenca.ads: Likewise. | |
7224 | * s-taprob.ads: Likewise. | |
7225 | * s-taprop-dummy.adb: Likewise. | |
7226 | * s-taprop-hpux-dce.adb: Likewise. | |
7227 | * s-taprop-irix.adb: Likewise. | |
7228 | * s-taprop-linux.adb: Likewise. | |
7229 | * s-taprop-lynxos.adb: Likewise. | |
7230 | * s-taprop-mingw.adb: Likewise. | |
7231 | * s-taprop-posix.adb: Likewise. | |
7232 | * s-taprop-solaris.adb: Likewise. | |
7233 | * s-taprop-tru64.adb: Likewise. | |
7234 | * s-taprop-vms.adb: Likewise. | |
7235 | * s-taprop-vxworks.adb: Likewise. | |
7236 | * s-taprop.ads: Likewise. | |
7237 | * s-tarest.adb: Likewise. | |
7238 | * s-tarest.ads: Likewise. | |
7239 | * s-tasdeb.adb: Likewise. | |
7240 | * s-tasdeb.ads: Likewise. | |
7241 | * s-tasinf-irix.ads: Likewise. | |
7242 | * s-tasinf-linux.adb: Likewise. | |
7243 | * s-tasinf-linux.ads: Likewise. | |
7244 | * s-tasinf-mingw.adb: Likewise. | |
7245 | * s-tasinf-mingw.ads: Likewise. | |
7246 | * s-tasinf-solaris.adb: Likewise. | |
7247 | * s-tasinf-solaris.ads: Likewise. | |
7248 | * s-tasinf-tru64.ads: Likewise. | |
7249 | * s-tasinf.adb: Likewise. | |
7250 | * s-tasinf.ads: Likewise. | |
7251 | * s-tasini.adb: Likewise. | |
7252 | * s-tasini.ads: Likewise. | |
7253 | * s-taskin.adb: Likewise. | |
7254 | * s-taskin.ads: Likewise. | |
7255 | * s-taspri-dummy.ads: Likewise. | |
7256 | * s-taspri-hpux-dce.ads: Likewise. | |
7257 | * s-taspri-mingw.ads: Likewise. | |
7258 | * s-taspri-solaris.ads: Likewise. | |
7259 | * s-taspri-tru64.ads: Likewise. | |
7260 | * s-taspri-vms.ads: Likewise. | |
7261 | * s-taspri-vxworks.ads: Likewise. | |
7262 | * s-tasque.adb: Likewise. | |
7263 | * s-tasque.ads: Likewise. | |
7264 | * s-tasren.adb: Likewise. | |
7265 | * s-tasren.ads: Likewise. | |
7266 | * s-tasres.ads: Likewise. | |
7267 | * s-tassta.adb: Likewise. | |
7268 | * s-tassta.ads: Likewise. | |
7269 | * s-tasuti.adb: Likewise. | |
7270 | * s-tasuti.ads: Likewise. | |
7271 | * s-tfsetr-default.adb: Likewise. | |
7272 | * s-tfsetr-vxworks.adb: Likewise. | |
7273 | * s-tpinop.adb: Likewise. | |
7274 | * s-tpinop.ads: Likewise. | |
7275 | * s-tpoben.adb: Likewise. | |
7276 | * s-tpoben.ads: Likewise. | |
7277 | * s-tpobop.adb: Likewise. | |
7278 | * s-tpobop.ads: Likewise. | |
7279 | * s-tpopde-vms.adb: Likewise. | |
7280 | * s-tpopde-vms.ads: Likewise. | |
7281 | * s-tpopsp-lynxos.adb: Likewise. | |
7282 | * s-tpopsp-posix-foreign.adb: Likewise. | |
7283 | * s-tpopsp-posix.adb: Likewise. | |
7284 | * s-tpopsp-solaris.adb: Likewise. | |
7285 | * s-tpopsp-vxworks.adb: Likewise. | |
7286 | * s-tporft.adb: Likewise. | |
7287 | * s-tposen.adb: Likewise. | |
7288 | * s-tposen.ads: Likewise. | |
7289 | * s-traceb.adb: Likewise. | |
7290 | * s-traceb.ads: Likewise. | |
7291 | * s-traces-default.adb: Likewise. | |
7292 | * s-traces.adb: Likewise. | |
7293 | * s-traces.ads: Likewise. | |
7294 | * s-traent-vms.adb: Likewise. | |
7295 | * s-traent-vms.ads: Likewise. | |
7296 | * s-traent.adb: Likewise. | |
7297 | * s-traent.ads: Likewise. | |
7298 | * s-trafor-default.adb: Likewise. | |
7299 | * s-trafor-default.ads: Likewise. | |
7300 | * s-tratas-default.adb: Likewise. | |
7301 | * s-tratas.adb: Likewise. | |
7302 | * s-tratas.ads: Likewise. | |
7303 | * s-unstyp.ads: Likewise. | |
7304 | * s-utf_32.adb: Likewise. | |
7305 | * s-utf_32.ads: Likewise. | |
7306 | * s-vaflop-vms-alpha.adb: Likewise. | |
7307 | * s-vaflop.adb: Likewise. | |
7308 | * s-vaflop.ads: Likewise. | |
7309 | * s-valboo.adb: Likewise. | |
7310 | * s-valboo.ads: Likewise. | |
7311 | * s-valcha.adb: Likewise. | |
7312 | * s-valcha.ads: Likewise. | |
7313 | * s-valdec.adb: Likewise. | |
7314 | * s-valdec.ads: Likewise. | |
7315 | * s-valenu.adb: Likewise. | |
7316 | * s-valenu.ads: Likewise. | |
7317 | * s-valint.adb: Likewise. | |
7318 | * s-valint.ads: Likewise. | |
7319 | * s-vallld.adb: Likewise. | |
7320 | * s-vallld.ads: Likewise. | |
7321 | * s-vallli.adb: Likewise. | |
7322 | * s-vallli.ads: Likewise. | |
7323 | * s-valllu.adb: Likewise. | |
7324 | * s-valllu.ads: Likewise. | |
7325 | * s-valrea.adb: Likewise. | |
7326 | * s-valrea.ads: Likewise. | |
7327 | * s-valuns.adb: Likewise. | |
7328 | * s-valuns.ads: Likewise. | |
7329 | * s-valuti.adb: Likewise. | |
7330 | * s-valuti.ads: Likewise. | |
7331 | * s-valwch.adb: Likewise. | |
7332 | * s-valwch.ads: Likewise. | |
7333 | * s-veboop.adb: Likewise. | |
7334 | * s-veboop.ads: Likewise. | |
7335 | * s-vector.ads: Likewise. | |
7336 | * s-vercon.adb: Likewise. | |
7337 | * s-vercon.ads: Likewise. | |
7338 | * s-vmexta.adb: Likewise. | |
7339 | * s-vmexta.ads: Likewise. | |
7340 | * s-vxwext-kernel.ads: Likewise. | |
7341 | * s-vxwext-rtp.adb: Likewise. | |
7342 | * s-vxwext-rtp.ads: Likewise. | |
7343 | * s-vxwext.ads: Likewise. | |
7344 | * s-vxwork-arm.ads: Likewise. | |
7345 | * s-vxwork-m68k.ads: Likewise. | |
7346 | * s-vxwork-mips.ads: Likewise. | |
7347 | * s-vxwork-ppc.ads: Likewise. | |
7348 | * s-vxwork-sparcv9.ads: Likewise. | |
7349 | * s-vxwork-x86.ads: Likewise. | |
7350 | * s-wchcnv.adb: Likewise. | |
7351 | * s-wchcnv.ads: Likewise. | |
7352 | * s-wchcon.adb: Likewise. | |
7353 | * s-wchcon.ads: Likewise. | |
7354 | * s-wchjis.adb: Likewise. | |
7355 | * s-wchjis.ads: Likewise. | |
7356 | * s-wchstw.adb: Likewise. | |
7357 | * s-wchstw.ads: Likewise. | |
7358 | * s-wchwts.adb: Likewise. | |
7359 | * s-wchwts.ads: Likewise. | |
7360 | * s-widboo.adb: Likewise. | |
7361 | * s-widboo.ads: Likewise. | |
7362 | * s-widcha.adb: Likewise. | |
7363 | * s-widcha.ads: Likewise. | |
7364 | * s-widenu.adb: Likewise. | |
7365 | * s-widenu.ads: Likewise. | |
7366 | * s-widlli.adb: Likewise. | |
7367 | * s-widlli.ads: Likewise. | |
7368 | * s-widllu.adb: Likewise. | |
7369 | * s-widllu.ads: Likewise. | |
7370 | * s-widwch.adb: Likewise. | |
7371 | * s-widwch.ads: Likewise. | |
7372 | * s-win32.ads: Likewise. | |
7373 | * s-winext.ads: Likewise. | |
7374 | * s-wwdcha.adb: Likewise. | |
7375 | * s-wwdcha.ads: Likewise. | |
7376 | * s-wwdenu.adb: Likewise. | |
7377 | * s-wwdenu.ads: Likewise. | |
7378 | * s-wwdwch.adb: Likewise. | |
7379 | * s-wwdwch.ads: Likewise. | |
7380 | * scans.adb: Likewise. | |
7381 | * scans.ads: Likewise. | |
7382 | * seh_init.c: Likewise. | |
7383 | * sfn_scan.adb: Likewise. | |
7384 | * sinfo.adb: Likewise. | |
7385 | * sinfo.ads: Likewise. | |
7386 | * sinput.adb: Likewise. | |
7387 | * sinput.ads: Likewise. | |
7388 | * snames.adb: Likewise. | |
7389 | * snames.ads: Likewise. | |
7390 | * socket.c: Likewise. | |
7391 | * stand.adb: Likewise. | |
7392 | * stand.ads: Likewise. | |
7393 | * stringt.adb: Likewise. | |
7394 | * stringt.ads: Likewise. | |
7395 | * sysdep.c: Likewise. | |
7396 | * system-aix.ads: Likewise. | |
7397 | * system-darwin-ppc.ads: Likewise. | |
7398 | * system-darwin-x86.ads: Likewise. | |
7399 | * system-darwin-x86_64.ads: Likewise. | |
7400 | * system-freebsd-x86.ads: Likewise. | |
7401 | * system-hpux-ia64.ads: Likewise. | |
7402 | * system-hpux.ads: Likewise. | |
7403 | * system-irix-n32.ads: Likewise. | |
7404 | * system-irix-n64.ads: Likewise. | |
7405 | * system-irix-o32.ads: Likewise. | |
7406 | * system-linux-alpha.ads: Likewise. | |
7407 | * system-linux-hppa.ads: Likewise. | |
7408 | * system-linux-ia64.ads: Likewise. | |
7409 | * system-linux-mips.ads: Likewise. | |
7410 | * system-linux-mipsel.ads: Likewise. | |
7411 | * system-linux-ppc.ads: Likewise. | |
7412 | * system-linux-ppc64.ads: Likewise. | |
7413 | * system-linux-s390.ads: Likewise. | |
7414 | * system-linux-s390x.ads: Likewise. | |
7415 | * system-linux-sh4.ads: Likewise. | |
7416 | * system-linux-sparc.ads: Likewise. | |
7417 | * system-linux-sparcv9.ads: Likewise. | |
7418 | * system-linux-x86.ads: Likewise. | |
7419 | * system-linux-x86_64.ads: Likewise. | |
7420 | * system-lynxos-ppc.ads: Likewise. | |
7421 | * system-lynxos-x86.ads: Likewise. | |
7422 | * system-mingw-x86_64.ads: Likewise. | |
7423 | * system-mingw.ads: Likewise. | |
7424 | * system-rtems.ads: Likewise. | |
7425 | * system-solaris-sparc.ads: Likewise. | |
7426 | * system-solaris-sparcv9.ads: Likewise. | |
7427 | * system-solaris-x86.ads: Likewise. | |
7428 | * system-solaris-x86_64.ads: Likewise. | |
7429 | * system-tru64.ads: Likewise. | |
7430 | * system-vms-ia64.ads: Likewise. | |
7431 | * system-vms-zcx.ads: Likewise. | |
7432 | * system-vms.ads: Likewise. | |
7433 | * system-vms_64.ads: Likewise. | |
7434 | * system-vxworks-arm.ads: Likewise. | |
7435 | * system-vxworks-m68k.ads: Likewise. | |
7436 | * system-vxworks-mips.ads: Likewise. | |
7437 | * system-vxworks-ppc.ads: Likewise. | |
7438 | * system-vxworks-sparcv9.ads: Likewise. | |
7439 | * system-vxworks-x86.ads: Likewise. | |
7440 | * system.ads: Likewise. | |
7441 | * table.adb: Likewise. | |
7442 | * table.ads: Likewise. | |
7443 | * targext.c: Likewise. | |
7444 | * targparm.ads: Likewise. | |
7445 | * tree_in.adb: Likewise. | |
7446 | * tree_in.ads: Likewise. | |
7447 | * tree_io.adb: Likewise. | |
7448 | * tree_io.ads: Likewise. | |
7449 | * types.adb: Likewise. | |
7450 | * types.ads: Likewise. | |
7451 | * uintp.adb: Likewise. | |
7452 | * uintp.ads: Likewise. | |
7453 | * uname.adb: Likewise. | |
7454 | * uname.ads: Likewise. | |
7455 | * urealp.adb: Likewise. | |
7456 | * urealp.ads: Likewise. | |
7457 | * vx_stack_info.c: Likewise. | |
7458 | * widechar.adb: Likewise. | |
7459 | * widechar.ads: Likewise. | |
7460 | * exp_attr.adb: Change copyright header to refer to version | |
7461 | 3 of the GNU General Public License and to point readers at the | |
7462 | COPYING3 file and the FSF's license web page. | |
7463 | * sem.adb: Likewise. | |
7464 | * sem_attr.ads: Likewise. | |
7465 | * freeze.adb: Likewise. | |
7466 | * freeze.ads: Likewise. | |
7467 | * errout.ads: Likewise. | |
7468 | * erroutc.adb: Likewise. | |
7469 | * exp_ch11.ads: Likewise. | |
7470 | ||
7471 | 2009-04-09 Jakub Jelinek <jakub@redhat.com> | |
7472 | ||
7473 | * config-lang.in: Change copyright header to refer to version | |
7474 | 3 of the GNU General Public License and to point readers at the | |
7475 | COPYING3 file and the FSF's license web page. | |
7476 | * gcc-interface/trans.c: Likewise. | |
7477 | * gnathtml.pl: Likewise. | |
7478 | * gcc-interface/ada.h: Likewise. Remove runtime exception. | |
7479 | * gcc-interface/gigi.h: Likewise. | |
7480 | * gcc-interface/misc.c: Likewise. | |
7481 | * gcc-interface/targtyps.c: Likewise. | |
7482 | ||
dd8cfe3a AC |
7483 | 2009-04-09 Nicolas Setton <setton@adacore.com> |
7484 | ||
7485 | * s-osinte-darwin.ads: Fix wrong binding to struc timeval. | |
7486 | ||
7487 | * s-osinte-darwin.adb (To_Timeval): Adapt to fixed implementation of | |
7488 | struct_timeval. | |
7489 | ||
7490 | 2009-04-09 Bob Duff <duff@adacore.com> | |
7491 | ||
7492 | * exp_ch5.adb, exp_ch9.adb: Correct miscellaneous Slocs in | |
7493 | internally-generated nodes related to select statements to avoid | |
7494 | confusing the debugger. | |
7495 | ||
7496 | 2009-04-09 Pascal Obry <obry@adacore.com> | |
7497 | ||
7498 | * make.adb: Ensure that all linker arguments are duplicated. | |
7499 | ||
59f3dd0a AC |
7500 | 2009-04-09 Robert Dewar <dewar@adacore.com> |
7501 | ||
7502 | * sem_ch5.adb: Minor reformatting | |
7503 | ||
7504 | 2009-04-09 Vincent Celier <celier@adacore.com> | |
7505 | ||
7506 | * vms_data.ads: | |
7507 | Change GNAT CHECK qualifier /DIAGNOSIS_LIMIT to /DIAGNOSTIC_LIMIT | |
7508 | New qualifier /LEXPAND_SOURCE=nnn for -gnatGnnn | |
7509 | New qualifier /LXDEBUG=nnn for -gnatDnnn | |
7510 | For H820-010 | |
7511 | ||
7512 | * gnat_ugn.texi: | |
7513 | Update documentation for VMS qualifiers equivalent to -gnatGnn and | |
7514 | -gnatDnn | |
7515 | ||
7516 | 2009-04-09 Nicolas Setton <setton@adacore.com> | |
7517 | ||
7518 | * s-osinte-darwin.ads: (Pad_Type): Make this an array of unsigned_long, | |
7519 | to match layout of siginfo_t in sys/signal.h. | |
7520 | ||
7521 | * gcc-interface/Makefile.in: Add section for x86_64 darwin. | |
7522 | ||
7523 | 2009-04-09 Thomas Quinot <quinot@adacore.com> | |
7524 | ||
7525 | * g-socket.ads: (Fd_Set): Use Interfaces.C.long alignment. | |
7526 | ||
7527 | 2009-04-09 Nicolas Setton <setton@adacore.com> | |
7528 | ||
7529 | * s-oscons-tmplt.c: Allow long lines in the generated spec. | |
7530 | Add generation of Darwin-specific constants needed when binding to the | |
7531 | pthread library. | |
7532 | ||
7533 | 2009-04-09 Robert Dewar <dewar@adacore.com> | |
7534 | ||
53b2323e RH |
7535 | * checks.adb: |
7536 | (Insert_Valid_Check): Avoid unnecessary generation of junk declaration | |
7537 | when no invalid values exist, Avoid duplicate read of atomic variable. | |
59f3dd0a | 7538 | |
53b2323e RH |
7539 | * cstand.adb (Build_Signed_Integer_Type): Set Is_Known_Valid |
7540 | (Standard_Unsigned): Set Is_Known_Valid | |
59f3dd0a | 7541 | |
53b2323e | 7542 | * sem_ch3.adb (Analyze_Subtype_Declaration): Copy Is_Known_Valid on |
59f3dd0a | 7543 | subtype declaration if no constraint. |
53b2323e RH |
7544 | (Set_Modular_Size): Set Is_Known_Valid if appropriate |
7545 | (Build_Derived_Numeric_Type): Copy Is_Known_Valid if no constraint | |
59f3dd0a | 7546 | |
f7d7bb51 AC |
7547 | 2009-04-09 Robert Dewar <dewar@adacore.com> |
7548 | ||
7549 | * switch-c.adb, gnat_ugn.texi, vms_data.ads, switch.adb, | |
7550 | switch.ads: for numeric switches, an optional equal sign is always | |
7551 | allowed. | |
7552 | ||
7553 | 2009-04-09 Vincent Celier <celier@adacore.com> | |
7554 | ||
7555 | * prj-nmsc.adb (Get_Unit): Do not consider Casing on platform where | |
7556 | the case of file names is not significant. | |
7557 | ||
c75c4293 AC |
7558 | 2009-04-09 Vincent Celier <celier@adacore.com> |
7559 | ||
7560 | * errout.adb: Remove dependency on package Style | |
7561 | ||
7562 | * style.ads, styleg.adb, styleg.ads (RM_Column_Check): Remove function, | |
7563 | moved to Stylesw. | |
7564 | ||
7565 | * stylesw.ads, stylesw.adb (RM_Column_Check): New function, moved from | |
7566 | Styleg. | |
7567 | ||
7568 | * errutil.adb, par.adb: Import Stylesw | |
7569 | ||
7570 | 2009-04-09 Arnaud Charlet <charlet@adacore.com> | |
7571 | ||
7572 | * opt.ads: Fix typos. | |
7573 | ||
7574 | 2009-04-09 Robert Dewar <dewar@adacore.com> | |
7575 | ||
7576 | * einfo.adb: Minor reformatting | |
7577 | ||
e7aea0fa RD |
7578 | 2009-04-09 Robert Dewar <dewar@adacore.com> |
7579 | ||
7580 | * gcc-interface/Make-lang.in, style.ads, style.adb: Reorganize style | |
7581 | units. | |
7582 | ||
7583 | * styleg-c.ads, styleg-c.adb: Removed, no longer used. | |
7584 | ||
1c383b4c AC |
7585 | 2009-04-09 Robert Dewar <dewar@adacore.com> |
7586 | ||
7587 | * g-comver.adb: Minor reformatting. | |
7588 | ||
7589 | 2009-04-09 Thomas Quinot <quinot@adacore.com> | |
7590 | ||
7591 | * lib-load.ads (Load_Unit): Update documentation. | |
7592 | ||
7593 | 2009-04-09 Ed Schonberg <schonberg@adacore.com> | |
7594 | ||
7595 | * lib-load.adb (Load_Unit): When loading the parent of a child unit | |
7596 | named in a with_clause, retain the with_clause to preserve a | |
7597 | limited_with indication. | |
7598 | ||
d7ba4df4 RD |
7599 | 2009-04-09 Robert Dewar <dewar@adacore.com> |
7600 | ||
7601 | * sem_ch7.adb, sem_ch10.adb, sem_prag.adb, sem_ch12.adb, sem_util.adb, | |
7602 | exp_ch13.adb, sem_ch6.adb, exp_disp.adb, sem_ch8.adb, sem_warn.adb, | |
7603 | sem_cat.adb: Code clean up: use Is_Package_Or_Generic_Package where | |
7604 | possible to replace an OR of two separate tests. | |
7605 | ||
923e6ff3 RD |
7606 | 2009-04-09 Robert Dewar <dewar@adacore.com> |
7607 | ||
7608 | * binderr.adb, errout.adb, errutil.adb: New circuitry for handling | |
7609 | Maximum_Messages. | |
7610 | ||
7611 | * erroutc.adb, erroutc.ads (Warnings_Suppressed): Now tests global | |
7612 | warning status as well. | |
7613 | ||
7614 | * opt.ads (Maximum_Messages): New name for Maximum_Errors. | |
7615 | ||
7616 | * switch-b.adb, switch-c.adb: Change name Maximum_Errors to | |
7617 | Maximum_Messages. | |
7618 | ||
7619 | * bindusg.adb, usage.adb: Update line for -gnatm switch | |
7620 | ||
7621 | * gnat_ugn.texi: Update documentation for -gnatmnn compiler switch and | |
7622 | -mnn binder switch. | |
7623 | ||
7624 | 2009-04-09 Robert Dewar <dewar@adacore.com> | |
7625 | ||
7626 | * sem_ch10.adb: Minor reformatting. | |
7627 | ||
beb50807 AC |
7628 | 2009-04-09 Bob Duff <duff@adacore.com> |
7629 | ||
7630 | * exp_ch11.adb (Expand_Exception_Handlers, Prepend_Call_To_Handler): | |
7631 | Set Sloc of generated nodes for calls to Undefer_Aborts and | |
7632 | Save_Occurrence to No_Location, so the debugger ignores them and | |
7633 | therefore does not jump back and forth when single stepping. | |
7634 | ||
7635 | 2009-04-09 Robert Dewar <dewar@adacore.com> | |
7636 | ||
7637 | * switch-b.adb: Minor reformatting. | |
7638 | ||
a4100e55 RD |
7639 | 2009-04-09 Robert Dewar <dewar@adacore.com> |
7640 | ||
7641 | * sem_aggr.adb, exp_ch5.adb, sem_ch3.adb, exp_atag.adb, layout.adb, | |
7642 | sem_dist.adb, exp_ch7.adb, sem_ch5.adb, sem_type.adb, exp_imgv.adb, | |
7643 | exp_util.adb, sem_aux.adb, sem_aux.ads, exp_attr.adb, exp_ch9.adb, | |
7644 | sem_ch7.adb, inline.adb, fe.h, sem_ch9.adb, exp_code.adb, einfo.adb, | |
7645 | einfo.ads, exp_pakd.adb, checks.adb, sem_ch12.adb, exp_smem.adb, | |
7646 | tbuild.adb, freeze.adb, sem_util.adb, sem_res.adb, sem_attr.adb, | |
7647 | exp_dbug.adb, sem_case.adb, exp_tss.adb, exp_ch4.adb, exp_ch6.adb, | |
7648 | sem_smem.adb, sem_ch4.adb, sem_mech.adb, sem_ch6.adb, exp_disp.adb, | |
7649 | sem_ch8.adb, exp_aggr.adb, sem_eval.adb, sem_cat.adb, exp_dist.adb, | |
7650 | sem_ch13.adb, exp_strm.adb, lib-xref.adb, sem_disp.adb, exp_ch3.adb: | |
7651 | Reorganize einfo/sem_aux, moving routines from einfo to sem_aux | |
7652 | ||
f17889b3 RD |
7653 | 2009-04-09 Robert Dewar <dewar@adacore.com> |
7654 | ||
7655 | * exp_util.adb (Silly_Boolean_Array_Xor_Test): Simplify existing code. | |
7656 | ||
7657 | * atree.h: Add Elist26 | |
7658 | ||
7659 | * gnat_ugn.texi: Complete documentation deprecating -gnatN for non-gcc | |
7660 | backends. | |
7661 | ||
b16d9747 JM |
7662 | 2009-04-09 Javier Miranda <miranda@adacore.com> |
7663 | ||
7664 | * exp_disp.adb (Export_DT): Addition of a new argument (Index); used to | |
7665 | retrieve from the Dispatch_Table_Wrappers list the external name. | |
7666 | Addition of documentation. | |
7667 | (Make_Secondary_DT): Addition of a new argument (Suffix_Index) that is | |
7668 | used to export secondary dispatch tables (in the previous version of | |
7669 | the frontend only primary dispatch tables were exported). Addition of | |
7670 | documentation. | |
7671 | (Import_DT): New subprogram (internal of Make_Tags). Used to import a | |
7672 | dispatch table of a given tagged type. | |
7673 | (Make_Tags): Modified to import secondary dispatch tables. | |
7674 | ||
7675 | * sem_ch3.adb (Analyze_Object_Declaration): Code cleanup. | |
7676 | (Constant_Redeclaration): Code cleanup. | |
7677 | ||
7678 | * einfo.ads (Dispatch_Table_Wrapper): Renamed to | |
7679 | Dispatch_Table_Wrappers. Update documentation. | |
7680 | ||
7681 | * einfo.adb (Dispatch_Table_Wrapper, Set_Dispatch_Table_Wrapper): | |
7682 | Renamed to Dispatch_Table_Wrappers. | |
7683 | ||
7684 | * sem_util.adb (Collect_Interface_Components): Improve handling of | |
7685 | private types. | |
7686 | ||
7687 | * atree.ads (Elist26, Set_Elist26): New subprograms | |
7688 | ||
7689 | * atree.adb (Elist26, Set_Elist26): New subprograms | |
7690 | ||
59262ebb AC |
7691 | 2009-04-09 Javier Miranda <miranda@adacore.com> |
7692 | ||
7693 | * sem_ch3.adb (Build_Derived_Record_Type): Fix typo. | |
7694 | (Derive_Progenitor_Subprograms): Handle interfaces in subtypes of | |
7695 | tagged types. | |
7696 | ||
7697 | 2009-04-09 Robert Dewar <dewar@adacore.com> | |
7698 | ||
7699 | * s-direio.adb: Minor reformatting | |
7700 | ||
7701 | * exp_ch4.adb (Expand_Concatenate): Avoid overflow checks for String | |
7702 | ||
fa969310 AC |
7703 | 2009-04-09 Robert Dewar <dewar@adacore.com> |
7704 | ||
7705 | * exp_ch4.adb (Expand_Concatenate): Improve handling of overflow cases | |
7706 | ||
7707 | 2009-04-09 Pascal Obry <obry@adacore.com> | |
7708 | ||
7709 | * a-cihama.adb, a-cihama.ads, a-coinve.adb, a-coinve.ads, | |
7710 | s-tpoben.adb, s-tpoben.ads, s-finimp.adb, s-finimp.ads, | |
7711 | a-convec.adb, a-convec.ads, a-finali.adb, a-finali.ads, | |
7712 | a-filico.ads: Add some missing overriding keywords. | |
7713 | ||
3c25856a AC |
7714 | 2009-04-09 Pascal Obry <obry@adacore.com> |
7715 | ||
7716 | * a-cihama.adb, a-cihama.ads, a-coinve.adb, a-coorma.ads, a-cihase.adb, | |
7717 | a-cihase.ads, a-cohama.adb, a-cohama.ads, a-coorse.adb, a-coorse.ads, | |
7718 | a-coormu.adb, a-coormu.ads, a-cohase.adb, a-cohase.ads: Minor | |
7719 | reformatting. | |
7720 | ||
7721 | 2009-04-09 Ed Schonberg <schonberg@adacore.com> | |
7722 | ||
7723 | * sem_ch6.adb (Check_Overriding_Indicator): Do not generate warning on | |
7724 | missing overriding indicator if the new declaration is not seen as | |
7725 | primitive. | |
7726 | ||
76c597a1 AC |
7727 | 2009-04-09 Thomas Quinot <quinot@adacore.com> |
7728 | ||
7729 | * exp_ch4.adb (Expand_Concatenate): Add circuitry to properly handle | |
7730 | overflows in computation of bounds. | |
7731 | ||
7732 | 2009-04-09 Pascal Obry <obry@adacore.com> | |
7733 | ||
7734 | * a-cihama.adb, a-cgcaso.adb, a-cihase.adb, a-cohase.adb: Fix some | |
7735 | typos in comment. | |
7736 | ||
95b89f1b AC |
7737 | 2009-04-09 Robert Dewar <dewar@adacore.com> |
7738 | ||
7739 | * sem_attr.adb (Check_Stream_Attribute): Check violation of | |
7740 | restriction No_Streams | |
7741 | ||
7742 | * gnat_rm.texi: Clarify No_Streams restriction | |
7743 | ||
7744 | * g-socket.adb: Minor reformatting. | |
7745 | ||
7746 | 2009-04-09 Thomas Quinot <quinot@adacore.com> | |
7747 | ||
7748 | * g-socket.ads: Mark Initialize and Finalize as obsolesent interfaces. | |
7749 | ||
7750 | 2009-04-09 Geert Bosch <bosch@adacore.com> | |
7751 | ||
7752 | * exp_fixd.adb (Build_Conversion): Accept new optional Trunc argument. | |
7753 | (Set_Result): Likewise. | |
7754 | (Expand_Convert_Float_To_Fixed): Have Set_Result truncate the | |
7755 | conversion, as required by RM 4.6(31). | |
7756 | ||
3d5952be AC |
7757 | 2009-04-08 Robert Dewar <dewar@adacore.com> |
7758 | ||
7759 | * checks.adb (Enable_Overflow_Check): Do not enable if overflow checks | |
7760 | suppressed. | |
7761 | ||
7762 | * exp_ch4.adb (Expand_Concatenate): Make sure checks are off for all | |
7763 | resolution steps. | |
7764 | ||
7765 | 2009-04-08 Robert Dewar <dewar@adacore.com> | |
7766 | ||
7767 | * sem_ch12.adb (Analyze_Package_Instantiation): Remove test for | |
7768 | No_Local_Allocators restriction preventing local instantiation. | |
7769 | ||
7770 | 2009-04-08 Thomas Quinot <quinot@adacore.com> | |
7771 | ||
7772 | * sem_eval.adb: Minor comment fix | |
7773 | ||
7774 | 2009-04-08 Thomas Quinot <quinot@adacore.com> | |
7775 | ||
7776 | * g-socket.adb, g-socket.ads (GNAT.Sockets.Sockets_Library_Controller): | |
7777 | New limited controlled type used to automate the initialization and | |
7778 | finalization of the sockets implementation. | |
7779 | (GNAT.Sockets.Initialize, Finalize): Make these no-ops | |
7780 | ||
7781 | 2009-04-08 Vincent Celier <celier@adacore.com> | |
7782 | ||
7783 | * prj-attr.adb: New read-only project-level attribute Project_Dir | |
7784 | ||
7785 | * prj-proc.adb (Add_Attributes): New parameter Project_Dir, value of | |
7786 | read-only attribute of the same name. | |
7787 | (Process_Declarative_Items): Call Add_Attributes with Project_Dir | |
7788 | (Recursive_Process): Ditto | |
7789 | ||
7790 | * snames.adb: Add new standard name Project_Dir | |
7791 | ||
7792 | * snames.ads: Add new standard name Project_Dir | |
7793 | ||
b568955d AC |
7794 | 2009-04-08 Thomas Quinot <quinot@adacore.com> |
7795 | ||
7796 | * checks.adb: Minor reformatting | |
7797 | ||
7798 | 2009-04-08 Vincent Celier <celier@adacore.com> | |
7799 | ||
7800 | * vms_data.ads: Add documentation for new style keyword | |
7801 | OVERRIDING_INDICATORS | |
7802 | ||
7803 | 2009-04-08 Robert Dewar <dewar@adacore.com> | |
7804 | ||
7805 | * sem_ch3.adb (Check_Completion.Post_Error): Post error on spec if the | |
7806 | spec is in the current unit. | |
7807 | ||
ed57136d AC |
7808 | 2009-04-08 Ed Schonberg <schonberg@adacore.com> |
7809 | ||
7810 | * sem_util.adb (Is_Protected_Self_Reference): Add guard to check for | |
7811 | presence of entity. | |
7812 | ||
7813 | * usage.adb, gnat_ugn.texi: add info on -gnatyO: overriding indicators | |
7814 | ||
7815 | 2009-04-08 Vincent Celier <celier@adacore.com> | |
7816 | ||
7817 | * vms_data.ads: Add VMS equivalent for -gnatyO (OVERRIDING_INDICATORS) | |
7818 | ||
7819 | 2009-04-08 Thomas Quinot <quinot@adacore.com> | |
7820 | ||
7821 | * checks.ads: Minor reformatting | |
7822 | ||
7823 | 2009-04-08 Robert Dewar <dewar@adacore.com> | |
7824 | ||
7825 | * gnat_rm.texi: Update documentation of pragma Obsolescent | |
7826 | ||
7827 | * sem_prag.adb (Analyze_Pragma, case Obsolescent): Allow identifiers to | |
7828 | be omitted, and allow Entity parameter to be omitted. | |
7829 | ||
ef7c5692 AC |
7830 | 2009-04-08 Thomas Quinot <quinot@adacore.com> |
7831 | ||
7832 | * exp_util.adb: Minor comment fix | |
7833 | ||
7834 | 2009-04-08 Robert Dewar <dewar@adacore.com> | |
7835 | ||
7836 | * g-socket.ads: Fix bad syntax in pragma Obsolescent | |
7837 | ||
7838 | * par-ch2.adb (Scan_Pragma_Argument_Association): Check for error of | |
7839 | argument with no identifier following one that has an identifier. Was | |
7840 | missed in some cases. | |
7841 | ||
7842 | * sem_prag.adb (Analyze_Pragma, case Check_Policy): Allow Policy | |
7843 | identifier. | |
7844 | (Analyze_Pragma, case Obsolescent): Allow Message, Version identifiers | |
7845 | ||
7846 | * snames.adb: Add Name_Policy | |
7847 | ||
7848 | * snames.ads: Add Name_Policy | |
7849 | ||
0c7f5241 RD |
7850 | 2009-04-08 Robert Dewar <dewar@adacore.com> |
7851 | ||
7852 | * gnat_rm.texi: Minor reformatting | |
7853 | ||
7854 | * par-ch2.adb: Minor reformatting | |
7855 | ||
ae8c7d87 RD |
7856 | 2009-04-08 Robert Dewar <dewar@adacore.com> |
7857 | ||
7858 | * exp_attr.adb, sem_attr.adb, sem_util.adb: Code clean up. | |
7859 | ||
ff69f95a RD |
7860 | 2009-04-08 Robert Dewar <dewar@adacore.com> |
7861 | ||
7862 | * sem_cat.adb (Check_Categorization_Dependencies): Handle Preelaborate | |
7863 | properly in the presence of Remote_Types or Remote_Call_Interface. | |
7864 | ||
7865 | * sem_util.adb: Add comment. | |
7866 | ||
2db15b1d AC |
7867 | 2009-04-08 Robert Dewar <dewar@adacore.com> |
7868 | ||
7869 | * ug_words: Add /ASSUME_VALID for -gnatB | |
7870 | ||
7871 | * vms_data.ads: Add /ASSUME_VALID for -gnatB | |
7872 | ||
7873 | * sem_cat.adb: Add clarifying commment | |
7874 | ||
7875 | * a-direio.ads (Bytes): Make sure value is non-zero | |
7876 | ||
7877 | 2009-04-08 Ed Schonberg <schonberg@adacore.com> | |
7878 | ||
7879 | * sem_util.adb (Is_Variable): If the prefix is an explicit dereference | |
7880 | that does not come from source, check for a rewritten function call in | |
7881 | prefixed notation before other forms of rewriting. | |
7882 | ||
7883 | 2009-04-08 Robert Dewar <dewar@adacore.com> | |
7884 | ||
7885 | * Makefile.rtl: Remove s-strops and s-sopco? from the run time, since | |
7886 | these are now obsolescent units used only for bootrapping with an | |
7887 | older compiler. | |
7888 | ||
94fd3dc6 AC |
7889 | 2009-04-08 Robert Dewar <dewar@adacore.com> |
7890 | ||
7891 | * gnat_rm.texi: Add documentation for pragma Thread_Local_Storage | |
7892 | ||
7893 | * sem_ch3.adb: Minor comment updates | |
7894 | ||
7895 | 2009-04-08 Ed Schonberg <schonberg@adacore.com> | |
7896 | ||
7897 | * inline.adb (Back_End_Cannot_Inline): restrict warning to subprograms | |
7898 | that come from source. | |
7899 | ||
40a14772 TG |
7900 | 2009-04-08 Tristan Gingold <gingold@adacore.com> |
7901 | ||
cac9d8d6 EB |
7902 | * gcc-interface/gigi.h (enum attr_type): Add ATTR_THREAD_LOCAL_STORAGE. |
7903 | * gcc-interface/decl.c (prepend_attributes): New case | |
7904 | Pragma_Thread_Local_Storage. | |
7905 | * gcc-interface/utils.c (process_attributes): New case | |
7906 | ATTR_THREAD_LOCAL_STORAGE. | |
7907 | ||
46ff89f3 AC |
7908 | 2009-04-08 Ed Schonberg <schonberg@adacore.com> |
7909 | ||
7910 | * inline.adb (Back_End_Cannot_Inline): Do not mark a body as inlineable | |
7911 | by the back-end if it contains a call to a subprogram without a | |
7912 | previous spec that is declared in the same unit. | |
7913 | ||
7914 | * errout.ads: Update comments on uses of dirs | |
7915 | ||
7916 | 2009-04-08 Robert Dewar <dewar@adacore.com> | |
7917 | ||
7918 | * exp_ch4.adb (Expand_Concatenate): Make sure nodes are properly typed | |
7919 | ||
812f574f AC |
7920 | 2009-04-08 Tristan Gingold <gingold@adacore.com> |
7921 | ||
7922 | * sem_prag.adb: Restrict pragma Thread_Local_Storage to library level | |
7923 | variables. | |
7924 | Set Has_Gigi_Rep_Item flag to TLS variables (to ease gigi work). | |
7925 | ||
7926 | 2009-04-08 Vincent Celier <celier@adacore.com> | |
7927 | ||
7928 | * prj-nmsc.adb: | |
7929 | (Add_Source): Add the mapping of the unit name to source file name in | |
7930 | the Unit_Sources_HT hash table, if the unit name is not null. | |
7931 | ||
7932 | * prj.adb (Reset): Reset hash table Tree.Unit_Sources_HT | |
7933 | ||
7934 | * prj.ads (Unit_Sources_Htable): New hash table instantiation | |
7935 | (Project_Tree_Data): New component Unit_Sources_HT | |
7936 | ||
4c8a5bb8 AC |
7937 | 2009-04-08 Thomas Quinot <quinot@adacore.com> |
7938 | ||
7939 | * sem_ch8.adb: Minor reformatting. | |
7940 | Minor code reorganization. | |
7941 | ||
7942 | 2009-04-08 Robert Dewar <dewar@adacore.com> | |
7943 | ||
7944 | * snames.h, einfo.adb, einfo.ads, sem_prag.adb, snames.adb, | |
7945 | snames.ads, freeze.adb, par-prag.adb: Add implementation of | |
7946 | pragma Thread_Local_Storage, setting new flag | |
7947 | Has_Pragma_Thread_Local_Storage in corresponding entities. | |
7948 | ||
ecc4ddde AC |
7949 | 2009-04-08 Emmanuel Briot <briot@adacore.com> |
7950 | ||
7951 | * prj.ads: Update comment on switches file | |
7952 | ||
7953 | * prj-nmsc.adb: Code clean up. Use renaming clauses. | |
7954 | ||
7955 | 2009-04-08 Robert Dewar <dewar@adacore.com> | |
7956 | ||
7957 | * exp_ch4.adb (Expand_Concatenate): Further fixes to bounds handling | |
7958 | ||
7959 | 2009-04-08 Thomas Quinot <quinot@adacore.com> | |
7960 | ||
7961 | * ali-util.adb: Minor comment fix | |
7962 | ||
7963 | 2009-04-08 Ed Schonberg <schonberg@adacore.com> | |
7964 | ||
7965 | * sem_ch8.adb (Analyze_Use_Type): Improve error message when clause | |
7966 | appears in a context clause, and the enclosing package is mentioned in | |
7967 | a limited_with_clause. | |
7968 | (Use_One_Type): Reject clause if type is still incomplete. | |
7969 | ||
a29262fd AC |
7970 | 2009-04-08 Emmanuel Briot <briot@adacore.com> |
7971 | ||
7972 | * prj-nmsc.adb (Check_File, Process_Sources_In_Multi_Language_Mode): | |
7973 | avoid copies of Source_Data variables when possible, since these | |
7974 | involve calls to memcpy() which are done too many times. | |
7975 | ||
7976 | 2009-04-08 Robert Dewar <dewar@adacore.com> | |
7977 | ||
7978 | * exp_ch4.adb (Expand_Concatenate): Clean up code | |
7979 | ||
a2dc5812 AC |
7980 | 2009-04-07 Thomas Quinot <quinot@adacore.com> |
7981 | ||
7982 | * exp_ch4.adb (Expand_Concatenate): Add missing conversion to index | |
7983 | type for the case of concatenating a constrained array indexed by an | |
7984 | enumeration type. | |
7985 | ||
7986 | 2009-04-07 Ed Schonberg <schonberg@adacore.com> | |
7987 | ||
7988 | * sem_ch6.adb (Check_Conformance): when checking conformance of an | |
7989 | operation that overrides an abstract operation inherited from an | |
7990 | interface, return False if only one of the controlling formals is an | |
7991 | access parameter. | |
7992 | ||
7993 | 2009-04-07 Ed Schonberg <schonberg@adacore.com> | |
7994 | ||
7995 | * sem_ch8.adb (Analyze_Object_Renaming): additional error messages | |
7996 | mandated by AI05-105. | |
7997 | ||
7998 | 2009-04-07 Vincent Celier <celier@adacore.com> | |
7999 | ||
8000 | * prj-nmsc.adb (Get_Mains): Warn if a main is an empty string | |
8001 | ||
8002 | 2009-04-07 Thomas Quinot <quinot@adacore.com> | |
8003 | ||
8004 | * usage.adb: Minor fix in usage message. | |
8005 | ||
8006 | * sem_ch10.adb (Remove_Homonyms): Fix subtype of formal in body to | |
8007 | match declaration; the correct subtype is Node_Id, not Entity_Id, | |
8008 | because the expected node kind is an identifier, not a defining | |
8009 | identifier. | |
8010 | ||
8011 | * switch-c.adb: Minor reformatting. | |
8012 | ||
8013 | * uintp.adb: Minor reformatting. | |
8014 | ||
8015 | 2009-04-07 Robert Dewar <dewar@adacore.com> | |
8016 | ||
8017 | * exp_ch13.adb: Minor reformatting | |
8018 | ||
0ac73189 AC |
8019 | 2009-04-07 Robert Dewar <dewar@adacore.com> |
8020 | ||
8021 | * sem_warn.adb (Check_Infinite_Loop_Warning.Test_Ref): Add defence | |
8022 | against missing parent. | |
8023 | ||
8024 | 2009-04-07 Thomas Quinot <quinot@adacore.com> | |
8025 | ||
8026 | * xoscons.adb: Minor reformatting | |
8027 | ||
8028 | 2009-04-07 Robert Dewar <dewar@adacore.com> | |
8029 | ||
8030 | * rtsfind.ads: Remove obsolete string concatenation entries | |
8031 | ||
8032 | 2009-04-07 Robert Dewar <dewar@adacore.com> | |
8033 | ||
8034 | * exp_ch4.adb (Expand_Concatenate): Redo handling of bounds | |
8035 | ||
8036 | 2009-04-07 Ed Schonberg <schonberg@adacore.com> | |
8037 | ||
8038 | * sem_ch10.adb (Check_Body_Required): Handle properly imported | |
8039 | subprograms. | |
8040 | ||
8041 | 2009-04-07 Gary Dismukes <dismukes@adacore.com> | |
8042 | ||
8043 | * exp_ch13.adb (Expand_N_Attribute_Definition_Clause, case | |
8044 | Attribute_Address): When Init_Or_Norm_Scalars is True and the object | |
8045 | is of a scalar or string type then suppress the setting of the | |
8046 | expression to Empty. | |
8047 | ||
8048 | * freeze.adb (Warn_Overlay): Also emit the warnings about default | |
8049 | initialization for the cases of scalar and string objects when | |
8050 | Init_Or_Norm_Scalars is True. | |
8051 | ||
1732c156 AC |
8052 | 2009-04-07 Bob Duff <duff@adacore.com> |
8053 | ||
8054 | * s-secsta.ads, g-pehage.ads, s-fileio.ads: Minor comment fixes | |
8055 | ||
8056 | 2009-04-07 Bob Duff <duff@adacore.com> | |
8057 | ||
8058 | * gnat_rm.texi, s-fileio.adb (System.File_IO.Open): New feature: A | |
8059 | Form parameter of Text_Translation=No allows binary mode for Text_IO | |
8060 | files. | |
8061 | ||
8062 | * gnat_rm.texi: Document Form parameter Text_Translation=xxx. | |
8063 | ||
8064 | 2009-04-07 Javier Miranda <miranda@adacore.com> | |
8065 | ||
8066 | * exp_ch5.adb (Expand_Assign_Array): Add implicit conversion when | |
8067 | processing the bounds for bit packed arrays or VM target machines. | |
8068 | ||
f16d05d9 AC |
8069 | 2009-04-07 Thomas Quinot <quinot@adacore.com> |
8070 | ||
8071 | * g-sothco.ads (Int_Access): Remove extraneous access type (use | |
8072 | anonymous access instead). | |
8073 | (Get_Socket_From_Set): Fix incorrectly reverted formals | |
8074 | Last and Socket to match the underlying C routine. | |
8075 | ||
ad1536a1 | 8076 | * g-socket.adb, g-socket.ads |
f16d05d9 AC |
8077 | (Get): Use named parameter associations instead of positional ones in |
8078 | call go Get_Socket_From_Set, since this routine has two formals of the | |
8079 | same type. | |
ad1536a1 | 8080 | (Image): New procedure. |
f16d05d9 AC |
8081 | |
8082 | * g-socthi-vms.adb, g-socthi-vms.ads, g-socthi-vxworks.adb, | |
8083 | g-socthi-vxworks.ads, g-socthi-mingw.ads, g-socthi.adb, g-socthi.ads: | |
8084 | (C_Ioctl, Syscall_Ioctl): use "access C.int" instead of "Int_Access" | |
8085 | for type of Arg formal. | |
8086 | ||
8087 | * sem_warn.adb: Minor reformatting | |
8088 | ||
8089 | 2009-04-07 Ed Schonberg <schonberg@adacore.com> | |
8090 | ||
8091 | * sem_util.adb (Has_Tagged_Component): Fix typo in loop that iterates | |
8092 | over record components. | |
8093 | ||
8094 | 2009-04-07 Nicolas Roche <roche@adacore.com> | |
8095 | ||
8096 | * gsocket.h: | |
8097 | Don't include resolvLib.h on VxWorks 6 (kernel and rtp). This library | |
8098 | has disappeared between VxWorks 6.4 and VxWorks 6.5 | |
8099 | In RTP mode use time.h instead of times.h | |
8100 | ||
8101 | 2009-04-07 Robert Dewar <dewar@adacore.com> | |
8102 | ||
8103 | * exp_ch4.adb (Expand_N_Op_Concat): Improve lower bound handling | |
8104 | ||
8105 | 2009-04-07 Kevin Pouget <pouget@adacore.com> | |
8106 | ||
8107 | * exp_dist.adb: Modify Build_From_Any_Fonction procedure to correct | |
8108 | expanded code for constrained types. | |
8109 | ||
8110 | 2009-04-07 Ed Schonberg <schonberg@adacore.com> | |
8111 | ||
8112 | * sem_ch4.adb (Analyze_Overloaded_Selected_Component): implement | |
8113 | AI05-105: in an object renaming declaration, anonymousness is a name | |
8114 | resolution rule. | |
8115 | ||
8116 | * sem_ch8.adb (Analyze_Object_Renaming): Ditto. | |
8117 | ||
8118 | 2009-04-07 Arnaud Charlet <charlet@adacore.com> | |
8119 | ||
8120 | * g-comlin.adb (Expansion): Fix old regression: also return directory | |
8121 | names when matching. | |
8122 | ||
2fc05e3d AC |
8123 | 2009-04-07 Robert Dewar <dewar@adacore.com> |
8124 | ||
8125 | * exp_ch4.adb: | |
8126 | (Expand_N_Op_Concat): Call Expand_Concatenate for all cases | |
8127 | (Expand_Concatenate): New name for Expand_Concatenate_String which has | |
8128 | been rewritten to handle all types. | |
8129 | (Expand_Concatenate_Other): Remove | |
8130 | ||
8131 | 2009-04-07 Ed Schonberg <schonberg@adacore.com> | |
8132 | ||
8133 | * lib-xref.adb (Generate_Reference): A default subprogram in an | |
8134 | instance appears within the tree for the instance, but generates an | |
8135 | implicit reference in the ALI. | |
8136 | ||
fdac1f80 AC |
8137 | 2009-04-07 Javier Miranda <miranda@adacore.com> |
8138 | ||
8139 | * sem_ch3.adb (Build_Derived_Record_Type): When processing a tagged | |
8140 | derived type that has discriminants, propagate the list of interfaces | |
8141 | to the corresponding new base type. In addition, propagate also | |
8142 | attribute Limited_Present (found working in this patch). | |
8143 | ||
8144 | 2009-04-07 Robert Dewar <dewar@adacore.com> | |
8145 | ||
8146 | * exp_ch4.adb: Rewrite concatenation expansion. | |
8147 | ||
8dbd1460 AC |
8148 | 2009-04-07 Ed Schonberg <schonberg@adacore.com> |
8149 | ||
8150 | * sem_ch8.adb (Restore_Scope_Stack): First_Private_Entity is only | |
8151 | relevant to packages. | |
8152 | ||
8153 | 2009-04-07 Robert Dewar <dewar@adacore.com> | |
8154 | ||
8155 | * sem_attr.adb: Minor reformatting | |
8156 | ||
8157 | * sem_ch6.adb: Minor reformatting | |
8158 | ||
2ddc2000 AC |
8159 | 2009-04-07 Tristan Gingold <gingold@adacore.com> |
8160 | ||
8161 | * socket.c: Add more protections against S_resolvLib_ macros. | |
8162 | ||
8163 | 2009-04-07 Thomas Quinot <quinot@adacore.com> | |
8164 | ||
8165 | * sem_attr.adb: Minor reformatting | |
8166 | ||
8167 | 2009-04-07 Ed Schonberg <schonberg@adacore.com> | |
8168 | ||
8169 | * sem_ch6.adb (New_Overloaded_Entity): New predicate | |
8170 | Is_Overriding_Alias to handle properly types that inherit two homonym | |
8171 | operations that have distinct dispatch table entries. | |
8172 | ||
06a16f58 AC |
8173 | 2009-04-07 Emmanuel Briot <briot@adacore.com> |
8174 | ||
8175 | * s-regexp.adb (Create_Mapping): Ignore excaped open parenthesis when | |
8176 | looking for the end of a parenthesis group | |
8177 | ||
8178 | 2009-04-07 Tristan Gingold <gingold@adacore.com> | |
8179 | ||
8180 | * gsocket.h Don't #include resolvLib.h if __RTP__ is defined. | |
8181 | ||
8182 | * socket.c Don't use resolvLib_ macros if not defined. | |
8183 | ||
df46b832 AC |
8184 | 2009-04-07 Robert Dewar <dewar@adacore.com> |
8185 | ||
8186 | * g-socket.adb: Minor reformatting. | |
8187 | ||
8188 | * g-socthi-mingw.adb: Minor reformatting | |
8189 | ||
8190 | * g-sothco.ads: Minor reformatting | |
8191 | ||
8192 | * exp_ch4.adb: | |
8193 | (Expand_Concatenate_String): Complete rewrite to generate efficient code | |
8194 | inline instead of relying on external library routines. | |
8195 | ||
8196 | * s-strops.ads, s-sopco5.ads, s-sopco5.adb, s-sopco4.ads, s-sopco4.adb, | |
8197 | s-sopco3.ads, s-sopco3.adb, s-strops.adb: Note that this unit is now | |
8198 | obsolescent | |
8199 | ||
8200 | 2009-04-07 Ed Schonberg <schonberg@adacore.com> | |
8201 | ||
8202 | * sem_attr.adb: | |
8203 | (Eval_Attribute): for attributes of array objects that are not strings, | |
8204 | attributes are not static if nominal subtype of object is unconstrained. | |
8205 | ||
8206 | 2009-04-07 Ed Schonberg <schonberg@adacore.com> | |
8207 | ||
8208 | * sem_ch6.adb (New_Overloaded_Entity): If two implicit homonym | |
8209 | operations for a type T in an instance do not override each other, | |
8210 | when T is derived from a formal private type, the corresponding | |
8211 | operations inherited by a type derived from T outside | |
8212 | of the instance do not override each other either. | |
8213 | ||
3dd9959c AC |
8214 | 2009-04-07 Robert Dewar <dewar@adacore.com> |
8215 | ||
8216 | (Osint.Fail): Change calling sequence to have one string arg | |
8217 | (Make.Make_Failed): Same change | |
8218 | All callers are adjusted to use concatenation | |
8219 | ||
8220 | 2009-04-07 Robert Dewar <dewar@adacore.com> | |
8221 | ||
8222 | * exp_ch4.adb: Fix documentation typo | |
8223 | ||
8224 | 2009-04-07 Robert Dewar <dewar@adacore.com> | |
8225 | ||
8226 | * tbuild.ads: Minor reformatting | |
8227 | ||
8228 | 2009-04-07 Javier Miranda <miranda@adacore.com> | |
8229 | ||
8230 | * exp_disp.adb (Make_DT): Avoid the generation of the OSD_Table | |
8231 | when compiling under ZFP runtime. | |
8232 | ||
8233 | 2009-04-07 Robert Dewar <dewar@adacore.com> | |
8234 | ||
8235 | * g-comlin.adb: Minor reformatting | |
8236 | ||
8237 | 2009-04-07 Thomas Quinot <quinot@adacore.com> | |
8238 | ||
8239 | * socket.c, g-socthi-vms.adb, g-socthi-vms.ads, g-socthi-vxworks.adb, | |
8240 | g-socthi-vxworks.ads, g-socthi-mingw.adb, g-socthi-mingw.ads, | |
8241 | g-socthi.adb, g-socthi.ads, g-socket.adb, g-socket.ads, g-sothco.ads: | |
8242 | Remove dynamic allocation of Fd_Set in Socket_Set_Type objects. | |
8243 | ||
dcd8728b RD |
8244 | 2009-04-07 Robert Dewar <dewar@adacore.com> |
8245 | ||
8246 | * gnat_ugn.texi: Document -gnatDnn/-gnatGnn | |
8247 | ||
8248 | * opt.ads (Sprint_Line_Limit): New parameter | |
8249 | ||
8250 | * sprint.adb: Usa Sprint_Line_Limit instead of Line_Limit throughout | |
8251 | ||
8252 | * switch-c.adb: Recognize -gnatDnnn and -gnatGnnn switches | |
8253 | ||
8254 | * usage.adb: Output information for -gnatGnn -gnatDnn | |
8255 | ||
8256 | 2009-04-07 Robert Dewar <dewar@adacore.com> | |
8257 | ||
8258 | * make.adb: Minor reformatting | |
8259 | ||
8260 | 2009-04-07 Robert Dewar <dewar@adacore.com> | |
8261 | ||
8262 | * mlib-tgt-specific-vms-alpha.adb: Minor reformatting | |
8263 | ||
8264 | 2009-04-07 Robert Dewar <dewar@adacore.com> | |
8265 | ||
8266 | * mlib-tgt-specific-vms-ia64.adb: Minor reformatting | |
8267 | ||
c27f2f15 RD |
8268 | 2009-04-07 Robert Dewar <dewar@adacore.com> |
8269 | ||
8270 | * checks.adb: | |
8271 | Remove Assume_Valid parameter from In_Subrange_Of calls | |
8272 | ||
8273 | * sem_eval.adb: | |
8274 | (Is_Subrange_Of): Remove Assume_Valid parameter, not needed | |
8275 | (Is_In_Range): Remove incorrect use of Assume_Valid | |
8276 | (Is_Out_Of_Range): Remove incorrect use of Assume_Valid | |
8277 | ||
8278 | * sem_eval.ads: | |
8279 | (Is_Subrange_Of): Remove Assume_Valid parameter, not needed | |
8280 | (Is_In_Range): Documentation cleanup | |
8281 | (Is_Out_Of_Range): Documentation cleanup | |
8282 | ||
8283 | * gnat_rm.texi: | |
8284 | Add documentation for Assume_No_Invalid_Values pragma | |
8285 | ||
8286 | * sem_ch12.adb: Minor reformatting | |
8287 | ||
8288 | * sem_ch6.adb: (Check_Conformance): Avoid cascaded errors | |
8289 | ||
8290 | * sem_prag.adb: Improve error message. | |
8291 | ||
8292 | * gnatchop.adb, osint.ads, sinput.adb, sinput.ads, styleg.adb: | |
8293 | LF/CR no longer recognized as line terminator | |
8294 | ||
8295 | * switch.ads: Minor documentation improvement | |
8296 | ||
8297 | * vms_data.ads: Minor reformatting | |
8298 | ||
c800f862 RD |
8299 | 2009-04-07 Robert Dewar <dewar@adacore.com> |
8300 | ||
8301 | * checks.adb (Determine_Range): Add Assume_Valid parameter | |
8302 | ||
8303 | * checks.ads (Determine_Range): Add Assume_Valid parameter | |
8304 | ||
8305 | * errout.adb (Error_Msg_NEL): Use Suppress_Loop_Warnings rather than | |
8306 | Is_Null_Loop to suppress warnings in a loop body. | |
8307 | ||
8308 | * exp_ch4.adb: | |
8309 | (Rewrite_Comparison): Major rewrite to accomodate invalid values | |
8310 | ||
8311 | * exp_ch5.adb: | |
8312 | (Expand_N_Loop_Statement): Delete loop known not to execute | |
8313 | ||
8314 | * opt.ads: | |
8315 | (Assume_No_Invalid_Values): Now set to False, and as documented, this | |
8316 | fully enables the proper handling of invalid values. | |
8317 | ||
8318 | * sem_attr.adb: | |
8319 | New calling sequence for Is_In_Range | |
8320 | ||
8321 | * sem_ch5.adb: | |
8322 | (Analyze_Iteration_Scheme): Accomodate possible invalid values | |
8323 | in determining if a loop range is null. | |
8324 | ||
8325 | * sem_eval.adb: | |
8326 | (Is_In_Range): Add Assume_Valid parameter | |
8327 | (Is_Out_Of_Range): Add Assume_Valid_Parameter | |
8328 | (Compile_Time_Compare): Major rewrite to accomodate invalid values and | |
8329 | also to do more accurate and complete range analysis, catching more | |
8330 | cases. | |
8331 | ||
8332 | * sem_eval.ads: | |
8333 | (Is_In_Range): Add Assume_Valid parameter | |
8334 | (Is_Out_Of_Range): Add Assume_Valid_Parameter | |
8335 | ||
8336 | * sem_util.adb: | |
8337 | New calling sequence for Is_In_Range | |
8338 | ||
8339 | * sinfo.adb: | |
8340 | (Suppress_Loop_Warnings): New flag | |
8341 | ||
8342 | * sinfo.ads: | |
8343 | (Is_Null_Loop): Update documentation | |
8344 | (Suppress_Loop_Warnings): New flag | |
8345 | ||
8346 | * gnat_ugn.texi: Document -gnatB switch | |
8347 | ||
9d00840d AC |
8348 | 2009-04-07 Arnaud Charlet <charlet@adacore.com> |
8349 | ||
8350 | * gnatvsn.ads: Bump version number. | |
8351 | ||
5f143024 AC |
8352 | 2009-04-07 Thomas Quinot <quinot@adacore.com> |
8353 | ||
8354 | * exp_ch3.adb: Minor rewording (comments) | |
8355 | ||
8356 | 2009-04-07 Robert Dewar <dewar@adacore.com> | |
8357 | ||
8358 | * exp_disp.adb: Minor reformatting | |
8359 | ||
d5859bf4 EB |
8360 | 2009-04-07 Eric Botcazou <ebotcazou@adacore.com> |
8361 | ||
8362 | * gcc-interface/decl.c (gnat_to_gnu_entity) <object>: Test the | |
8363 | underlying type. | |
8364 | * gcc-interface/trans.c (lvalue_required_p): Likewise. | |
8365 | ||
c86f07f6 EB |
8366 | 2009-04-07 Eric Botcazou <ebotcazou@adacore.com> |
8367 | ||
8368 | * gcc-interface/trans.c (Attribute_to_gnu) <Max_Size_In_Storage_Elmts>: | |
8369 | Do not convert the result. Remove obsolete comment. | |
8370 | ||
2d5be6c1 EB |
8371 | 2009-04-07 Eric Botcazou <ebotcazou@adacore.com> |
8372 | ||
8373 | * gcc-interface/trans.c (establish_gnat_vms_condition_handler): Clear | |
8374 | DECL_CONTEXT. | |
8375 | (Subprogram_Body_to_gnu): Fix pasto. | |
8376 | ||
10069d53 EB |
8377 | 2009-04-07 Eric Botcazou <ebotcazou@adacore.com> |
8378 | ||
8379 | * gcc-interface/gigi.h (standard_datatypes): Remove ADT_void_type_decl. | |
8380 | (void_type_decl_node): Remove. | |
8381 | (init_gigi_decls): Likewise. | |
8382 | (gnat_install_builtins): Declare. | |
8383 | (record_builtin_type): Likewise. | |
8384 | (create_type_stub_decl): Likewise. | |
8385 | * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Void>: Use void_type. | |
8386 | (gnat_to_gnu_entity) <E_Array_Type>: Make fat and thin pointer types | |
8387 | artificial. | |
8388 | <E_Array_Subtype>: Use the index types, not only their name, in the | |
8389 | record giving the names of the bounds, if any. | |
8390 | For a packed array type, make it artificial only if the base type | |
8391 | was artificial as well. Remove redundant statement. | |
8392 | (gnat_to_gnu_entity) <E_Incomplete_Type>: Do not create TYPE_DECL for | |
8393 | dummy types. | |
8394 | Use create_type_stub_decl to build the TYPE_STUB_DECL of types. | |
8395 | (rest_of_type_decl_compilation_no_defer): Likewise. | |
8396 | * gcc-interface/misc.c (gnat_printable_name): Add missing guard. | |
8397 | * gcc-interface/utils.c (make_dummy_type): Always create TYPE_STUB_DECL | |
8398 | and use create_type_stub_decl to build it. | |
8399 | (gnat_pushdecl): Rewrite condition. | |
8400 | (gnat_install_builtins): Remove bogus declaration. | |
8401 | (record_builtin_type): New function. | |
8402 | (finish_record_type): Use create_type_stub_decl to build TYPE_STUB_DECL | |
8403 | of types. | |
8404 | (create_type_stub_decl): New function. | |
8405 | (create_type_decl): Assert that the type is not dummy. If the type | |
8406 | hasn't been named yet, equate the TYPE_STUB_DECL to the created node. | |
8407 | (build_vms_descriptor32): Do not create TYPE_DECL for the descriptor. | |
8408 | (build_vms_descriptor): Likewise. | |
8409 | (init_gigi_decls): Delete and move bulk of code to... | |
8410 | * gcc-interface/trans.c (gigi): ...here. Use record_builtin_type. | |
8411 | (emit_range_check): Add gnat_node parameter. | |
8412 | (emit_index_check): Likewise. | |
8413 | (emit_check): Likewise. | |
8414 | (build_unary_op_trapv): Likewise. | |
8415 | (build_binary_op_trapv): Likewise. | |
8416 | (convert_with_check): Likewise. | |
8417 | (Attribute_to_gnu): Adjust calls for above changes. | |
8418 | (call_to_gnu): Likewise. | |
8419 | (gnat_to_gnu): Likewise. | |
8420 | (assoc_to_constructor): Likewise. | |
8421 | (pos_to_constructor): Likewise. | |
8422 | (Sloc_to_locus): Set BUILTINS_LOCATION for Standard_Location nodes. | |
8423 | (process_type): Do not create TYPE_DECL for dummy types. | |
8424 | ||
229077b0 EB |
8425 | 2009-04-07 Eric Botcazou <ebotcazou@adacore.com> |
8426 | ||
1e17ef87 EB |
8427 | * gcc-interface/decl.c (gnat_to_gnu_entity): Reorder local variables. |
8428 | * gcc-interface/trans.c: Fix formatting throughout. Fix comments. | |
8429 | * gcc-interface/utils.c: Fix comments. | |
8430 | ||
8431 | 2009-04-07 Eric Botcazou <ebotcazou@adacore.com> | |
8432 | ||
8433 | * gcc-interface/decl.c (compile_time_known_address_p): Rewrite and | |
8434 | move around. | |
229077b0 EB |
8435 | (gnat_to_gnu_type): Move around. |
8436 | (get_unpadded_type): Likewise. | |
1e17ef87 EB |
8437 | * gcc-interface/utils.c (update_pointer_to): Use synthetic macro. |
8438 | Tidy comments. | |
229077b0 | 8439 | |
aa1aa786 EB |
8440 | 2009-04-07 Eric Botcazou <ebotcazou@adacore.com> |
8441 | ||
8442 | * gcc-interface/trans.c (check_for_eliminated_entity): New function. | |
8443 | (Attribute_to_gnu): Invoke it for Access- and Address-like attributes. | |
8444 | (call_to_gnu): Invoke it instead of manually checking. | |
8445 | ||
63787194 EB |
8446 | 2009-04-04 Eric Botcazou <ebotcazou@adacore.com> |
8447 | ||
8448 | * gcc-interface/utils.c (finish_record_type): Force structural equality | |
8449 | checks if the record type is discriminated. | |
8450 | ||
d236ace7 EB |
8451 | 2009-03-31 Eric Botcazou <ebotcazou@adacore.com> |
8452 | ||
8453 | * system-linux-alpha.ads (Functions_Return_By_DSP): Remove. | |
8454 | * system-linux-mips.ads (Functions_Return_By_DSP): Likewise. | |
8455 | * system-linux-mipsel.ads (Functions_Return_By_DSP): Likewise. | |
8456 | * system-linux-s390.ads (Functions_Return_By_DSP): Likewise. | |
8457 | * system-linux-s390x.ads (Functions_Return_By_DSP): Likewise. | |
8458 | * system-linux-sparc.ads (Functions_Return_By_DSP): Likewise. | |
8459 | * system-linux-sparcv9.ads (Functions_Return_By_DSP): Likewise. | |
8460 | ||
bd9f68e0 PB |
8461 | 2009-03-30 Paolo Bonzini <bonzini@gnu.org> |
8462 | ||
d7be99f1 EB |
8463 | * gcc-interface/decl.c (maybe_pad_type): Use TREE_OVERFLOW instead |
8464 | of TREE_CONSTANT_OVERFLOW. | |
bd9f68e0 | 8465 | |
8ce94e44 JM |
8466 | 2009-03-30 Joseph Myers <joseph@codesourcery.com> |
8467 | ||
8468 | PR rtl-optimization/323 | |
8469 | * gcc-interface/misc.c (gnat_post_options): Set | |
8470 | flag_excess_precision_cmdline. Give an error for | |
8471 | -fexcess-precision=standard for processors where the option is | |
8472 | significant. | |
8473 | ||
d9223014 L |
8474 | 2009-03-27 H.J. Lu <hongjiu.lu@intel.com> |
8475 | ||
8476 | PR c/39323 | |
8477 | * gcc-interface/utils.c (create_field_decl): Use "unsigned int" | |
8478 | on bit_align. | |
8479 | ||
76761bbd OH |
8480 | 2009-03-11 Olivier Hainque <hainque@adacore.com> |
8481 | ||
8482 | * gcc-interface/trans.c (gnat_to_gnu) <case N_Slice>: In range | |
8483 | checks processing, remove unintended TREE_TYPE walk on index type. | |
8484 | ||
39ae51e0 EB |
8485 | 2009-03-01 Eric Botcazou <ebotcazou@adacore.com> |
8486 | ||
8487 | PR ada/39264 | |
8488 | * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Array_Type>: Do no | |
8489 | call make_packable_type on fat pointer types. | |
8490 | <E_Array_Subtype>: Likewise. | |
8491 | <E_Record_Subtype>: Call make_packable_type on all record types | |
8492 | except for fat pointer types. | |
8493 | (make_packable_type): Likewise. | |
8494 | (gnat_to_gnu_field): Likewise. | |
8495 | ||
7d01864f EB |
8496 | 2009-02-28 Eric Botcazou <ebotcazou@adacore.com> |
8497 | ||
8498 | * gcc-interface/Makefile.in (cygwin/mingw): Revert accidental | |
67901d32 | 8499 | EH_MECHANISM change made on 2007-12-06. |
7d01864f | 8500 | |
a760c977 AS |
8501 | 2009-02-26 Andreas Schwab <schwab@suse.de> |
8502 | ||
4c354194 | 8503 | PR ada/39172 |
a760c977 | 8504 | * Makefile.in (srcdir): Set to @top_srcdir@ instead of @srcdir@. |
a760c977 AS |
8505 | * gcc-interface/Makefile.in: Change all uses of $(srcdir), |
8506 | $(fsrcdir) and $(fsrcpfx) to add ada subdir. | |
8507 | (AWK): Substitute. | |
8508 | (target_cpu_default): Substitute. | |
8509 | ||
054efbba LG |
8510 | 2009-02-25 Laurent GUERBY <laurent@guerby.net> |
8511 | ||
975a4fd6 | 8512 | PR ada/39221 |
a760c977 AS |
8513 | * a-teioed.adb (Expand): Fix Result overflow. |
8514 | ||
c608b4d2 | 8515 | 2009-02-25 Laurent GUERBY <laurent@guerby.net> |
2692d7f5 | 8516 | |
a760c977 AS |
8517 | * gcc-interface/Makefile.in: Fix multilib handling for |
8518 | sparc64-linux. | |
8519 | ||
ea675ec3 RO |
8520 | 2009-02-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
8521 | ||
8522 | * s-oscons-tmplt.c [__osf__ && !_SS_MAXSIZE]: Undef AF_UNIX6. | |
8523 | ||
e98c0739 L |
8524 | 2009-02-18 H.J. Lu <hongjiu.lu@intel.com> |
8525 | ||
8526 | * gcc-interface/misc.c (gnat_post_options): Turn off warn_psabi. | |
8527 | ||
70f5fc7c EB |
8528 | 2009-02-16 Eric Botcazou <ebotcazou@adacore.com> |
8529 | ||
8530 | * gcc-interface/deftarg.c: Remove. | |
8531 | ||
794511d2 | 8532 | 2009-02-10 Olivier Hainque <hainque@adacore.com> |
e98c0739 | 8533 | Eric Botcazou <ebotcazou@adacore.com> |
794511d2 EB |
8534 | |
8535 | * gcc-interface/decl.c (enum alias_set_op): New enumeration. | |
8536 | (copy_alias_set): Rename into... | |
8537 | (relate_alias_sets): ...this. Add third parameter OP. Retrieve the | |
8538 | underlying array of unconstrained arrays for the new type as well. | |
8539 | If the old and new alias sets don't conflict, make one a subset of | |
8540 | the other as per the OP parameter. | |
8541 | (gnat_to_gnu_entity): Adjust calls to copy_alias_set. | |
8542 | <E_Record_Type>: Do not copy the alias set for derived types. | |
8543 | For all types, make the alias set of derived types a superset of | |
8544 | that of their parent type. | |
8545 | (make_aligning_type): Adjust calls to copy_alias_set. | |
8546 | (make_packable_type): Likewise. | |
8547 | * gcc-interface/trans.c (gnat_to_gnu)<N_Validate_Unchecked_Conversion>: | |
8548 | Check for alias set conflict instead of strict equality to issue the | |
8549 | warning. | |
8550 | ||
c3734896 EB |
8551 | 2009-02-09 Eric Botcazou <ebotcazou@adacore.com> |
8552 | ||
8553 | * gcc-interface/decl.c (gnat_to_gnu_entity) <E_String_Literal_Subtype>: | |
8554 | Set TYPE_NONALIASED_COMPONENT on the array type only if appropriate. | |
8555 | (copy_alias_set): Assert that arrays have the same aliasing settings. | |
8556 | (substitute_in_type) <ARRAY_TYPE>: Copy TYPE_NONALIASED_COMPONENT. | |
8557 | ||
9a58d4d2 EB |
8558 | 2009-02-08 Eric Botcazou <ebotcazou@adacore.com> |
8559 | ||
8560 | * gcc-interface/decl.c (gnat_to_gnu_entity) <E_String_Literal_Subtype>: | |
8561 | Set TYPE_NONALIASED_COMPONENT on the array type. | |
8562 | ||
d0ec4c99 LG |
8563 | 2009-01-31 Laurent GUERBY <laurent@guerby.net> |
8564 | ||
8565 | * gcc-interface/Makefile.in: Fix mipsel linux handling. | |
a760c977 | 8566 | |
4dcb8fd1 JJ |
8567 | 2009-01-16 Jakub Jelinek <jakub@redhat.com> |
8568 | ||
8569 | * gcc-interface/Makefile.in: Fix multilib handling for | |
8570 | powerpc64-linux. | |
8571 | ||
3b9c1abd EB |
8572 | 2009-01-12 Eric Botcazou <ebotcazou@adacore.com> |
8573 | ||
8574 | * gcc-interface/decl.c (gnat_to_gnu_entity) <object>: Really strip | |
8575 | only useless conversions around renamed objects. | |
8576 | ||
13318d2f EB |
8577 | 2009-01-11 Eric Botcazou <ebotcazou@adacore.com> |
8578 | ||
8579 | * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Record_Subtype>: Put | |
8580 | the _Tag field before any discriminants in the field list. | |
8581 | (components_to_record): Remove obsolete comment. | |
8582 | ||
ad41bd84 JM |
8583 | |
8584 | \f | |
8ff1dd83 | 8585 | Copyright (C) 2009 Free Software Foundation, Inc. |
ad41bd84 JM |
8586 | |
8587 | Copying and distribution of this file, with or without modification, | |
8588 | are permitted in any medium without royalty provided the copyright | |
8589 | notice and this notice are preserved. |