]>
Commit | Line | Data |
---|---|---|
9011d4bb JS |
1 | 2005-01-27 Joel Sherrill <joel.sherrill@oarcorp.com> |
2 | Laurent GUERBY <laurent@guerby.net> | |
3 | ||
4 | PR ada/19488 | |
5 | * 5rosinte.ads: Add No_Key constant. | |
6 | * 5rtpopsp.adb: Initialize ATCB_Key with No_Key and fix style. | |
7 | * gsocket.h: Do not include <sys/socket.h> with RTEMS either. | |
8 | ||
d487e3c1 LG |
9 | 2005-01-26 Laurent GUERBY <laurent@guerby.net> |
10 | ||
11 | PR ada/19414 | |
12 | * i-cobol.adb (Valid_Numeric): Handle zero length case. | |
13 | ||
3f38e738 RH |
14 | 2005-01-20 Richard Henderson <rth@redhat.com> |
15 | ||
16 | * Makefile.in (alpha-linux, LIBGNAT_TARGET_PAIRS): Use | |
17 | a-intnam-linux.ads and system-linux-alpha.ads. | |
18 | * a-intnam-linux-alpha.ads: Remove file. | |
19 | * s-osinte-linux-alpha.ads (SIGUNUSED, SIGSTKFLT, SIGLOST): New. | |
20 | * system-linux-alpha.ads: New file. | |
21 | ||
4d960a7e JJ |
22 | 2005-01-18 Jakub Jelinek <jakub@redhat.com> |
23 | ||
24 | PR ada/13470 | |
25 | * a-stunau.adb (Get_String): Don't return U.Reference, but Ret that is | |
26 | set to the new string. | |
27 | ||
b4c6a3a2 TM |
28 | 2005-01-18 Toon Moene <toon@moene.indiv.nluug.nl> |
29 | ||
30 | * system-linux-ppc.ads: Set ZCX_By_Default and GCC_ZCX_Support | |
31 | to True. | |
32 | ||
8d5e1df2 RH |
33 | 2005-01-18 Richard Henderson <rth@redhat.com> |
34 | ||
35 | * Makefile.in (LIBGNAT_TARGET_PAIRS, TOOLS_TARGET_PAIRS, MISCLIB, | |
36 | THREADSLIB, GNATLIB_SHARED, PREFIX_OBJS, LIBRARY_VERSION): Specialize | |
37 | for alpha-linux. | |
38 | * s-osinte-linux-alpha.ads, a-intnam-linux-alpha.ads: New files. | |
39 | ||
03eef11c AP |
40 | 2005-01-14 Andrew Pinski <pinskia@physics.uc.edu> |
41 | ||
42 | * system-darwin-ppc.ads (ZCX_By_Default): Change to True. | |
43 | (GCC_ZCX_Support): Likewise. | |
44 | ||
bc7566ca BB |
45 | 2005-01-11 Bastian Blank <waldi@debian.org> |
46 | ||
47 | * system-linux-s390.ads: Define Preallocated_Stacks. | |
48 | * system-linux-s390x.ads: Likewise. | |
49 | ||
e550819c AC |
50 | 2005-01-04 Arnaud Charlet <charlet@adacore.com> |
51 | ||
52 | * gnat_ugn.texi: Fix texi errors with null variables. | |
53 | ||
376a74d4 AC |
54 | 2005-01-03 Thomas Quinot <quinot@adacore.com> |
55 | ||
56 | * gen-soccon.c: New utility program to generate g-soccon.ads | |
57 | automatically. | |
58 | ||
59 | * socket.c, gsocket.h: Split inclusion of system header files into a | |
60 | gsocket.h file separated from socket.c, to allow reuse in gen-soccon.c. | |
61 | ||
62 | * g-soccon.ads, g-soccon-unixware.ads, g-soccon-tru64.ads, | |
63 | g-soccon-aix.ads, g-soccon-irix.ads, g-soccon-hpux.ads, | |
64 | g-soccon-interix.ads, g-soccon-solaris.ads, g-soccon-mingw.ads, | |
65 | g-soccon-vxworks.ads, g-soccon-freebsd.ads: Note that these files | |
66 | should not be edited by hand anymore, but should be regenerated using | |
67 | gen-soccon. | |
68 | ||
69 | 2005-01-03 Robert Dewar <dewar@adacore.com> | |
70 | Ed Schonberg <schonberg@adacore.com> | |
71 | Vincent Celier <celier@adacore.com> | |
72 | ||
73 | * s-atacco.ads, a-direio.adb: Protect use of 'Constrained by warnings | |
74 | on/off, since this is an obsolescent feature, for which we now generate | |
75 | a warning. | |
76 | ||
77 | * sem_attr.adb (Analyze_Attribute, case Constrained): Issue warning if | |
78 | warning mode is set and obsolescent usage of this attribute occurs. | |
79 | (Resolve_Access, case 'Access): Note that GNAT uses the context type to | |
80 | disambiguate overloaded prefixes, in accordance with AI-235. GNAT code | |
81 | predates, and partly motivates, the adoption of the AI. | |
82 | Implement new Ada 2005 attribute Mod | |
83 | ||
84 | * exp_attr.adb (Expand_N_Attribute_Reference): Implement Ada 2005 | |
85 | attribute Mod. | |
86 | ||
87 | * par-ch4.adb (P_Name): In Ada 2005 mode, recognize new attribute Mod | |
88 | ||
89 | * snames.h, snames.ads, snames.adb: Add entry for No_Dependence for | |
90 | pragma restrictions. | |
91 | New entry for Ada 2005 attribute Mod. | |
92 | ||
93 | * par-prag.adb: | |
94 | Add recognition of new pragma Restrictions No_Dependence | |
95 | Recognize restriction No_Obsolescent_Features at parse time | |
96 | ||
97 | * bcheck.adb: Add circuitry for checking for consistency of | |
98 | No_Dependence restrictions. | |
99 | ||
100 | * lib-writ.ads, lib-writ.adb: Output new R lines for No_Dependence | |
101 | restrictions. | |
102 | ||
103 | * restrict.ads, restrict.adb: Add subprograms to deal with | |
104 | No_Dependence restrictions. | |
105 | ||
106 | * rtsfind.adb: Check that implicit with's do not violate No_Dependence | |
107 | restrictions. | |
108 | ||
109 | * sem_ch3.adb, sem_ch11.adb, sem_ch13.adb, lib-xref.adb, | |
110 | sem_attr.adb: Add check for new restriction No_Obsolescent_Features | |
111 | ||
112 | * scn.ads, prj-err.ads, prj-err.adb, ali-util.adb, gprep.adb: Add new | |
113 | dummy parameter to scng instantiation. | |
114 | Needed for new restriction No_Obsolescent_Features | |
115 | ||
116 | * scn.adb: (Obsolescent_Check): New procedure | |
117 | Needed for new restriction No_Obsolescent_Features | |
118 | ||
119 | * scng.ads, scng.adb: Always allow wide characters in Ada 2005 mode, as | |
120 | specified by AI-285, needed for implementation of AI-388 (adding greek | |
121 | pi to Ada.Numerics). | |
122 | Add new generic formal to scng, needed for new restriction | |
123 | No_Obsolescent_Features. | |
124 | ||
125 | * s-rident.ads: Add new restriction No_Obsolescent_Features. | |
126 | ||
127 | * ali.ads, ali.adb: Adjustments for reading new No_Dependence | |
128 | restrictions lines. | |
129 | (Scan_ALI): When finding an unexpected character on an R line, raise | |
130 | exception Bad_R_Line, instead of calling Fatal_Error, so that, when | |
131 | Ignore_Errors is True, default restrictions are set and scanning of the | |
132 | ALI file continues with the next line. Also, when Bad_R_Line is raised | |
133 | and Ignore_Errors is True, skip to the end of le line. | |
134 | ||
135 | * sem_ch10.adb: Check that explicit with's do not violate | |
136 | No_Dependence restrictions. | |
137 | (Install_Withed_Unit): Add code to implement AI-377 and diagnose | |
138 | illegal context clauses containing child units of instance. | |
139 | ||
140 | * sem_prag.adb: Processing and checking for new No_Dependence | |
141 | restrictions. | |
142 | (Analyze_Pragma, case Psect_Object): Call Check_Arg_Is_External_Name to | |
143 | analyze and check the External argument. | |
144 | ||
145 | * a-numeri.ads: Add greek letter pi as alternative spelling of Pi | |
146 | ||
147 | 2005-01-03 Robert Dewar <dewar@adacore.com> | |
148 | ||
149 | * atree.adb: Add a fifth component to entities | |
150 | This allows us to add 32 flags and four new fields | |
151 | ||
152 | * atree.ads: Add a fifth component to entities | |
153 | This allows us to add 32 flags and four new fields | |
154 | ||
155 | * einfo.ads, einfo.adb: Document new fields and new flags now available | |
156 | Add routines for printing new fields | |
157 | ||
158 | * treepr.adb: Call routines to print out additional fields if present | |
159 | ||
160 | 2005-01-03 Arnaud Charlet <charlet@adacore.com> | |
161 | ||
162 | * bld.ads, bld.adb, bld-io.ads, bld-io.adb, gprcmd.adb, | |
163 | gpr2make.ads, gpr2make.adb: Remove gpr2make, replaced by gprmake. | |
164 | ||
165 | * Makefile.in: Add support to build shared Ada libraries on solaris x86 | |
166 | Remove gpr2make, replaced by gprmake. | |
167 | Remove references to gnatmem and libaddr2line. | |
168 | Add indepsw.adb<indepsw-linux.adb to TOOLS_TARGET_PAIRS for IA64 linux. | |
169 | (gnatlib-shared-darwin): Add "-fno-common" to GNATLIBCFLAGS. | |
170 | Add support for specialized version of Ada.Numerics.Aux for Darwin: use | |
171 | a-numaux-darwin.ads and a-numaux-darwin.adb | |
172 | Enable mlib-tgt-lynxos.adb on lynxos. | |
173 | ||
174 | * Make-lang.in: Remove rules for gpr2make. | |
175 | When generating sdefault.adb, do not call Relocate_Path | |
176 | on S3 for function Target_Name, as it is not a path. | |
177 | Remove references to gnatmem and libaddr2line. | |
178 | ||
179 | * a-numaux-darwin.ads, a-numaux-darwin.adb, g-soccon-darwin.ads: New | |
180 | files. | |
181 | ||
182 | 2005-01-03 Samuel Tardieu <tardieu@adacore.com> | |
183 | ||
184 | * checks.adb (Apply_Alignment_Check): Generate a warning if an object | |
185 | address is incompatible with its base type alignment constraints when | |
186 | this can be decided statically. | |
187 | ||
188 | 2005-01-03 Olivier Hainque <hainque@adacore.com> | |
189 | ||
190 | * decl.c (compatible_signatures_p): New function. The intended purpose | |
191 | is to check if two function signatures for a call-site and a callee are | |
192 | compatible enough for the call to be valid. The underlying purpose is | |
193 | to check if a call to a mapped builtin is using the right interface. | |
194 | The current code actually does not check antyhing - this a placeholder | |
195 | for future refinements. | |
196 | (gnat_to_gnu_entity) <E_Subprogram_Call>: Add preliminary bits to handle | |
197 | builtin calls for convention Intrinsic. | |
198 | ||
199 | * gigi.h (builtin_decl_for): Declare (new function). | |
200 | ||
201 | * utils.c (gnat_install_builtins): Install the target specific builtins. | |
202 | (builtin_decl_for): New function, provide a dummy body for now. | |
203 | ||
204 | 2005-01-03 Geert Bosch <bosch@adacore.com> | |
205 | ||
206 | * eval_fat.adb: (Eps_Model,Eps_Denorm): Remove, no longer used. | |
207 | (Succ): Re-implement using Scaling, Exponent and Ceiling attributes. | |
208 | (Pred): Implement in terms of Succ. | |
209 | ||
210 | * trans.c (convert_with_check): Reimplement conversion of float to | |
211 | integer. | |
212 | ||
213 | 2005-01-03 Ed Schonberg <schonberg@adacore.com> | |
214 | Vincent Celier <celier@adacore.com> | |
215 | ||
216 | * exp_aggr.adb (Packed_Array_Aggregate_Handled): The values of the | |
217 | bounds can be negative, and must be declared Int, not Nat. | |
218 | ||
219 | * sem_elim.adb (Line_Num_Match): Correct wrong code when index in an | |
220 | array is checked after using the index in the array. | |
221 | ||
222 | * makegpr.adb (Add_Switches): Check if there is a package for the | |
223 | processor. If there is no package, do not look for switches. | |
224 | ||
225 | 2005-01-03 Ed Schonberg <schonberg@adacore.com> | |
226 | ||
227 | * exp_ch3.adb (Stream_Operations_OK): Predicate to determine when the | |
228 | generation of predefined stream operations (specs and bodies) should | |
229 | proceed. Under various restrictions these subprograms must not be | |
230 | generated. | |
231 | ||
232 | 2005-01-03 Thomas Quinot <quinot@adacore.com> | |
233 | ||
234 | * exp_dist.adb: | |
235 | Declare subprogram index in Build_RPC_Receiver_Body, to reduce the | |
236 | amount of PCS-specific code in RACW stubs generation. | |
237 | (Copy_Specification): Set Etype on copied formal parameter entities, as | |
238 | this information is needed for PolyORB stubs generation. | |
239 | (PolyORB_Support.Build_Subprogram_Receiving_Stubs): Remove unused | |
240 | variable Dynamic_Async. | |
241 | (Build_Subprogram_Receiving_Stubs): Make PCS-specific | |
242 | (Build_RPC_Receiver_Specification): Make generic again, as recent | |
243 | changes have allowed RPC receivers to have the same profile for both | |
244 | variants of the PCS. | |
245 | Reorganise RPC receiver generation to reduce differences between the | |
246 | structure of GARLIC and PolyORB RPC receivers. | |
247 | (Add_Receiving_Stubs_To_Declarations): Make this subprogram | |
248 | PCS-specific. | |
249 | Simplify elaboration code for RCI packages. | |
250 | ||
251 | * s-parint.ads, s-parint.adb, rtsfind.ads: Reorganise RPC receiver | |
252 | generation to reduce differences between the structure of GARLIC and | |
253 | PolyORB RPC receivers. | |
254 | ||
255 | * s-stratt.adb: Fix typo in comment. | |
256 | ||
257 | 2005-01-03 Thomas Quinot <quinot@adacore.com> | |
258 | ||
259 | * exp_ch7.ads (Make_Final_Call): Rewrite comment (was incorrectly | |
260 | copied from Make_Init_Call). | |
261 | ||
262 | * exp_strm.adb (Build_Mutable_Record_Read_Procedure): Do component | |
263 | reads and assignments on a temporary variable declared with appropriate | |
264 | discriminants. | |
265 | ||
266 | 2005-01-03 Robert Dewar <dewar@adacore.com> | |
267 | ||
268 | * i-c.adb (To_C): Raise CE if string is null and Append_Null | |
269 | ||
270 | 2005-01-03 Robert Dewar <dewar@adacore.com> | |
271 | ||
272 | * i-cstrin.adb (Update): Do not append a null in form called with a | |
273 | String. This avoids unintended behavior. | |
274 | ||
275 | 2005-01-03 Arnaud Charlet <charlet@adacore.com> | |
276 | ||
277 | PR ada/17527 | |
278 | * init.c: Fix warnings on Free BSD section. | |
279 | ||
280 | 2005-01-03 Arnaud Charlet <charlet@adacore.com> | |
281 | ||
282 | PR ada/16949 | |
283 | * sinfo.ads: Fix obsolete reference to xsinfo.spt (replaced by | |
284 | xsinfo.adb). | |
285 | ||
286 | 2005-01-03 Vincent Celier <celier@adacore.com> | |
287 | ||
288 | * make.adb (Collect_Arguments_And_Compile): Do not attempt to build | |
289 | libraries when Unique_Compile is True (-u switch). | |
290 | (Gnatmake): ditto. | |
291 | ||
292 | 2005-01-03 Robert Dewar <dewar@adacore.com> | |
293 | ||
294 | * namet.adb (Get_Decoded_Name_With_Brackets): Fix case of not allowing | |
295 | upper case letter or underscore after W, as allowed by spec. | |
296 | ||
297 | 2005-01-03 Arnaud Charlet <charlet@adacore.com> | |
298 | ||
299 | * s-osinte-darwin.ads, s-osinte-darwin.adb: Clean up | |
300 | darwin port by using proper type definitions from header files. | |
301 | Use SIGTERM instead of SIGABRT for SIGADAABORT. | |
302 | ||
303 | 2005-01-03 Robert Dewar <dewar@adacore.com> | |
304 | ||
305 | * par.adb: Enhance error message handling for configuration file | |
306 | pragmas. | |
307 | ||
308 | 2005-01-03 Robert Dewar <dewar@adacore.com> | |
309 | ||
310 | * s-arit64.adb (Double_Divide): Put back changes that got accidentally | |
311 | removed during the previous update (test properly for case of dividing | |
312 | largest negative number by -1, which generates overflow). | |
313 | ||
314 | 2005-01-03 Ed Schonberg <schonberg@adacore.com> | |
315 | Sergey Rybin <rybin@adacore.com> | |
316 | ||
317 | * sem_ch12.adb (Analyze_Package_Instantiation): Create a separate node | |
318 | to use as the defining identifier for a formal package. | |
319 | (Remove_Parent): If the instance takes place within (an instance of) | |
320 | a sibling, preserve private declarations of common parent. | |
321 | ||
322 | 2005-01-03 Ed Schonberg <schonberg@adacore.com> | |
323 | ||
324 | * sem_ch4.adb (Has_Fixed_Op): New predicate in Check_Arithmetic_Pair, | |
325 | to determine whether one of the operands is a fixed-point type for | |
326 | which a user-defined multiplication or division operation might be | |
327 | defined. | |
328 | ||
329 | * sem_res.adb (Valid_Conversion): The legality rules for conversions | |
330 | of access types are symmetric in Ada 2005: either designated type can | |
331 | be unconstrained. | |
332 | ||
333 | 2005-01-03 Vincent Celier <celier@adacore.com> | |
334 | ||
335 | * s-fileio.adb (Temp_File_Record): Change length of string component | |
336 | Name from L_tmpnam + 1 to max_path_len + 1. | |
337 | ||
338 | 2005-01-03 Arnaud Charlet <charlet@adacore.com> | |
339 | ||
340 | * s-tasini.ads, s-tasini.adb (Undefer_Abortion): Handle case of | |
341 | Self_Id.Deferral_Level = 0. | |
342 | (Do_Pending_Action): Move this function to the spec. | |
343 | ||
344 | * s-tasren.adb (Selective_Wait [Terminate_Selected]): Call | |
345 | Do_Pending_Action explicitely when needed, in case we're using | |
346 | No_Abort restrictions. | |
347 | ||
348 | * s-tassta.adb (Create_Task): If Abort is not allowed, reset the | |
349 | deferral level since it will not get changed by the generated code. | |
350 | Keeping a default value of 1 would prevent some operations (e.g. | |
351 | select or delay) to proceed successfully. | |
352 | ||
353 | 2005-01-03 Ben Brosgol <brosgol@adacore.com> | |
354 | Robert Dewar <dewar@adacore.com> | |
355 | Cyrille Comar <comar@adacore.com> | |
356 | ||
357 | * ug_words, gnat_ugn.texi: Added alpha-ivms transitioning section to | |
358 | porting guide chapter (vms version). | |
359 | Revised doc title (removed "for native platforms") and subtitle. | |
360 | Add discussion on warning flag for obsolescent features. First we | |
361 | note that it applies to obsolete GNAT features, which was previously | |
362 | omitted. Second we contrast the behavior with that of the new | |
363 | Ada 2005 AI-368 restriction No_Obsolescent_Features. | |
364 | Preliminary rewriting of GNAT & libraries chapter in order to take | |
365 | into account default project locations & new project manager | |
366 | capabilities. | |
367 | ||
368 | 2005-01-03 Robert Dewar <dewar@adacore.com> | |
369 | ||
370 | * cstand.adb (Create_Operators): Clean up format and documentation of | |
371 | unary and binary operator result tables. No change in code, just | |
372 | reformatting and addition of comments. | |
373 | ||
374 | * errout.ads, gnatfind.adb, s-maccod.ads, sem.adb, | |
375 | sem_ch2.adb: Minor reformatting | |
376 | ||
377 | * atree.ads, elists.ads, lib.ads, namet.ads, nlists.ads, repinfo.ads, | |
378 | sinput.ads, stringt.ads, uintp.ads, urealp.ads: Minor clarification to | |
379 | comments for Tree_Read and Tree_Write. | |
380 | ||
381 | 2005-01-03 Pascal Obry <obry@adacore.com> | |
382 | ||
383 | * exp_attr.ads: Minor reformatting. | |
384 | ||
385 | 2005-01-03 Romain Berrendonner <berrendo@adacore.com> | |
386 | ||
387 | * comperr.adb (Compiler_Abort): Add specialized message for GAP | |
388 | versions. | |
389 | ||
390 | 2005-01-03 Ed Schonberg <schonberg@adacore.com> | |
391 | ||
392 | * exp_pakd.adb (Create_Packed_Array_Type): Add a guard to check | |
393 | whether the ancestor type is private, as may be the case with nested | |
394 | instantiations. | |
395 | ||
15cd18b9 SS |
396 | 2004-12-30 Sohail Somani <sohail@sohailsomani.com> |
397 | ||
398 | PR ada/19128 | |
399 | * trans.c (gnat_to_gnu): Fix typo: Use correct return variable. | |
400 | ||
2614034e | 401 | 2004-12-23 Eric Botcazou <ebotcazou@libertysurf.fr> |
15cd18b9 | 402 | |
2614034e EB |
403 | * trans.c (Attribute_to_gnu): Adjust call to get_inner_reference. |
404 | * utils2.c (build_unary_op): Likewise. | |
405 | ||
ad50bc8d RH |
406 | 2004-12-22 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
407 | ||
408 | * trans.c (mark_visited): Set TYPE_SIZES_GIMPLIFIED. | |
409 | ||
ed9c846c RH |
410 | 2004-12-19 Richard Henderson <rth@redhat.com> |
411 | ||
412 | * trans.c (gigi): Update gimplify_body call. | |
413 | ||
08f2586c NS |
414 | 2004-12-09 Nathan Sidwell <nathan@codesourcery.com> |
415 | ||
416 | * decl.c (gnat_substitute_in_type): Remove SET_TYPE case. | |
417 | ||
180684eb AC |
418 | 2004-12-07 Ed Falis <falis@adacore.com> |
419 | ||
420 | * s-intman-vxworks.adb (Notify_Exception): removed useless check for | |
421 | current task being suspended. | |
422 | ||
423 | * init.c (__gnat_clear_exception): added to reset VxWorks exception | |
424 | count. | |
425 | (__gnat_map_signal): removed test for current task being suspended. | |
426 | ||
427 | 2004-12-07 Gary Dismukes <dismukes@adacore.com> | |
428 | ||
429 | * a-exexpr.adb (Others_Value, All_Others_Value): Change initial values | |
430 | from 16#BEEF# to 16#7FFF# to avoid exceeding Integer'Last on 16-bit | |
431 | targets (such as AAMP). | |
432 | ||
433 | 2004-12-07 Ed Schonberg <schonberg@adacore.com> | |
434 | ||
435 | * atree.adb (Visit_Itype): Create a new name for the generated itype, | |
436 | because the back-end may otherwise treat it as a redefinition of the | |
437 | old symbol. | |
438 | ||
439 | 2004-12-07 Eric Botcazou <ebotcazou@adacore.com> | |
440 | ||
441 | * back_end.adb (Scan_Back_End_Switches): Accept --param. | |
442 | ||
443 | * lang-specs.h: Accept --param. | |
444 | ||
445 | 2004-12-07 Vincent Celier <celier@adacore.com> | |
446 | ||
447 | * make.adb (Check_Mains, Switches_Of): Adapt to name changes in | |
448 | package Prj (Current_Spec_Suffix => Ada_Spec_Suffix, | |
449 | Current_Body_Suffix => Ada_Body_Suffix). | |
450 | Take into account Externally_Built attribute. | |
451 | ||
452 | * clean.adb (In_Extension_Chain): Always return False when one of the | |
453 | parameter is No_Project. | |
454 | (Clean_Project): Adapt to changes in package Prj (Lang_Ada => | |
455 | Ada_Language_Index). | |
456 | (Gnatclean): Adapt to change in package Prj.Pars (no parameter | |
457 | Process_Languages for procedure Parse). | |
458 | ||
459 | * gnatcmd.adb (Carg_Switches): New table. | |
460 | (GNATCmd): Put all switches following -cargs in the Carg_Switches table. | |
461 | Adapt to name changes in package Prj (Current_Spec_Suffix => | |
462 | Ada_Spec_Suffix, Current_Body_Suffix => Ada_Body_Suffix). | |
463 | ||
464 | * mlib-prj.adb: Adapt to changes in packages Prj and Prj.Com: type | |
465 | Header_Num and function Hash are now declared in package Prj, | |
466 | not Prj.Com. | |
467 | ||
468 | * prj.adb (Suffix_Of): New function. | |
469 | (Set (Suffix)): New procedure. | |
470 | (Hash): One function moved from Prj.Com | |
471 | (Is_Present, Language_Processing_Data_Of): New functions | |
472 | (Set): Two new procedures | |
473 | (Add_Language_Name, Display_Language_Name): New procedures | |
474 | ||
475 | * prj.ads: (Suffix_Of): New function | |
476 | (Set (Suffix)): New procedure | |
477 | Add several types and tables for multi-language support. | |
478 | (Header_Num): Type moved from Prj.Com | |
479 | (Hash): Two functions moved from Prj.Com | |
480 | (Is_Present, Language_Processing_Data_Of): New functions | |
481 | (Set): Two new procedures | |
482 | (Add_Language_Name, Display_Language_Name): New procedures | |
483 | (Naming): Component name changes: | |
484 | Current_Spec_Suffix => Ada_Spec_Suffix, | |
485 | Current_Body_Suffix => Ada_Body_Suffix. Add new components: | |
486 | Impl_Suffixes, Supp_Suffixes. | |
487 | (Project_Data): New components: Externally_Built, Supp_Languages, | |
488 | First_Language_Processing, Supp_Language_Processing, Default_Linker, | |
489 | Default_Linker_Path. | |
490 | ||
491 | * prj-attr.adb: Add new attributes Ada_Roots and Externally_Built and | |
492 | new package Language_Processing with its attributes (Compiler_Driver, | |
493 | Compiler_Kind, Dependency_Option, Compute_Dependency, Include_Option, | |
494 | Binder_Driver, Default_Linker). | |
495 | ||
496 | * prj-com.ads, prj-com.adb (Hash): Function moved to package Prj. | |
497 | (Header_Num): Type moved to package Prj | |
498 | ||
499 | * prj-env.adb: Adapt to name changes in package Prj | |
500 | (Current_Spec_Suffix => Ada_Spec_Suffix, | |
501 | Current_Body_Suffix => Ada_Body_Suffix). | |
502 | ||
503 | * prj-ext.adb: Add the default project dir (<prefix>/log/gnat) by | |
504 | default to the project path, except the "-" is one of the directories | |
505 | in env var ADA_PROJECT_PATH. | |
506 | (Current_Project_Path): Global variable, replacing Project_Path | |
507 | that was in the body of Prj.Part. | |
508 | (Project_Path): New function | |
509 | (Set_Project_Path): New procedure | |
510 | Initialize Current_Project_Path during elaboration of the package | |
511 | Remove dependency on Prj.Com, no longer needed | |
512 | ||
513 | * prj-ext.ads (Project_Path): New function | |
514 | (Set_Project_Path): New procedure | |
515 | ||
516 | * prj-nmsc.adb (Body_Suffix_Of): New function. Returns .<lang> when no | |
517 | suffix is defined for language <lang>. | |
518 | (Find_Sources, Record_Other_Sources): Use Body_Suffix_Of, instead of | |
519 | accessing directly the components of Naming. | |
520 | (Look_For_Sources): Use Set (Suffix) to set the suffix of a language. | |
521 | Reorganise of this package. | |
522 | Break procedure Check in several procedures. | |
523 | ||
524 | * prj-nmsc.ads: Replace all procedures (Ada_Check, | |
525 | Other_Languages_Check and Language_Independent_Check) with a single | |
526 | procedure Check. | |
527 | ||
528 | * prj-pars.ads, prj-pars.adb (Parse): Remove parameter | |
529 | Process_Languages, no longer needed. | |
530 | ||
531 | * prj-part.adb (Project_Path): Move to the body of Prj.Ext as | |
532 | Current_Project_Path. | |
533 | Remove elaboration code, moved to the body of Prj.Ext | |
534 | Use new function Prj.Ext.Project_Path instead of old variable | |
535 | Project_Path. | |
536 | (Post_Parse_Context_Clause): Get Resolved_Path as a case-sensitive path. | |
537 | When comparing with project paths on the stack, first put the resolved | |
538 | path in canonical case. | |
539 | (Parse_Single_Project): Set the path name of the project file in the | |
540 | tree to the normalized path. | |
541 | ||
542 | * prj-proc.ads, prj-proc.adb (Check, Recursive_Check, Process): Remove | |
543 | parameter Process_Languages, no longer needed. | |
544 | (Recursive_Check): Call Prj.Nmsc.Check, instead of Ada_Check and | |
545 | Other_Languages_Check. | |
546 | ||
547 | * prj-tree.ads (Project_Name_And_Node): New component Canonical_Path | |
548 | to store the resolved canonical path of the project file. | |
549 | Remove dependency to Prj.Com, no longer needed | |
550 | ||
551 | * prj-util.adb: Adapt to name changes in package Prj | |
552 | (Current_Spec_Suffix => Ada_Spec_Suffix, Current_Body_Suffix => | |
553 | Ada_Body_Suffix). | |
554 | ||
555 | * snames.ads, snames.adb: New standard names: Ada_Roots, Binder_Driver, | |
556 | Compiler_Driver, Compiler_Kind, Compute_Dependency, Default_Linker, | |
557 | Externally_Built, Include_Option, Language_Processing. | |
558 | ||
559 | * makegpr.adb: Numerous changes due to changes in packages | |
560 | Prj and Prj.Nmsc. | |
561 | ||
562 | * gnatls.adb: Add the default project dir (<prefix>/log/gnat) by | |
563 | default to the project path, except whe "-" is one of the directories | |
564 | in env var ADA_PROJECT_PATH. | |
565 | (Gnatls): In verbose mode, add the new section "Project Search Path:" | |
566 | ||
567 | 2004-12-07 Robert Dewar <dewar@adacore.com> | |
568 | ||
569 | * debug.adb: Document that -gnatdA automatically sets -gnatR3m | |
570 | ||
571 | * gnat1drv.adb (Gnat1drv): If debug flag A set, then automatically | |
572 | set -gnatR3m mode. | |
573 | ||
574 | * repinfo.adb (List_Rep_Info): Remove special handling of -gnatdA | |
575 | flag. No longer needed now that we handle this in gnat1drv.adb. | |
576 | ||
577 | * repinfo.ads: Minor reformatting | |
578 | ||
579 | 2004-12-07 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | |
580 | Olivier Hainque <hainque@adacore.com> | |
581 | Eric Botcazou <ebotcazou@adacore.com> | |
582 | ||
583 | * decl.c (maybe_pad_type): Use TYPE_SIZE_UNIT of the input type for | |
584 | TYPE_SIZE_UNIT of result type if SIZE is not specified. | |
585 | (make_aligning_type): Pass -1 as ADDRESSABLE to prevent the creation | |
586 | of a bitfield, which we know is useless and causes trouble because of | |
587 | alignment implications. | |
588 | ||
589 | * utils.c (create_var_decl): Set DECL_COMMON again on targets without | |
590 | BSS sections. | |
591 | (process_attributes): Clear DECL_COMMON again when a section attribute | |
592 | is present. | |
593 | (finish_record_type): Independently track if RECORD_TYPE has SIZE and/or | |
594 | SIZE_UNIT already set and use to compute final SIZE and SIZE_UNIT. | |
595 | (create_field_decl): Special case ADDRESSABLE negative to mean | |
596 | "no bitfield creation", to be used by make_aligning_type. Don't | |
597 | restrict bitfield creation to !ADDRESSABLE any more, as some BLKmode | |
598 | fields claimed addressable still have to be bitfields. Use | |
599 | value_factor_p instead of a raw binop construction to check for the | |
600 | position's alignment. | |
601 | ||
602 | 2004-12-07 Geert Bosch <bosch@adacore.com> | |
603 | ||
604 | * eval_fat.adb: Revert previous change. | |
605 | ||
606 | 2004-12-07 Thomas Quinot <quinot@adacore.com> | |
607 | Ed Schonberg <schonberg@adacore.com> | |
608 | ||
609 | * exp_ch4.adb (Expand_N_Indexed_Component): For an indexed component | |
610 | with an implicit dereference as its prefix, use | |
611 | Insert_Explicit_Dereference instead of merely rewriting the prefix into | |
612 | an explicit dereference. This ensures that a reference to the original | |
613 | prefix is generated, if appropriate. | |
614 | ||
615 | * sem_util.adb (Insert_Explicit_Dereference): When an implicit | |
616 | dereference is rewritten to an explicit one, generate a reference to | |
617 | the entity denoted by its prefix using the original prefix node, so | |
618 | the dereference can be properly recorded as a read of the denoted | |
619 | access value, if appropriate. | |
620 | ||
621 | * sem_warn.adb (Output_Unreferenced_Messages): Do not abstain from | |
622 | emitting 'assigned but never read' warning on a variable on the basis | |
623 | that it has an access type. | |
624 | (Check_References): Emit unreferenced warning when the scope is a | |
625 | subprogram body. | |
626 | ||
627 | 2004-12-07 Robert Dewar <dewar@adacore.com> | |
628 | Ed Schonberg <schonberg@adacore.com> | |
629 | ||
630 | * exp_ch6.adb (Expand_Call): Add comment on handling of back end | |
631 | intrinsic | |
632 | ||
633 | * exp_intr.adb (Expand_Intrinsic_Call): Ignore unrecognized intrinsic, | |
634 | leaving call unchanged. | |
635 | This deals with the case where the pragma Import specified | |
636 | an external name, to be handled by the back end. | |
637 | ||
638 | * sem_prag.adb (Process_Import_Or_Interface): Do not check validity of | |
639 | subprogram which is Imported with convention Intrinsic if an | |
640 | External_Name argument is specified. | |
641 | (Process_Import_Or_Interface): Properly diagnose link name argument. | |
642 | (Inlining_Not_Possible): New name for Cannot_Inline, to avoid confusion | |
643 | with Sem_Ch6.Cannot_Inline. | |
644 | (Process_Inline): Provide separate warning for inapplicable inline | |
645 | pragma. | |
646 | (Cannot_Inline): Reject subprograms that have an at_end handler, so that | |
647 | treatment is uniform on different targets. | |
648 | ||
649 | 2004-12-07 Ed Schonberg <schonberg@adacore.com> | |
650 | ||
651 | * exp_ch7.adb (Expand_Cleanup_Actions): If statement sequence of | |
652 | construct is rewritten, preserve end label to permit source navigation. | |
653 | ||
654 | 2004-12-07 Thomas Quinot <quinot@adacore.com> | |
655 | ||
656 | * exp_dist.adb (Specific_Build_General_Calling_Stubs, | |
657 | Specific_Build_Stub_Target): New subprograms. | |
658 | (Build_Subprogram_Calling_Stubs): Make this procedure independent from | |
659 | the PCS implementation used, using the above PCS-customized subprograms. | |
660 | Minor reformatting. | |
661 | (PolyORB_Support.Helpers): New subunit containing supporting subprograms | |
662 | for generation of DSA code targeted to the PolyORB PCS. | |
663 | (Add_Stub_Type): Rewrite to isolate the parts that are specific to one | |
664 | implementation of the partition communication subsystem in ancillary | |
665 | subprograms. | |
666 | (Specific_Build_Stub_Type, GARLIC_Support.Build_Stub_Type, | |
667 | PolyORB_Support.Build_Stub_Type): New subrograms containing the | |
668 | PCS-specific part of Add_Stub_Type. | |
669 | (Insert_Partition_Check): Use runtime library function to perform | |
670 | E.4(19) check. | |
671 | ||
672 | * rtsfind.ads: New entity System.PolyORB_Interface.Make_Ref | |
673 | (RE_Same_Partition): New entity, from s-parint. | |
674 | ||
675 | * s-parint.ads, s-parint.adb (Same_Partition): New subprogram. | |
676 | ||
677 | 2004-12-07 Gary Dismukes <dismukes@adacore.com> | |
678 | ||
679 | * gnatmem.adb, gnatname.adb, gnatsym.adb, gprcmd.adb, vms_conv.adb: | |
680 | Output the copyright message on a separate line from the version | |
681 | message. | |
682 | ||
683 | 2004-12-07 Joel Brobecker <brobecker@adacore.com> | |
684 | ||
685 | * g-os_lib.adb (Spawn): Explicitly initialize Saved_Error to avoid a | |
686 | compile-time warning. | |
687 | ||
688 | 2004-12-07 Robert Dewar <dewar@adacore.com> | |
689 | ||
690 | * g-regpat.adb: (Match): Change a misuse of or to or else | |
691 | ||
692 | 2004-12-07 Ed Schonberg <schonberg@adacore.com> | |
693 | ||
15cd18b9 | 694 | * lib-xref.adb: |
180684eb AC |
695 | (Generate_Reference): Handle properly a reference to an entry formal, |
696 | when an accept statement has a pragma Unreferenced for it. | |
697 | ||
698 | * sem_ch9.adb (Analyze_Accept_Statement): Reset the Is_Referenced flag | |
699 | and the Has_Pragma_Unreferenced flag for each formal before analyzing | |
700 | the body, to ensure that warnings are properly emitted for each accept | |
701 | statement of a given task entry. | |
702 | ||
703 | 2004-12-07 Vasiliy Fofanov <fofanov@adacore.com> | |
704 | ||
705 | * Makefile.in: Add support for foreign threads on VMS. | |
706 | ||
707 | 2004-12-07 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | |
708 | ||
709 | * misc.c (gnat_types_compatible_p, LANG_HOOKS_TYPES_COMPATIBLE_P): | |
710 | Remove. | |
711 | (LANG_HOOKS_REDUCE_BIT_FIELD_OPERATIONS): New. | |
712 | ||
713 | * adaint.h: (__gnat_dup, __gnat_dup2): Add missing decls. | |
714 | ||
715 | * trans.c (Exception_Handler_to_gnu_sjlj): Also handle renamed | |
716 | exception. | |
717 | (call_to_gnu): Convert to actual DECL_ARG_TYPE, not variant of it. | |
718 | ||
719 | 2004-12-07 Robert Dewar <dewar@adacore.com> | |
720 | ||
721 | * nlists.adb (Prepend_Debug): Remove parameters and nest within | |
722 | Prepend. | |
723 | (Remove_Next_Debug): Same fix | |
724 | ||
725 | * nlists.ads: Correct bad comments for Prev and Prev_Non_Pragma (we do | |
726 | maintain back pointers now, though we did not used to, and comments | |
727 | were out of date). | |
728 | (Prepend): Remove pragma Inline. | |
729 | (Remove_Next): Same cleanup | |
730 | ||
731 | 2004-12-07 Thomas Quinot <quinot@adacore.com> | |
732 | ||
733 | * sem_ch4.adb (Process_Implicit_Dereference_Prefix): New subprogram | |
734 | used to record an implicit dereference as a read operation on its | |
735 | prefix when operating under -gnatc. Necessary to avoid spurious | |
736 | 'variable assigned but never read' warnings in that mode. | |
737 | (Process_Indexed_Component, Analyze_Selected_Component): When the prefix | |
738 | is a non-overloaded implicit dereference, call the above subprogram to | |
739 | ensure proper recording of references. | |
740 | ||
741 | 2004-12-07 Gary Dismukes <dismukes@adacore.com> | |
742 | ||
743 | * sem_ch5.adb (One_Bound): Remove call to Resolve, as the bound needs | |
744 | to be resolved later as part of Analyze_Iteration_Scheme's call to | |
745 | Make_Index. | |
746 | ||
747 | 2004-12-07 Ed Schonberg <schonberg@adacore.com> | |
748 | ||
749 | * sem_ch8.adb (Find_Type): If node is a reference to 'Base and the | |
750 | prefix is not a scalar type, place error message on prefix, not on | |
751 | type entity. | |
752 | ||
753 | 2004-12-07 Bernard Banner <banner@adacore.com> | |
754 | ||
755 | * vxaddr2line.adb: Add support for x86 vxworks | |
756 | ||
757 | 2004-12-07 Thomas Quinot <quinot@adacore.com> | |
758 | ||
759 | * g-socket.ads (Get_Host_By_Address, Get_Host_By_Name): Clarify | |
760 | documentation of the behaviour of these functions when passed an IP | |
761 | address that has no record in the system hosts database and no reverse | |
762 | record in the DNS. | |
763 | ||
764 | * cstand.adb, a-tags.ads: Fix typos in comment. | |
765 | ||
766 | 2004-12-07 Robert Dewar <dewar@adacore.com> | |
767 | ||
768 | * exp_ch2.adb, exp_ch3.adb, exp_ch5.adb, exp_ch8.adb, | |
769 | exp_ch9.adb, exp_pakd.adb, interfac.ads, sem_ch6.adb, | |
770 | sem_ch7.adb, sem_ch10.adb, sem_ch13.adb, sem_ch3.adb, | |
771 | s-poosiz.ads: Minor reformatting | |
772 | ||
773 | * make.adb: Minor reformatting | |
774 | Add some ??? comments asking for more comments | |
775 | ||
776 | * s-poosiz.adb: Minor reformatting | |
777 | Add comments on alignment requirement | |
778 | ||
779 | * sinfo.ads: Remove obsolete comment and fix typo. | |
780 | ||
781 | 2004-12-07 Vincent Celier <celier@adacore.com> | |
782 | Sergey Rybin <rybin@adacore.com> | |
783 | ||
784 | * gnat_ugn.texi: Update the section "The GNAT Driver and Project | |
785 | Files" with the new tool and package names. | |
786 | Reformatting to suppress most of the warnings for line too long | |
787 | Document the new section "Project Search Path:" in the output of | |
788 | gnatls -v. | |
789 | Add gnatmetric section | |
790 | ||
791 | 2004-12-07 Vincent Celier <celier@adacore.com> | |
792 | ||
793 | * vms_data.ads: Correct GNAT METRIC qualifiers: -I-, -Idir and | |
794 | -gnatec= are not direct switches of gnatmetric. Changed -eis to -eps | |
795 | and -eit to -ept. Added qualifier | |
796 | /ELEMENT_METRICS=CONSTRUCT_NESTING_MAX for new switch -ec. | |
797 | ||
ed986c8e AS |
798 | 2004-11-27 Andreas Schwab <schwab@suse.de> |
799 | ||
800 | * Make-lang.in (ada/trans.o): Depend on $(EXPR_H). | |
801 | ||
3c13948a AC |
802 | 2004-11-25 Arnaud Charlet <charlet@adacore.com> |
803 | ||
804 | * g-socthi-mingw.ads, g-socthi-vms.ads: Remove C_Read and C_Write from | |
805 | internal implementation unit GNAT.Sockets.Thin, | |
806 | as their usage for sockets is non-portable (using the read and write | |
807 | functions from the system runtime library is fine on UNIX but won't | |
808 | work under Windows). | |
809 | ||
810 | * mingw32.h: Update copyright notice. | |
811 | ||
061fd2bf AC |
812 | 2004-11-25 Arnaud Charlet <charlet@adacore.com> |
813 | ||
814 | * ada-tree.h: Minor reformatting of previous change to avoid lines | |
815 | longer than 79 characters. | |
816 | ||
e850e1f4 OH |
817 | 2004-11-25 Olivier Hainque <hainque@adacore.com> |
818 | ||
819 | * tb-gcc.c: GCC infrastructure based implementation of | |
820 | __gnat_backtrace. | |
821 | ||
39afeb1a SB |
822 | 2004-11-24 Steven Bosscher <stevenb@suse.de> |
823 | ||
824 | * misc.c (gnat_post_options): Don't clear | |
825 | flag_inline_functions. | |
826 | ||
9633a6ac AP |
827 | 2004-11-22 Andrew Pinski <pinskia@physics.uc.edu> |
828 | ||
829 | PR ada/17986 | |
830 | * ada-tree.h (lang_tree_node): Set chain_next to be the chain of the | |
831 | tree. | |
832 | ||
7fe16580 AJ |
833 | 2004-11-21 Andreas Jaeger <aj@suse.de> |
834 | ||
835 | * stylesw.adb: Change Style_Check_Subprogram_Order to | |
836 | Style_Check_Order_Subprograms. | |
837 | ||
9716416b AC |
838 | 2004-11-18 Arnaud Charlet <charlet@adacore.com> |
839 | ||
840 | * adaint.h, adaint.c | |
841 | (__gnat_portable_spawn): Fix cast of spawnvp third parameter | |
842 | to avoid warnings. | |
843 | Add also a cast to kill another warning. | |
844 | (win32_no_block_spawn): Initialize CreateProcess's dwCreationFlags | |
845 | parameter with the priority class of the parent process instead of | |
846 | always using the NORMAL_PRIORITY_CLASS. | |
847 | (__gnat_dup): New function. | |
848 | (__gnat_dup2): New function. | |
849 | (__gnat_is_symbolic_link): Enable the effective body of this | |
850 | function when __APPLE__ is defined. | |
851 | ||
852 | * g-os_lib.ads, g-os_lib.adb (Spawn): Two new procedures. | |
853 | Update comments. | |
854 | ||
855 | 2004-11-18 Olivier Hainque <hainque@adacore.com> | |
856 | ||
857 | * a-exexpr.adb (Others_Value, All_Others_Value): New variables, the | |
858 | address of which may be used to represent "others" and "all others" | |
859 | choices in exception tables, instead of the current harcoded | |
860 | (void *)0 and (void *)1. | |
861 | (Setup_Exception): Do nothing in the GNAT SJLJ case. | |
862 | ||
863 | * gigi.h (others_decl, all_others_decl): New decls representing the | |
864 | new Others_Value and All_Others_Value objects. | |
865 | (struct attrib): Rename "arg" component as "args", since GCC expects a | |
866 | list of arguments in there. | |
867 | ||
868 | * raise.c (GNAT_OTHERS, GNAT_ALL_OTHERS): Are now the address of the | |
869 | corresponding objects exported by a-exexpr, instead of hardcoded dummy | |
870 | addresses. | |
871 | ||
872 | * trans.c (Exception_Handler_to_gnu_zcx): Use the address of | |
873 | others_decl and all_others_decl instead of hardcoded dummy addresses | |
874 | to represent "others" and "all others" choices, which is cleaner and | |
875 | more flexible with respect to the possible eh pointer encoding policies. | |
876 | ||
877 | * utils.c (init_gigi_decls): Initialize others_decl and all_others_decl. | |
878 | (process_attributes): Account for the naming change of the "args" | |
879 | attribute list entry component. | |
880 | ||
881 | * decl.c (build_attr_list): Rename into prepend_attributes to allow | |
882 | cumulating attributes for different entities into a single list. | |
883 | (gnat_to_gnu_entity): Use prepend_attributes to build the list of | |
884 | attributes for the current entity and propagate first subtype | |
885 | attributes to other subtypes. | |
886 | <E_Procedure>: Attribute arguments are attr->args and not | |
887 | attr->arg any more. | |
888 | (build_attr_list): Ditto. Make attr->args a TREE_LIST when there is an | |
889 | argument provided, as this is what GCC expects. Use NULL_TREE instead | |
890 | of 0 for trees. | |
891 | ||
892 | 2004-11-18 Robert Dewar <dewar@adacore.com> | |
893 | ||
15cd18b9 | 894 | * a-stmaco.ads, exp_util.ads, exp_util.adb, i-cpp.ads, i-cpp.adb: |
9716416b AC |
895 | Minor reformatting througout (including new function specs) |
896 | Add ??? comments asking for clarification. | |
897 | ||
898 | 2004-11-18 Thomas Quinot <quinot@adacore.com> | |
899 | ||
900 | * butil.ads, butil.adb, bindgen.adb (Get_Unit_Name_String): Remove | |
901 | incomplete duplicate implementation of this subprogram from butil. | |
902 | ||
903 | 2004-11-18 Thomas Quinot <quinot@adacore.com> | |
904 | ||
905 | * exp_dist.adb (Build_RPC_Receiver_Body): New subprogram. This | |
906 | procedures factors the common processing for building an RPC receiver | |
907 | for an RCI package or an RACW type. | |
908 | Stylistic cleanup: change '/= Empty' to 'Present ()'; move body of | |
909 | Build_Remote_Subprogram_Proxy_Type into proper alphabetical order. | |
910 | (Get_PCS_Name): New subprogram. Returns the name of the PCS currently | |
911 | in use. | |
912 | (Specific_Add_RACW_Features): New subprogram. PCS-specific part of | |
913 | Add_RACW_Features. | |
914 | (Specific_Add_RAST_Features): New subprogram. PCS-specific part of | |
915 | Add_RAST_Features. | |
916 | (Assign_Subprogram_Identifier): New subprogram. Provision for assigning | |
917 | distribution subprogram identifiers that are either subprogram numbers | |
918 | or strings. | |
919 | (Get_Subprogram_Ids): New subprogram. Retrieve both the numeric and | |
920 | string distribution identifiers assigned to a given subprogram. | |
921 | (Get_Subprogram_Id): Reimplement in terms of Get_Subprogram_Ids. | |
922 | (Add_RAS_Dereference_TSS): Add comments. | |
923 | (Build_General_Calling_Stubs): Note that the RACW_Type formal parameter | |
924 | is not referenced yet because it will be used by the PolyORB DSA | |
925 | implementation. | |
926 | (Insert_Partition_Check): Remove fossile code. | |
927 | (First_RCI_Subprogram_Id): Document this constant. | |
928 | (Add_RAS_Access_TSS): Correct the setting of the Etype of the | |
929 | RAS_Access TSS. | |
930 | (Get_Pkg_Name_String): Remove subprogram. Usage occurrences are | |
931 | replaced with calls to Get_Library_Unit_Name_String. Previously there | |
932 | were several instances of the same code in different locations in the | |
933 | compiler; this checkin completes the replacement of all of these | |
934 | instances with calls to a common subprogram. | |
935 | Minor reformatting. | |
936 | ||
937 | * sem_dist.adb: Remove comment noting that RPC receiver generation | |
938 | should be disabled for RACWs that implement RASs. | |
939 | (Process_Partition_Id): Use new subprogram Get_Library_Unit_Name_String. | |
940 | ||
941 | * sem_util.ads, sem_util.adb (Has_Stream): New function | |
942 | (Get_Library_Unit_Name_String): New subprogram to retrieve the fully | |
943 | qualified name of a library unit into the name buffer. | |
944 | (Note_Possible_Modification): Generate a reference only | |
945 | if the context comes from source. | |
946 | ||
947 | * snames.ads (PCS_Names): New subtype corresponding to names of | |
948 | supported implementations of the Partition Communication Subsystem | |
949 | (PCS) (i.e. the runtime library support modules for the distributed | |
950 | systems annex). | |
951 | ||
952 | 2004-11-18 Robert Dewar <dewar@adacore.com> | |
953 | Ed Schonberg <schonberg@adacore.com> | |
954 | ||
955 | * einfo.ads, einfo.adb: Remove Is_Psected flag, no longer used | |
956 | (Has_Rep_Pragma): New function | |
957 | (Has_Attribute_Definition_Clause): New function | |
958 | (Record_Rep_Pragma): Moved here from sem_ch13.adb | |
959 | (Get_Rep_Pragma): Remove junk kludge for Stream_Convert pragma | |
960 | ||
961 | * sem_ch13.ads, sem_ch13.adb (Record_Rep_Pragma): Moved to einfo.adb | |
962 | ||
963 | * exp_prag.adb: (Expand_Pragma_Common_Object): New procedure | |
964 | (Expand_Pragma_Psect_Object): New procedure | |
965 | These procedures contain the revised and cleaned up processing for | |
966 | these two pragmas. This processing was formerly in Sem_Prag, but | |
967 | is more appropriately moved here. The cleanup involves making sure | |
968 | that the pragmas are properly attached to the tree, and that no | |
969 | nodes are improperly shared. | |
970 | ||
971 | * sem_prag.adb: Move expansion of Common_Object and Psect_Object | |
972 | pragmas to Exp_Prag, which is more appropriate. | |
973 | Attach these two pragmas to the Rep_Item chain Use Rep_Item chain to | |
974 | check for duplicates Remove use of Is_Psected flag, no longer needed. | |
975 | Use new Make_String_Literal function with string. | |
976 | ||
977 | * exp_attr.adb (Expand_Fpt_Attribute): The floating-point attributes | |
978 | that are functions return universal values, that have to be converted | |
979 | to the context type. | |
980 | Use new Make_String_Literal function with string. | |
981 | (Get_Stream_Convert_Pragma): New function, replaces the use of | |
982 | Get_Rep_Pragma, which had to be kludged to work in this case. | |
983 | ||
984 | * freeze.adb: Use new Has_Rep_Pragma function | |
985 | ||
986 | * exp_intr.adb, exp_ch3.adb, sem_attr.adb: Use new Make_String_Literal | |
987 | function with string. | |
988 | Use new Has_Rep_Pragma function. | |
989 | ||
990 | * tbuild.ads, tbuild.adb (Make_String_Literal): New function, takes | |
991 | string argument. | |
992 | ||
993 | 2004-11-18 Robert Dewar <dewar@adacore.com> | |
994 | ||
995 | * errout.ads, errout.adb: (First_Sloc): New function | |
996 | ||
997 | * par-ch5.adb (P_Condition): Check for redundant parens is now a style | |
998 | check (-gnatyx) instead of being included as a redundant construct | |
999 | warning. | |
1000 | ||
1001 | * sem_ch6.adb: Change name Style_Check_Subprogram_Order to | |
1002 | Style_Check_Order_Subprograms. | |
1003 | ||
1004 | * style.ads, styleg.ads, styleg.adb, styleg-c.adb, stylesw.ads, | |
1005 | stylesw.adb: Add Style_Check_Xtra_Parens | |
1006 | ||
1007 | * usage.adb: Add line for -gnatyx (check extra parens) | |
1008 | ||
1009 | * vms_data.ads: Add entry for STYLE_CHECKS=XTRA_PARENS => -gnatyx | |
1010 | ||
1011 | 2004-11-18 Ed Schonberg <schonberg@adacore.com> | |
1012 | Robert Dewar <dewar@adacore.com> | |
1013 | ||
1014 | * exp_ch4.adb (Expand_N_Selected_Component): If the component is the | |
1015 | discriminant of a constrained subtype, analyze the copy of the | |
1016 | corresponding constraint, because in some cases it may be only | |
1017 | partially analyzed. | |
1018 | Removes long-lived ??? comments. | |
1019 | ||
1020 | * exp_ch7.adb (Establish_Transient_Scope): Remove complex code that | |
1021 | handled controlled or secondary-stack expressions within the | |
1022 | iteration_scheme of a loop. | |
1023 | ||
1024 | * sem_ch5.adb (Analyze_Iteration_Scheme): Build a block to evaluate | |
1025 | bounds that may contain functions calls, to prevent memory leaks when | |
1026 | the bound contains a call to a function that uses the secondary stack. | |
1027 | (Check_Complex_Bounds): Subsidiary of Analyze_Iteration_Scheme, to | |
1028 | generate temporaries for loop bounds that might contain function calls | |
1029 | that require secondary stack and/or finalization actions. | |
1030 | ||
1031 | * sem_ch4.adb (Analyze_Indexed_Component_Form): If the prefix is a | |
1032 | selected component and the selector is overloadable (not just a | |
1033 | function) treat as function call, Analyze_Call will disambiguate if | |
1034 | necessary. | |
1035 | (Analyze_Selected_Component): Do not generate an actual subtype for the | |
1036 | selected component if expansion is disabled. The actual subtype is only | |
1037 | needed for constraint checks. | |
1038 | (Analyze_Allocator): If restriction No_Streams is set, then do | |
1039 | not permit objects to be declared of a stream type, or of a | |
1040 | composite type containing a stream. | |
1041 | ||
1042 | * restrict.ads: Remove the a-stream entry from Unit_Array, since | |
1043 | No_Streams no longer prohibits with'ing this package. | |
1044 | ||
1045 | * sem_ch3.adb (Build_Derived_Record_Type): If the parent type has | |
1046 | discriminants, but the parent base has unknown discriminants, there is | |
1047 | no discriminant constraint to inherit. Such a discrepancy can arise | |
1048 | when the actual for a formal type with unknown discriminants is a | |
1049 | similar private type whose full view has discriminants. | |
1050 | (Analyze_Object_Declaration): If restriction No_Streams is set, then | |
1051 | do not permit objects to be declared of a stream type, or of a | |
1052 | composite type containing a stream. | |
1053 | ||
1054 | 2004-11-18 Ed Schonberg <schonberg@adacore.com> | |
1055 | ||
1056 | * exp_dbug.ads: Update documentation to reflect simpler encoding for | |
1057 | protected operations. | |
1058 | ||
1059 | * exp_ch9.adb (Build_Selected_Name): Do not include "PT" suffix in | |
1060 | generated name, it complicates decoding in gdb and hinders debugging | |
1061 | of protected operations. | |
1062 | (Build_Barrier_Function_Specification): Set the Needs_Debug_Info | |
1063 | flag for the protected entry barrier function. | |
1064 | (Build_Protected_Entry_Specification): Set the Needs_Debug_Info | |
1065 | flag for the protected entry function. | |
1066 | ||
1067 | 2004-11-18 Nicolas Setton <setton@adacore.com> | |
1068 | ||
1069 | * expect.c: Define __unix__ when __APPLE__ is defined. | |
1070 | ||
1071 | * Makefile.in: Inform the value of the variable GMEM_LIB in the | |
1072 | Darwin-specific section. | |
1073 | ||
1074 | * lang-specs.h: Change the placement of the %1 marker. | |
1075 | Works around the fact that gcc adds -fPIC by default under Darwin. | |
1076 | ||
1077 | 2004-11-18 Ed Schonberg <schonberg@adacore.com> | |
1078 | ||
1079 | * exp_pakd.adb (Convert_To_PAT_Type): After replacing the original | |
1080 | type of the object with the packed array type, set the Analyzed flag | |
1081 | on the object if it is an entity or simple indexed component, to avoid | |
1082 | spurious type errors. | |
1083 | ||
1084 | 2004-11-18 Gary Dismukes <dismukes@adacore.com> | |
1085 | ||
1086 | * gnat1drv.adb, gnatbind.adb, gnatchop.adb, gnatfind.adb, gnatlink.adb, | |
1087 | gnatls.adb, gnatxref.adb, gprep.adb: Output the copyright message on a | |
1088 | separate line from the version message. | |
1089 | ||
1090 | 2004-11-18 Ed Falis <falis@adacore.com> | |
1091 | ||
1092 | * init.c (__gnat_map_signal): map SIGSEGV to Storage_Error for AE653 | |
1093 | vthreads. | |
1094 | (init_float): Eliminate initialization of floating point status for | |
1095 | AE653. The instructions have no effect for vThreads. | |
1096 | ||
1097 | 2004-11-18 Vincent Celier <celier@adacore.com> | |
1098 | ||
1099 | * make.adb (Gnatmake): Invoke gnatlink with -shared-libgcc when | |
1100 | gnatbind is invoked with -shared. | |
1101 | ||
1102 | 2004-11-18 Jose Ruiz <ruiz@adacore.com> | |
1103 | ||
1104 | * s-tposen.adb (Lock_Entry): Remove the code for raising Program_Error | |
1105 | for Detect_Blocking which is redundant with the check done within the | |
1106 | procedure Protected_Single_Entry_Call. | |
1107 | (Lock_Read_Only_Entry): Remove the code for raising Program_Error for | |
1108 | Detect_Blocking which is redundant with the check done within the | |
1109 | procedure Protected_Single_Entry_Call. | |
1110 | ||
1111 | 2004-11-18 Vincent Celier <celier@adacore.com> | |
1112 | ||
1113 | * makegpr.adb (Compile): Put the compiling switches (in package | |
1114 | Compiler and on the command line) immediately after "-c", instead of | |
1115 | at the end of the command line invocation of the compiler, when | |
1116 | compiling a non-Ada file. | |
1117 | (Build_Global_Archive): When there is no need to rebuild the archive, | |
1118 | set Global_Archive_Exists, so that the archive is passed to the linker | |
1119 | if one is needed. | |
1120 | ||
1121 | 2004-11-18 Robert Dewar <dewar@adacore.com> | |
1122 | Sergey Rybin <rybin@adacore.com> | |
1123 | ||
15cd18b9 | 1124 | * gnat_ugn.texi: |
9716416b AC |
1125 | Remove extra paren check from list of checks for redundant constructs |
1126 | Add documentation of new -gnatyx style check (check extra parens) | |
1127 | Remove paragraph about gnatelim debug options. | |
1128 | ||
1129 | * gnat_rm.texi: Document that Ada.Streams now forbids creating stream | |
1130 | objects rather than forbidding dependencies on the package Ada.Streams. | |
1131 | ||
1132 | * sinfo.ads: Add ??? note that we should document pragmas passed to | |
1133 | back end. | |
1134 | ||
1135 | * g-expect.ads: Fix a few typos in the comments. | |
1136 | ||
9e637a26 JM |
1137 | 2004-11-09 Joseph S. Myers <joseph@codesourcery.com> |
1138 | ||
1139 | * misc.c (gnat_handle_option): Use %< and %> for quoting in | |
1140 | warning message. | |
1141 | ||
0506cb1c RO |
1142 | 2004-11-08 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
1143 | ||
1144 | * a-numaux-x86.adb (Tan): Fix fdivp syntax. | |
1145 | ||
426e7d28 AS |
1146 | 2004-11-07 Andreas Schwab <schwab@suse.de> |
1147 | ||
1148 | * Makefile.in (install-gnatlib): Remove spurious hyphen. | |
1149 | ||
8785609e | 1150 | 2004-11-02 Andrew Pinski <pinskia@physics.uc.edu> |
bb342a77 AP |
1151 | |
1152 | PR ada/18228 | |
1153 | * Makefile.in (darwin): Set soext to .dylib. | |
1154 | ||
0ca5fab2 AC |
1155 | 2004-10-26 Vincent Celier <celier@gnat.com> |
1156 | Thomas Quinot <quinot@act-europe.fr> | |
1157 | ||
1158 | * g-socthi-vms.adb, g-socthi-mingw.adb, g-socthi-vxworks.ads: | |
1159 | (C_Writev): Change MSG_Forced_Flags to Constants.MSG_Forced_Flags as | |
1160 | there is no use of GNAT.Sockets.Constants. | |
1161 | Remove remaining pragma Import for C_Write | |
1162 | Remove C_Read and C_Write from internal implementation unit | |
1163 | GNAT.Sockets.Thin, as their usage for sockets is non-portable (using | |
1164 | the read and write functions from the system runtime library is fine | |
1165 | on UNIX but won't work under Windows). | |
1166 | ||
1167 | * g-socket.adb: (Abort_Selector): Use C_Send instead of C_Write. | |
1168 | (Check_Selector): Use C_Recv instead of C_Read. | |
1169 | Selectors are the GNAT.Sockets abstraction to perform a select() | |
1170 | call on a set of descriptors. To allow abortion of an ongoing | |
1171 | select operation, some data is written to a dedicated socket that | |
1172 | is always monitored. | |
1173 | Under Windows, the write and read library functions cannot operate | |
1174 | on sockets, so we need to use send and recv instead, which is portable | |
1175 | across all supported platforms. | |
1176 | ||
1177 | * g-socthi.ads: Remove C_Read and C_Write from internal implementation | |
1178 | unit GNAT.Sockets.Thin, as their usage for sockets is non-portable | |
1179 | (using the read and write functions from the system runtime library is | |
1180 | fine on UNIX but won't work under Windows). | |
1181 | ||
1182 | 2004-10-26 Nicolas Setton <setton@act-europe.fr> | |
1183 | ||
1184 | * mlib-tgt-darwin.adb: New file. | |
1185 | ||
1186 | * mlib-tgt-tru64.adb, mlib-tgt-aix.adb, mlib-tgt-irix.adb, | |
1187 | mlib-tgt-hpux.adb, mlib-tgt-linux.adb, mlib-tgt-solaris.adb, | |
1188 | mlib-tgt-vms-alpha.adb, mlib-tgt-vms-ia64.adb, | |
1189 | mlib-tgt-mingw.adb, mlib-tgt-vxworks.adb (Archive_Indexer_Options): New | |
1190 | subprogram body. | |
1191 | ||
1192 | * Makefile.in: Add support for building shared libraries under Darwin. | |
1193 | (EXTRA_GNATRTL_NONTASKING_OBJS, ppc-vxworks): Add s-vxwexc.o, containing | |
1194 | the low level EH init subprogram to be called from __gnat_initialize. | |
1195 | ||
1196 | * mlib-tgt.ads, mlib-tgt.adb (Archive_Indexer_Options): New subprogram, | |
1197 | indicates which options to pass to the archive indexer. | |
1198 | ||
1199 | * mlib-utl.adb: Add support for calling ranlib with additional | |
1200 | options. This is needed for instance under Mac OS X. | |
1201 | (Ranlib_Options): New global variable, used to store the potential | |
1202 | options to pass to ranlib. | |
1203 | (Ar): Use Ranlib_Options when spawning ranlib. | |
1204 | (Initialize): Set the value of ranlib option. | |
1205 | ||
1206 | 2004-10-26 Olivier Hainque <hainque@act-europe.fr> | |
1207 | ||
1208 | * s-parame-linux.adb (Minimum_Stack_Size): Adjust to return 12K | |
1209 | instead of 8K, to reflect the real potential needs for stack-checking | |
1210 | in the ZCX case. | |
1211 | ||
1212 | 2004-10-26 Pascal Obry <obry@gnat.com> | |
1213 | ||
1214 | * s-parame-mingw.adb (Default_Stack_Size): Add some comments. | |
1215 | ||
1216 | * s-taprop-mingw.adb (Create_Task): Set initial stack size to 1024. On | |
1217 | Windows only the initial thread stack size can be set so it is good to | |
1218 | start we a low stack size. | |
1219 | The OS will adjust the size as needed. | |
1220 | ||
1221 | 2004-10-26 Olivier Hainque <hainque@act-europe.fr> | |
1222 | Nicolas Setton <setton@act-europe.fr> | |
1223 | ||
1224 | * expect.c, adaint.c, link.c, sysdep.c (unix sections): Guard with | |
1225 | "__unix__" instead of "unix". | |
1226 | The latter is implicitly defined by gcc3.2 but not by gcc >= 3.4, so the | |
1227 | sections were just mistakenly ignored. The former is | |
1228 | implicitely defined by gcc2.8, gcc3.2 and gcc3.4. | |
1229 | Update #ifdef preprocessor macro to detect the symbol __hpux__ instead | |
1230 | of hpux. This prevents an unwanted definition of the symbol | |
1231 | convert_addresses in adaint.o. | |
1232 | ||
1233 | 2004-10-26 Gary Dismukes <dismukes@gnat.com> | |
1234 | ||
1235 | * a-exexpr.adb (Setup_Key): Change initial value to 16#DEAD#, for | |
1236 | compatibility with type Unwind_Word on 16-bit targets such as AAMP. | |
1237 | ||
1238 | 2004-10-26 Cyrille Comar <comar@act-europe.fr> | |
1239 | ||
1240 | * a-filico.ads, a-filico.adb: fix incorrect header. | |
1241 | ||
1242 | 2004-10-26 Javier Miranda <miranda@gnat.com> | |
1243 | ||
1244 | * a-ststio.ads: Fix typo in identifier | |
1245 | ||
1246 | 2004-10-26 Thomas Quinot <quinot@act-europe.fr> | |
1247 | ||
1248 | * sem_ch4.adb: Minor reformatting. | |
1249 | ||
1250 | 2004-10-26 Ed Schonberg <schonberg@gnat.com> | |
1251 | ||
1252 | * checks.adb (Expr_Known_Valid): If floating-point validity checks are | |
1253 | enabled, check the result of unary and binary operations when the | |
1254 | expression is the right-hand side of an assignment. | |
1255 | ||
1256 | 2004-10-26 Vincent Celier <celier@gnat.com> | |
1257 | ||
1258 | * clean.adb (Delete): Do not output warnings when in quiet output and | |
1259 | not in verbose mode. | |
1260 | (Force_Deletions): New Boolean flag, defaulted to False | |
1261 | (Delete): Only delete a file if it is writable, and when | |
1262 | Force_Deletions is True. | |
1263 | (Parse_Cmd_Line): New switch -f: set Force_Deletions to True | |
1264 | (Usage): Line for new switch -f | |
1265 | (Clean_Directory): Use GNAT.OS_Lib.Set_Writable instead of rolling our | |
1266 | own. | |
1267 | ||
1268 | 2004-10-26 Eric Botcazou <ebotcazou@act-europe.fr> | |
1269 | ||
1270 | * decl.c (gnat_to_gnu_field): Use the type of the inner object for a | |
1271 | JM type only if its size matches that of the wrapper. When a size is | |
1272 | prescribed and the field is not aliased, remove the wrapper of a JM | |
1273 | type only if the size is not greater than that of the packed array. | |
1274 | (gnat_to_gnu_entity): Change the extension of packed array wrappers | |
1275 | from LJM to JM. | |
1276 | ||
1277 | 2004-10-26 Geert Bosch <bosch@gnat.com> | |
1278 | ||
1279 | * eval_fat.adb (Eps_Model,Eps_Denorm): Remove, no longer used. | |
1280 | (Succ): Re-implement using Scaling, Exponent and Ceiling attributes. | |
1281 | (Pred): Implement in terms of Succ. | |
1282 | ||
1283 | 2004-10-26 Ed Schonberg <schonberg@gnat.com> | |
1284 | ||
1285 | * exp_aggr.adb (Safe_Component): An aggregate component that is an | |
1286 | unchecked conversion is safe for in-place use if the expression of the | |
1287 | conversion is safe. | |
1288 | (Expand_Array_Aggregate): An aggregate that initializes an allocator may | |
1289 | be expandable in place even if the aggregate does not come from source. | |
1290 | (Convert_Array_Aggr_In_Allocator): New procedure to initialize the | |
1291 | designated object of an allocator in place, rather than building it | |
1292 | first on the stack. The previous scheme forces a full copy of the array, | |
1293 | and may be altogether unsusable if the size of the array is too large | |
1294 | for stack allocation. | |
1295 | ||
1296 | 2004-10-26 Robert Dewar <dewar@gnat.com> | |
1297 | ||
1298 | * exp_ch4.adb (Expand_N_Op_Eq): Make sure we expand a loop for array | |
1299 | compares if the component is atomic. | |
1300 | ||
1301 | * exp_ch5.adb (Expand_Assign_Array): Make sure we expand a loop for | |
1302 | array assignment if the component type is atomic. | |
1303 | ||
1304 | 2004-10-26 Ed Schonberg <schonberg@gnat.com> | |
1305 | Eric Botcazou <ebotcazou@act-europe.fr> | |
1306 | ||
1307 | * exp_ch6.adb (Expand_Actuals): If the actual for an in-out parameter | |
1308 | is aliased and is a by_reference type, do not pass by copy. | |
1309 | (Expand_N_Function_Call) <Rhs_Of_Assign_Or_Decl>: New function to | |
1310 | detect whether the call is in the right side of an assignment or | |
1311 | the expression of an object declaration. Recurse on component | |
1312 | association within aggregates. | |
1313 | Call it in the condition that determines whether the temporary is | |
1314 | necessary for correct stack-checking. | |
1315 | ||
1316 | 2004-10-26 Thomas Quinot <quinot@act-europe.fr> | |
1317 | ||
1318 | * exp_dist.adb (Build_General_Calling_Stubs): New formal parameter | |
1319 | RACW_Type, used in the PolyORB version. | |
1320 | Rename RCI_Info to RCI_Locator, for consistency between the PolyORB | |
1321 | version and the GARLIC version. | |
1322 | ||
15cd18b9 | 1323 | * snames.ads, snames.adb, s-parint.ads, s-parint.adb: |
0ca5fab2 AC |
1324 | Rename RCI_Info to RCI_Locator for better consistency between the |
1325 | GARLIC and PolyORB versions of the distributed systems annex. | |
1326 | (DSA_Implementation_Name): This enumeration lists the possible | |
1327 | implementations of the Partition Communication Subsystem for the | |
1328 | Distributed Systems Annex (DSA). The three available implementations | |
1329 | are the dummy stub implementation (No_DSA), and two versions based on | |
1330 | two different distribution runtime libraries: GARLIC and PolyORB. Both | |
1331 | the GARLIC PCS and the PolyORB PCS are part of the GLADE distribution | |
1332 | technology. | |
1333 | Change the literal GLADE_DSA to GARLIC_DSA to accurately describe | |
1334 | that organization. | |
1335 | ||
1336 | * rtsfind.ads: Rename RCI_Info to RCI_Locator for better consistency | |
1337 | between the GARLIC and PolyORB versions of the distributed systems | |
1338 | annex. | |
1339 | Remove RE_Unbounded_Reclaim_Pool since it is unused. | |
1340 | ||
1341 | 2004-10-26 Gary Dismukes <dismukes@gnat.com> | |
1342 | ||
1343 | * gnat1drv.adb: Suppress calling the back end when | |
1344 | Frontend_Layout_On_Target is true. | |
1345 | ||
1346 | 2004-10-26 Thomas Quinot <quinot@act-europe.fr> | |
1347 | ||
1348 | * g-os_lib.ads, g-os_lib.adb (Set_Executable, Set_Writable, | |
1349 | Set_Read_Only): New subprograms. | |
1350 | These new routines allow the user to set or unset the Owner execute | |
1351 | and Owner write permission flags on a file. | |
1352 | ||
1353 | * makegpr.adb, mlib.adb, mlib-prj.adb: Use | |
1354 | GNAT.OS_Lib.Set_Executable instead of rolling our own. | |
1355 | ||
1356 | 2004-10-26 Matthew Gingell <gingell@gnat.com> | |
1357 | ||
1358 | * i-cpp.ads, i-cpp.adb: Change layout of VTable for new C++ ABI. | |
1359 | ||
1360 | 2004-10-26 Pascal Obry <obry@gnat.com> | |
1361 | ||
1362 | * init.c (__gnat_error_handler) [Win32]: Instead of trying to read the | |
1363 | memory before the faulting page we properly test the process read | |
1364 | access for this address using appropriate Win32 routine. | |
1365 | (HPUX sections): guard with "__hpux__" instead of "hpux". | |
1366 | ||
1367 | 2004-10-26 Robert Dewar <dewar@gnat.com> | |
1368 | ||
1369 | * lib-xref.adb (Generate_Reference): Don't complain about reference to | |
1370 | entry parameter if pragma Unreferenced set, since we do not properly | |
1371 | handle the case of multiple parameters. | |
1372 | ||
1373 | 2004-10-26 Vincent Celier <celier@gnat.com> | |
1374 | ||
1375 | * prj-env.adb: (Contains_ALI_Files): New Boolean function | |
1376 | (Ada_Objects_Path.Add): For a library project, add to the object path | |
1377 | the library directory only if there is no object directory or if the | |
1378 | library directory contains ALI files. | |
1379 | (Set_Ada_Paths.Add.Recursive_Add): Ditto | |
1380 | ||
1381 | 2004-10-26 Vincent Celier <celier@gnat.com> | |
1382 | ||
1383 | * prj-nmsc.adb (Language_Independent_Check): Do not forbid virtual | |
1384 | extension of library projects. | |
1385 | ||
1386 | * prj-part.adb: If env var ADA_PROJECT_PATH is not defined, project | |
1387 | path defaults to ".:<prefix>/lib/gnat". | |
1388 | (Parse): For an extending all project, allow direct import of a project | |
1389 | that is virtually extended. | |
1390 | ||
1391 | * prj-proc.adb (Imported_Or_Extended_Project_From): If a project with | |
1392 | the specified name is directly imported, return its ID. Otherwise, if | |
1393 | an extension of this project is imported, return the ID of the | |
1394 | extension. | |
1395 | ||
1396 | 2004-10-26 Robert Dewar <dewar@gnat.com> | |
1397 | ||
1398 | * s-arit64.adb: (Le3): New function, used by Scaled_Divide | |
1399 | (Sub3): New procedure, used by Scaled_Divide | |
1400 | (Scaled_Divide): Substantial rewrite, avoid duplicated code, and also | |
1401 | correct more than one instance of failure to propagate carries | |
1402 | correctly. | |
1403 | (Double_Divide): Handle overflow case of largest negative number | |
1404 | divided by minus one. | |
1405 | ||
1406 | * s-arit64.ads (Double_Divide): Document that overflow can occur in | |
1407 | the case of a quotient value out of range. | |
1408 | Fix comments. | |
1409 | ||
1410 | 2004-10-26 Robert Dewar <dewar@gnat.com> | |
1411 | ||
1412 | * s-bitops.adb (Bit_Eq): Remove redundant check. | |
1413 | ||
1414 | * s-bitops.ads: Minor comment updates | |
1415 | Change some occurrences of Address to System.Address | |
1416 | ||
1417 | * s-carsi8.ads: Fix minor cut-and-paste error in comments | |
1418 | ||
1419 | 2004-10-26 Ed Schonberg <schonberg@gnat.com> | |
1420 | ||
1421 | * sem_attr.adb (Resolve_Attribute, case 'Access): Apply proper | |
1422 | accessibility check to prefix that is a protected operation. | |
1423 | ||
1424 | 2004-10-26 Ed Schonberg <schonberg@gnat.com> | |
1425 | ||
1426 | * sem_ch10.adb (Optional_Subunit): If file of expected subunit is | |
1427 | empty, post message on stub. | |
1428 | ||
1429 | 2004-10-26 Ed Schonberg <schonberg@gnat.com> | |
1430 | Javier Miranda <miranda@gnat.com> | |
1431 | ||
1432 | * sem_ch12.adb (In_Main_Context): Predicate to determine whether the | |
1433 | current instance appears within a unit that is directly in the context | |
1434 | of the main unit. | |
1435 | Used to determine whether the body of the instance should be analyzed | |
1436 | immediately after its spec, to make its subprogram bodies available | |
1437 | for front-end inlining. | |
1438 | (Analyze_Formal_Array_Type): Cleanup condition that checks that range | |
1439 | constraint is not allowed on the component type (AARM 12.5.3(3)) | |
1440 | ||
1441 | 2004-10-26 Cyrille Comar <comar@act-europe.fr> | |
1442 | ||
1443 | * sem_ch13.adb (Analyze_Attribute_Definition_Clause, case | |
1444 | 'Storage_Pool): enhance, document & limit detection of non-sharable | |
1445 | internal pools. | |
1446 | ||
1447 | * impunit.adb: Make System.Pool_Global and System.Pool_Local visible. | |
1448 | ||
1449 | * s-pooglo.ads: Add more documentation now that this pool is properly | |
1450 | documented. | |
1451 | ||
1452 | 2004-10-26 Ed Schonberg <schonberg@gnat.com> | |
1453 | ||
1454 | * sem_ch3.adb (Complete_Private_Subtype): If the full view is a task | |
1455 | or protected type with discriminants, do not constrain the | |
1456 | corresponding record type if the subtype declaration has no | |
1457 | discriminant constraints. This can be the case in source code, or in | |
1458 | the subtype declaration created to rename an actual type within an | |
1459 | instantiation. | |
1460 | ||
1461 | 2004-10-26 Ed Schonberg <schonberg@gnat.com> | |
1462 | ||
1463 | * sem_ch6.adb (Analyze_Subprogram_Body): If body is a subunit for a | |
1464 | different kind of stub (possibly wrong name for file), do not check | |
1465 | for conformance. | |
1466 | (Uses_Secondary_Stack): New subsidiary to Build_Body_To_Inline. If body | |
1467 | includes call to some function that returns an unconstrained type, do | |
1468 | not inline. | |
1469 | ||
1470 | 2004-10-26 Ed Schonberg <schonberg@gnat.com> | |
1471 | ||
1472 | * sem_elab.adb (Check_Elab_Call): Do not check a call that does not | |
1473 | appear in the code for the main unit. Dependencies among units in the | |
1474 | context of the main unit are established when those other units are | |
1475 | compiled. Otherwise spurious elaboration constraints can generate | |
1476 | incorrect elaboration circularities. | |
1477 | ||
1478 | 2004-10-26 Thomas Quinot <quinot@act-europe.fr> | |
1479 | Ed Schonberg <schonberg@gnat.com> | |
1480 | ||
1481 | * sem_util.adb (Is_Aliased_View): Defend against the case where this | |
1482 | subprogram is called with a parameter that is not an object name. This | |
1483 | situation arises for some cases of illegal code, which is diagnosed | |
1484 | later, and in this case it is wrong to call Is_Aliased, as that might | |
1485 | cause a compiler crash. | |
1486 | (Explain_Limited_Type): Refine previous fix to include | |
1487 | inherited components of derived types, to provide complete information. | |
1488 | ||
1489 | * exp_ch9.adb (Set_Privals): Set the Ekind of the actual object that | |
1490 | is the prival for a protected object. | |
1491 | It is necessary to mark this entity as a variable, in addition to | |
1492 | flagging it as Aliased, because Sem_Util.Is_Aliased_View has been | |
1493 | modified to avoid checking the Aliased flag on entities that are not | |
1494 | objects. (Checking that flag for non-objects is erroneous and could | |
1495 | lead to a compiler crash). | |
1496 | ||
1497 | 2004-10-26 Robert Dewar <dewar@gnat.com> | |
1498 | ||
1499 | * s-fatgen.adb (Pred): Fix redundant test for X > 0.0, since if | |
1500 | X_Frac = 0.5, then we know that the number X must be positive. | |
1501 | (Succ): Remove the same redundant test, and also fix the primary test | |
1502 | to test for X_Frac = -0.5 (used to be 0.5) which is clearly wrong. | |
1503 | Minor reformatting | |
1504 | (Decompose): Add fuller comments to spec | |
1505 | ||
1506 | 2004-10-26 Pascal Obry <obry@gnat.com> | |
1507 | ||
1508 | * tracebak.c (IS_BAD_PTR): Use IsBadCodePtr on Win32 to check for ptr | |
1509 | validity (process must have read access). Set to 0 in all other cases. | |
1510 | (STOP_FRAME): Now check for ptr validity to avoid a segmentation | |
1511 | violation on Win32. | |
1512 | (VALID_STACK_FRAME): Check for ptr validity on Win32 to avoid a | |
1513 | segmentation violation. | |
1514 | ||
1515 | 2004-10-26 Eric Botcazou <ebotcazou@act-europe.fr> | |
1516 | ||
1517 | * trans.c (call_to_gnu): For an (in-)out parameter passed by reference | |
1518 | whose type is a constructed subtype of an aliased object with an | |
1519 | unconstrained nominal subtype, convert the actual to the constructed | |
1520 | subtype before taking its address. | |
1521 | ||
1522 | 2004-10-26 Vincent Celier <celier@gnat.com> | |
1523 | ||
1524 | * a-dirval.ads, a-dirval.adb, a-dirval-vms.adb, a-dirval-mingw.adb | |
1525 | (Is_Path_Name_Case_Sensitive): New function | |
1526 | ||
1527 | * a-direct.adb (To_Lower_If_Case_Insensitive): New procedure | |
1528 | (Base_Name, Simple_Name, Current_Directory, Compose, | |
1529 | Containing_Directory, Full_Name): Call To_Lower_If_Case_Insensitive on | |
1530 | the result. | |
1531 | ||
1532 | 2004-10-26 Cyrille Comar <comar@act-europe.fr> | |
1533 | Vasiliy Fofanov <fofanov@act-europe.fr> | |
1534 | Vincent Celier <celier@gnat.com> | |
1535 | ||
1536 | * gnat_ugn.texi: Generalize "finding memory problems" section into a | |
1537 | "memory management issues" section and document some of the useful | |
1538 | memory pools provided as part of the GNAT library. | |
1539 | Remove "virtual" from declaration of A::method2 in | |
1540 | the simple example of Ada/C++ mixed system. | |
1541 | Library Projects may be virtually extended: their virtual extensions | |
1542 | are not Library Projects. | |
1543 | Added section on extending project hierarchies. | |
1544 | ||
d65c6710 | 1545 | 2004-10-19 Aaron W. LaFramboise <aaronavay62@aaronwl.com> |
aa75e737 AL |
1546 | |
1547 | * adaint.c (__gnat_get_libraries_from_registry): Cast value | |
1548 | to LPBYTE. | |
1549 | (__gnat_portable_spawn): Remove const. | |
1550 | ||
1551 | * mingw32.h (MAXPATHLEN): Check for previous definition. | |
1552 | ||
95e19580 MK |
1553 | 2004-10-17 Matthias Klose <doko@debian.org> |
1554 | ||
1555 | * gnatvsn.ads: Set gnat library version to 4.0. | |
1556 | ||
88a6ecb6 VC |
1557 | 2004-10-05 Vincent Celier <celier@gnat.com> |
1558 | ||
1559 | * mlib-tgt.ads: (Build_Dynamic_Library): New parameter Options_2 | |
1560 | ||
110aba14 LG |
1561 | 2004-10-04 Laurent GUERBY <laurent@guerby.net> |
1562 | ||
1563 | PR ada/15156 | |
1564 | * Makefile.in: Define and use RANLIB_FLAGS. | |
88a6ecb6 | 1565 | |
09552763 PO |
1566 | 2004-10-04 Pascal Obry <obry@gnat.com> |
1567 | ||
1568 | * tracebak.c: Always set LOWEST_ADDR to 0 on Win32 (as done on all | |
1569 | other x86 platforms). | |
1570 | ||
a8e490b7 OH |
1571 | 2004-10-04 Olivier Hainque <hainque@act-europe.fr> |
1572 | ||
1573 | * s-tassta.adb (Task_Wrapper): Make it Convention C, which makes sense | |
1574 | in general and triggers stack alignment adjustment for thread entry | |
1575 | points on targets where this is necessary. | |
1576 | ||
71c10a83 BB |
1577 | 2004-10-04 Bernard Banner <banner@gnat.com> |
1578 | ||
1579 | PR ada/13897 | |
1580 | ||
1581 | * Makefile.in: Add section for powerpc linux | |
1582 | Add variant i-vxwork-x86.ads | |
1583 | ||
1584 | * i-vxwork-x86.ads, system-linux-ppc.ads: New files. | |
1585 | ||
9a03df55 OH |
1586 | 2004-10-04 Olivier Hainque <hainque@act-europe.fr> |
1587 | ||
1588 | * init.c (__gnat_initialize): Call an Ada subprogram to perform the | |
1589 | table registration calls when need be. Ensures no reference to the crt | |
1590 | ctors symbol are issued in the SJLJ case, which avoids possible | |
1591 | undefined symbol errors in the case of modules to be statically linked | |
1592 | with the kernel. | |
1593 | ||
28d6470f JM |
1594 | 2004-10-04 Javier Miranda <miranda@gnat.com> |
1595 | ||
1596 | * sem_ch4.adb (Try_Object_Operation): Reformat the code to expand | |
1597 | in-line the code corresponding to subprogram Analyze_Actuals. In | |
1598 | addition, analyze the actuals only in case of subprogram call. | |
1599 | ||
06237875 EF |
1600 | 2004-10-04 Ed Falis <falis@gnat.com> |
1601 | ||
1602 | * s-vxwork-x86.ads: (FP_CONTEXT): Defined to be correct size | |
1603 | ||
259d6c3a SR |
1604 | 2004-10-04 Sergey Rybin <rybin@act-europe.fr> |
1605 | ||
1606 | * g-dirope.ads (Base_Name): Clarify the meaning of the Suffix parameter | |
1607 | in the documentation. | |
1608 | ||
6f21ed26 RD |
1609 | 2004-10-04 Robert Dewar <dewar@gnat.com> |
1610 | ||
1611 | * sem_ch5.adb (Unblocked_Exit_Count): Now used for blocks as well as | |
1612 | IF and CASE. | |
1613 | (Analyze_Block_Statement): Add circuitry to detect following dead code | |
1614 | (Check_Unreachable_Code): Handle case of block exit | |
1615 | ||
4cded177 RD |
1616 | 2004-10-04 Robert Dewar <dewar@gnat.com> |
1617 | ||
1618 | * g-spipat.adb: (XMatch): Avoid warning for Logic_Error call | |
1619 | (XMatchD): Avoid warning for Logic_Error call | |
1620 | ||
c6a60aa1 RD |
1621 | 2004-10-04 Robert Dewar <dewar@gnat.com> |
1622 | ||
1623 | * exp_ch4.adb (Is_Procedure_Actual): Correct so that this does not | |
1624 | consider expressions buried within a procedure actual to be an actual. | |
1625 | This caused some blowups with uses of packed slices within a procedure | |
1626 | actual. | |
1627 | ||
1fdebfe5 RD |
1628 | 2004-10-04 Robert Dewar <dewar@gnat.com> |
1629 | ||
1630 | * exp_ch3.adb (Needs_Simple_Initialization): Modular packed arrays no | |
1631 | longer need to be initialized to zero. | |
1632 | (Get_Simple_Init_Val): Modular packed arrays no longer need to be | |
1633 | initialized to zero. | |
1634 | ||
1635 | * checks.adb (Expr_Known_Valid): Packed arrays are now always | |
1636 | considered valid, even if the representation is modular. That's correct | |
1637 | now that we no longer initialize packed modular arrays to zero. | |
1638 | ||
1639 | * exp_dbug.ads: Clarify documentation on handling of PAD and JM | |
1640 | suffixes. These are now documented as the only cases in which the | |
1641 | debugger ignores outer records. | |
1642 | Previously, the spec allowed arbitrary suffixes for this purpose. | |
1643 | Change name of LJM to JM for packed array pad records | |
1644 | Create separate section on packed array handling, and add a whole new | |
1645 | set of comments to this section describing the situation with packed | |
1646 | modular types and justification requirements depending on endianness. | |
1647 | ||
cd91501c RD |
1648 | 2004-10-04 Robert Dewar <dewar@gnat.com> |
1649 | ||
1650 | * a-except.adb: Add a comment for last change | |
1651 | ||
1652 | * einfo.ads: Minor spelling correction in comment | |
1653 | ||
1654 | * exp_pakd.adb, gnatdll.adb, prj-attr.ads: Minor reformatting | |
1655 | ||
1656 | * sem_ch11.adb: Fix a case of using | instead of \ for continuation | |
1657 | messages. | |
1658 | ||
1659 | * sem_util.ads: Minor comment update | |
1660 | ||
c71c53a8 ES |
1661 | 2004-10-04 Ed Schonberg <schonberg@gnat.com> |
1662 | ||
1663 | * sem_ch6.adb (Analyze_Subprogram_Body): Do not treat Inline as | |
1664 | Inline_Always when in Configurable_Run_Time mode. | |
1665 | ||
1666 | * sem_prag.adb (Process_Convention): If entity is an inherited | |
1667 | subprogram, apply convention to parent subprogram if in same scope. | |
1668 | (Analyze_Pragma, case Inline): Do not treat Inline as Inline_Always | |
1669 | when in Configurable_Run_Time mode. | |
1670 | ||
71d9e9f2 ES |
1671 | 2004-10-04 Ed Schonberg <schonberg@gnat.com> |
1672 | ||
1673 | * sem_ch3.adb (Build_Derived_Record_Type): Set First/Last entity of | |
1674 | class_wide type after component list has been inherited. | |
1675 | ||
0b525bee ES |
1676 | 2004-10-04 Ed Schonberg <schonberg@gnat.com> |
1677 | ||
1678 | * sem_ch12.adb (Check_Generic_Actuals): New predicate | |
1679 | Denotes_Previous_Actual, to handle properly the case of a private | |
1680 | actual that is also the component type of a subsequent array actual. | |
1681 | The visibility status of the first actual is not affected when the | |
1682 | second is installed. | |
1683 | (Process_Nested_Formal): Subsidiary of Instantiate_Formal_Package, to | |
1684 | make fully recursive the treatment of formals of packages declared | |
1685 | with a box. | |
1686 | (Restore_Nested_Formal): Subsidiary of Restore_Private_Views, to undo | |
1687 | the above on exit from an instantiation. | |
1688 | (Denotes_Formal_Package): When called from Restore_Private_Views, ignore | |
1689 | current instantiation which is now complete. | |
1690 | (Analyze_Package_Instantiation): No instantiated body is needed if the | |
1691 | main unit is generic. Efficient, and avoid anomalies when a instance | |
1692 | appears in a package accessed through rtsfind. | |
1693 | ||
27ad9660 ES |
1694 | 2004-10-04 Ed Schonberg <schonberg@gnat.com> |
1695 | ||
1696 | * exp_ch6.adb (Expand_N_Function_Call): If stack checking is enabled, | |
1697 | do not generate a declaration for a temporary if the call is part of a | |
1698 | library-level instantiation. | |
1699 | ||
1c6c6771 ES |
1700 | 2004-10-04 Ed Schonberg <schonberg@gnat.com> |
1701 | ||
1702 | * sem_util.adb (Explain_Limited_Type): Ignore internal components when | |
1703 | searching for a limited component to flag. | |
1704 | ||
1705 | * exp_attr.adb (Freeze_Stream_Subprogram): Subsidiary procedure to | |
1706 | expansion of Input, to account for the fact that the implicit call | |
1707 | generated by the attribute reference must freeze the user-defined | |
1708 | stream subprogram. This is only relevant to 'Input, because it can | |
1709 | appear in an object declaration, prior to the body of the subprogram. | |
1710 | ||
1711 | * sem_ch13.adb (Rep_Item_Too_Late): Make the error non-serious, so that | |
1712 | expansion can proceed and further errors uncovered. | |
1713 | (Minor clean up): Fix cases of using | instead of \ for continuation | |
1714 | messages. | |
1715 | ||
8005f3e5 RK |
1716 | 2004-10-04 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
1717 | ||
1718 | * cuintp.c, decl.c, utils2.c: Use gcc_assert and gcc_unreachable. | |
1719 | ||
1720 | * trans.c (assoc_to_constructor): Fix unused var warning if no checking. | |
1721 | (gnat_gimplify_expr, case ADDR_EXPR): Fix error in last change. | |
1722 | Use gcc_assert and gcc_unreachable. | |
1723 | ||
1724 | * decl.c (gnat_to_gnu_entity, case object): Check and process a | |
1725 | specified alignment before validating size. | |
1726 | (gnat_to_gnu_entity) <E_Modular_Integer_Subtype>: Create a | |
1727 | stripped-down declaration for the type of the inner field when making | |
1728 | a JM type. | |
1729 | ||
1730 | * utils.c (finish_record_type): Do not compute the size in units | |
1731 | incrementally. Instead compute it once for the rep clause case. | |
1732 | Use gcc_assert and gcc_unreachable. | |
1733 | ||
6a294a29 VC |
1734 | 2004-10-04 Vincent Celier <celier@gnat.com> |
1735 | ||
1736 | * a-dirval-mingw.adb (Invalid_Character): Add '\' as invalid character | |
1737 | in file name. | |
1738 | (Is_Valid_Path_Name): Take '/' as a directory separator. | |
1739 | ||
9a080ea3 VC |
1740 | 2004-10-04 Vincent Celier <celier@gnat.com> |
1741 | ||
1742 | * prj-part.adb (Parse_Single_Project): Call Is_Extending_All | |
1743 | (Extended_Project) only if Extended_Project is defined, to avoid | |
1744 | assertion error. | |
1745 | (Post_Parse_Context_Clause): Always call Set_Path_Name_Of with a | |
1746 | resolved path. | |
1747 | (Parse_Single_Project): Ditto. | |
1748 | ||
1749 | * prj-env.adb (Set_Ada_Paths.Add.Recursive_Add): Do not call | |
1750 | Add_To_Project_Path for virtual projects. | |
1751 | ||
51004cb5 VC |
1752 | 2004-10-04 Vincent Celier <celier@gnat.com> |
1753 | ||
15cd18b9 SS |
1754 | * mlib-tgt-tru64.adb, mlib-tgt-aix.adb, mlib-tgt-irix.adb, |
1755 | mlib-tgt-hpux.adb, mlib-tgt-linux.adb, mlib-tgt-solaris.adb, | |
1756 | mlib-tgt-vms-alpha.adb, mlib-tgt-vms-ia64.adb, mlib-tgt-mingw.adb, | |
51004cb5 VC |
1757 | mlib-tgt-vxworks.adb, mlib-tgt.adb (Build_Dynamic_Library): New |
1758 | parameter Options_2. | |
1759 | ||
1760 | * mlib-prj.ads, mlib-prj.adb (Build_Library): Call | |
1761 | Build_Dynamic_Library with an empty Options_2. | |
1762 | ||
1763 | * mlib-utl.ads, mlib-utl.adb (Gcc): Parameter Options_2 has no | |
1764 | default anymore. | |
1765 | ||
1766 | * makegpr.adb (Get_Imported_Directories.add): Remove trailing | |
1767 | directory separator, if any. | |
1768 | (Gprmake): Do not allow mains on the command line for library projects. | |
1769 | Do not attempt to link when the project is a library project. | |
1770 | (Library_Opts): New table to store Library_Options. | |
1771 | (Build_Library): If Library_Options is specified, pass these options | |
1772 | when building a shared library. | |
1773 | ||
3b37ffbf JR |
1774 | 2004-10-04 Jose Ruiz <ruiz@act-europe.fr> |
1775 | ||
1776 | * s-tposen.adb (Service_Entry): The object must be always unlocked at | |
1777 | the end of this procedure now that the unlock operation was inserted | |
1778 | by the expander. | |
1779 | ||
b23e28d5 JR |
1780 | 2004-10-04 Jose Ruiz <ruiz@act-europe.fr> |
1781 | ||
1782 | * targparm.ads, targparm.adb (Targparm_Tags): Add PAS value | |
1783 | corresponding to the Preallocated_Stacks flags in System. | |
1784 | (Get_Target_Parameters): Including the processing for | |
1785 | Preallocated_Stacks. | |
1786 | ||
15cd18b9 SS |
1787 | * system.ads, system-vxworks-x86.ads, system-darwin-ppc.ads, |
1788 | system-vms_64.ads, system-unixware.ads, system-linux-ia64.ads, | |
1789 | system-freebsd-x86.ads, system-lynxos-ppc.ads, system-lynxos-x86.ads, | |
1790 | system-linux-x86_64.ads, system-tru64.ads, system-aix.ads, | |
1791 | system-vxworks-sparcv9.ads, system-vxworks-xscale.ads, | |
1792 | system-solaris-x86.ads, system-irix-o32.ads, system-irix-n32.ads, | |
1793 | system-hpux.ads, system-vxworks-m68k.ads, system-linux-x86.ads, | |
1794 | system-vxworks-mips.ads, system-os2.ads, system-interix.ads, | |
1795 | system-solaris-sparc.ads, system-solaris-sparcv9.ads, system-vms.ads, | |
1796 | system-mingw.ads, system-vms-zcx.ads, system-vxworks-ppc.ads, | |
b23e28d5 JR |
1797 | system-vxworks-alpha.ads: Add the flag Preallocated_Stacks, that is |
1798 | used to signal whether the compiler creates the required stacks and | |
1799 | descriptors for the different tasks (when True) or it is done by the | |
1800 | underlying operating system at run time (when False). | |
1801 | It is initially set to False in all targets. | |
1802 | ||
1803 | * exp_ch9.adb (Expand_N_Task_Type_Declaration): Create the task stack | |
1804 | if it is supported by the target. | |
1805 | (Make_Task_Create_Call): Pass the stack address if it has been | |
1806 | previously created. Otherwise pass a Null_Address. | |
1807 | ||
1808 | * snames.adb: Add _stack. | |
1809 | ||
1810 | * snames.ads: Add Name_uStack. Required to allow the expander to | |
1811 | statically allocated task stacks. | |
1812 | ||
1813 | * s-tarest.ads, s-tarest.adb (Create_Restricted_Task): Add | |
1814 | Stack_Address argument. | |
1815 | Check that its value is equal to Null_Address because this target does | |
1816 | not support the static stack allocation. | |
1817 | ||
6fd459bb TQ |
1818 | 2004-10-04 Thomas Quinot <quinot@act-europe.fr> |
1819 | ||
1820 | * usage.adb: Change "pragma inline" to "pragma Inline" in information | |
1821 | and error messages | |
1822 | ||
5885facb TQ |
1823 | 2004-10-04 Thomas Quinot <quinot@act-europe.fr> |
1824 | ||
1825 | * exp_dist.adb: Split declaration of asynchronous flag out of | |
1826 | Add_RACW_Read_Attribute. | |
1827 | Minor reformatting for better alignment with PolyORB version. | |
1828 | Store the entity for the asynchronous flag of an RACW, rather than the | |
1829 | expression, in the asynchronous flags table. This will allow this flag | |
1830 | to be used in other subprograms beside Add_RACW_Read_Attribute. | |
1831 | ||
d6c7ed50 TQ |
1832 | 2004-10-04 Thomas Quinot <quinot@act-europe.fr> |
1833 | ||
1834 | * g-socket.ads, g-socket.adb, g-socthi.adb, socket.c, | |
15cd18b9 SS |
1835 | g-soccon-aix.ads, g-soccon-irix.ads, g-soccon-hpux.ads, |
1836 | g-soccon-interix.ads, g-soccon-solaris.ads, g-soccon-vms.adb, | |
1837 | g-soccon-mingw.ads, g-soccon-vxworks.ads, g-soccon-freebsd.ads, | |
d6c7ed50 TQ |
1838 | g-soccon.ads, g-soccon-unixware.ads, g-soccon-tru64.ads: Add new |
1839 | sockets constant MSG_NOSIGNAL (Linux-specific). | |
1840 | Add new sockets constant MSG_Forced_Flags, list of flags to be set on | |
1841 | all Send operations. | |
1842 | For Linux, set MSG_NOSIGNAL on all send operations to prevent them | |
1843 | from trigerring SIGPIPE. | |
1844 | Rename components to avoid clash with Ada 2005 possible reserved | |
1845 | word 'interface'. | |
1846 | (Check_Selector): When the select system call returns with an error | |
1847 | condition, propagate Socket_Error to the caller. | |
1848 | ||
0f0377f6 JH |
1849 | 2004-10-01 Jan Hubicka <jh@suse.cz> |
1850 | ||
1851 | * misc.c (gnat_expand_body): Update call of tree_rest_of_compilation. | |
1852 | ||
2c9beb8a RD |
1853 | 2004-09-23 Robert Dewar <dewar@gnat.com> |
1854 | ||
1855 | PR ada/17540 | |
1856 | ||
1857 | * sem_prag.adb (Process_Import_Or_Interface): Don't set Is_Public here, | |
1858 | instead do this at freeze time (we won't do it if there is an address | |
1859 | clause). | |
1860 | Change "pragma inline" to "pragma Inline" in information and error | |
1861 | messages. | |
1862 | Minor reformatting. | |
1863 | ||
1864 | * freeze.adb (Check_Address_Clause): Remove previous change, not the | |
1865 | right way of doing things after all. | |
1866 | (Freeze_Entity): For object, set Is_Public for imported entities | |
1867 | unless there is an address clause present. | |
1868 | ||
2494e673 OH |
1869 | 2004-09-21 Olivier Hainque <hainque@act-europe.fr> |
1870 | ||
1871 | * decl.c (gnat_to_gnu_entity) <E_General_Access_Type>: Check for a | |
1872 | dummy designated type via TYPE_MODE instead of COMPLETE_TYPE_P. This | |
1873 | ensures proper handling of types with rep clauses, which might have | |
1874 | their TYPE_SIZE set already. | |
1875 | ||
910d20fc RD |
1876 | 2004-09-21 Robert Dewar <dewar@gnat.com> |
1877 | ||
1878 | * decl.c (gnat_to_gnu_type, case E_Modular_Integer_Type): Wrap modular | |
1879 | packed array types in both little- and big-endian cases. This change | |
1880 | ensures that we no longer count on the unused bits being initialized | |
1881 | for such types (and in particular ensures that equality testing will | |
1882 | only read the relevant bits). | |
1883 | Change name TYPE_LEFT_JUSTIFIED_MODULAR_P to TYPE_JUSTIFIED_MODULAR_P | |
1884 | These changes mean that we no longer need to initialize small packed | |
1885 | arrays. | |
1886 | (gnat_to_gnu_entity) <E_Record_Subtype>: Apply the same | |
1887 | optimization to an LJM field as to its parent field. | |
1888 | ||
1889 | * ada-tree.h, trans.c, utils.c, utils2.c: | |
1890 | Change name TYPE_LEFT_JUSTIFIED_MODULAR_P to TYPE_JUSTIFIED_MODULAR_P | |
1891 | ||
8f235343 JH |
1892 | 2004-09-20 Jan Hubicka <jh@suse.cz> |
1893 | ||
1894 | * utils.c (gnat_finalize): Remove. | |
1895 | (end_subprog_body): Directly call cgraph_finalize_function; | |
1896 | do not lower the nested functions. | |
1897 | ||
bb9be5eb RD |
1898 | 2004-09-20 Robert Dewar <dewar@gnat.com> |
1899 | ||
1900 | PR ada/17540 | |
1901 | ||
1902 | * freeze.adb (Check_Address_Clause): Reset Is_Imported and Is_Public | |
1903 | if an address clause is present, since that means that the Import | |
1904 | should be ignored. | |
1905 | ||
796ef2e2 AC |
1906 | 2004-09-20 Arnaud Charlet <charlet@act-europe.fr> |
1907 | ||
1908 | * 5tsystem.ads: Removed, no longer used. | |
1909 | ||
6615c446 JO |
1910 | 2004-09-17 Jeffrey D. Oldham <oldham@codesourcery.com> |
1911 | Zack Weinberg <zack@codesourcery.com> | |
1912 | ||
1913 | * ada-tree.def: Use tree_code_class enumeration constants | |
1914 | instead of code letters. | |
1915 | * ada-tree.h, decl.c, misc.c, trans.c, utils.c, utils2.c: | |
1916 | Update for new tree-class enumeration constants. | |
1917 | ||
93ed8a01 VC |
1918 | 2004-09-17 Vincent Celier <celier@gnat.com> |
1919 | ||
1920 | * prj-attr-pm.ads, prj-attr-pm.adb: New files, to split some private | |
1921 | capabilities of the general project manager. | |
1922 | ||
c885d7a1 AC |
1923 | 2004-09-09 Vincent Celier <celier@gnat.com> |
1924 | ||
1925 | * a-direct.ads: Add pragma Ada_05 | |
1926 | (Directory_Entry_Type): Give default value to component Kind to avoid | |
1927 | not initialized warnings. | |
1928 | ||
1929 | * a-direct.adb (Current_Directory): Remove directory separator at the | |
1930 | end. | |
1931 | (Delete_Directory, Delete_Tree): Raise Name_Error if Directory is not | |
1932 | an existing directory. | |
1933 | (Fetch_Next_Entry): Give default value to variable Kind to avoid warning | |
1934 | (Size (String)): Function C_Size returns Long_Integer, not File_Size. | |
1935 | Convert the result to File_Size. | |
1936 | ||
1937 | * prj.ads: (Project_Error): New exception | |
1938 | ||
1939 | * prj-attr.adb: Except in procedure Initialize, Fail comes from | |
1940 | Prj.Com, not from Osint. | |
1941 | (Attrs, Package_Attributes): Tables moved to private part of spec | |
1942 | (Add_Attribute, Add_Unknown_Package): Moved to new child package | |
1943 | Prj.Attr.PM. | |
1944 | (Register_New_Package (Name, Attributes), Register_New_Attribute): Raise | |
1945 | Prj.Project_Error after call to Fail. | |
1946 | (Register_New_Package (Name, Id)): Set Id to Empty_Package after calling | |
1947 | Fail. Check that package name is not already in use. | |
1948 | ||
1949 | * prj-attr.ads: Comment updates to indicate that all subprograms may be | |
1950 | used by tools, not only by the project manager, and to indicate that | |
1951 | exception Prj.Prj_Error may be raised in case of problem. | |
1952 | (Add_Unknown_Package, Add_Attribute): Moved to new child package | |
1953 | Prj.Attr.PM. | |
1954 | (Attrs, Package_Attributes): Table instantiations moved from the body to | |
1955 | the private part to be accessible from Prj.Attr.PM body. | |
1956 | ||
1957 | * prj-dect.adb (Parse_Package_Declaration): Call Add_Unknown_Package | |
1958 | from new package Prj.Attr.PM. | |
1959 | (Parse_Attribute_Declaration): Call Add_Attribute from new package | |
1960 | Prj.Attr.PM. | |
1961 | ||
1962 | * Makefile.in: Add prj-attr-pm.o to gnatmake object list | |
1963 | ||
1964 | * gnatbind.adb (Gnatbind): Correct warning message (Elaboration_Check | |
1965 | instead of Elaboration_Checks). | |
1966 | ||
1967 | * a-calend.adb: Minor reformatting | |
1968 | ||
1969 | 2004-09-09 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | |
1970 | ||
1971 | * gigi.h (maybe_pad_type): New declaration. | |
1972 | (create_subprog_type): New arg RETURNS_BY_TARGET_PTR. | |
1973 | ||
1974 | * ada-tree.h: (TYPE_RETURNS_BY_TARGET_PTR_P): New macro. | |
1975 | ||
1976 | * cuintp.c: Convert to use buildN. | |
1977 | ||
1978 | * decl.c (maybe_pad_type): No longer static. | |
1979 | (gnat_to_gnu_entity, case E_Function): Handle case of returning by | |
1980 | target pointer. | |
1981 | Convert to use buildN. | |
1982 | ||
1983 | * trans.c (call_to_gnu): Add arg GNU_TARGET; support | |
1984 | TYPE_RETURNS_BY_TARGET_PTR_P. All callers changed. | |
1985 | (gnat_to_gnu, case N_Assignment_Statement): Call call_to_gnu if call on | |
1986 | RHS. | |
1987 | (gnat_to_gnu, case N_Return): Handle TYPE_RETURN_BY_TARGET_PTR_P. | |
1988 | (gnat_gimplify_expr, case ADDR_EXPR): New case. | |
1989 | Convert to use buildN. | |
1990 | ||
1991 | * utils2.c (gnat_build_constructor): Also set TREE_INVARIANT and | |
1992 | TREE_READONLY for const. | |
1993 | Convert to use buildN. | |
1994 | ||
1995 | * utils.c (create_subprog_type): New operand RETURNS_BY_TARGET_PTR. | |
1996 | (create_var_decl): Refine when TREE_STATIC is set. | |
1997 | Convert to use buildN. | |
1998 | ||
1999 | 2004-09-09 Gary Dismukes <dismukes@gnat.com> | |
2000 | ||
2001 | * gnat_ugn.texi: Delete text relating to checking of ali and object | |
2002 | consistency. | |
2003 | ||
2004 | * a-except.adb (Rcheck_*): Add pragmas No_Return for each of these | |
2005 | routines. | |
2006 | ||
2007 | 2004-09-09 Jose Ruiz <ruiz@act-europe.fr> | |
2008 | ||
2009 | * gnat_ugn.texi: Add Detect_Blocking to the list of configuration | |
2010 | pragmas recognized by GNAT. | |
2011 | ||
2012 | * gnat_rm.texi: Document pragma Detect_Blocking. | |
2013 | ||
2014 | * s-solita.adb (Timed_Delay_T): When pragma Detect_Blocking is active, | |
2015 | raise Program_Error if called from a protected operation. | |
2016 | ||
2017 | * s-taprob.adb (Lock): When pragma Detect_Blocking is active increase | |
2018 | the protected action nesting level. | |
2019 | (Lock_Read_Only): When pragma Detect_Blocking is active increase the | |
2020 | protected action nesting level. | |
2021 | (Unlock): When pragma Detect_Blocking is active decrease the protected | |
2022 | action nesting level. | |
2023 | ||
2024 | * s-taskin.adb (Initialize_ATCB): Initialize to 0 the | |
2025 | Protected_Action_Nesting. | |
2026 | ||
2027 | * s-taskin.ads: Adding the field Protected_Action_Nesting to the | |
2028 | Common_ATCB record. It contains the dynamic level of protected action | |
2029 | nesting for each task. It is needed for checking whether potentially | |
2030 | blocking operations are called from protected operations. | |
2031 | (Detect_Blocking): Adding a Boolean constant reflecting whether pragma | |
2032 | Detect_Blocking is active or not in the partition. | |
2033 | ||
2034 | * s-tasren.adb (Call_Simple): When pragma Detect_Blocking is active, | |
2035 | raise Program_Error if called from a protected operation. | |
2036 | (Task_Entry_Call): When pragma Detect_Blocking is active, raise | |
2037 | Program_Error if called from a protected operation. | |
2038 | (Timed_Task_Entry_Call): When pragma Detect_Blocking is active, raise | |
2039 | Program_Error if called from a protected operation. | |
2040 | ||
2041 | * s-tassta.adb (Abort_Tasks): When pragma Detect_Blocking is active, | |
2042 | raise Program_Error if called from a protected operation. | |
2043 | ||
2044 | * s-tpoben.adb (Lock_Entries): When pragma Detect_Blocking is active, | |
2045 | raise Program_Error if called from a protected operation, and increase | |
2046 | the protected action nesting level. | |
2047 | (Lock_Read_Only_Entries): When pragma Detect_Blocking is active, raise | |
2048 | Program_Error if called from a protected operation, and increase the | |
2049 | protected action nesting level. | |
2050 | (Unlock_Entries): When pragma Detect_Blocking is active decrease the | |
2051 | protected action nesting level. | |
2052 | ||
2053 | * s-tposen.adb (Lock_Entry): When pragma Detect_Blocking is active, | |
2054 | raise Program_Error if called from a protected operation, and increase | |
2055 | the protected action nesting level. | |
2056 | (Lock_Read_Only_Entry): When pragma Detect_Blocking is active, raise | |
2057 | Program_Error if called from a protected operation, and increase the | |
2058 | protected action nesting level. | |
2059 | (Protected_Single_Entry_Call): When pragma Detect_Blocking is active, | |
2060 | raise Program_Error if called from a protected operation. | |
2061 | (Timed_Protected_Single_Entry_Call): When pragma Detect_Blocking is | |
2062 | active, raise Program_Error if called from a protected operation. | |
2063 | (Unlock_Entry): When pragma Detect_Blocking is active decrease the | |
2064 | protected action nesting level. | |
2065 | ||
2066 | * sem_util.adb (Check_Potentially_Blocking_Operation): Remove the | |
2067 | insertion of the statement raising Program_Error. The run time | |
2068 | contains the required machinery for handling that. | |
2069 | ||
2070 | * sem_util.ads: Change comment associated to procedure | |
2071 | Check_Potentially_Blocking_Operation. | |
2072 | This procedure does not insert a call for raising the exception because | |
2073 | that is currently done by the run time. | |
2074 | ||
2075 | * raise.h (__gnat_set_globals): Pass the detect_blocking parameter. | |
2076 | ||
2077 | * init.c: Add the global variable __gl_detect_blocking that indicates | |
2078 | whether pragma Detect_Blocking is active (1) or not (0). Needed for | |
2079 | making the pragma available at run time. | |
2080 | (__gnat_set_globals): Pass and update the detect_blocking parameter. | |
2081 | ||
2082 | * lib-writ.adb (Write_ALI): Set the DB flag in the ali file if | |
2083 | pragma Detect_Blocking is active. | |
2084 | ||
2085 | * lib-writ.ads: Document the Detect_Blocking flag (DB) in ali files. | |
2086 | ||
2087 | * ali.adb (Scan_ALI): Set the Detect_Blocking value to true if the flag | |
2088 | DB is found in the ali file. Any unit compiled with pragma | |
2089 | Detect_Blocking active forces its effect in the whole partition. | |
2090 | ||
2091 | * a-retide.adb (Delay_Until): Raise Program_Error if pragma | |
2092 | Detect_Blocking is active and delay is called from a protected | |
2093 | operation. | |
2094 | ||
2095 | * bindgen.adb (Gen_Adainit_Ada): When generating the call to | |
2096 | __gnat_set_globals, pass 1 as Detect_Blocking parameter if pragma | |
2097 | Detect_Blocking is active (0 otherwise). | |
2098 | (Gen_Adainit_C): When generating the call to __gnat_set_globals, pass 1 | |
2099 | as Detect_Blocking parameter if pragma Detect_Blocking is active (0 | |
2100 | otherwise). | |
2101 | ||
2102 | 2004-09-09 Thomas Quinot <quinot@act-europe.fr> | |
2103 | ||
2104 | * gnat_rm.texi: Rename GNAT.Perfect_Hash.Generators to | |
2105 | GNAT.Perfect_Hash_Generators, and remove the empty GNAT.Perfect_Hash | |
2106 | package. | |
2107 | ||
2108 | * s-parint.ads, s-parint.adb (Get_RAS_Info): New subprogram. | |
2109 | (Register_Receiving_Stub): Add Subp_Info formal parameter. | |
2110 | Update API in placeholder implemetation of s-parint to reflect changes | |
2111 | in distribution runtime library. | |
2112 | ||
2113 | * sem_ch3.adb (Expand_Derived_Record): Rename to | |
2114 | Expand_Record_Extension. | |
2115 | ||
2116 | * sem_disp.adb (Check_Controlling_Formals): Improve error message for | |
2117 | primitive operations of potentially distributed object types that have | |
2118 | non-controlling anonymous access formals. | |
2119 | ||
2120 | * sem_dist.ads, sem_dist.adb (Build_RAS_Primitive_Specification): New | |
2121 | subprogram. | |
2122 | New implementation of expansion for remote access-to-subprogram types, | |
2123 | based on the RACW infrastructure. | |
2124 | This version of sem_dist is compatible with PolyORB/DSA as well as | |
2125 | GLADE. | |
2126 | ||
2127 | * sem_prag.adb (Analyze_Pragma, case Pragma_Asynchronous): For a pragma | |
2128 | Asynchrronous that applies to a remote access-to-subprogram type, mark | |
2129 | the underlying RACW type as asynchronous. | |
2130 | ||
2131 | * link.c: FreeBSD uses GNU ld: set __gnat_objlist_file_supported and | |
2132 | __gnat_using_gnu_linker to 1. | |
2133 | ||
2134 | * Makefile.rtl, impunit.adb, g-perhas.ads, g-pehage.ads, | |
2135 | g-pehage.adb: Rename GNAT.Perfect_Hash.Generators to | |
2136 | GNAT.Perfect_Hash_Generators, and remove the empty | |
2137 | GNAT.Perfect_Hash package. | |
2138 | ||
2139 | * atree.adb: Minor reformatting | |
2140 | ||
2141 | * exp_ch3.adb (Expand_Derived_Record): Rename to | |
2142 | Expand_Record_Extension. | |
2143 | (Build_Record_Init_Proc.Build_Assignment): The default expression in | |
2144 | a component declaration must remain attached at that point in the | |
2145 | tree so New_Copy_Tree copies it if the enclosing record type is derived. | |
2146 | It is therefore necessary to take a copy of the expression when building | |
2147 | the corresponding assignment statement in the init proc. | |
2148 | As a side effect, in the case of a derived record type, we now see the | |
2149 | original expression, without any rewriting that could have occurred | |
2150 | during expansion of the ancestor type's init proc, and we do not need | |
2151 | to go back to Original_Node. | |
2152 | ||
2153 | * exp_ch3.ads (Expand_Derived_Record): Rename to | |
2154 | Expand_Record_Extension. | |
2155 | ||
2156 | * exp_dist.ads, exp_dist.adb (Underlying_RACW_Type): New subprogram. | |
2157 | Returns the RACW type used to implement a remote access-to-subprogram | |
2158 | type. | |
2159 | (Add_RAS_Proxy_And_Analyze, Build_Remote_Subprogram_Proxy_Type): | |
2160 | New subprograms. Used to create a proxy tagged object for a remote | |
2161 | subprogram. The proxy object is used as the designated object | |
2162 | for RAS values on the same partition (unless All_Calls_Remote applies). | |
2163 | (Build_Get_Unique_RP_Call): New subprogram. Build a call to | |
2164 | System.Partition_Interface.Get_Unique_Remote_Pointer. | |
2165 | (Add_RAS_Access_TSS, Add_RAS_Dereference_TSS): | |
2166 | Renamed from Add_RAS_*_Attribute. | |
2167 | (Add_Receiving_Stubs_To_Declarations): Generate a table of local | |
2168 | subprograms. | |
2169 | New implementation of expansion for remote access-to-subprogram types, | |
2170 | based on the RACW infrastructure. | |
2171 | ||
2172 | * exp_dist.ads (Copy_Specification): Update comment to note that this | |
2173 | function can copy the specification from either a subprogram | |
2174 | specification or an access-to-subprogram type definition. | |
2175 | ||
2176 | 2004-09-09 Ed Schonberg <schonberg@gnat.com> | |
2177 | ||
2178 | * sem_type.adb (Disambiguate): Handle properly an accidental ambiguity | |
2179 | in an instance, between an explicit subprogram an one inherited from a | |
2180 | type derived from an actual. | |
2181 | ||
2182 | * exp_ch6.adb (Expand_N_Subprogram_Body): If polling is enabled, do not | |
2183 | add a polling call if the subprogram is to be inlined by the back-end, | |
2184 | to avoid repeated calls with multiple inlinings. | |
2185 | ||
2186 | * checks.adb (Apply_Alignment_Check): If the expression in the address | |
2187 | clause is a call whose name is not a static entity (e.g. a dispatching | |
2188 | call), treat as dynamic. | |
2189 | ||
2190 | 2004-09-09 Robert Dewar <dewar@gnat.com> | |
2191 | ||
2192 | * g-trasym.ads: Minor reformatting | |
2193 | ||
2194 | * exp_ch3.adb (Component_Needs_Simple_Initialization): Don't except | |
2195 | packed arrays, since unused bits are expected to be zero for a | |
2196 | comparison. | |
2197 | ||
2198 | 2004-09-09 Eric Botcazou <ebotcazou@act-europe.fr> | |
2199 | ||
2200 | * exp_pakd.ads: Fix an inacurracy and a couple of typos in the head | |
2201 | comment. | |
2202 | ||
2203 | 2004-09-09 Pascal Obry <obry@gnat.com> | |
2204 | ||
2205 | * mdll.ads, mdll.adb (Build_Dynamic_Library): New parameter Map_File to | |
2206 | enable map file generation. Add the right option to generate the map | |
2207 | file if Map_File is set to True. | |
2208 | ||
2209 | * gnatdll.adb (Gen_Map_File): New variable. | |
2210 | (Syntax): Add info about new -m (Map_File) option. | |
2211 | (Parse_Command_Line): Add support for -m option. | |
2212 | (gnatdll): Pass Gen_Map_File to Build_Dynamic_Library calls. | |
2213 | Minor reformatting. | |
2214 | ||
2215 | 2004-09-09 Laurent Pautet <pautet@act-europe.fr> | |
2216 | ||
2217 | * gnatls.adb: Add a very verbose mode -V. Such mode is required by the | |
2218 | new gnatdist implementation. | |
2219 | Define a subpackage isolating the output routines specific to this | |
2220 | verbose mode. | |
2221 | ||
2222 | 2004-09-09 Joel Brobecker <brobecker@gnat.com> | |
2223 | ||
2224 | * Makefile.rtl: (GNATRTL_NONTASKING_OBJS): Add g-dynhta. | |
2225 | ||
2226 | * gnat_ugn.texi (Main Subprograms): Fix typo. Deduced, not deducted. | |
2227 | ||
2228 | 2004-09-09 Cyrille Comar <comar@act-europe.fr> | |
2229 | ||
2230 | * opt.adb (Set_Opt_Config_Switches): Use Ada_Version_Runtime to compile | |
2231 | internal unit. | |
2232 | ||
2233 | * opt.ads: Add Ada_Version_Runtime constant used to decide which | |
2234 | version of the language is used to compile the run time. | |
2235 | ||
2236 | 2004-09-09 Arnaud Charlet <charlet@act-europe.fr> | |
2237 | ||
2238 | * sem_util.adb (Requires_Transient_Scope): Re-enable handling | |
2239 | of variable length temporaries for function return now that the | |
2240 | back-end and gigi support it. | |
2241 | ||
23c7b149 | 2242 | 2004-09-01 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
6cdb2c6e AC |
2243 | |
2244 | * misc.c (gnat_print_type): Use TYPE_RM_SIZE_NUM. | |
2245 | ||
2246 | * trans.c (struct stmt_group): Delete field GLOBAL. | |
2247 | (gnat_init_stmt_group): Do not initialize it. | |
2248 | (call_to_gnu): Use save_expr, not protect_multiple_eval. | |
2249 | (Exception_Handler_to_gnu_sjlj): Call build_int_cst, not build_int_2 | |
2250 | (gnat_to_gnu, case N_Character_Literal, N_String_Literal): Likewise. | |
2251 | (gnat_to_gnu, case N_Compilation_Unit): Do not set GLOBAL in stmt group. | |
2252 | (start_stmt_group): Likewise. | |
2253 | (add_stmt, add_decl_expr): Rework handling of global DECL_EXPRs. | |
2254 | ||
2255 | * utils2.c (ggc.h): Include. | |
2256 | (build_call_raise): Call build_int_cst, not build_int_2. | |
2257 | ||
2258 | * utils.c (gnat_init_decl_processing): Fix arg to | |
2259 | build_common_tree_nodes. | |
2260 | (create_subprog_type): Do not use SET_TYPE_CI_CO_LIST. | |
2261 | (gnat_define_builtin): Set built_in_decls. | |
2262 | (init_gigi_decls): Call build_int_cst, not build_int_2. | |
2263 | ||
2264 | * ada-tree.h (struct lang_decl, struct lang_type): Field is type tree. | |
2265 | (GET_TYPE_LANG_SPECIFIC, SET_TYPE_LANG_SPECIFIC): New macros. | |
2266 | (GET_DECL_LANG_SPECIFIC, SET_DECL_LANG_SPECIFIC): Likewise. | |
2267 | (TYPE_CI_CO_LIST, SET_TYPE_CI_CO_LIST, TYPE_MODULE, | |
2268 | SET_TYPE_MODULE): Use them. | |
2269 | (TYPE_INDEX_TYPE, SET_TYPE_INDEX_TYPE, TYPE_DIGITS_VALUE): Likewise. | |
2270 | (SET_TYPE_DIGITS_VALUE, TYPE_UNCONSTRAINED_ARRAY): Likewise. | |
2271 | (SET_TYPE_UNCONSTRAINED_ARRAY, TYPE_ADA_SIZE, | |
2272 | SET_TYPE_ADA_SIZE): Likewise. | |
2273 | (TYPE_ACTUAL_BOUNDS, SET_TYPE_ACTUAL_BOUNDS): Likewise. | |
2274 | (DECL_CONST_CORRESPONDING_VAR, | |
2275 | SET_DECL_CONST_CORRESPONDING_VAR): Likewise. | |
2276 | (DECL_ORIGINAL_FIELD, SET_DECL_ORIGINAL_FIELD): Likewise. | |
2277 | (TYPE_RM_SIZE_INT, TYPE_RM_SIZE_ENUM, SET_TYPE_RM_SIZE_ENUM): Deleted. | |
2278 | (TYPE_RM_SIZE_NUM): New macro. | |
2279 | (TYPE_RM_SIZE): Modified to use above. | |
2280 | ||
2281 | * cuintp.c: (build_cst_from_int): New function. | |
2282 | (UI_To_gnu): Use it. | |
2283 | ||
2284 | * decl.c (gnat_to_gnu_entity): Use TYPE_RM_SIZE_NUM. | |
2285 | (make_type_from_size): Avoid changing TYPE_UNSIGNED of a type. | |
2286 | (gnat_substitute_in_type, case ARRAY_TYPE): If old had a | |
2287 | MIN_EXPR for the size, copy it into new. | |
2288 | ||
23c7b149 | 2289 | 2004-09-01 Robert Dewar <dewar@gnat.com> |
6cdb2c6e AC |
2290 | |
2291 | * exp_ch6.adb (Expand_Call): Properly handle validity checks for | |
2292 | packed indexed component where array is an IN OUT formal. This | |
2293 | generated garbage code previously. | |
2294 | ||
2295 | * gnat_ugn.texi: Document -fverbose-asm | |
2296 | ||
2297 | * gnat-style.texi: Minor updates (note that boolean constants and | |
2298 | variables are joined with AND/OR rather than short circuit forms). | |
2299 | ||
23c7b149 | 2300 | 2004-09-01 Ed Schonberg <schonberg@gnat.com> |
6cdb2c6e AC |
2301 | |
2302 | * exp_util.adb (Safe_Unchecked_Type_Conversion): Conversion is safe if | |
2303 | it is an upward conversion of an untagged type with no representation | |
2304 | change. | |
2305 | ||
23c7b149 | 2306 | 2004-09-01 Thomas Quinot <quinot@act-europe.fr> |
6cdb2c6e AC |
2307 | |
2308 | * rtsfind.ads: Move RCI_Subp_Info and RCI_Subp_Info_Array to | |
2309 | System.Partition_Interface. | |
2310 | ||
2311 | * checks.adb (Apply_Access_Checks): Do not generate checks when | |
2312 | expander is not active (but check for unset reference to prefix of | |
2313 | dereference). | |
2314 | ||
2315 | * sem_prag.adb (Analyze_Pragma, case Pragma_Debug): Uniformly rewrite | |
2316 | pragma Debug as an if statement with a constant condition, for | |
2317 | consistent treatment of entity references contained within the | |
2318 | enclosed procedure call. | |
2319 | ||
23c7b149 | 2320 | 2004-09-01 Vincent Celier <celier@gnat.com> |
6cdb2c6e AC |
2321 | |
2322 | * bindgen.adb: (Set_EA_Last): New procedure | |
2323 | (Gen_Exception_Table_Ada, Gen_Exception_Table_C): Use new procedure | |
2324 | Set_EA_Last. | |
2325 | (Gen_Adafinal_Ada): If no finalization, adafinal does nothing | |
2326 | (Gen_Output_File_Ada): Always call Gen_Adafinal_Ada, so that SAL can be | |
2327 | linked without errors. | |
2328 | (Gen_Exception_Table_Ada): Correct bugs when generating code for arrays | |
2329 | ST and EA. | |
2330 | (Gen_Exception_Table_C): Correct same bugs | |
2331 | ||
2332 | * vms_data.ads: Add new qualifier /VERBOSE_ASM to GCC_Switches | |
2333 | ||
2334 | * g-os_lib.adb (Normalize_Pathname.Get_Directory): When Dir is empty, | |
2335 | on Windows, make sure that the drive letter is in upper case. | |
2336 | ||
2337 | * g-os_lib.ads (Normalize_Pathname): Add a comment to indicate that on | |
2338 | Windows, when the drive letter is added and Case_Sensitive is True, the | |
2339 | drive letter is forced to upper case. | |
2340 | ||
2341 | * mlib-tgt-irix.adb (Build_Dynamic_Library): Transfer all -lxxx options | |
2342 | to Options_2 for the call to MLib.Utl.Gcc. | |
2343 | ||
2344 | * bld.adb (Put_Include_Project): Use '/', not '\' on Windows as | |
2345 | directory separator when defining BASE_DIR. | |
2346 | ||
23c7b149 | 2347 | 2004-09-01 Pascal Obry <obry@gnat.com> |
6cdb2c6e AC |
2348 | |
2349 | * gprcmd.adb (Extend): Do not output trailing directory separator. This | |
2350 | is not needed and it confuses Windows GNU/make which does not report | |
2351 | directory terminated by a slash as a directory. | |
2352 | (gprcmd): Idem for "pwd" internal command. | |
2353 | ||
2354 | * Makefile.generic: Use __GPRCOLON__ instead of pipe character in | |
2355 | target names rewrite to fix regressions with recent version of | |
2356 | GNU/make. Starting with GNU/make 3.80 the pipe character was not | |
2357 | handled properly anymore. | |
2358 | ||
4eb104c1 AS |
2359 | 2004-09-01 Andreas Schwab <schwab@suse.de> |
2360 | ||
2361 | * Make-lang.in (EXTRA_GNATBIND_OBJS): Revert last change. | |
2362 | * raise.c [!IN_RTS]: Undef abort. | |
2363 | ||
6a6bfc8e NS |
2364 | 2004-08-27 Nathan Sidwell <nathan@codesourcery.com> |
2365 | ||
ce552f75 NS |
2366 | * utils2.c (build_allocator): Use ssize_int. |
2367 | ||
6a6bfc8e NS |
2368 | * utils.c (gnat_init_decl_processing): Ada has a signed sizetype. |
2369 | ||
f8b7bf58 AS |
2370 | 2004-08-27 Andreas Schwab <schwab@suse.de> |
2371 | ||
2372 | * Make-lang.in (EXTRA_GNATBIND_OBJS): Add errors.o. | |
2373 | ||
15793d0c NS |
2374 | 2004-08-25 Nathan Sidwell <nathan@codesourcery.com> |
2375 | Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | |
6615c446 | 2376 | |
15793d0c NS |
2377 | * ada-tree.h (TYPE_RM_SIZE_INT): Use TYPE_LANG_SLOT_1. |
2378 | ||
7d60be94 NS |
2379 | 2004-08-25 Nathan Sidwell <nathan@codesourcery.com> |
2380 | ||
2381 | * cuintp.c (UI_To_gnu): Adjust build_int_cst calls. | |
2382 | * trans.c (Exception_Handler_to_gnu_sjlj, gnat_to_gnu): Likewise. | |
2383 | * utils.c (init_gigi_decls): Likewise. | |
2384 | * utils2.c (build_call_raise, build_allocator): Likewise. | |
6615c446 | 2385 | |
8c1d6d62 NS |
2386 | 2004-08-24 Nathan Sidwell <nathan@codesourcery.com> |
2387 | ||
7d60be94 | 2388 | * utils.c (gnat_init_decl_processing): Adjust |
8c1d6d62 NS |
2389 | build_common_tree_nodes call. |
2390 | ||
3224bead NS |
2391 | 2004-08-20 Nathan Sidwell <nathan@codesourcery.com> |
2392 | ||
2393 | * utils2.c (build_allocator): Use build_int_cst for negative | |
2394 | size types. | |
2395 | ||
4766261d RH |
2396 | 2004-08-18 Richard Henderson <rth@redhat.com> |
2397 | ||
2398 | * misc.c (LANG_HOOKS_HONOR_READONLY): Remove. | |
2399 | ||
1f6c00df NS |
2400 | 2004-08-16 Nathan Sidwell <nathan@codesourcery.com> |
2401 | ||
2402 | * cuintp.c (UI_To_gnu): Be more conservative with build_int_cst | |
2403 | call.s | |
2404 | * trans.c (Exception_Handler_to_gnu_sjlj): Likewise. | |
2405 | (gnat_to_gnu): Likewise. | |
2406 | ||
4c46b835 AC |
2407 | 2004-08-16 Pascal Obry <obry@gnat.com> |
2408 | ||
2409 | * adaint.c (__gnat_prj_add_obj_files): Set to 0 only on Win32 for GCC | |
2410 | backend prior to GCC 3.4. With GCC 3.4 we are using the GCC's shared | |
2411 | option and not mdll anymore. Update comment. | |
2412 | ||
2413 | 2004-08-16 Pascal Obry <obry@gnat.com> | |
2414 | ||
2415 | * bld.adb (Put_Include_Project): Properly handle directory separators | |
2416 | on Windows. | |
2417 | ||
2418 | 2004-08-16 Ed Schonberg <schonberg@gnat.com> | |
2419 | ||
2420 | * sem_ch4.adb (Try_Object_Operation): Restructure code. Optimize by | |
2421 | decreasing the number of allocated junk nodes while searching for the | |
2422 | appropriate subprogram. | |
2423 | ||
4a90aeeb NS |
2424 | 2004-08-15 Nathan Sidwell <nathan@codesourcery.com> |
2425 | ||
2426 | * cuintp.c (UI_To_gnu): Use build_int_cst.. | |
2427 | * trans.c (Exception_Handler_to_gnu_sjlj, gnat_to_gnu): Likewise. | |
2428 | * utils.c (init_gigi_decls): Likewise. | |
2429 | * utils2.c (build_call_raise): Likewise. | |
2430 | ||
244e5a2c AC |
2431 | 2004-08-13 Olivier Hainque <hainque@act-europe.fr> |
2432 | ||
2433 | * decl.c (gnat_to_gnu_entity) <E_Variable>: When building an allocator | |
2434 | for a global aliased object with a variable size and an unconstrained | |
2435 | nominal subtype, pretend there is no initializer if the one we have is | |
2436 | incomplete, and avoid referencing an inexistant component in there. The | |
2437 | part we have will be rebuilt anyway and the reference may confuse | |
2438 | further operations. | |
2439 | ||
2440 | 2004-08-13 Thomas Quinot <quinot@act-europe.fr> | |
2441 | ||
2442 | * einfo.ads: Minor reformatting | |
2443 | ||
2444 | * lib-writ.adb (Output_Main_Program_Line): Do not set parameter | |
2445 | restrictions in the ALI if we only want to warn about violations. | |
2446 | ||
2447 | 2004-08-13 Vincent Celier <celier@gnat.com> | |
2448 | ||
2449 | * ali.adb (Scan_ALI): Initialize component Body_Needed_For_SAL to False | |
2450 | when creating a new Unit_Record in table Units. | |
2451 | ||
2452 | * gnatls.adb (Output_Unit): In verbose mode, output the restrictions | |
2453 | that are violated, if any. | |
2454 | ||
2455 | * prj-nmsc.adb (Ada_Check.Get_Path_Names_And_Record_Sources): Do not | |
2456 | add directory separator if path already ends with a directory separator. | |
2457 | ||
2458 | 2004-08-13 Ed Schonberg <schonberg@gnat.com> | |
2459 | ||
2460 | * rtsfind.adb (Entity_Not_Defined): If the error ocurrs in a predefined | |
2461 | unit, this is an attempt to inline a construct that is not available in | |
2462 | the current restricted mode, so abort rather than trying to continue. | |
2463 | ||
2464 | * sem_ch3.adb (Build_Underlying_Full_View): If the new type has | |
2465 | discriminants that rename those of the parent, recover names of | |
2466 | original discriminants for the constraint on the full view of the | |
2467 | parent. | |
2468 | (Complete_Private_Subtype): Do not create a subtype declaration if the | |
2469 | subtype is an itype. | |
2470 | ||
2471 | * gnat_rm.texi: Added section on implementation of discriminated | |
2472 | records with default values for discriminants. | |
2473 | ||
2474 | 2004-08-13 Ed Schonberg <schonberg@gnat.com> | |
2475 | ||
2476 | PR ada/15601 | |
2477 | * sem_res.adb (Make_Call_Into_Operator): Handle properly the case where | |
2478 | the second operand is overloaded. | |
2479 | ||
1a186ec5 RH |
2480 | 2004-08-10 Richard Henderson <rth@redhat.com> |
2481 | ||
2482 | * utils.c (gnat_install_builtins): Remove __builtin_stack_alloc, | |
2483 | add __builtin_alloca. | |
2484 | ||
89f1a702 RH |
2485 | 2004-08-10 Richard Henderson <rth@redhat.com> |
2486 | ||
2487 | * config-lang.in (boot_language): Yes. | |
2488 | ||
5d09245e AC |
2489 | 2004-08-09 Thomas Quinot <quinot@act-europe.fr> |
2490 | ||
2491 | * g-socket.adb (Abort_Selector): Initialize Buf to prevent valgrind | |
2492 | from complaining on potential uninitialized reference. | |
2493 | Change calls to GNAT.Sockets.Thin.Is_Socket_In_Set to account for | |
2494 | new specification and test explicitly for non-zero return value. | |
2495 | ||
2496 | * g-socthi.ads (Is_Socket_In_Set): Declare imported function as | |
2497 | returning C.int, to avoid using a derived boolean type. | |
2498 | ||
2499 | * exp_ch5.adb (Make_Tag_Ctrl_Assignments): Use | |
2500 | Duplicate_Subexpr_No_Checks in preference to direct use of | |
2501 | Remove_Side_Effects and New_Copy_Tree. | |
2502 | Clear Comes_From_Source on prefix of 'Size attribute reference. | |
2503 | ||
2504 | * g-socthi.adb, g-socthi-vms.adb, g-socthi-mingw.adb, | |
2505 | g-socthi-vxworks.adb: Change calls to | |
2506 | GNAT.Sockets.Thin.Is_Socket_In_Set to account for new specification | |
2507 | and test explicitly for non-zero return value. | |
2508 | ||
6615c446 | 2509 | * g-socthi-vms.ads, g-socthi-mingw.ads, g-socthi-vxworks.ads: |
5d09245e AC |
2510 | (Is_Socket_In_Set): Declare imported function as returning C.int, to |
2511 | avoid using a derived boolean type. | |
2512 | ||
2513 | 2004-08-09 Albert Lee <lee@gnat.com> | |
2514 | ||
2515 | * system-irix-n32.ads: Refine tasking priority constants for IRIX. | |
2516 | ||
2517 | 2004-08-09 Pascal Obry <obry@gnat.com> | |
2518 | ||
2519 | * gnat_ugn.texi: Document new way to build DLLs on Windows using | |
2520 | GCC's -shared option. | |
2521 | ||
2522 | * mlib-tgt-mingw.adb (Build_Dynamic_Library): Pass GCC's options into | |
2523 | Options_2 parameter (options put after object files). | |
2524 | ||
2525 | 2004-08-09 Olivier Hainque <hainque@act-europe.fr> | |
2526 | ||
2527 | * decl.c (gnat_to_gnu_entity) <E_Array_Subtype>: Adjust condition to | |
2528 | ignore overflows on low and high bounds of an index to also account for | |
2529 | differences in signedness between sizetype and gnu_index_subtype. | |
2530 | These are as legitimate as the ones caused by a lower TYPE_PRECISION | |
2531 | on sizetype. | |
2532 | ||
2533 | 2004-08-09 Robert Dewar <dewar@gnat.com> | |
2534 | ||
2535 | * s-solita.ads, s-solita.adb: Minor reformatting | |
2536 | ||
2537 | * gnat_rm.texi: Add documentation for pragma Profile (Restricted) | |
2538 | Move pragma Restricted_Run_Time, No_Run_Time, Ravenscar to new | |
2539 | obsolescent section | |
2540 | Add note that No_Implicit_Conditionals does not suppress | |
2541 | run time constraint checks. | |
2542 | ||
2543 | * vms_conv.ads: Minor reformatting | |
2544 | ||
2545 | * s-secsta.adb: Use SS_Ptr instead of Mark_Id as stack pointer (cleanup | |
2546 | and necessary for following change). | |
2547 | (Mark): Return new format Mark_Id containing sec stack address | |
2548 | (Release): Use sec stack address from Mark_Id avoiding Self call | |
2549 | ||
2550 | * s-secsta.ads: Define SS_Ptr to be used instead of Mark_Id as stack | |
2551 | pointer (cleanup and necessary for following change). | |
2552 | Define Mark_Id as record containing address of secondary stack, that way | |
2553 | Release does not need to find the stack again, decreasing the number of | |
2554 | calls to Self and improving efficiency. | |
2555 | ||
2556 | * sem_util.ads: Add a ??? comment for Is_Local_Variable_Reference | |
2557 | ||
2558 | * sem_ch5.adb (Analyze_Case_Statement): Add circuitry to track value of | |
2559 | case variable into the individual case branches when possible. | |
2560 | ||
2561 | * sem_ch11.adb: Minor reformatting | |
2562 | ||
2563 | * prj.ads: Correct spelling of suffixs | |
2564 | ||
2565 | * prj-nmsc.adb: Minor reformatting | |
2566 | Correct spelling suffixs throughout (also in identifiers) | |
2567 | ||
2568 | * freeze.adb: Minor spelling correction | |
2569 | ||
2570 | * exp_ch2.adb: Cleanups to handling of Current_Value | |
2571 | (no functional effect). | |
2572 | ||
2573 | * bld.adb: Correct spelling of suffixs | |
2574 | ||
2575 | * einfo.adb (Enclosing_Dynamic_Scope): Defend against junk argument | |
2576 | ||
2577 | 2004-08-09 Ed Schonberg <schonberg@gnat.com> | |
2578 | ||
2579 | PR ada/15408 | |
2580 | ||
2581 | * sem_ch7.adb (Install_Private_Declarations): In the body of the | |
2582 | package or of a child, private entities are both immediately_visible | |
2583 | and not hidden. | |
2584 | ||
2585 | 2004-08-09 Ed Schonberg <schonberg@gnat.com> | |
2586 | ||
2587 | * sem_eval.adb (Eval_Integer_Literal): If the context is Any_Integer, | |
2588 | there are no range checks on the value of the literal. | |
2589 | ||
2590 | * exp_ch7.adb (Insert_Actions_In_Scope_Around): If the node being | |
2591 | wrapped is the triggering alternative of an asynchronous select, action | |
2592 | statements mustbe inserted before the select itself. | |
2593 | ||
2594 | * sem_attr.adb (Analyze_Attribute, case 'Size): Handle properly the | |
2595 | case where the prefix is a protected function call. | |
2596 | (Resolve_Attribute, case 'Access): The attribute reference on a | |
2597 | subprogram is legal in a generic body if the subprogram is declared | |
2598 | elsewhere. | |
2599 | ||
2600 | 2004-08-09 Vincent Celier <celier@gnat.com> | |
2601 | ||
2602 | * makegpr.adb (Build_Library): Link with g++ if C++ is one of the | |
2603 | languages, otherwise building the library may fail with unresolved | |
2604 | symbols. | |
2605 | (Compile_Sources): Do not build libraries if -c switch is used | |
2606 | ||
2607 | * gnatlink.adb (Process_Args): New switches -M and -Mmap | |
2608 | (Write_Usage): If map file creation is supported, output new switches | |
2609 | -M and -Mmap. | |
2610 | (Gnatlink): When -M is specified, add the necessary switch(es) to the | |
2611 | gcc call, when supported. | |
2612 | ||
2613 | * Makefile.in: Added indepsw.o to the object list for gnatlink | |
2614 | Specified the AIX, GNU/Linux and Windows versions of indepsw.adb | |
2615 | ||
2616 | * indepsw-aix.adb, indepsw-linux.adb, indepsw-mingw.adb, | |
2617 | indepsw.adb, indepsw.ads: New files. | |
2618 | ||
2619 | 2004-08-09 Bernard Banner <banner@gnat.com> | |
2620 | ||
2621 | * system-vxworks-x86.ads, s-vxwork-x86.ads: New files. | |
2622 | ||
2623 | * Makefile.in: add section for vxworks x86 | |
2624 | ||
2625 | 2004-08-09 Hristian Kirtchev <kirtchev@gnat.com> | |
2626 | ||
2627 | * exp_ch3.adb (Build_Init_Statements): Add extra condition to deal with | |
2628 | per-object constrained components where the discriminant is of an | |
2629 | Access type. | |
2630 | (Build_Record_Init_Proc): Add condition to prevent the inheritance of | |
2631 | the parent initialization procedure for derived Unchecked_Unions. | |
2632 | Instead, derived Unchecked_Unions build their own initialization | |
2633 | procedure. | |
2634 | (Build_Variant_Record_Equality): Implement Unchecked_Union equality. | |
2635 | Check the body of the subprogram for details. | |
2636 | (Freeze_Record_Type): Prevent the inheritance of discriminant checking | |
2637 | functions for derived Unchecked_Union types by introducing a condition. | |
2638 | Allow the creation of TSS equality functions for Unchecked_Unions. | |
2639 | (Make_Eq_Case): Rename formal parameter Node to E in function signature. | |
2640 | Add formal parameter Discr to function signature. Discr is used to | |
2641 | control the generated case statement for Unchecked_Union types. | |
2642 | (Make_Eq_If): Rename formal parameter Node to E in function signature. | |
2643 | ||
2644 | * exp_ch4.adb (Build_Equality_Call): Implement equality calls for | |
2645 | Unchecked_Unions. | |
2646 | Check the body of the subprogram for details. | |
2647 | (Expand_Composite_Equality): Augment composite type equality to include | |
2648 | correct handling of Unchecked_Union components. | |
2649 | (Expand_N_In): Add condition to detect illegal membership tests when the | |
2650 | subtype mark is a constrained Unchecked_Union and the expression lacks | |
2651 | inferable discriminants, and build a Raise_Program_Error node. | |
2652 | (Expand_N_Op_Eq): Add function Has_Unconstrained_UU_Component. Used | |
2653 | to detect types that contain components of unconstrained Unchecked_Union | |
2654 | subtype. Add condition to detect equality between types that have an | |
2655 | unconstrained Unchecked_Union component, and build a Raise_Program_Error | |
2656 | node. Add condition to detect equality between Unchecked_Union types | |
2657 | that lack inferable discriminants, and build a Raise_Program_Error node. | |
2658 | Otherwise build a TSS equality function call. | |
2659 | (Expand_N_Type_Conversion): Add condition to detect illegal conversions | |
2660 | from a derived Unchecked_Union to an unconstrained non-Unchecked_Union | |
2661 | with the operand lacking inferable discriminants, and build a Raise_ | |
2662 | Program_Error node. | |
2663 | (Expand_Record_Equality): Remove guard that prevents Unchecked_Union | |
2664 | composite equality. | |
2665 | (Has_Inferable_Discriminants): Implement new predicate for objects and | |
2666 | expressions of Unchecked_Union type. Check the body of subprogram for | |
2667 | details. | |
2668 | (Has_Unconstrained_UU_Components): Add function | |
2669 | Component_Is_Unconstrained_UU. It is used to detect whether a single | |
2670 | component is of an unconstrained Unchecked_Union subtype. Add function | |
2671 | Variant_Is_Unconstrained_UU. It is used to detect whether a single | |
2672 | component inside a variant is of an unconstrained Unchecked_Union type. | |
2673 | ||
2674 | * exp_ch5.adb (Expand_Assign_Record): Add condition to copy the | |
2675 | inferred discriminant values. Add condition to generate a case | |
2676 | statement with an inferred discriminant as the switch. | |
2677 | (Make_Component_List_Assign): Introduce a Boolean flag that determines | |
2678 | the behaviour of the subprogram in the presence of an Unchecked_Union. | |
2679 | Add condition to trigger the usage of the inferred discriminant value | |
2680 | as the generated case statement switch. | |
2681 | (Make_Field_Assign): Introduce a Boolean flag that determines the | |
2682 | behaviour of the subprogram in the presence of an Unchecked_Union. Add | |
2683 | condition to trigger the usage of the inferred discriminant value as | |
2684 | the right-hand side of the generated assignment. | |
2685 | ||
2686 | * exp_ch6.adb (Expand_Call): Add condition to skip extra actual | |
2687 | parameter generation when dealing with Unchecked_Unions. | |
2688 | ||
2689 | * checks.adb (Apply_Discriminant_Check): Do not apply discriminant | |
2690 | checks for Unchecked_Unions. | |
2691 | ||
2692 | * einfo.ads: Update comment on usage of flag Has_Per_Object_Constraint | |
2693 | ||
2694 | * exp_attr.adb (Expand_N_Attribute_Reference): Produce | |
2695 | Raise_Program_Error nodes for the execution of Read and Write | |
2696 | attributes of Unchecked_Union types and the execution of Input and | |
2697 | Output attributes of Unchecked_Union types that lack default | |
2698 | discriminant values. | |
2699 | ||
2700 | * sem_prag.adb (Analyze_Pragma): Remodel the analysis of pragma | |
2701 | Unchecked_Union. Add procedure Check_Component. It is used to inspect | |
2702 | per-object constrained components of Unchecked_Unions for being | |
2703 | Unchecked_Unions themselves. Add procedure Check_Variant. It is used to | |
2704 | check individual components withing a variant. | |
2705 | ||
2706 | * sem_res.adb (Resolve_Comparison_Op): Remove guard that prevents | |
2707 | comparison of Unchecked_Unions. | |
2708 | (Resolve_Equality_OP): Remove guard that prevents equality between | |
2709 | Unchecked_Unions. | |
2710 | ||
2711 | * sem_util.adb (Build_Component_Subtype): Add guard to prevent creation | |
2712 | of component subtypes for Unchecked_Union components. | |
2713 | (Get_Actual_Subtype): Add condition that returs the Unchecked_Union type | |
2714 | since it is the actual subtype. | |
2715 | ||
2716 | * sem_ch12.adb (Instantiate_Type): Add condition to detect the correct | |
2717 | pass of Unchecked_Union subtypes as generic actuals to formal types | |
2718 | that lack known_discriminant_parts or that are derived Unchecked_Union | |
2719 | types, and do nothing. In any other case, produce an error message. | |
2720 | ||
2721 | * sem_ch3.adb (Analyze_Component_Declaration): Add function | |
2722 | Contains_POC. It determines whether a constraint uses the discriminant | |
2723 | of an enclosing record type. | |
2724 | Add condition to detect per-object constrained component and set the | |
2725 | appropriate flag. | |
2726 | (Derived_Type_Declaration): Remove guard that prevents derivation from | |
2727 | Unchecked_Union types. | |
2728 | (Process_Subtype): Remove quard that prevents the creation of Unchecked_ | |
2729 | Union subtypes. | |
2730 | ||
2731 | * sem_ch4.adb (Analyze_Selected_Component): Correct the detection of | |
2732 | references to Unchecked_Union discriminants. | |
2733 | ||
2734 | * sem_ch6.adb (Create_Extra_Formals): Add condition to skip extra | |
2735 | formal generation when dealing with Unchecked_Unions. | |
2736 | (Set_Actual_Subtypes): Add condition to prevent generation of actual | |
2737 | subtypes for Unchecked_Unions. | |
2738 | ||
2739 | * sem_ch7.adb (Analyze_Package_Specification): Add procedure | |
2740 | Inspect_Unchecked_Union_Completion. It is used to detect incorrect | |
2741 | completions of discriminated partial views by Unchecked_Unions and | |
2742 | produce an error message. | |
2743 | ||
2744 | 2004-08-09 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | |
2745 | ||
2746 | * trans.c (struct stmt_group): New field, GLOBAL. | |
2747 | (global_stmt_group, gnu_elab_proc_decl, build_unit_elab): Deleted. | |
2748 | (struct elab_info): New struct. | |
2749 | (elab_info_list, gnu_elab_proc_stack): New variables. | |
2750 | (Compilation_Unit_to_gnu): New procedure. | |
2751 | (gigi): Call it and also handle elaboration procs we've saved. | |
2752 | (gnat_init_stmt_group): Don't set global_stmt_group; instead initialize | |
2753 | global field from parent. | |
2754 | (gnat_to_gnu): Get decl from gnu_elab_proc_stack. | |
2755 | (gnat_to_gnu, case N_Compilation_Unit): Call Compilation_Unit_to_gnu. | |
2756 | (start_stmt_group): Initialize global field from parent. | |
2757 | (add_decl_expr): Set to global for current statement group. | |
2758 | (gnat_gimplify_expr, case NULL_EXPR): Add operand 0 to pre list, not | |
2759 | post. | |
2760 | ||
2761 | * utils.c (global_bindings_p): True when no current_function_decl; no | |
2762 | longer check current_binding_level. | |
2763 | ||
2764 | 2004-08-09 Ben Brosgol <brosgol@gnat.com> | |
2765 | ||
2766 | * xgnatugn.adb: Added logic to deal with @ifset/@ifclear for edition | |
2767 | choice. | |
2768 | ||
2769 | * gnat_rm.texi, gnat_ugn.texi: Added edition conditionalization logic. | |
2770 | ||
160ff372 AS |
2771 | 2004-08-06 Andreas Schwab <schwab@suse.de> |
2772 | ||
2773 | * utils.c (gnat_define_builtin): Remove second parameter of | |
2774 | make_decl_rtl. | |
2775 | (begin_subprog_body): Likewise. | |
2776 | ||
615cbd95 AC |
2777 | 2004-07-26 Arnaud Charlet <charlet@act-europe.fr> |
2778 | ||
2779 | * sem_util.adb (Requires_Transient_Scope): Temporarily disable | |
2780 | optimization, not supported by the tree-ssa back-end. | |
2781 | ||
2782 | 2004-07-26 Olivier Hainque <hainque@act-europe.fr> | |
2783 | ||
2784 | * s-mastop-irix.adb: Update comments. | |
2785 | ||
2786 | * a-except.adb (Exception_Information): Raise Constraint_Error if | |
2787 | exception Id is Null_Id. | |
2788 | This is required behavior, which is more reliably and clearly checked | |
2789 | at the top level interface level. | |
2790 | ||
2791 | 2004-07-26 Javier Miranda <miranda@gnat.com> | |
2792 | ||
2793 | * exp_aggr.adb (Build_Array_Aggr_Code): Do not build the initialization | |
2794 | call if a component has no default_expression and the box is used. | |
2795 | ||
2796 | * sem_aggr.adb (Resolve_Array_Aggregate): If a component has no | |
2797 | default_expression and you use box, it behaves as if you had declared a | |
2798 | stand-alone object. | |
2799 | (Resolve_Record_Aggregate): If a component has no default_expression and | |
2800 | you use box, it behaves as if you had declared a stand-alone object. | |
2801 | ||
2802 | * sem_ch10.adb (Install_Siblings): Do not make visible the private | |
2803 | entities of private-with siblings. | |
2804 | ||
2805 | 2004-07-26 Ed Schonberg <schonberg@gnat.com> | |
2806 | ||
2807 | * sem_ch3.adb (Build_Underlying_Full_View): If this is the full view | |
2808 | for a component of an itype, set the parent pointer for analysis, | |
2809 | there is no list in which to insert it. | |
2810 | ||
2811 | * sem_res.adb (Resolve): Call Rewrite_Renamed_Operator only for | |
2812 | bona-fide renamings, not for inherited operations. | |
2813 | ||
2814 | * exp_ch4.adb (Expand_Allocator_Expression): If the allocator is an | |
2815 | actual for a formal that is an access parameter, create local | |
2816 | finalization list even if the expression is not an aggregate. | |
2817 | ||
2818 | 2004-07-26 Ed Schonberg <schonberg@gnat.com> | |
2819 | ||
2820 | PR ada/16213 | |
2821 | * sem_ch8.adb (Attribute_Renaming, Check_Library_Level_Renaming): | |
2822 | Diagnose properly illegal subprogram renamings that are library units. | |
2823 | ||
2824 | 2004-07-26 Ed Schonberg <schonberg@gnat.com> | |
2825 | ||
2826 | PR ada/15588 | |
2827 | * sem_util.adb (Is_OK_Variable_For_Out_Formal): If actual is a type | |
2828 | conversion rewritten as an unchecked conversion, check that original | |
2829 | expression is a variable. | |
2830 | ||
2831 | * exp_ch4.adb (Expand_N_Type_Conversion): If rewriting as an | |
2832 | unchecked_conversion, create new node rather than rewriting in place, | |
2833 | to preserve original construct. | |
2834 | ||
2835 | 2004-07-26 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | |
2836 | ||
2837 | * gigi.h (gnat_expand_body): Deleted. | |
2838 | ||
2839 | * Make-lang.in: (trans.o): Depends on function.h. | |
2840 | ||
2841 | * misc.c: (gnat_expand_body): Moved to here. | |
2842 | ||
2843 | * trans.c (gnat_expand_body_1): Deleted. | |
2844 | (gnat_expand_body): Moved from here. | |
2845 | (gnat_to_gnu): N_Implicit_Label_Declaration forces being in elab proc. | |
2846 | (add_stmt): Check for marked visited with global_bindings_p. | |
2847 | (gnat_gimplify_expr, case COMPONENT_REF): New case. | |
2848 | (gnat_gimplify_expr, case NULL_EXPR): Set TREE_NO_WARNING for temp. | |
2849 | ||
2850 | * utils2.c (build_binary_op, case MODIFY_EXPR): Put LHS in a | |
2851 | VIEW_CONVERT_EXPR if not operation type. | |
2852 | ||
2853 | * utils.c (update_pointer_to): Set DECL_ORIGINAL_FIELD for | |
2854 | fat pointer. | |
2855 | ||
2856 | * decl.c, cuintp.c, gigi.h, misc.c, trans.c, utils.c, utils2.c: Minor | |
2857 | changes: reformatting of negation operators, removing unneeded | |
2858 | inequality comparison with zero, converting equality comparisons with | |
2859 | zero to negations, changing int/0/1 to bool/false/true, replace calls | |
2860 | to gigi_abort with abort, and various other similar changes. | |
2861 | ||
2862 | 2004-07-26 Vincent Celier <celier@gnat.com> | |
2863 | ||
2864 | * gnatcmd.adb (GNATCmd): Add processing for new built-in command | |
2865 | "setup". | |
2866 | ||
2867 | * make.adb (Gnatmake): Fail when a library is not present and there is | |
2868 | no object directory. | |
2869 | ||
2870 | * mlib-prj.adb (Check_Library): No need to check if the library needs | |
2871 | to be rebuilt if there is no object directory, hence no object files | |
2872 | to build the library. | |
2873 | ||
2874 | * opt.ads (Setup_Projects): New Boolean flag. | |
2875 | ||
2876 | * prj-nmsc.adb (Locate_Directory): New parameter Project, Kind and | |
2877 | Location. | |
2878 | Create directory when Kind /= "" and in "gnat setup". Report error if | |
2879 | directory cannot be created. | |
2880 | (Ada_Check): Create library interface copy dir if it does not exist | |
2881 | and we are in "gnat setup". | |
2882 | (Find_Sources): No error if in "gnat setup" and no Ada sources were | |
2883 | found. | |
2884 | (Language_Independent_Check): Create object directory, exec directory | |
2885 | and/or library directory if they do not exist and we are in | |
2886 | "gnat setup". | |
2887 | ||
2888 | * vms_conv.ads: (Command_Type): New command Setup. | |
2889 | ||
2890 | * vms_conv.adb (Initialize): Add Setup component of Cammand_List. | |
2891 | ||
2892 | * vms_data.ads: Add qualifiers/switches for new built-in command | |
2893 | "setup". | |
2894 | ||
b785f485 RH |
2895 | 2004-07-25 Richard Henderson <rth@redhat.com> |
2896 | ||
2897 | * utils.c (create_subprog_decl): Set DECL_ARTIFICIAL and | |
2898 | DECL_IGNORED_P on RESULT_DECL. | |
2899 | ||
35ae2ed8 AC |
2900 | 2004-07-20 Olivier Hainque <hainque@act-europe.fr> |
2901 | ||
2902 | * a-elchha.adb (Last_Chance_Handler): Remove the bogus buffer dynamic | |
2903 | allocation and potentially overflowing update with | |
2904 | Tailored_Exception_Information. Use the sec-stack free procedural | |
2905 | interface to output Exception_Information instead. | |
2906 | ||
2907 | * a-except.adb (To_Stderr): New subprogram for character, and string | |
2908 | version moved from a-exextr to be visible from other separate units. | |
2909 | (Tailored_Exception_Information): Remove the procedural version, | |
2910 | previously used by the default Last_Chance_Handler and not any more. | |
2911 | Adjust various comments. | |
2912 | ||
2913 | * a-exexda.adb: Generalize the exception information procedural | |
2914 | interface, to minimize the use of secondary stack and the need for | |
2915 | local buffers when the info is to be output to stderr: | |
2916 | (Address_Image): Removed. | |
2917 | (Append_Info_Character): New subprogram, checking for overflows and | |
2918 | outputing to stderr if buffer to fill is of length 0. | |
2919 | (Append_Info_String): Output to stderr if buffer to fill is of length 0. | |
2920 | (Append_Info_Address, Append_Info_Exception_Name, | |
2921 | Append_Info_Exception_Message, Append_Info_Basic_Exception_Information, | |
2922 | Append_Info_Basic_Exception_Traceback, | |
2923 | Append_Info_Exception_Information): New subprograms. | |
2924 | (Append_Info_Nat, Append_Info_NL): Use Append_Info_Character. | |
2925 | (Basic_Exception_Info_Maxlength, Basic_Exception_Tback_Maxlength, | |
2926 | Exception_Info_Maxlength, Exception_Name_Length, | |
2927 | Exception_Message_Length): New subprograms. | |
2928 | (Exception_Information): Use Append_Info_Exception_Information. | |
2929 | (Tailored_Exception_Information): Use | |
2930 | Append_Info_Basic_Exception_Information. | |
2931 | Export services for the default Last_Chance_Handler. | |
2932 | ||
2933 | * a-exextr.adb (To_Stderr): Remove. Now in a-except to be usable by | |
2934 | other separate units. | |
2935 | ||
2936 | 2004-07-20 Vincent Celier <celier@gnat.com> | |
2937 | ||
2938 | * clean.adb, mlib-utl.adb, osint.adb, makegpr.adb: Minor reformatting. | |
2939 | ||
2940 | 2004-07-20 Ed Schonberg <schonberg@gnat.com> | |
2941 | ||
2942 | * freeze.adb (Freeze_Entity): If entity is a discriminated record type, | |
2943 | emit itype references for the designated types of component types that | |
2944 | are declared outside of the full record declaration, and that may | |
2945 | denote a partial view of that record type. | |
2946 | ||
2947 | 2004-07-20 Ed Schonberg <schonberg@gnat.com> | |
2948 | ||
2949 | PR ada/15607 | |
2950 | * sem_ch3.adb (Build_Discriminated_Subtype): Do not attach a subtype | |
2951 | which is the designated type in an access component declaration, to the | |
2952 | list of incomplete dependents of the parent type, to avoid elaboration | |
2953 | issues with out-of-scope subtypes. | |
2954 | (Complete_Private_Subtype): Recompute Has_Unknown_Discriminants from the | |
2955 | full view of the parent. | |
2956 | ||
2957 | 2004-07-20 Ed Schonberg <schonberg@gnat.com> | |
2958 | ||
2959 | PR ada/15610 | |
2960 | * sem_ch8.adb (Find_Expanded_Name): If name is overloaded, reject | |
2961 | entities that are hidden, such as references to generic actuals | |
2962 | outside an instance. | |
2963 | ||
2964 | 2004-07-20 Javier Miranda <miranda@gnat.com> | |
2965 | ||
2966 | * sem_ch4.adb (Try_Object_Operation): New subprogram that gives | |
2967 | support to the new notation. | |
2968 | (Analyze_Selected_Component): Add call to Try_Object_Operation. | |
2969 | ||
2970 | 2004-07-20 Jose Ruiz <ruiz@act-europe.fr> | |
2971 | ||
2972 | * s-taprob.adb: Adding the elaboration code required for initializing | |
2973 | the tasking soft links that are common to the full and the restricted | |
2974 | run times. | |
2975 | ||
2976 | * s-tarest.adb (Init_RTS): Tasking soft links that are shared with the | |
2977 | restricted run time has been moved to the package | |
2978 | System.Soft_Links.Tasking. | |
2979 | ||
2980 | * s-tasini.adb (Init_RTS): Tasking soft links that are shared with the | |
2981 | restricted run time has been moved to the package | |
2982 | System.Soft_Links.Tasking. | |
2983 | ||
2984 | * Makefile.rtl: Add entry for s-solita.o in run-time library list. | |
2985 | ||
2986 | * s-solita.ads, s-solita.adb: New files. | |
2987 | ||
2988 | 2004-07-20 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | |
2989 | ||
2990 | * trans.c (Identifier_to_gnu, Pragma_to_gnu, Attribute_to_gnu, | |
2991 | Case_Statement_to_gnu): Split off from gnat_to_gnu. | |
2992 | (Loop_Statement_to_gnu, Subprogram_Body_to_gnu, call_to_gnu, | |
2993 | Handled_Sequence_Of_Statements_to_gnu, Exception_Handler_to_gnu_sjlj, | |
2994 | Exception_Handler_to_gnu_zcx): Likewise. | |
2995 | ||
6e34d3a3 JM |
2996 | 2004-07-17 Joseph S. Myers <jsm@polyomino.org.uk> |
2997 | ||
2998 | * gigi.h (builtin_function): Declare. | |
2999 | ||
523456db AC |
3000 | 2004-07-15 Robert Dewar <dewar@gnat.com> |
3001 | ||
3002 | * makegpr.adb, s-secsta.ads, sem_ch3.adb, sem_case.adb: Minor | |
3003 | reformatting | |
3004 | ||
3005 | * gnat_ugn.texi: Add instantiation of direct_io or sequential_io with | |
3006 | access values as an example of a warning. | |
3007 | ||
3008 | * gnat_rm.texi: Document new attribute Has_Access_Values | |
3009 | ||
3010 | * gnat-style.texi: Document that box comments belong on nested | |
3011 | subprograms | |
3012 | ||
3013 | * sem_util.ads (Has_Access_Values): Improved documentation | |
3014 | ||
3015 | * s-finimp.ads, s-finimp.adb: Fix spelling error in comment | |
3016 | ||
3017 | * sem_prag.adb (Check_Duplicated_Export_Name): New procedure | |
3018 | (Process_Interface_Name): Call to this new procedure | |
3019 | (Set_Extended_Import_Export_External_Name): Call to this new procedure | |
3020 | ||
3021 | * s-mastop-x86.adb, 9drpc.adb: Fix spelling error in comment | |
3022 | ||
3023 | * a-direio.ads, a-sequio.ads: Warn if Element_Type has access values | |
3024 | ||
3025 | * einfo.ads: Minor comment typo fixed | |
3026 | ||
3027 | 2004-07-15 Jose Ruiz <ruiz@act-europe.fr> | |
3028 | ||
3029 | * snames.adb: Add _atcb. | |
3030 | ||
3031 | * snames.ads: Add Name_uATCB. | |
3032 | ||
3033 | * s-tarest.adb (Create_Restricted_Task): ATCBs are always preallocated | |
3034 | (in the expanded code) when using the restricted run time. | |
3035 | ||
3036 | * s-tarest.ads (Create_Restricted_Task): Created_Task transformed into | |
3037 | a in parameter in order to allow ATCBs to be preallocated (in the | |
3038 | expanded code). | |
3039 | ||
3040 | * s-taskin.adb (Initialize_ATCB): T converted into a in parameter in | |
3041 | order to allow ATCBs to be preallocated. In case of error, the ATCB is | |
3042 | deallocated in System.Tasking.Stages. | |
3043 | ||
3044 | * s-taskin.ads (Initialize_ATCB): T converted into a in parameter in | |
3045 | order to allow ATCBs to be preallocated. | |
3046 | ||
3047 | * s-tassta.adb (Create_Task): In case of error the ATCB is deallocated | |
3048 | here. It was previously done in Initialize_ATCB. | |
3049 | ||
3050 | * rtsfind.ads: Make the Ada_Task_Control_Block visible. | |
3051 | ||
3052 | * exp_ch9.adb: Preallocate the Ada_Task_Control_Block when using the | |
3053 | Restricted run time. | |
3054 | ||
3055 | * exp_ch3.adb: When using the Restricted run time, pass the | |
3056 | preallocated Ada_Task_Control_Block when creating a task. | |
3057 | ||
3058 | 2004-07-15 Ed Schonberg <schonberg@gnat.com> | |
3059 | ||
3060 | * sem_util.adb (Normalize_Actuals): If there are no actuals on a | |
3061 | function call that is itself an actual in an enclosing call, diagnose | |
3062 | problem here rather than assuming that resolution will catch it. | |
3063 | ||
3064 | * sem_ch7.adb (Analyze_Package_Specification): If the specification is | |
3065 | the local copy of a generic unit for a formal package, and the generic | |
3066 | is a child unit, install private part of ancestors before compiling | |
3067 | private part of spec. | |
3068 | ||
3069 | * sem_cat.adb (Validate_Categorization_Dependency): Simplify code to | |
3070 | use scope entities rather than tree structures, to handle properly | |
3071 | parent units that are instances rewritten as bodies for inlining | |
3072 | purposes. | |
3073 | ||
3074 | * sem_ch10.adb (Get_Parent_Entity, Implicit_With_On_Parent, | |
3075 | Remove_Parents): Handle properly a parent unit that is an | |
3076 | instantiation, when the unit has been rewritten as a body for inlining | |
3077 | purposes. | |
3078 | ||
3079 | * par.adb (Goto_List): Global variable to collect goto statements in a | |
3080 | given unit, for use in detecting natural loops. | |
3081 | ||
3082 | * par-ch5.adb (P_Goto_Statement): Add goto to global Goto_List, for | |
3083 | use in detecting natural loops. | |
3084 | ||
3085 | * par-labl.adb (Find_Natural_Loops): Recognize loops create by | |
3086 | backwards goto's, and rewrite as a infinite loop, to improve locality | |
3087 | of temporaries. | |
3088 | ||
3089 | * exp_util.adb (Force_Evaluation): Recognize a left-hand side | |
3090 | subcomponent that includes an indexed reference, to prevent the | |
3091 | generation of copies that would miscompile the desired assignment | |
3092 | statement. | |
3093 | (Build_Task_Image_Decls): Add a numeric suffix to | |
3094 | generated name for string variable, to avoid spurious conflicts with | |
3095 | the name of the type of a single protected object. | |
3096 | ||
3097 | * exp_ch4.adb (Expand_Array_Equality): If indices are distinct, use a | |
3098 | loop with an explicit exit statement, to avoid generating an | |
3099 | out-of-range value with 'Succ leading to spurious constraint_errors | |
3100 | when compiling with -gnatVo. | |
3101 | ||
3102 | 2004-07-15 Thomas Quinot <quinot@act-europe.fr> | |
3103 | ||
3104 | * sem_ch4.adb (Analyze_Slice): Always call Analyze on the prefix: it | |
3105 | might not be analyzed yet, even if its Etype is already set (case of an | |
3106 | unchecked conversion built using Unchecked_Convert_To, for example). | |
3107 | If the prefix has already been analyzed, this will be a nop anyway. | |
3108 | ||
3109 | * exp_ch5.adb (Make_Tag_Ctrl_Assignment): For an assignment of a | |
3110 | controller type, or an assignment of a record type with controlled | |
3111 | components, copy only user data, and leave the finalization chain | |
3112 | pointers untouched. | |
3113 | ||
3114 | 2004-07-15 Vincent Celier <celier@gnat.com> | |
3115 | ||
3116 | * make.adb (Collect_Arguments): Improve error message when attempting | |
3117 | to compile a source not part of any project, when -x is not used. | |
3118 | ||
3119 | * prj.ads: (Defined_Variable_Kind): New subtype | |
3120 | ||
3121 | * prj-attr.adb (Register_New_Package): Two new procedures to register | |
3122 | a package with or without its attributes. | |
3123 | (Register_New_Attribute): Mew procedure to register a new attribute in a | |
3124 | package. | |
3125 | New attribute oriented subprograms: Attribute_Node_Id_Of, | |
3126 | Attribute_Kind_Of, Set_Attribute_Kind_Of, Attribute_Name_Of, | |
3127 | Variable_Kind_Of, Set_Variable_Kind_Of, Optional_Index_Of, | |
3128 | Next_Attribute. | |
3129 | New package oriented subprograms: Package_Node_Id_Of, | |
3130 | Add_Unknown_Package, First_Attribute_Of, Add_Attribute. | |
3131 | ||
3132 | * prj-attr.ads (Attribute_Node_Id): Now a private, self initialized | |
3133 | type. | |
3134 | (Package_Node_Id): Now a private, self initialized type | |
3135 | (Register_New_Package): New procedure to register a package with its | |
3136 | attributes. | |
3137 | New attribute oriented subprograms: Attribute_Node_Id_Of, | |
3138 | Attribute_Kind_Of, Set_Attribute_Kind_Of, Attribute_Name_Of, | |
3139 | Variable_Kind_Of, Set_Variable_Kind_Of, Optional_Index_Of, | |
3140 | Next_Attribute. | |
3141 | New package oriented subprograms: Package_Node_Id_Of, | |
3142 | Add_Unknown_Package, First_Attribute_Of, Add_Attribute. | |
3143 | ||
3144 | * prj-dect.adb (Parse_Attribute_Declaration, | |
3145 | Parse_Package_Declaration): Adapt to new spec of Prj.Attr. | |
3146 | ||
3147 | * prj-makr.adb (Make): Parse existing project file before creating | |
3148 | other files. Fail if there was an error during parsing. | |
3149 | ||
3150 | * prj-proc.adb (Add_Attributes, Process_Declarative_Items): Adapt to | |
3151 | new spec of Prj.Attr. | |
3152 | ||
3153 | * prj-strt.adb (Attribute_Reference, Parse_Variable_Reference): Adapt | |
3154 | to new spec of Prj.Attr. | |
3155 | ||
3156 | 2004-07-15 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | |
3157 | ||
3158 | * utils2.c: Fix typo in comment. | |
3159 | ||
3160 | 2004-07-14 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | |
54805e13 RK |
3161 | |
3162 | * trans.c (add_decl_expr): Clear TREE_READONLY if clear DECL_INITIAL. | |
3163 | * utils.c (unchecked_convert): Don't do two VIEW_CONVERT_EXPRs. | |
3164 | ||
a1c7af89 AS |
3165 | 2004-07-14 Andreas Schwab <schwab@suse.de> |
3166 | ||
3167 | * trans.c (gnat_init_stmt_group): Remove duplicate definition. | |
3168 | ||
a5cb3b30 AC |
3169 | 2004-07-13 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
3170 | ||
3171 | * decl.c: (gnat_to_gnu_entity, object case): Convert initializer to | |
3172 | object type. | |
3173 | (gnat_to_gnu_entity, case E_Record_Subtype): Properly set | |
3174 | TYPE_STUB_DECL. | |
3175 | ||
3176 | * misc.c (gnat_types_compatible_p): New function. | |
3177 | (LANG_HOOKS_TYPES_COMPATIBLE_P): New hook, to use it. | |
3178 | (LANG_HOOKS_TYPE_MAX_SIZE, gnat_type_max_size): New. | |
3179 | ||
3180 | * trans.c (gigi): Move processing of main N_Compilation_Unit here. | |
3181 | (gnat_to_gnu, case N_Compilation_Unit): Just handle nested case here. | |
3182 | (add_stmt): Force walking of sizes and DECL_INITIAL for DECL_EXPR. | |
3183 | (mark_visited): Don't mark dummy type. | |
6615c446 | 3184 | (tree_transform <N_Procedure_Call_Statement>): Unless this is an In |
a5cb3b30 AC |
3185 | parameter, we must remove any LJM building from GNU_NAME. |
3186 | (gnat_to_gnu, case N_String_Literal): Fill in indices in CONSTRUCTOR. | |
3187 | (pos_to_constructor): Use int_const_binop. | |
3188 | (gnat_to_gnu, case N_Identifier): Don't reference DECL_INITIAL of | |
3189 | PARM_DECL. | |
3190 | ||
3191 | * utils.c (gnat_init_decl_processing): Don't make two "void" decls. | |
3192 | (gnat_pushlevel): Set TREE_USE on BLOCK node. | |
3193 | (gnat_install_builtins): Add __builtin_memset. | |
3194 | ||
3195 | 2004-07-13 Olivier Hainque <hainque@act-europe.fr> | |
3196 | ||
3197 | * decl.c (gnat_to_gnu_entity <E_Variable>): If we are making a pointer | |
3198 | for a renaming, stabilize the initialization expression if we are at a | |
3199 | local level. At the local level, uses of the renaming may be performed | |
3200 | by a direct dereference of the initializing expression, and we don't | |
3201 | want possible variables there to be evaluated for every use. | |
3202 | ||
3203 | * trans.c (gnat_stabilize_reference, gnat_stabilize_reference_1): | |
3204 | Propagate TREE_SIDE_EFFECTS and TREE_THIS_VOLATILE to avoid loosing | |
3205 | them on the way. Account for the fact that we may introduce side | |
3206 | effects in the process. | |
3207 | ||
0976078c RH |
3208 | 2004-07-13 Richard Henderson <rth@redhat.com> |
3209 | ||
3210 | * misc.c (default_pass_by_ref): Use pass_by_reference. | |
3211 | ||
9dcf6e73 JM |
3212 | 2004-07-11 Joseph S. Myers <jsm@polyomino.org.uk> |
3213 | ||
3214 | * misc.c (LANG_HOOKS_CLEAR_BINDING_STACK, LANG_HOOKS_PUSHLEVEL, | |
3215 | LANG_HOOKS_POPLEVEL, LANG_HOOKS_SET_BLOCK): Remove. | |
3216 | ||
ac45df5d RH |
3217 | 2004-07-08 Richard Henderson <rth@redhat.com> |
3218 | ||
3219 | * trans.c (gnat_to_gnu <N_Handled_Sequence_Of_Statements>): Update | |
3220 | commentary. | |
3221 | ||
15ce9ca2 AC |
3222 | 2004-07-06 Vincent Celier <celier@gnat.com> |
3223 | ||
3224 | * vms_conv.ads: Minor reformatting. | |
3225 | Alphabetical order for enumerated values of type Command_Type, to have | |
3226 | the command in alphabetical order for the usage. | |
3227 | ||
3228 | * vms_conv.adb (Process_Argument): Set Keep_Temporary_Files to True for | |
3229 | the special qualifier /KEEP_TEMPORARY_FILES (minimum 6 characters). | |
3230 | ||
3231 | * gnat_ugn.texi: Document new switch -dn for the GNAT driver. | |
3232 | ||
3233 | * makegpr.adb (Global_Archive_Exists): New global Boolean variable | |
3234 | (Add_Archive_Path): Only add the global archive if there is one. | |
3235 | (Build_Global_Archive): Set Global_Archive_Exists depending if there is | |
3236 | or not any object file to put in the global archive, and don't build | |
3237 | a global archive if there is none. | |
3238 | (X_Switches): New table | |
3239 | (Compile_Link_With_Gnatmake): Pass to gnatmake the -X switches stored | |
3240 | in the X_Switches table, if any. | |
3241 | (Initialize): Make sure the X_Switches table is empty | |
3242 | (Scan_Arg): Record -X switches in table X_Switches | |
3243 | ||
3244 | * opt.ads (Keep_Temporary_Files): New Boolean flag, defaulted to False. | |
3245 | ||
3246 | * make.adb: Minor comment fix | |
3247 | ||
3248 | * gnatname.adb (Gnatname): When not on VMS, and gnatname has been | |
3249 | invoked with directory information, add the directory in front of the | |
3250 | path. | |
3251 | ||
3252 | * gnatchop.adb (Gnatchop): When not on VMS, and gnatchop has been | |
3253 | invoked with directory information, add the directory in front of the | |
3254 | path. | |
3255 | ||
3256 | * gnatcmd.adb (Delete_Temp_Config_Files): Only delete temporary files | |
3257 | when Keep_Temporary_Files is False. | |
3258 | (GNATCmd): When not on VMS, and the GNAT driver has been invoked with | |
3259 | directory information, add the directory in front of the path. | |
3260 | When not on VMS, handle new switch -dn before the command to set | |
3261 | Keep_Temporary_Files to True. | |
3262 | (Non_VMS_Usage): Use lower case for the non VMS usage: this is valid | |
3263 | everywhere. | |
3264 | ||
3265 | * gnatlink.adb (Gnatlink): When not on VMS, and gnatlink has been | |
3266 | invoked with directory information, add the directory in front of the | |
3267 | path. | |
3268 | ||
3269 | 2004-07-06 Thomas Quinot <quinot@act-europe.fr> | |
3270 | ||
3271 | * snames.ads, snames.adb (Name_Stub): New name for the distributed | |
3272 | systems annex. | |
3273 | ||
3274 | * rtsfind.ads: New RTE TC_Object, for DSA/PolyORB. | |
3275 | New RTEs RAS_Proxy_Type and RAS_Proxy_Type_Access, for DSA. | |
3276 | ||
3277 | * g-socket.adb (To_Timeval): Fix incorrect conversion of | |
3278 | Selector_Duration to Timeval for the case of 0.0. | |
3279 | ||
3280 | * exp_util.ads (Evolve_Or_Else): Fix overenthusiastic copy/paste of | |
3281 | documentation from Evolve_And_Then. | |
3282 | ||
3283 | 2004-07-06 Jose Ruiz <ruiz@act-europe.fr> | |
3284 | ||
3285 | * s-taprop-tru64.adb, s-taprop-os2.adb, | |
3286 | s-taprop-mingw.adb, s-taprop-posix.adb: Update comment. | |
3287 | ||
3288 | 2004-07-06 Robert Dewar <dewar@gnat.com> | |
3289 | ||
3290 | * s-osinte-hpux.ads, s-osinte-freebsd.ads, | |
3291 | s-osinte-lynxos.ads, s-taprop-lynxos.adb, s-osinte-tru64.ads, | |
3292 | s-osinte-aix.ads, s-osinte-irix.ads, s-taprop-irix.adb, | |
3293 | s-interr-sigaction.adb, s-taprop-irix-athread.adb, | |
3294 | s-osinte-hpux-dce.adb, s-taprop-hpux-dce.adb, | |
3295 | s-taprop-linux.adb, s-taprop-dummy.adb, s-taprop-solaris.adb, | |
3296 | s-interr-vms.adb, s-osinte-vms.ads, s-taprop-vms.adb, | |
3297 | s-osinte-vxworks.ads, s-osprim-vxworks.adb, a-numaux-x86.adb, | |
3298 | a-except.adb, a-exexpr.adb, a-intsig.adb, a-tags.adb, | |
3299 | a-tags.ads, bindgen.ads, checks.adb, checks.adb, | |
3300 | csets.ads, einfo.ads, einfo.ads, elists.adb, exp_ch4.adb, | |
3301 | exp_ch7.adb, exp_dist.adb, exp_util.adb, freeze.adb, | |
3302 | g-dynhta.adb, gnatmem.adb, g-regexp.adb, inline.adb, | |
3303 | i-os2thr.ads, osint.adb, prj.adb, scng.adb, sem_cat.adb, | |
3304 | sem_ch10.adb, sem_ch12.adb, sem_ch4.adb, sem_ch7.adb, | |
3305 | sem_ch8.adb, sem_disp.adb, sem_prag.adb, sem_res.adb, | |
3306 | sem_type.adb, sem_type.ads, sem_warn.adb, s-ficobl.ads, | |
3307 | s-finimp.adb, s-htable.adb, sinfo.ads, sinput-l.ads, | |
3308 | s-interr.adb, s-interr.ads, sprint.adb, s-tarest.adb, | |
3309 | s-tasini.ads, s-taskin.ads, s-taskin.ads, uname.adb, | |
3310 | vms_data.ads: Minor reformatting, | |
3311 | Fix bad box comment format. | |
3312 | ||
3313 | * gnat_rm.texi: Fix minor grammatical error | |
3314 | ||
3315 | * sem_attr.adb, exp_attr.adb: New attribute Has_Access_Values | |
3316 | ||
3317 | * sem_util.ads, sem_util.adb (Requires_Transient_Scope): Allow many | |
3318 | more cases of discriminated records to be recognized as not needing a | |
3319 | secondary stack. | |
3320 | (Has_Access_Values): New function. | |
3321 | ||
3322 | * snames.h, snames.adb, snames.ads: New attribute Has_Access_Values | |
3323 | ||
3324 | * cstand.adb, layout.ads, layout.adb, sem_ch13.ads: Change name | |
3325 | Set_Prim_Alignment to Set_Elem_Alignment (more accurate correspondence | |
3326 | with LRM terminology). | |
3327 | Change terminology in comments primitive type => elementary type. | |
3328 | ||
3329 | 2004-07-06 Ed Schonberg <schonberg@gnat.com> | |
3330 | ||
3331 | PR ada/15602 | |
3332 | * sem_ch7.adb (Unit_Requires_Body): For a generic package, the formal | |
3333 | parameters do not impose any requirements on the presence of a body. | |
3334 | ||
3335 | 2004-07-06 Ed Schonberg <schonberg@gnat.com> | |
3336 | ||
3337 | PR ada/15593 | |
3338 | * sem_ch12.adb (Analyze_Package_Instantiation): If the generic is not a | |
3339 | compilation unit and is in an open scope at the point of instantiation, | |
3340 | assume that a body may be present later. | |
3341 | ||
3342 | 2004-07-06 Ed Schonberg <schonberg@gnat.com> | |
3343 | ||
3344 | * sem_ch13.adb (Analyze_Attribute_Definition_Clause, case 'Size): | |
3345 | Improve error message when specified size is not supported. | |
3346 | ||
3347 | * sem_ch6.adb (Maybe_Primitive_Operation): A library-level subprogram | |
3348 | is never a primitive operation. | |
3349 | ||
cb42deba AS |
3350 | 2004-07-05 Andreas Schwab <schwab@suse.de> |
3351 | ||
3352 | * ada-tree.h (TYPE_LEFT_JUSTIFIED_MODULAR_P): Use | |
3353 | RECORD_OR_UNION_CHECK. | |
3354 | (TYPE_CONTAINS_TEMPLATE_P): Likewise. | |
3355 | ||
98877933 KC |
3356 | 2004-07-04 Kelley Cook <kcook@gcc.gnu.org> |
3357 | ||
3358 | * Make-lang.in (doc/gnat_ugn_unw.texi): Eliminate explicit | |
3359 | dependency on xgnatugn, instead build it via a submake. | |
3360 | (ADA_INFOFILES): Add doc/gnat_ugn_unw.texi. | |
3361 | ||
8fff4fc1 RH |
3362 | 2004-07-04 Richard Henderson <rth@redhat.com> |
3363 | ||
3364 | * utils2.c (gnat_mark_addressable): Don't put_var_into_stack. | |
3365 | ||
4dfa0342 RH |
3366 | 2004-07-01 Richard Henderson <rth@redhat.com> |
3367 | ||
3368 | * trans.c (gnat_stabilize_reference): Don't handle RTL_EXPR. | |
3369 | * utils.c (max_size): Likewise. | |
3370 | ||
909f21b3 RK |
3371 | 2004-06-28 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
3372 | ||
3373 | * decl.c: Remove calls to add_decl_expr, pushdecl, rest_of_compilation, | |
3374 | and rest_of_type_compilation; add arg to create_*_decl. | |
15cd18b9 | 3375 | (annotate_decl_with_node): Deleted. |
909f21b3 RK |
3376 | (gnat_to_gnu_entity, case E_Array_Type): Set location of fields. |
3377 | * gigi.h (get_decls, block_has_vars, pushdecl): Deleted. | |
3378 | (get_current_block_context, gnat_pushdecl): New declarations. | |
3379 | (gnat_init_stmt_group): Likewise. | |
3380 | (create_var_decl, create_type_decl, create_subprog_decl): Add new arg. | |
3381 | * misc.c (LANG_HOOKS_CLEAR_BINDING_STACK): Deleted. | |
3382 | (LANG_HOOKS_GETDECLS, LANG_HOOKS_PUSHDECL): Deleted. | |
3383 | (gnat_init): Call gnat_init_stmt_group. | |
3384 | * trans.c (global_stmt_group, gnu_elab_proc_decl): New variables. | |
3385 | (gnu_pending_elaboration_list): Deleted. | |
3386 | (mark_visited, mark_unvisited, gnat_init_stmt_group): New functions. | |
3387 | (gigi): Rearrange initialization calls and move some to last above. | |
3388 | (gnat_to_gnu): If statement and not in procedure, go into elab proc. | |
3389 | Delete calls to add_decl_expr; add arg to create_*_decl. | |
3390 | (gnat_to_gnu, case N_Loop): Recalculate side effects on COND_EXPR. | |
6615c446 | 3391 | (gnat_to_gnu, case N_Subprogram_Body): Move some code to |
909f21b3 RK |
3392 | begin_subprog_body and call it. |
3393 | Don't push and pop ggc context. | |
3394 | (gnat_to_gnu, case N_Compilation_Unit): Rework to support elab proc. | |
3395 | (add_stmt): Remove handling of DECL_EXPR from here. | |
3396 | If not in function, mark visited. | |
3397 | (add_decl_expr): Put global at top level. | |
3398 | Check for cases of DECL_INITIAL we have to handle here. | |
3399 | (process_type): Add extra arg to create_type_decl. | |
3400 | (build_unit_elab): Rework to just gimplify. | |
3401 | * utils.c (pending_elaborations, elist_stack, getdecls): Deleted. | |
3402 | (block_has_vars, mark_visited, add_pending_elaborations): Likewise. | |
3403 | (get_pending_elaborations, pending_elaborations_p): Likewise. | |
3404 | (push_pending_elaborations, pop_pending_elaborations): Likewise. | |
3405 | (get_elaboration_location, insert_elaboration_list): Likewise. | |
3406 | (gnat_binding_level): Renamed from ada_binding_level. | |
3407 | (init_gnat_to_gnu): Don't clear pending_elaborations. | |
3408 | (global_bindings_p): Treat as global if no current_binding_level. | |
3409 | (set_current_block_context): New function. | |
3410 | (gnat_pushdecl): Renamed from pushdecl; major rework. | |
3411 | All callers changed. | |
3412 | (create_type_decl, create_var_decl, create_subprog_decl): Add new arg. | |
3413 | (finish_record_type): Call call pushdecl for stub decl. | |
3414 | (function_nesting_depth): Deleted. | |
3415 | (begin_subprog_body): Delete obsolete code. | |
3416 | * utils2.c (build_call_alloc_dealloc): Add new arg to create_var_decl. | |
6615c446 | 3417 | |
246d2ceb AC |
3418 | 2004-06-28 Robert Dewar <dewar@gnat.com> |
3419 | ||
3420 | * mlib-tgt-tru64.adb, mlib-tgt-aix.adb, mlib-tgt-irix.adb, | |
3421 | mlib-tgt-irix.adb, mlib-tgt-hpux.adb, mlib-tgt-linux.adb, | |
3422 | mlib-tgt-linux.adb, mlib-tgt-solaris.adb, mlib-tgt-solaris.adb, | |
3423 | mlib-tgt-vms-alpha.adb, mlib-tgt-vms-alpha.adb, mlib-tgt-vms-ia64.adb, | |
3424 | a-strmap.adb, a-strmap.ads, clean.adb: Minor reformatting | |
3425 | ||
3426 | * exp_util.adb (Is_Possibly_Unaligned_Slice): Completely rewritten, to | |
3427 | deal with problem of inefficient slices on machines with strict | |
3428 | alignment, when the slice is a component of a composite. | |
3429 | ||
3430 | * checks.adb (Apply_Array_Size_Check): Do not special case 64-bit | |
3431 | machines, we need the check there as well. | |
3432 | ||
3433 | 2004-06-28 Ed Schonberg <schonberg@gnat.com> | |
3434 | ||
3435 | * exp_ch5.adb (Expand_Assign_Array): Use correct condition to | |
3436 | determine safe copying direction for overlapping slice assignments | |
3437 | when component is controlled. | |
3438 | ||
3439 | * sem_ch12.adb (Instantiate_Formal_Package): Implicit operations of a | |
3440 | formal derived type in the actual for a formal package are visible in | |
3441 | the enclosing instance. | |
3442 | ||
3443 | 2004-06-28 Ed Schonberg <schonberg@gnat.com> | |
3444 | ||
3445 | PR ada/15600 | |
3446 | * sem_util.adb (Trace_Components): Diagnose properly an illegal | |
3447 | circularity involving a private type whose completion includes a | |
3448 | self-referential component. | |
3449 | (Enter_Name): Use Is_Inherited_Operation to distinguish a source | |
3450 | renaming or an instantiation from an implicit derived operation. | |
3451 | ||
3452 | 2004-06-28 Pascal Obry <obry@gnat.com> | |
3453 | ||
3454 | * mlib-tgt-mingw.adb: (Library_Exists_For): Remove "lib" prefix from | |
3455 | DLL. | |
3456 | (Library_File_Name_For): Idem. | |
3457 | ||
3458 | 2004-06-28 Matthew Gingell <gingell@gnat.com> | |
3459 | ||
3460 | * g-traceb.ads: Add explanatory note on the format of addresses | |
3461 | expected by addr2line. | |
3462 | ||
3463 | 2004-06-28 Jerome Guitton <guitton@act-europe.fr> | |
3464 | ||
3465 | * Makefile.in: Force debugging information on s-tasdeb.adb, | |
3466 | a-except.adb and s-assert.adb needed by the debugger. | |
3467 | ||
3468 | 2004-06-28 Vincent Celier <celier@gnat.com> | |
3469 | ||
3470 | * make.adb (Collect_Arguments_And_Compile): Change Flag1 to | |
3471 | Need_To_Build_Lib. | |
3472 | (Gnatmake): Ditto. | |
3473 | ||
3474 | * mlib-prj.adb (Check_Library): Replace Flag1 with Need_To_Build_Lib | |
3475 | ||
3476 | * prj.adb: Minor reformatting | |
3477 | (Project_Empty): Change Flag1 to Need_To_Build_Lib. Remove Flag2. | |
3478 | ||
3479 | * prj.ads: Comment updates | |
3480 | Minor reformatting | |
3481 | (Project_Data): Change Flag1 to Need_To_Build_Lib. | |
3482 | Remove Flag2: not used. | |
3483 | ||
3484 | * prj-dect.adb (Parse_Declarative_Items): Accept "null" as a | |
3485 | declaration. | |
3486 | ||
3487 | * gnat_ugn.texi: Put a "null;" declaration in one project file example | |
3488 | ||
3489 | * gnat_rm.texi: Document Empty declarations "null;". | |
3490 | ||
3491 | * makegpr.adb (Compile_Link_With_Gnatmake): Put the global archives in | |
3492 | front of the linker options. | |
3493 | (Link_Foreign): Put the global archives and the libraries in front of | |
3494 | the linker options. | |
3495 | ||
3496 | 2004-06-28 Javier Miranda <miranda@gnat.com> | |
3497 | ||
3498 | * rtsfind.adb: (Get_Unit_Name): Fix typo in comment | |
3499 | (RTU_Loaded): Code cleanup | |
3500 | (Set_RTU_Loaded): New procedure to register as *loaded* explicitly | |
3501 | withed predefined units. | |
3502 | ||
3503 | * rtsfind.ads (Set_RTU_Loaded): New procedure to register as *loaded* | |
3504 | explicitly withed predefined units. | |
3505 | Fix typo in comment | |
3506 | ||
3507 | * sem_ch10.adb (Analyze_Compilation_Unit): Register as *loaded* | |
3508 | explicitly withed predefined units. | |
3509 | ||
bce3da32 RK |
3510 | 2004-06-26 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
3511 | ||
3512 | * ada-tree.def (DECL_STMT): Deleted. | |
3513 | * ada-tree.h (IS_ADA_STMT): Now test against STMT_STMT. | |
3514 | (DECL_STMT_VAR): Deleted. | |
3515 | * decl.c: add_decl_stmt now add_decl_expr. | |
3516 | * gigi.h: Likewise. | |
3517 | * trans.c: Likewise. | |
15cd18b9 | 3518 | (gnat_gimplify_type_sizes, gnat_gimplify_one_sizepos): Deleted. |
bce3da32 RK |
3519 | (gnat_to_gnu, case N_Subprogram_Body): Set cfun->function_end_locus. |
3520 | (add_stmt): Only handle padded type here. | |
3521 | (add_stmt_with_node): Allow gnat_node to not be present. | |
3522 | (gnat_gimplify_stmt, case USE_STMT): Set *STMT_P to null. | |
3523 | (gnat_gimplify_stmt, case DECL_STMT): Deleted. | |
3524 | (gnat_stabilize_reference_1): If COMPONENT_REF of fat pointer, | |
3525 | make a SAVE_EXPR for the entire fat pointer. | |
3526 | * utils.c (pushdecl): Walk a DECL_EXPR in global case. | |
3527 | (create_index_type): Make a DECL_EXPR. | |
3528 | (end_subprog_body): Don't call allocate_struct_function here but | |
3529 | do clear cfun. | |
3530 | ||
0da2c8ac AC |
3531 | 2004-06-25 Pascal Obry <obry@gnat.com> |
3532 | ||
3533 | * makegpr.adb (Build_Library): Remove parameter Lib_Address and | |
3534 | Relocatable from Build_Dynamic_Library call. | |
3535 | ||
3536 | * gnat_ugn.texi: Change documentation about Library_Kind. Dynamic and | |
3537 | Relocatable are now synonym. | |
3538 | ||
3539 | * Makefile.in: Use s-parame-mingw.adb on MingW platform. | |
3540 | ||
3541 | * mlib-prj.adb (Build_Library): Remove DLL_Address constant definition. | |
3542 | Remove parameter Lib_Address and Relocatable from Build_Dynamic_Library | |
3543 | call. | |
3544 | ||
3545 | * mlib-tgt.ads, mlib-tgt.adb (Build_Dynamic_Library): Remove parameter | |
3546 | Lib_Address and Relocatable. | |
3547 | (Default_DLL_Address): Removed. | |
3548 | ||
6615c446 JO |
3549 | * mlib-tgt-tru64.adb, mlib-tgt-aix.adb, mlib-tgt-irix.adb, |
3550 | mlib-tgt-hpux.adb, mlib-tgt-linux.adb, mlib-tgt-solaris.adb, | |
0da2c8ac AC |
3551 | mlib-tgt-vms-alpha.adb, mlib-tgt-vms-ia64.adb, mlib-tgt-vxworks.adb: |
3552 | (Build_Dynamic_Library): Remove parameter Lib_Address and Relocatable. | |
3553 | (Default_DLL_Address): Removed. | |
3554 | ||
3555 | * mlib-tgt-mingw.adb: Ditto. | |
3556 | (Build_Dynamic_Library): Do not add "lib" prefix to the DLL name. | |
3557 | ||
3558 | * s-taprop-mingw.adb (Create_Task): Use Adjust_Storage_Size to compute | |
3559 | the initial thread stack size. | |
3560 | ||
3561 | * a-strmap.ads: Move package L to private part as it is not used in | |
3562 | the spec. Found while reading code. | |
3563 | ||
3564 | 2004-06-25 Olivier Hainque <hainque@act-europe.fr> | |
3565 | ||
3566 | * tracebak.c: Introduce support for a GCC infrastructure based | |
3567 | implementation of __gnat_backtrace. | |
3568 | ||
3569 | * raise.c: Don't rely on a C mapping of the GNAT_GCC_Exception record | |
3570 | any more. Use accessors instead. This eases maintenance and relaxes | |
3571 | some alignment constraints. | |
3572 | (_GNAT_Exception structure): Remove the Ada specific fields | |
3573 | (EID_For, Adjust_N_Cleanups_For): New accessors, exported by | |
3574 | a-exexpr.adb. | |
3575 | (is_handled_by, __gnat_eh_personality): Replace component references to | |
3576 | exception structure by use of the new accessors. | |
3577 | ||
3578 | * init.c (__gnat_initialize): Adjust comments to match the just | |
3579 | reverted meaning of the -static link-time option. | |
3580 | ||
3581 | * adaint.c (convert_addresses): Arrange not to define a stub for | |
3582 | mips-irix any more, as we now want to rely on a real version from a | |
3583 | recent libaddr2line. | |
3584 | ||
3585 | * a-exexpr.adb: Provide new accessors to a GNAT_GCC occurrence, so that | |
3586 | the personality routine can use them and not have to rely on a C | |
3587 | counterpart of the record anymore. This simplifies maintenance and | |
3588 | relaxes the constraint of having Standard'Maximum_Alignment match | |
3589 | BIGGEST_ALIGNMENT. | |
3590 | Update comments, and add a section on the common header alignment issue. | |
3591 | ||
3592 | 2004-06-25 Geert Bosch <bosch@gnat.com> | |
3593 | ||
3594 | * a-ngelfu.adb (Tanh): Use full 20 digit precision for constants in | |
3595 | polynomial approximation. Fixes inconsistency with Cody/Waite algorithm. | |
3596 | ||
3597 | 2004-06-25 Robert Dewar <dewar@gnat.com> | |
3598 | ||
3599 | * gnat_rm.texi: Fix section on component clauses to indicate that the | |
3600 | restriction on byte boundary placement still applies for bit packed | |
3601 | arrays. | |
3602 | Add comment on stack usage from Initialize_Scalars | |
3603 | ||
3604 | * gnat_ugn.texi: Add documentation for -gnatyLnnn | |
3605 | ||
3606 | * stylesw.ads, stylesw.adb: Implement new -gnatyLnnn option for | |
3607 | limiting nesting level. | |
3608 | ||
3609 | * usage.adb: Add line for -gnatyLnnn switch | |
3610 | ||
3611 | * g-debpoo.ads, xtreeprs.adb, sinput.ads, sem_ch13.ads, | |
3612 | sem_ch13.adb, exp_aggr.adb: Minor reformatting | |
3613 | ||
3614 | * sem_prag.adb (Process_Atomic_Shared_Volatile): Set Is_Atomic on base | |
3615 | type as well as on the subtype. This corrects a problem in freeze in | |
3616 | setting alignments of atomic types. | |
3617 | ||
3618 | * sem_eval.ads: Minor comment typo fixed | |
3619 | ||
3620 | * par-util.adb (Push_Scope_Stack): Check for violation of max nesting | |
3621 | level. Minor reformatting. | |
3622 | ||
3623 | * fname.adb (Is_Predefined_File_Name): Require a letter after the | |
3624 | minus sign. This means that file names like a--b.adb will not be | |
3625 | considered predefined. | |
3626 | ||
3627 | * freeze.adb: Propagate new flag Must_Be_On_Byte_Boundary to containing | |
3628 | record Test new flag and give diagnostic for bad component clause. | |
3629 | (Freeze_Entity): Set alignment of array from component alignment in | |
3630 | cases where this is safe to do. | |
3631 | ||
3632 | * exp_pakd.adb: Set new flag Must_Be_On_Byte_Boundary for large packed | |
3633 | arrays. | |
3634 | ||
3635 | * cstand.adb: (Create_Standard): Set alignment of String to 1 | |
3636 | ||
3637 | * einfo.ads, einfo.adb: Introduce new flag Must_Be_On_Byte_Boundary | |
3638 | ||
3639 | * exp_ch4.adb (Expand_Array_Equality): Improve efficiency of generated | |
3640 | code in the common constrained array cases. | |
3641 | ||
3642 | * a-storio.adb: Change implementation to avoid possible alignment | |
3643 | problems on machines requiring strict alignment (data should be moved | |
3644 | as type Buffer, not type Elmt). | |
3645 | ||
3646 | * checks.adb (Apply_Array_Size_Check): Improve these checks by | |
3647 | killing the overflow checks which we really do not need (64-bits is | |
3648 | enough). | |
3649 | ||
3650 | 2004-06-25 Vincent Celier <celier@gnat.com> | |
3651 | ||
3652 | * makegpr.adb (Is_Included_In_Global_Archive): New Boolean function | |
3653 | (Add_Archives.Recursive_Add_Archives): Call Add_Archive_Path | |
3654 | inconditionally for the main project. | |
3655 | (Recursive_Add_Archives.Add_Archive_Path): New procedure | |
3656 | (Link_Executables.Check_Time_Stamps): New procedure | |
3657 | (Link_Executables.Link_Foreign): New procedure | |
3658 | Changes made to reduce nesting level of this package | |
3659 | (Check): New procedure | |
3660 | (Add_Switches): When not in quiet output, check that a switch is not | |
3661 | the concatenation of several valid switches. If it is, issue a warning. | |
3662 | (Build_Global_Archive): If the global archive is rebuilt, linking need | |
3663 | to be done. | |
3664 | (Compile_Sources): Rebuilding a library archive does not imply | |
3665 | rebuilding the global archive. | |
3666 | (Build_Global_Archive): New procedure | |
3667 | (Build_Library): New name for Build_Archive, now only for library | |
3668 | project | |
3669 | (Check_Archive_Builder): New procedure | |
3670 | (Create_Global_Archive_Dependency_File): New procedure | |
3671 | (Gprmake): Call Build_Global_Archive before linking | |
3672 | * makegpr.adb: Use Other_Sources_Present instead of Sources_Present | |
3673 | throughout. | |
3674 | (Scan_Arg): Display the Copyright notice when -v is used | |
3675 | ||
3676 | * gnat_ugn.texi: Document new switch -files= (VMS qualifier /FILES=) | |
3677 | for gnatls. | |
3678 | ||
3679 | * vms_data.ads: Add qualifier /MAX_NESTING=nnn (-gnatyLnnn) for GNAT | |
3680 | COMPILE. | |
3681 | Add new GNAT LIST qualifier /FILES= | |
3682 | Added qualifier /DIRECTORY= to GNAT METRIC | |
3683 | Added qualifier /FILES= to GNAT METRIC | |
3684 | Added qualifier /FILES to GNAT PRETTY | |
3685 | ||
3686 | * switch.adb (Is_Front_End_Switch): Refine the test for --RTS or -fRTS, | |
3687 | to take into account both versions of the switch. | |
3688 | ||
3689 | * switch-c.adb (Scan_Front_End_Switches): New switch -gnatez. Should | |
3690 | always be the last switch to the gcc driver. Disable switch storing so | |
3691 | that switches automatically added by the gcc driver are not put in the | |
3692 | ALI file. | |
3693 | ||
3694 | * prj.adb (Project_Empty): Take into account changes in components of | |
3695 | Project_Data. | |
3696 | ||
3697 | * prj.ads (Languages_Processed): New enumaration value All_Languages. | |
3698 | ||
3699 | * prj.ads (Project_Data): Remove component Lib_Elaboration: never | |
3700 | used. Split Boolean component Ada_Sources_Present in two Boolean | |
3701 | components Ada_Sources_Present and Other_Sources_Present. | |
3702 | Minor reformatting | |
3703 | ||
3704 | * prj-env.adb (For_All_Source_Dirs.Add): Use Ada_Sources_Present | |
3705 | instead of Sources_Present. | |
3706 | (Set_Ada_Paths.Add.Recursive_Add): Ditto | |
3707 | ||
3708 | * prj-nmsc.adb: Minor reformatting | |
3709 | (Check_Ada_Naming_Scheme): New name of procedure Check_Naming_Scheme | |
3710 | (Check_Ada_Naming_Scheme_Validity): New name of previous procedure | |
3711 | Check_Ada_Naming_Scheme. | |
3712 | Change Sources_Present to Ada_Sources_Present or Other_Sources_Present | |
3713 | throughout. | |
3714 | ||
3715 | * prj-part.adb (Post_Parse_Context_Clause): New Boolean parameter | |
3716 | In_Limited. | |
3717 | Make sure that all cycles where there is at least one "limited with" | |
3718 | are detected. | |
3719 | (Parse_Single_Project): New Boolean parameter In_Limited | |
3720 | ||
3721 | * prj-proc.adb (Recursive_Check): When Process_Languages is | |
3722 | All_Languages, call first Prj.Nmsc.Ada_Check, then | |
3723 | Prj.Nmsc.Other_Languages_Check. | |
3724 | ||
3725 | * prj-proc.adb (Process): Use Ada_Sources_Present or | |
3726 | Other_Sources_Present (instead of Sources_Present) depending on | |
3727 | Process_Languages. | |
3728 | ||
3729 | * lang-specs.h: Keep -g and -m switches in the same order, and as the | |
3730 | last switches. | |
3731 | ||
3732 | * lib.adb (Switch_Storing_Enabled): New global Boolean flag | |
3733 | (Disable_Switch_Storing): New procedure. Set Switch_Storing_Enabled to | |
3734 | False. | |
3735 | (Store_Compilation_Switch): Do nothing if Switch_Storing_Enabled is | |
3736 | False. | |
3737 | ||
3738 | * lib.ads (Disable_Switch_Storing): New procedure. | |
3739 | ||
3740 | * make.adb: Modifications to reduce nesting level of this package. | |
3741 | (Check_Standard_Library): New procedure | |
3742 | (Gnatmake.Check_Mains): New procedure | |
3743 | (Gnatmake.Create_Binder_Mapping_File): New procedure | |
3744 | (Compile_Sources.Compile): Add switch -gnatez as the last option | |
3745 | (Display): Never display -gnatez | |
3746 | ||
6615c446 | 3747 | * Makefile.generic: |
0da2c8ac AC |
3748 | When using $(MAIN_OBJECT), always use $(OBJ_DIR)/$(MAIN_OBJECT) |
3749 | ||
3750 | * gnatcmd.adb (Check_Project): New function | |
3751 | (Process_Link): New procedure to reduce nesting depth | |
3752 | (Check_Files): New procedure to reduce the nesting depth. | |
3753 | For GNAT METRIC, include the inherited sources in extending projects. | |
3754 | (GNATCmd): When GNAT LS is invoked with a project file and no files, | |
3755 | add the list of files from the sources of the project file. If this list | |
3756 | is too long, put it in a temp text files and use switch -files= | |
3757 | (Delete_Temp_Config_Files): Delete the temp text file that contains | |
3758 | a list of source for gnatpp or gnatmetric, if one has been created. | |
3759 | (GNATCmd): For GNAT METRIC and GNAT PRETTY, if the number of sources | |
3760 | in the project file is too large, create a temporary text file that | |
3761 | list them and pass it to the tool with "-files=<temp text file>". | |
3762 | (GNATCmd): For GNAT METRIC add "-d=<abject dir>" as the first switch | |
3763 | ||
3764 | * gnatlink.adb (Gnatlink): Do not compile with --RTS= when the | |
3765 | generated file is in not in Ada. | |
3766 | ||
3767 | * gnatls.adb: Remove all parameters And_Save that are no longer used. | |
3768 | (Scan_Ls_Arg): Add processing for -files= | |
3769 | (Usage): Add line for -files= | |
3770 | ||
3771 | * g-os_lib.adb (On_Windows): New global constant Boolean flag | |
3772 | (Normalize_Pathname): When on Windows and the path starts with a | |
3773 | directory separator, make sure that the resulting path will start with | |
3774 | a drive letter. | |
3775 | ||
3776 | * clean.adb (Clean_Archive): New procedure | |
3777 | (Clean_Project): When there is non-Ada code, delete the global archive, | |
3778 | the archive dependency files, the object files and their dependency | |
3779 | files, if they exist. | |
3780 | (Gnatclean): Call Prj.Pars.Parse for All_Languages, not for Ada only. | |
3781 | ||
3782 | 2004-06-25 Thomas Quinot <quinot@act-europe.fr> | |
3783 | ||
3784 | * sinfo.ads: Fix typo in comment. | |
3785 | ||
3786 | * sem_dist.adb (Process_Remote_AST_Attribute): Simplify code that uses | |
3787 | the TSS for remote access-to-subprogram types, since these TSS are | |
3788 | always present once the type has been analyzed. | |
3789 | (RAS_E_Dereference): Same. | |
3790 | ||
3791 | * sem_attr.adb (Analyze_Attribute): When analysis of an attribute | |
3792 | reference raises Bad_Attribute, mark the reference as analyzed so the | |
3793 | node (and any children resulting from rewrites that could have occurred | |
3794 | during the analysis that ultimately failed) is not analyzed again. | |
3795 | ||
3796 | * exp_ch7.ads (Find_Final_List): Fix misaligned comment. | |
3797 | ||
3798 | * exp_dist.adb: Minor comment fix. | |
3799 | ||
3800 | * exp_ch4.adb (Expand_N_Allocator): For an allocator whose expected | |
3801 | type is an anonymous access type, no unchecked deallocation of the | |
3802 | allocated object can occur. If the object is controlled, attach it with | |
3803 | a count of 1. This allows attachment to the Global_Final_List, if | |
3804 | no other relevant list is available. | |
3805 | (Get_Allocator_Final_List): For an anonymous access type that is | |
3806 | the type of a discriminant or record component, the corresponding | |
3807 | finalisation list is the one of the scope of the type. | |
3808 | ||
3809 | 2004-06-25 Ed Schonberg <schonberg@gnat.com> | |
3810 | ||
3811 | * sem_ch3.adb (Replace_Type): When computing the signature of an | |
3812 | inherited subprogram, use the first subtype if the derived type | |
3813 | declaration has no constraint. | |
3814 | ||
3815 | * exp_ch6.adb (Add_Call_By_Copy_Code): Check that formal is an array | |
3816 | before applying previous optimization. Minor code cleanup. | |
3817 | ||
3818 | * exp_util.adb (Is_Possibly_Unaligned_Slice): If the component is | |
3819 | placed at the beginning of an unpacked record without explicit | |
3820 | alignment, a slice of it will be aligned and does not need a copy when | |
3821 | used as an actual. | |
3822 | ||
3823 | 2004-06-25 Ed Schonberg <schonberg@gnat.com> | |
3824 | ||
3825 | PR ada/15591 | |
3826 | PR ada/15592 | |
3827 | * sem_ch8.adb (Attribute_Renaming): Reject renaming if the attribute | |
3828 | reference is written with expressions mimicking parameters. | |
3829 | ||
3830 | 2004-06-25 Hristian Kirtchev <kirtchev@gnat.com> | |
3831 | ||
3832 | PR ada/15589 | |
3833 | * sem_ch3.adb (Build_Derived_Record_Type): Add additional check to | |
3834 | STEP 2a. The constraints of a full type declaration of a derived record | |
3835 | type are checked for conformance with those declared in the | |
3836 | corresponding private extension declaration. The message | |
3837 | "not conformant with previous declaration" is emitted if an error is | |
3838 | detected. | |
3839 | ||
3840 | 2004-06-25 Vasiliy Fofanov <fofanov@act-europe.fr> | |
3841 | ||
3842 | * g-traceb.ads: Document the need for -E binder switch in the spec. | |
3843 | ||
3844 | * g-trasym.ads: Document the need for -E binder switch in the spec. | |
3845 | ||
3846 | 2004-06-25 Jose Ruiz <ruiz@act-europe.fr> | |
3847 | ||
3848 | * sem_prag.adb: Add handling of pragma Detect_Blocking. | |
3849 | ||
3850 | * snames.h, snames.ads, snames.adb: Add entry for pragma | |
3851 | Detect_Blocking. | |
3852 | ||
3853 | * s-rident.ads: Change reference to pragma Detect_Blocking. | |
3854 | ||
3855 | * targparm.ads, targparm.adb: Allow pragma Detect_Blocking in | |
3856 | system.ads. | |
3857 | ||
3858 | * opt.ads (Detect_Blocking): New Boolean variable (defaulted to False) | |
3859 | to indicate whether pragma Detect_Blocking is active. | |
3860 | ||
3861 | * par-prag.adb: Add entry for pragma Detect_Blocking. | |
3862 | ||
3863 | * rtsfind.adb (RTU_Loaded): Fix the temporary kludge to get past bug | |
3864 | of not handling WITH. | |
3865 | Note that this replaces the previous update which was incorrect. | |
3866 | ||
3867 | 2004-06-25 Javier Miranda <miranda@gnat.com> | |
3868 | ||
3869 | * sem_ch10.adb (Re_Install_Use_Clauses): Force the installation of the | |
3870 | use-clauses to have a clean environment. | |
3871 | ||
3872 | * sem_ch8.adb (Install_Use_Clauses): Addition of a new formal to force | |
3873 | the installation of the use-clauses to stablish a clean environment in | |
3874 | case of compilation of a separate unit; otherwise the call to | |
3875 | use_one_package is protected by the barrier Applicable_Use. | |
3876 | ||
3877 | * sem_ch8.ads (Install_Use_Clauses): Addition of a new formal to force | |
3878 | the installation of the use-clauses to stablish a clean environment in | |
3879 | case of compilation of a separate unit. | |
3880 | (End_Use_Clauses): Minor comment cleanup. | |
3881 | ||
3882 | 2004-06-25 Sergey Rybin <rybin@act-europe.fr> | |
3883 | ||
3884 | * gnat_ugn.texi: Add description of the gnatpp 'files' switch | |
3885 | ||
65355d53 RH |
3886 | 2004-06-23 Richard Henderson <rth@redhat.com> |
3887 | ||
3888 | * trans.c (gnat_gimplify_stmt): Update gimplify_type_sizes call. | |
3889 | ||
c0e3aa48 RK |
3890 | 2004-06-20 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
3891 | ||
3892 | * decl.c (elaborate_expression, elaborate_expression_1): Arguments | |
3893 | now bool instead of int. | |
3894 | (gnat_to_gnu_entity, elaborate_expression_1): New arg to COMPONENT_REF. | |
3895 | * trans.c (gnu_switch_label_stack): New function. | |
3896 | (gnat_to_gnu, N_Object_Renaming_Declaration): Result is what the | |
3897 | elaboration of renamed entity returns. | |
3898 | (gnat_to_gnu, case N_Case_Statement): Add branches to end label. | |
3899 | (add_decl_stmt): Don't add TYPE_DECL for UNCONSTRAINED_ARRAY_TYPE. | |
3900 | (gnat_gimplify_stmt): Use alloc_stmt_list, not build_empty_stmt. | |
3901 | (gnat_gimplify_stmt, case DECL_STMT): gimplify DECL_SIZE and | |
3902 | DECL_SIZE_UNIT and simplify variable-sized case. | |
3903 | (gnat_gimplify_type_sizes, gnat_gimplify_one_sizepos): Deleted. | |
3904 | Callers changes to call gimplify_type_sizes and gimplify_one_sizepos. | |
3905 | (gnat_stabilize_reference): Add arg to COMPONENT_REF. | |
3906 | (build_unit_elab): Disable for now. | |
3907 | * utils.c (mark_visited): New function. | |
3908 | (pushdecl): Walk tree to call it for global decl. | |
3909 | (update_pointer_to): Update all variants of pointer and ref types. | |
3910 | Add arg to COMPONENT_REF. | |
3911 | (convert): Likewise. | |
3912 | Move check for converting between variants lower down. | |
3913 | * utils2.c (build_simple_component_ref): Add arg to COMPONENT_REF. | |
3914 | (build_allocator): Don't force type of MODIFY_EXPR. | |
3915 | (gnat_mark_addressable, case VAR_DECL): Unconditionally call | |
3916 | put_var_into_stack. | |
3917 | ||
966389ee RK |
3918 | 2004-06-14 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
3919 | ||
3920 | * ada-tree.def (LOOP_STMT, EXIT_STMT): Update documentation. | |
3921 | * ada-tree.h (EXIT_STMT_LABEL): Renamed from EXIT_STMT_LOOP. | |
3922 | * decl.c (gnat_to_gnu_entity): Also set force_global for imported | |
3923 | subprograms. | |
3924 | * trans.c (gnu_loop_label_stack): Renamed from gnu_loop_stmt_stack; | |
3925 | all callers changed. | |
3926 | (gnat_to_gnu, case N_Loop_Statement, case N_Exit_Statement): Change | |
3927 | the way that EXIT_STMT finds the loop label. | |
3928 | (gnat_gimplify_stmt, case LOOP_STMT, EXIT_STMT): Likewise. | |
3929 | (gnat_gimplify_stmt, case DECL_STMT): Handle variable-sized decls here. | |
3930 | (add_stmt): Use annotate_with_locus insted of setting directly. | |
3931 | (pos_to_construct): Set TREE_PURPOSE of each entry to index. | |
3932 | (gnat_stabilize_reference, case ARRAY_RANGE_REF): Merge with ARRAY_REF. | |
3933 | * utils.c (gnat_install_builtins): Install __builtin_memcmp. | |
3934 | (build_vms_descriptor): Add extra args to ARRAY_REF. | |
3935 | (convert): Use VIEW_CONVERT_EXPR between aggregate types. | |
3936 | * utils2.c (gnat_truthvalue_conversion, case INTEGER_CST, REAL_CST): | |
3937 | New cases. | |
3938 | (build_binary_op): Don't make explicit CONVERT_EXPR. | |
3939 | Add extra rgs to ARRAY_REF. | |
3940 | ||
cc335f43 AC |
3941 | 2004-06-14 Pascal Obry <obry@gnat.com> |
3942 | ||
3943 | * gnat_ugn.texi: Document relocatable vs. dynamic Library_Kind on | |
3944 | Windows. Fix minor typo. | |
3945 | ||
3946 | * mlib-tgt-mingw.adb: New implementation using the GCC -shared option | |
3947 | which is now supported on Windows. With this implementation using the | |
3948 | Library Project feature is no different on Windows than on UNIX. | |
3949 | ||
3950 | 2004-06-14 Vincent Celier <celier@gnat.com> | |
3951 | ||
3952 | * makegpr.adb (Compile_Sources): Nothing to do when there are no | |
3953 | non-Ada sources. | |
3954 | ||
3955 | * mlib-tgt-vxworks.adb (Library_Exists_For): Remove incorrect comment | |
3956 | ||
3957 | * prj-part.adb (Parse_Single_Project): When a duplicate project name is | |
3958 | found, show the project name and the path of the previously parsed | |
3959 | project file. | |
3960 | ||
3961 | 2004-06-14 Ed Schonberg <schonberg@gnat.com> | |
3962 | ||
3963 | * exp_ch6.adb (Add_Call_By_Copy_Code): For an out-parameter that is an | |
3964 | array, avoid copying the actual before the call. | |
3965 | ||
3966 | 2004-06-14 Thomas Quinot <quinot@act-europe.fr> | |
3967 | ||
3968 | * g-debpoo.adb: Remove alignment assumptions from GNAT.Debug_Pools. | |
3969 | Instead, allocate memory on worst-case alignment assumptions, and then | |
3970 | return an aligned address within the allocated zone. | |
3971 | ||
3972 | 2004-06-14 Robert Dewar <dewar@gnat.com> | |
3973 | ||
3974 | * bindgen.adb (Gen_Adainit_Ada): Do not generate external references to | |
3975 | elab entities in predefined units in No_Run_Time_Mode. | |
3976 | (Gen_Adainit_C): Same fix | |
3977 | (Gen_Elab_Calls_Ada): Do not generate calls to elaborate predefined | |
3978 | units in No_Run_Time_Mode | |
3979 | (Gen_Elab_Calls_C): Same fix | |
3980 | ||
3981 | * symbols-vms-alpha.adb: Minor reformatting | |
3982 | ||
3983 | * g-debpoo.ads: Minor reformatting | |
3984 | ||
3985 | * lib.adb (In_Same_Extended_Unit): Version working on node id's | |
3986 | ||
3987 | * lib.ads (In_Same_Extended_Unit): Version working on node id's | |
3988 | ||
3989 | * lib-xref.adb: Minor cleanup, use new version of In_Same_Extended_Unit | |
3990 | working on nodes. | |
3991 | ||
3992 | * make.adb: Minor reformatting | |
3993 | ||
3994 | * par-ch12.adb: Minor reformatting | |
3995 | ||
3996 | * par-prag.adb: Add dummy entry for pragma Profile_Warnings | |
3997 | ||
3998 | * prj-strt.adb: Minor reformatting | |
3999 | ||
4000 | * restrict.ads, restrict.adb: Redo handling of profile restrictions to | |
4001 | be more general. | |
4002 | ||
4003 | * sem_attr.adb: Minor reformatting | |
4004 | ||
4005 | * sem_ch7.adb: Minor reformatting | |
4006 | ||
4007 | * sem_elab.adb (Check_A_Call): Deal with problem of calling init proc | |
4008 | for type in the same unit as the object declaration. | |
4009 | ||
4010 | * sem_prag.adb (Check_Arg_Is_External_Name): New procedure, allows | |
4011 | static string expressions and not just string literals. | |
4012 | Minor reformatting | |
4013 | (Set_Warning): Reset restriction warning flag for restriction pragma | |
4014 | Implement pragma Profile_Warnings | |
4015 | Implement pragma Profile (Restricted) | |
4016 | Give obolescent messages for old restrictions and pragmas | |
4017 | ||
4018 | * snames.h, snames.ads, snames.adb: Add new entry for pragma | |
4019 | Profile_Warnings. | |
4020 | ||
4021 | * s-rident.ads: Add declarations for restrictions required by profile | |
4022 | Restricted and profile Ravenscar. | |
4023 | ||
4024 | * targparm.ads, targparm.adb: Allow pragma Profile in system.ads | |
4025 | ||
4026 | * gnat_ugn.texi: Correct some missing entries in the list of GNAT | |
4027 | configuration pragmas. | |
4028 | ||
5453d5bd AC |
4029 | 2004-06-11 Vincent Celier <celier@gnat.com> |
4030 | ||
4031 | * mlib-tgt-vms-alpha.adb (Build_Dynamic_Library): Issue switch -R to | |
4032 | gnatsym, when symbol policy is Restricted. | |
4033 | ||
4034 | * mlib-tgt-vms-ia64.adb (Build_Dynamic_Library): Issue switch -R to | |
4035 | gnatsym, when symbol policy is Restricted. | |
4036 | ||
4037 | * symbols-vms-alpha.adb (Initialize): When symbol policy is Restricted, | |
4038 | read the symbol file. | |
4039 | (Finalize): Fail in symbol policy Restricted if a symbol in the original | |
4040 | symbol file is not in the object files. Do not create a new symbol file | |
4041 | when symbol policy is Restricted. | |
4042 | ||
4043 | * gnatbind.adb (Gnatbind): Initialize Snames, because Snames is used | |
4044 | in Scng. | |
4045 | ||
4046 | * gnatsym.adb (Parse_Vmd_Line): Process new switch -R for symbol policy | |
4047 | Restricted. | |
4048 | (Usage): Line for new switch -R | |
4049 | ||
4050 | * make.adb (Initialize): When the platform is not VMS, add the | |
4051 | directory where gnatmake is invoked in the front of the path, if | |
4052 | gnatmake is invoked with directory information. Change the Scan_Args | |
4053 | while loop to a for loop. | |
4054 | (Recursive_Compute_Depth): Remove parameter Visited. Improve efficiency: | |
4055 | if Depth is equal or greater than the proposed depth, there is nothing | |
4056 | to do. | |
4057 | (Initialize): Call Recursive_Compute_Depth with initial Depth equal to 1 | |
4058 | instead of 0. | |
4059 | ||
4060 | * prj.ads: Add new symbol policy Restricted. | |
4061 | ||
4062 | * prj-dect.adb (Parse_Case_Construction): Call End_Case_Construction | |
4063 | with the new parameters Check_All_Labels and Case_Location. | |
4064 | ||
4065 | * prj-nmsc.adb (Ada_Check): Process new symbol policy Restricted | |
4066 | (Library_Symbol_File needs to be defined). | |
4067 | ||
4068 | * prj-strt.adb (End_Case_Construction): New parameters Check_All_Labels | |
4069 | and Case_Location If Check_All_Labels is True, check that all values of | |
4070 | the string type are used, and output warning(s) if they are not. | |
4071 | ||
4072 | * prj-strt.ads (End_Case_Construction): New parameters Check_All_Labels | |
4073 | and Case_Location. | |
4074 | ||
4075 | * gnat_ugn.texi: Reorder subclauses in menus "Switches for gcc" | |
4076 | ||
4077 | * gnat_ugn.texi: Update documentation about the library directory in | |
4078 | Library Projects. | |
4079 | ||
4080 | * makegpr.adb (Display_Command): In verbose mode, also display the | |
4081 | value of the CPATH env var, when the compiler is gcc. | |
4082 | (Initialize): Change the Scan_Args while loop to a for loop | |
4083 | (Compile_Individual_Sources): Change directory to object directory | |
4084 | before compilations. | |
4085 | ||
4086 | * symbols.ads: New symbol policy Restricted. | |
4087 | ||
4088 | 2004-06-11 Olivier Hainque <hainque@act-europe.fr> | |
4089 | ||
4090 | * a-except.adb (Raise_After_Setup family): Remove. The responsibility | |
4091 | is now taken care of internally in the Exception_Propagation package | |
4092 | and does not require clients assistance any more. | |
4093 | ||
4094 | * a-exexpr.adb (Is_Setup_And_Not_Propagated, | |
4095 | Set_Setup_And_Not_Propagated, and Clear_Setup_And_Not_Propagated): New | |
4096 | functions. Helpers to maintain a predicate required in the handling of | |
4097 | occurrence transfer between tasks. | |
4098 | This is now handled internally and does not require clients assistance | |
4099 | for the setup/propagate separation anymore. | |
4100 | (Setup_Exception, Propagate_Exception): Simplify the Private_Data | |
4101 | allocation strategy, handle the Setup_And_Not_Propagated predicate and | |
4102 | document. | |
4103 | ||
4104 | * s-taenca.adb (Check_Exception): Use raise_with_msg instead of | |
4105 | raise_after_setup, now that everything is handled internally within the | |
4106 | setup/propagation engine. | |
4107 | ||
4108 | 2004-06-11 Hristian Kirtchev <kirtchev@gnat.com> | |
4109 | ||
4110 | * exp_ch6.adb (Expand_Inlined_Call): Add function Formal_Is_Used_Once. | |
4111 | Add additional conditions for the case of an actual being a simple | |
4112 | name or literal. Improve inlining by preventing the generation | |
4113 | of temporaries with a short lifetime (one use). | |
4114 | ||
4115 | 2004-06-11 Hristian Kirtchev <kirtchev@gnat.com> | |
4116 | ||
4117 | PR ada/15587 | |
4118 | ||
4119 | * einfo.ads: Minor comment updates for Has_Completion and | |
4120 | E_Constant list of flags. | |
4121 | ||
4122 | * sem_ch3.adb (Analyze_Object_Declaration): Full constant declarations | |
4123 | and constant redeclarations now set the Has_Completion flag of their | |
4124 | defining identifiers. | |
4125 | ||
4126 | * sem_ch7.adb (Analyze_Package_Spec): Add procedure | |
4127 | Inspect_Deferred_Constant_Completion. | |
4128 | Used to detect private deferred constants that have not been completed | |
4129 | either by a constant redeclaration or pragma Import. Emits error message | |
4130 | "constant declaration requires initialization expression". | |
4131 | ||
4132 | * sem_prag.adb (Process_Import_Or_Interface): An Import pragma now | |
4133 | completes a deferred constant. | |
4134 | ||
4135 | 2004-06-11 Geert Bosch <bosch@gnat.com> | |
4136 | ||
4137 | * eval_fat.adb (Decompose_Int): Fix rounding of negative numbers. | |
4138 | ||
4139 | * s-fatgen.adb (Gradual_Scaling): Correct off-by-one error in | |
4140 | calculating exponent for scaling denormal numbers. | |
4141 | (Leading_Part): Properly raise Constraint_Error for zero or negative | |
4142 | Adjustment. | |
4143 | (Remainder): Properly raise Constraint_Error for zero divisor. | |
4144 | ||
4145 | 2004-06-11 Thomas Quinot <quinot@act-europe.fr> | |
4146 | ||
4147 | * sem_util.adb: Minor reformatting. | |
4148 | ||
4149 | * exp_ch2.adb (Expand_Entry_Parameter): Generate an explicit | |
4150 | dereference when accessing the entry parameter record. | |
4151 | (Check_Array_Type): Always check for possible implicit dereference. | |
4152 | (maybe_implicit_dereference): Rename to check_no_implicit_derefence. | |
4153 | Abort if a pointer is still present (denoting that an implicit | |
4154 | dereference was left in the tree by the front-end). | |
4155 | ||
4156 | * sem_attr.adb (Expand_Entry_Parameter): Generate an explicit | |
4157 | dereference when accessing the entry parameter record. | |
4158 | (Check_Array_Type): Always check for possible implicit dereference. | |
4159 | (maybe_implicit_dereference): Rename to check_no_implicit_derefence. | |
4160 | Abort if a pointer is still present (denoting that an implicit | |
4161 | dereference was left in the tree by the front-end). | |
4162 | ||
4163 | 2004-06-11 Emmanuel Briot <briot@act-europe.fr> | |
4164 | ||
4165 | * g-debpoo.adb (Deallocate, Dereference): Add prefix "error:" to error | |
4166 | message, like the compiler itself does. Easier to parse the output. | |
4167 | ||
4168 | * g-debpoo.ads: (Allocate, Deallocate, Dereference): Add comments. | |
4169 | ||
4170 | * gnat_ugn.texi (gnatxref, gnatfind): Clarify that source names should | |
4171 | be base names, and not includes directories. | |
4172 | ||
4173 | 2004-06-11 Arnaud Charlet <charlet@act-europe.fr> | |
4174 | ||
4175 | * Makefile.generic ($(EXEC)): Depend on $(OBJECTS), not $(OBJ_FILES), | |
4176 | so that dependencies are properly taken into account by make. | |
4177 | ||
4178 | 2004-06-11 Arnaud Charlet <charlet@act-europe.fr> | |
4179 | ||
4180 | PR ada/15622 | |
4181 | * s-unstyp.ads, s-maccod.ads, sem_ch8.adb, s-auxdec.ads, | |
4182 | exp_intr.adb, s-auxdec-vms_64.ads: Fix typo: instrinsic -> intrinsic | |
4183 | ||
4184 | 2004-06-11 Jerome Guitton <guitton@act-europe.fr> | |
4185 | ||
4186 | * Makefile.in (install-gnatlib): install target-specific run-time files. | |
4187 | ||
4188 | * Make-lang.in: Remove obsolete targets. | |
4189 | ||
4190 | 2004-06-11 Ed Schonberg <schonberg@gnat.com> | |
4191 | ||
4192 | * par-ch12.adb (P_Generic): Add scope before analyzing subprogram | |
4193 | specification, to catch misuses of program unit names. | |
4194 | ||
4195 | * sem_res.adb (Resolve_Type_Conversion): Do not emit warnings on | |
4196 | superfluous conversions in an instance. | |
4197 | ||
4198 | 2004-06-11 Ed Schonberg <schonberg@gnat.com> | |
4199 | ||
4200 | PR ada/15403 | |
4201 | ||
4202 | * sem_ch12.adb (Save_References): If operator node has been folded to | |
4203 | enumeration literal, associated_node must be discarded. | |
4204 | ||
4205 | 2004-06-11 Jose Ruiz <ruiz@act-europe.fr> | |
4206 | ||
4207 | * s-stchop-vxworks.adb: Add required pragma Convention to | |
4208 | Task_Descriptor because it is updated by a C function. | |
4209 | ||
a98f59be AC |
4210 | 2004-06-08 Arnaud Charlet <charlet@act-europe.fr> |
4211 | ||
4212 | PR ada/15568 | |
4213 | ||
4214 | * Makefile.in: Remove target specific SO_OPT on IRIX | |
4215 | ||
821e1ea1 RK |
4216 | 2004-06-07 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
4217 | ||
4218 | * ada-tree.def (TRANSFORM_EXPR, ALLOCATE_EXPR, USE_EXPR): Deleted. | |
4219 | (GNAT_NOP_EXPR, GNAT_LOOP_ID, EXPR_STMT, NULL_STMT): Likewise. | |
4220 | (BLOCK_STMT, IF_STMT, GOTO_STMT, LABEL_STMT, RETURN_STMT): Likewise. | |
4221 | (ASM_STMT, BREAK_STMT, REGION_STMT,HANDLER_STMT): Likewise. | |
4222 | (STMT_STMT, USE_STMT): New statement codes. | |
4223 | (LOOP_STMT, EXIT_STMT): Make slight semantic changes. | |
4224 | * ada-tree.h: Reflect above changes. | |
15cd18b9 | 4225 | (struct tree_loop_id): Deleted. |
821e1ea1 RK |
4226 | (union lang_tree_node, struct lang_decl, struct lang_type): |
4227 | Now just contains a tree node; update macros using TYPE_LANG_SPECIFIC | |
4228 | and DECL_LANGUAGE_SPECIFIC to reflect these changes. | |
4229 | (DECL_INIT_BY_ASSIGN_P, TRE_LOOP_NODE_ID, TREE_SLOC): Deleted. | |
4230 | (IS_ADA_STMT): New macro. | |
4231 | * decl.c (annotate_decl_with_node): New function. | |
4232 | (gnat_to_gnu_entity): Use it and Sloc_to_locus instead of set_lineno. | |
4233 | (gnat_to_gnu_entity, case object): Remove call to expand CONVERT_EXPR. | |
4234 | Call add_stmt_with_node to do needed assignments. | |
4235 | Add call to update setjmp buffer directly, not via EXPR_STMT. | |
4236 | (maybe_variable): Argment GNAT_NODE deleted. | |
4237 | * gigi.h (maybe_variable): Likewise. | |
4238 | (make_transform, add_stmt_with_node, set_block_for_group): New. | |
4239 | (gnat_gimplify_expr, gnat_expand_body, Sloc_to_locus): Likewise. | |
4240 | (set_block_jmpbuf_decl, get_block_jmpbuf_decl): Likewise. | |
4241 | (discard_file_names, gnu_block_stack, gnat_to_code): Deleted. | |
4242 | (set_lineno, set_lineno_from_sloc): Likewise. | |
4243 | (record_code_position, insert_code_for): Likewise. | |
4244 | (gnat_poplevel): Now returns void. | |
4245 | (end_subprog_body): Now takes argument. | |
4246 | * misc.c (cgraph.h, tree-inline.h): New includes. | |
4247 | (gnat_tree_size, LANG_HOOKS_TREE_SIZE): Deleted. | |
4248 | (gnat_post_options, LANG_HOOKS_POST_OPTIONS): New. | |
4249 | (LANG_HOOKS_CALLGRAPH_EXPAND_FUNCTION): Likewise. | |
4250 | (LANG_HOOKS_RTL_EXPAND_STMT, LANG_HOOKS_GIMPLIFY_EXPR): Likewise. | |
4251 | (gnat_parse_file): Don't set immediate_size_expand. | |
4252 | Call cgraph functions. | |
4253 | (gnat_expand_expr): Remove most cases. | |
4254 | (record_code_position, insert_code_for): Remove from here. | |
4255 | * trans.c (toplev.h, tree-gimple.h): Now included. | |
4256 | (discard_file_names): Deleted. | |
4257 | (gnu_block_stack, gnu_block_stmt_node, gnu_block_stmt_free_list): Del. | |
4258 | (first_nondeleted_insn, make_expr_stmt_from_rtl): Likewise. | |
4259 | (struct stmt_group, current_stmt_group, stmt_group_free_list): New. | |
4260 | (gnu_stack_free_list, record_cost_position, insert_code_for): Likewise. | |
4261 | (add_cleanup, push_stack, gnat_gimplify_stmt, add_cleanup): Likewise. | |
4262 | (gnat_gimplify_type_sizes, gnat_gimplify_one_sizepos): Likewise. | |
4263 | (gnat_expand_body_1, gnat_gimplify_expr, annotate_with_node): Likewise. | |
4264 | (set_block_for_group, add_stmt_list): Likewise. | |
4265 | (start_stmt_group): Renamed from start_block_stmt. | |
4266 | (end_stmt_group): Likewise, from end_block_stmt. | |
4267 | (build_stmt_group): Likewise, from build_block_stmt, also add arg. | |
4268 | (gigi): Don't set discard_file_names or call set_lineno. | |
4269 | Disallow front end ZCX; call gnat_to_gnu, not gnat_to_code. | |
4270 | (tree_transform): Deleted, now renamed to be gnat_to_gnu. | |
4271 | Numerous changes throughout to reflect new names and complete | |
4272 | function-at-a-time implementation. | |
4273 | (gnat_expand_stmt): Delete or comment out all cases. | |
4274 | (process_inlined_subprograms): Use add_stmt. | |
4275 | (process_decls): Use gnat_to_gnu, not gnat_to_code, and don't | |
4276 | call set_lineno; also remove unneeded block handling. | |
4277 | (process_type): Remove unneeded block handling. | |
4278 | (build_unit_elab): Remove calls to deleted functions. | |
4279 | * utils.c (cgraph.h, tree-inline.h, tree-gimple.h): Now include. | |
4280 | (tree-dump.h): Likewise. | |
4281 | (struct ada_binding_level): Add field jmpbuf_decl. | |
4282 | (gnat_define_builtin, gnat_install_builtins): New. | |
4283 | (gnat_gimplify_function, gnat_finalize): Likewise. | |
4284 | (gnat_poplevel): No longer return BLOCK, set it instead. | |
4285 | Remove code dealing with nested functions. | |
4286 | (gnat_init_decl_processing): Also set size_type_node. | |
4287 | Call gnat_install_builtins. | |
4288 | (create_var_decl): Don't set DECL_INIT_BY_ASSIGN. | |
4289 | (create_subprog_decl): Change handling of inline_flag; set TREE_STATIC. | |
4290 | Remove special-case for "main". | |
4291 | (end_subprog_body): Add arg and rework for tree-ssa. | |
4292 | (convert): Don't use GNAT_NOP_EXPR or look for TRANSFORM_EXPR. | |
4293 | Add case for BOOLEAN_TYPE. | |
4294 | * utils2.c (rtl.h): Now include. | |
4295 | (build_call_raise): Test Debug_Flag_NN directly. | |
4296 | (build_call_alloc_dealloc): Don't use local stack allocation for now. | |
4297 | (gnat_mark_addressable, case GNAT_NOP_EXPR): Deleted. | |
4298 | (gnat_mark_addressable, case VAR_DECL): Handle both early & late cases. | |
4299 | ||
0ab80019 AC |
4300 | 2004-06-07 Robert Dewar <dewar@gnat.com> |
4301 | ||
4302 | * a-direct.ads, einfo.ads: Minor comment updates | |
4303 | ||
4304 | * s-taprop-lynxos.adb, s-taprop-tru64.adb, s-taprop-irix.adb, | |
4305 | s-taprop-irix-athread.adb, s-taprop-hpux-dce.adb, s-taprop-linux.adb, | |
4306 | s-taprop-dummy.adb, s-taprop-os2.adb, s-taprop-solaris.adb, | |
4307 | s-taprop-vms.adb, s-taprop-mingw.adb, s-taprop-vxworks.adb, | |
4308 | s-taprop-posix.adb, s-taprop.ads, exp_dbug.adb: Minor reformatting. | |
4309 | ||
4310 | * s-interr-sigaction.adb: Remove unreferenced variable | |
4311 | (Attached_Interrupts). Minor reformatting. | |
4312 | Avoid use of variable I (replace by J). | |
4313 | ||
4314 | * par-ch10.adb: Fix text of one error message | |
4315 | ||
4316 | * checks.adb, checks.ads, cstand.adb, vms_data.ads, errout.ads, | |
4317 | exp_aggr.adb, exp_ch3.adb, exp_ch3.ads, exp_ch5.adb, exp_ch6.adb, | |
4318 | exp_ch9.adb, exp_code.adb, gnat1drv.adb, lib-load.adb, lib-writ.adb, | |
4319 | opt.adb, par.adb, opt.ads, par-ch11.adb, par-ch3.adb, par-ch4.adb, | |
4320 | par-ch5.adb, par-ch6.adb, par-ch8.adb, par-ch9.adb, par-prag.adb, | |
4321 | par-util.adb, scng.adb, sem_aggr.adb, sem_attr.adb, sem_cat.adb, | |
6615c446 | 4322 | sem_ch10.adb, sem_ch10.adb, sem_ch11.adb, sem_ch12.adb, sem_ch2.adb, |
0ab80019 AC |
4323 | sem_ch3.adb, sem_ch3.ads, sem_ch4.adb, sem_ch5.adb, sem_ch6.adb, |
4324 | sem_ch7.adb, sem_ch8.adb, sem_ch9.adb, sem_eval.adb, sem_prag.adb, | |
4325 | sem_res.adb, sem_type.adb, sem_util.adb, sinfo.ads, snames.adb, | |
4326 | snames.ads, snames.h, sprint.adb, switch-c.adb: Modifications for Ada | |
4327 | 2005 support. | |
4328 | ||
4329 | 2004-06-07 Doug Rupp <rupp@gnat.com> | |
4330 | ||
4331 | * mlib-tgt-vms.adb: Rename mlib-tgt-vms.adb mlib-tgt-vms-alpha.adb | |
4332 | ||
4333 | * s-vaflop-vms.adb: Rename s-vaflop-vms.adb to s-vaflop-vms-alpha.adb | |
4334 | ||
4335 | * mlib-tgt-vms-ia64.adb: New file. | |
4336 | ||
4337 | * Makefile.in: Rename mlib-tgt-vms.adb to mlib-tgt-vms-alpha.adb | |
4338 | Add mlib-tgt-vms-ia64.adb | |
4339 | Rename s-vaflop-vms.adb to s-vaflop-vms-alpha.adb. | |
4340 | Move to alpha specific ifeq section. | |
4341 | Add VMS specific versions of symbols.adb | |
4342 | Renaming of 5q vms files. | |
4343 | ||
4344 | * 5qsystem.ads renamed to system-vms_64.ads. | |
4345 | ||
4346 | 2004-06-07 Vincent Celier <celier@gnat.com> | |
4347 | ||
4348 | * a-calend.ads: Add a GNAT Note comment after function Time_Of to | |
4349 | explain that when a time of day corresponding to the non existing hour | |
4350 | on the day switching to DST is specified, Split may return a different | |
4351 | value for Seconds. | |
4352 | ||
4353 | * gnatcmd.adb: Add processing of GNAT METRIC (for gnatmetric), similar | |
4354 | to GNAT PRETTY. | |
4355 | ||
4356 | * g-os_lib.adb (OpenVMS): New Boolean value imported from System. | |
4357 | (Normalize_Pathname): Only resolve VMS logical names when on VMS. | |
4358 | ||
4359 | * mlib-prj.adb (Build_Library): New flag Gtrasymobj_Needed, initialize | |
4360 | to False. | |
4361 | If Gtrasymobj_Needed is True, add the full path of g-trasym.obj to | |
4362 | the linking options. | |
4363 | (Build_Library.Check_Libs): On VMS, if there is a dependency on | |
4364 | g-trasym.ads, set Gtrasymobj_Needed to True. | |
4365 | ||
4366 | * prj-attr.adb: Add new package Metrics for gnatmetric | |
4367 | ||
4368 | * prj-nmsc.adb (Record_Other_Sources): Put source file names in | |
4369 | canonical case to take into account files with upper case characters on | |
4370 | Windows. | |
4371 | (Ada_Check): Load the reference symbol file name in the name buffer to | |
4372 | check it, not the symbol file name. | |
4373 | ||
4374 | * snames.ads, snames.adb: Add standard name Metrics (name of project | |
4375 | file package for gnatmetric). | |
4376 | ||
4377 | * vms_conv.ads: Add Metric to Comment_Type | |
4378 | ||
4379 | * vms_conv.adb (Initialize): Add component dor Metric in Command_List | |
4380 | ||
4381 | * vms_data.ads: Add qualifiers for GNAT METRIC | |
4382 | ||
4383 | * makegpr.adb (Link_Executables): Take into account the switches | |
4384 | specified in package Linker of the main project. | |
4385 | ||
4386 | 2004-06-07 Thomas Quinot <quinot@act-europe.fr> | |
4387 | ||
4388 | * bindgen.adb (Set_Unit_Number): Units is an instance of Table, and so | |
4389 | the index of the last element is Units.Last, not Units.Table'Last | |
4390 | (which is usually not a valid index within the actually allocated | |
4391 | storage for the table). | |
4392 | ||
4393 | * exp_ch4.adb (Insert_Dereference_Action): Change predicate that | |
4394 | determines whether to generate a call to a checked storage pool | |
4395 | Dereference action. | |
4396 | Generate such a call only for a dereference that either comes from | |
4397 | source, or is the result of rewriting a dereference that comes from | |
4398 | source. | |
4399 | ||
4400 | 2004-06-07 Romain Berrendonner <berrendo@act-europe.fr> | |
4401 | ||
4402 | * bindgen.adb (Gen_Output_File): Add support for GAP builds. | |
4403 | ||
4404 | 2004-06-07 Eric Botcazou <ebotcazou@act-europe.fr> | |
4405 | ||
4406 | (gnat_to_gnu_entity) <E_Array_Subtype>: For multi-dimensional arrays at | |
4407 | file level, elaborate the stride for inner dimensions in alignment | |
4408 | units, not bytes. | |
4409 | ||
4410 | * exp_ch5.adb: Correct wrong reference to Component_May_Be_Bit_Aligned | |
4411 | in a comment. | |
4412 | ||
4413 | 2004-06-07 Javier Miranda <miranda@gnat.com> | |
4414 | ||
4415 | * exp_ch6.adb: Correct wrong modification in previous patch | |
4416 | ||
4417 | 2004-06-07 Vasiliy Fofanov <fofanov@act-europe.fr> | |
4418 | ||
4419 | * g-trasym.ads: Corrected comment to properly reflect level of support | |
4420 | on VMS. | |
4421 | ||
4422 | 2004-06-07 Hristian Kirtchev <kirtchev@gnat.com> | |
4423 | ||
4424 | * lib-xref.adb (Generate_Reference): Add nested function Is_On_LHS. It | |
4425 | includes case of a variable referenced on the left hand side of an | |
4426 | assignment, therefore remove redundant code. Variables and prefixes of | |
4427 | indexed or selected components are now marked as referenced on left | |
4428 | hand side. Warnings are now properly emitted when variables or prefixes | |
4429 | are assigned but not read. | |
4430 | ||
4431 | * sem_warn.adb (Output_Unreferenced_Messages): Add additional checks to | |
4432 | left hand side referenced variables. Private access types do not | |
4433 | produce the warning "variable ... is assigned but never read". | |
4434 | Add also additional checks to left hand side referenced variables. | |
4435 | Aliased, renamed objects and access types do not produce the warning | |
4436 | "variable ... is assigned but never read" since other entities may read | |
4437 | the memory location. | |
4438 | ||
4439 | 2004-06-07 Jerome Guitton <guitton@act-europe.fr> | |
4440 | ||
4441 | * Makefile.in: In the powerpc/vxworks-specific section, restore | |
4442 | EXTRA_GNATRTL_NONTASKING_OBJS and EXTRA_GNATRTL_TASKING_OBJS (removed | |
4443 | by mistake). | |
4444 | ||
4445 | 2004-06-07 Ed Schonberg <schonberg@gnat.com> | |
4446 | ||
4447 | * sem_ch4.adb (Remove_Abstract_Operations): Refine the removal of | |
4448 | predefined operators. | |
4449 | Removes spurious type errors from g-trasym-vms.adb. | |
4450 | ||
4451 | * sem_res.adb (Rewrite_Renamed_Operator): If intrinsic operator is | |
4452 | distinct from the operator appearing in the source, call appropriate | |
4453 | routine to insert conversions when needed, and complete resolution of | |
4454 | node. | |
4455 | (Resolve_Intrinsic_Operator): Fix cut-and-paste bug on transfer of | |
4456 | interpretations for rewritten right operand. | |
4457 | (Set_Mixed_Mode_Operand): Handle properly a universal real operand when | |
4458 | the other operand is overloaded and the context is a type conversion. | |
4459 | ||
4460 | 2004-06-07 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | |
4461 | ||
4462 | * ada-tree.def (BLOCK_STMT): Now has two operands. | |
4463 | (BREAK_STMT): New. | |
4464 | ||
4465 | * ada-tree.h: (BLOCK_STMT_BLOCK): New macro. | |
4466 | ||
4467 | * gigi.h: (gnat_poplevel): Now returns a tree. | |
4468 | ||
4469 | * trans.c (end_block_stmt): Add arg; all callers changed. | |
4470 | (tree_transform, case N_Case_Statement): Make a BLOCK_STMT for a WHEN. | |
4471 | (start_block_stmt): Clear BLOCK_STMT_BLOCK. | |
4472 | (add_stmt): Set TREE_TYPE. | |
4473 | (gnat_expand_stmt, case BLOCK_STMT): Handle BLOCK_STMT_BLOCK. | |
4474 | (gnat_expand_stmt, case BREAK_STMT): New case. | |
4475 | ||
4476 | * utils.c (gnat_poplevel): Return a BLOCK, if we made one. | |
4477 | ||
4478 | 2004-06-07 Jose Ruiz <ruiz@act-europe.fr> | |
4479 | ||
4480 | * s-stchop.adsm s-stchop.adb, s-stchop-vxworks.adb: Remove the | |
4481 | procedure Set_Stack_Size that is not needed. | |
4482 | ||
4483 | 2004-06-07 Sergey Rybin <rybin@act-europe.fr> | |
4484 | ||
4485 | * gnat_ugn.texi: Clarify the case when non-standard naming scheme is | |
4486 | used for gnatpp input file and for the files upon which it depends | |
4487 | ||
4488 | 2004-06-07 Ben Brosgol <brosgol@gnat.com> | |
4489 | ||
4490 | * gnat_ugn.texi: Wordsmithing of "GNAT and Libraries" chapter | |
4491 | ||
4492 | 2004-06-07 Arnaud Charlet <charlet@act-europe.fr> | |
4493 | ||
4494 | * gnatvsn.ads: Bump version numbers appropriately. | |
4495 | Add new build type. | |
4496 | ||
4497 | 2004-06-07 Pascal Obry <obry@gnat.com> | |
4498 | ||
4499 | * gnat_ugn.texi: Improve comments about imported names and link names | |
4500 | on Windows. Add a note about the requirement to use -k gnatdll's option | |
4501 | when working with a DLL which has stripped stdcall symbols (no @nn | |
4502 | suffix). | |
4503 | ||
8a36a0cc AC |
4504 | 2004-05-27 Vincent Celier <celier@gnat.com> |
4505 | ||
4506 | * vms_data.ads: Add new GNAT PRETTY qualifiers /NO_BACKUP and | |
4507 | COMMENTS_LAYOUT=UNTOUCHED | |
4508 | ||
4509 | * symbols-vms.adb, symbols-vms-alpha.adb: Renamed symbols-vms.adb to | |
4510 | symbols-vms-alpha.adb | |
4511 | ||
4512 | 2004-05-27 Thomas Quinot <quinot@act-europe.fr> | |
4513 | ||
4514 | * sem.ads: Clarify documentation on checks suppression. | |
4515 | ||
4516 | * einfo.ads (Is_Known_Non_Null): Minor comment typo fix and rephrasing. | |
4517 | ||
4518 | 2004-05-27 Ed Schonberg <schonberg@gnat.com> | |
4519 | ||
4520 | * sem_util.adb (Is_Descendent_Of): Examine properly all ancestors in | |
4521 | the case of multiple derivations. | |
4522 | (Is_Object_Reference): For a selected component, verify that the prefix | |
4523 | is itself an object and not a value. | |
4524 | ||
4525 | * sem_ch12.adb (Same_Instantiated_Constant): New name for | |
4526 | Same_Instantiated_Entity. | |
4527 | (Same_Instantiated_Variable): Subsidiary to | |
4528 | Check_Formal_Package_Instance, to recognize actuals for in-out generic | |
4529 | formals that are obtained from a previous formal package. | |
4530 | (Instantiate_Subprogram_Body): Emit proper error when | |
4531 | generating code and the proper body of a stub is missing. | |
4532 | ||
4533 | * sem_ch4.adb (Remove_Address_Interpretations): If the operation still | |
4534 | has a universal interpretation, do the disambiguation here. | |
4535 | ||
4536 | * exp_ch4.adb (Expand_N_Type_Conversion, | |
4537 | Expand_N_Unchecked_Type_Conversion): Special handling when target type | |
4538 | is Address, to avoid typing anomalies when Address is a visible integer | |
4539 | type. | |
4540 | ||
4541 | * exp_ch6.adb (Expand_N_Subprogram_Body): Use Is_Descendent_Of_Address | |
4542 | to determine whether a subprogram should not be marked Pure, even when | |
4543 | declared in a pure package. | |
4544 | ||
4545 | 2004-05-27 Jose Ruiz <ruiz@act-europe.fr> | |
4546 | ||
4547 | * gnat_ugn.texi: Replace pragma Ravenscar by pragma Profile. | |
4548 | ||
4549 | * gnat_rm.texi: Replace Max_Entry_Queue_Depth by Max_Entry_Queue_Length | |
4550 | Document No_Dynamic_Attachment, that supersedes No_Dynamic_Interrupts. | |
4551 | Update the documentation about the Ravenscar profile, following the | |
4552 | definition found in AI-249. | |
4553 | ||
4554 | * sem_prag.adb: Use FIFO_Within_Priorities and Ceiling_Locking when | |
4555 | setting the Profile (Ravenscar). This must be done in addition to | |
4556 | setting the required restrictions. | |
4557 | ||
4558 | * rtsfind.ads: Add the set of operations defined in package | |
4559 | Ada.Interrupts. | |
4560 | ||
4561 | * exp_ch6.adb: Check whether we are violating the No_Dynamic_Attachment | |
4562 | restriction. | |
4563 | ||
4564 | 2004-05-27 Eric Botcazou <ebotcazou@act-europe.fr> | |
4565 | ||
4566 | lang-specs.h: Always require -c or -S and always redirect to /dev/null | |
4567 | if -gnatc or -gnats is passed. | |
4568 | ||
4569 | 2004-05-27 Hristian Kirtchev <kirtchev@gnat.com> | |
4570 | ||
4571 | * sem_prag.adb (Sig_Flags): A Pragma_Unchecked_Union does not count as | |
4572 | a significant reference. Warnings are now properly emitted when a | |
4573 | discriminated type is not referenced. | |
4574 | ||
4575 | * lib-xref.adb (Generate_Reference): A deferred constant completion, | |
4576 | record representation clause or record type discriminant does not | |
4577 | produce a reference to its corresponding entity. Warnings are now | |
4578 | properly emitted when deferred constants and record types are not | |
4579 | referenced. | |
4580 | ||
4581 | 2004-05-27 Geert Bosch <bosch@gnat.com> | |
4582 | ||
4583 | * Makefile.in: Use long version of libm routines on ia64 gnu/linux. | |
4584 | Fixes ACATS Annex G tests. | |
4585 | ||
4586 | 2004-05-27 Robert Dewar <dewar@gnat.com> | |
4587 | ||
4588 | * rtsfind.adb (RTU_Loaded): Temporary kludge to get past bug of not | |
4589 | handling WITH | |
4590 | ||
4591 | 2004-05-27 Arnaud Charlet <charlet@act-europe.fr> | |
4592 | ||
4593 | * s-interr.adb (Server_Task): Take into account case of early return | |
4594 | from sigwait under e.g. linux. | |
4595 | ||
4596 | 2004-05-27 Sergey Rybin <rybin@act-europe.fr> | |
4597 | ||
4598 | * gnat_ugn.texi: Add description for the new gnatpp options: | |
4599 | -rnb - replace the original source without creating its backup copy | |
4600 | -c0 - do not format comments | |
4601 | ||
0fb2ea01 AC |
4602 | 2004-05-24 Geert Bosch <bosch@gnat.com> |
4603 | ||
4604 | * a-numaux-x86.adb (Reduce): Reimplement using an approximation of Pi | |
4605 | with 192 bits of precision, sufficient to reduce a double-extended | |
4606 | arguments X with a maximum relative error of T'Machine_Epsilon, for X | |
4607 | in -2.0**32 .. 2.0**32. | |
4608 | (Cos, Sin): Always reduce arguments of 1/4 Pi or larger, to prevent | |
4609 | reduction by the processor, which only uses a 68-bit approximation of | |
4610 | Pi. | |
4611 | (Tan): Always reduce arguments and compute function either using | |
4612 | the processor's fptan instruction, or by dividing sin and cos as needed. | |
4613 | ||
4614 | 2004-05-24 Doug Rupp <rupp@gnat.com> | |
4615 | ||
4616 | * adaint.c (__gnat_readdir): Cast CRTL function retun value to avoid | |
4617 | gcc error on 32/64 bit VMS. | |
4618 | ||
4619 | 2004-05-24 Olivier Hainque <hainque@act-europe.fr> | |
4620 | ||
4621 | * init.c (__gnat_error_handler): Handle EEXIST as EACCES for SIGSEGVs, | |
4622 | since this is what we get for stack overflows although not documented | |
4623 | as such. | |
4624 | Document the issues which may require adjustments to our signal | |
4625 | handlers. | |
4626 | ||
4627 | 2004-05-24 Ed Schonberg <schonberg@gnat.com> | |
4628 | ||
4629 | * inline.adb (Add_Scope_To_Clean): Do not add cleanup actions to the | |
4630 | enclosing dynamic scope if the instantiation is within a generic unit. | |
4631 | ||
4632 | 2004-05-24 Arnaud Charlet <charlet@act-europe.fr> | |
4633 | ||
4634 | * exp_dbug.ads: Fix typo. | |
4635 | ||
4636 | * Makefile.in: s-osinte-linux-ia64.ads was misnamed. | |
4637 | Rename it to its proper name: system-linux-ia64.ads | |
4638 | (stamp-gnatlib1): Remove extra target specific run time files when | |
4639 | setting up the rts directory. | |
4640 | ||
4641 | 2004-05-24 Javier Miranda <miranda@gnat.com> | |
4642 | ||
4643 | * einfo.ads, einfo.adb (Limited_Views): Removed. | |
4644 | (Limited_View): New attribute that replaces the previous one. It is | |
4645 | now a bona fide package with the limited-view list through the | |
4646 | first_entity and first_private attributes. | |
4647 | ||
4648 | * sem_ch10.adb (Install_Private_With_Clauses): Give support to | |
4649 | limited-private-with clause. | |
4650 | (Install_Limited_Withed_Unit): Install the private declarations of a | |
4651 | limited-private-withed package. Update the installation of the shadow | |
4652 | entities according to the new structure (see Build_Limited_Views) | |
4653 | (Build_Limited_Views): Replace the previous implementation of the | |
4654 | limited view by a package entity that references the first shadow | |
4655 | entity plus the first shadow private entity (required for limited- | |
4656 | private-with clause) | |
4657 | (New_Internal_Shadow_Entity): Code cleanup. | |
4658 | (Remove_Limited_With_Clause): Update the implementation to undo the | |
4659 | new work carried out by Build_Limited_Views. | |
4660 | (Build_Chain): Complete documentation. | |
4661 | Replace Ada0Y by Ada 0Y in comments | |
4662 | Minor reformating | |
4663 | ||
4664 | * sem_ch3.adb (Array_Type_Declaration): In case of anonymous access | |
4665 | types the level of accessibility depends on the enclosing type | |
4666 | declaration. | |
4667 | ||
4668 | * sem_ch8.adb (Find_Expanded_Name): Fix condition to detect shadow | |
4669 | entities. Complete documentation of previous change. | |
4670 | ||
4671 | 2004-05-24 Robert Dewar <dewar@gnat.com> | |
4672 | ||
4673 | * namet.adb: Minor reformatting | |
4674 | Avoid use of name I (replace by J) | |
4675 | Minor code restructuring | |
4676 | ||
4677 | * sem_ch6.adb: Minor reformatting | |
4678 | ||
4679 | * lib-writ.adb: Do not set restriction as active if this is a | |
4680 | Restriction_Warning case. | |
4681 | ||
4682 | * sem_prag.adb: Reset restriction warning flag if real pragma | |
4683 | restriction encountered. | |
4684 | ||
4685 | * s-htable.adb: Minor reformatting | |
4686 | Change rotate count to 3 in Hash (improves hash for small strings) | |
4687 | ||
4688 | * 5qsystem.ads: Add comments for type Address (no literals allowed). | |
4689 | ||
4690 | * gnat_ugn.texi: Add new section of documentation "Code Generation | |
4691 | Control", which describes the use of -m switches. | |
4692 | ||
4693 | 2004-05-24 Eric Botcazou <ebotcazou@act-europe.fr> | |
4694 | ||
a1db9d9c AC |
4695 | trans.c (tree_transform) <N_Identifier>: Do the dereference directly |
4696 | through the DECL_INITIAL for renamed variables. | |
0fb2ea01 | 4697 | |
7599f1b0 AC |
4698 | 2004-05-24 Arnaud Charlet <charlet@act-europe.fr> |
4699 | ||
4700 | * s-osinte-linux-ia64.ads: Renamed system-linux-ia64.ads | |
4701 | ||
c37bb106 AC |
4702 | 2004-05-19 Joel Brobecker <brobecker@gnat.com> |
4703 | ||
4704 | * exp_dbug.ads: Correct comments concerning handling of overloading, | |
4705 | since we no longer use $ anymore. | |
4706 | ||
4707 | 2004-05-19 Sergey Rybin <rybin@act-europe.fr> | |
4708 | ||
4709 | * sem_ch10.adb (Optional_Subunit): When loading a subunit, do not | |
4710 | ignore errors if ASIS_Mode is set. This prevents creating ASIS trees | |
4711 | with illegal subunits. | |
4712 | ||
4713 | 2004-05-19 Ed Schonberg <schonberg@gnat.com> | |
4714 | ||
4715 | * sem_ch6.adb (Check_Following_Pragma): When compiling a subprogram | |
4716 | body with front-end inlining enabled, check whether an inline pragma | |
4717 | appears immediately after the body and applies to it. | |
4718 | ||
4719 | * sem_prag.adb (Cannot_Inline): Emit warning if front-end inlining is | |
4720 | enabled and the pragma appears after the body of the subprogram. | |
4721 | ||
b5e792e2 AC |
4722 | 2004-05-17 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
4723 | ||
4724 | Part of function-at-a-time conversion | |
4725 | ||
4726 | * misc.c (adjust_decl_rtl): Deleted. | |
4727 | (LANG_HOOKS_PUSHLEVEL, LANG_HOOKS_POPLEVEL, LANG_HOOKS_SET_BLOCK): | |
4728 | Define. | |
4729 | ||
4730 | * gigi.h: (adjust_decl_rtl, kept_level_p, set_block): Deleted. | |
4731 | (add_decl_stmt, add_stmt, block_has_vars): New functions. | |
4732 | (gnat_pushlevel, gnat_poplevel): Renamed from pushlevel and poplevel. | |
4733 | ||
4734 | * decl.c (elaborate_expression, maybe_pad_type): Call add_decl_stmt | |
4735 | when making a decl. | |
4736 | (gnat_to_gnu_entity): Likewise. | |
4737 | Use add_stmt to update setjmp buffer. | |
4738 | Set TREE_ADDRESSABLE instead of calling put_var_into_stack and | |
4739 | flush_addressof. | |
4740 | No longer call adjust_decl_rtl. | |
4741 | (DECL_INIT_BY_ASSIGN_P): New macro. | |
4742 | (DECL_STMT_VAR): Likewise. | |
4743 | ||
4744 | * trans.c (gigi): Call start_block_stmt to make the outermost | |
4745 | BLOCK_STMT. | |
4746 | (gnat_to_code, gnu_to_gnu, tree_transform, process_decls, process_type): | |
4747 | Call start_block_stmt and end_block_stmt temporarily. | |
4748 | Use gnat_expand_stmt instead of expand_expr_stmt. | |
4749 | (add_decl_stmt): New function. | |
4750 | (tree_transform): Call it. | |
4751 | (add_stmt): Also emit initializing assignment for DECL_STMT if needed. | |
4752 | (end_block_stmt): Set type and NULL_STMT. | |
4753 | (gnat_expand_stmt): Make recursize call instead of calling | |
4754 | expand_expr_stmt. | |
4755 | (gnat_expand_stmt, case DECL_STMT): New case. | |
4756 | (set_lineno_from_sloc): Do nothing if global. | |
4757 | (gnu_block_stmt_node, gnu_block_stmt_free_list): New variables. | |
4758 | (start_block_stmt, add_stmt, end_block_stmt): New functions. | |
4759 | (build_block_stmt): Call them. | |
4760 | (gnat_to_code): Don't expand NULL_STMT. | |
4761 | (build_unit_elab): Rename pushlevel and poplevel to gnat_* and change | |
4762 | args. | |
4763 | (tree_transform): Likewise. | |
4764 | (tree_transform, case N_Null_Statement): Return NULL_STMT. | |
4765 | (gnat_expand_stmt, case NULL_STMT): New case. | |
4766 | (gnat_expand_stmt, case IF_STMT): Allow nested IF_STMT to have no | |
4767 | IF_STMT_TRUE. | |
4768 | ||
4769 | * utils2.c (gnat_mark_addressable, case VAR_DECL): Do not set | |
4770 | TREE_ADDRESSABLE. | |
4771 | ||
4772 | * utils.c (create_var_decl): Do not call expand_decl or | |
4773 | expand_decl_init. | |
4774 | Set TREE_ADDRESSABLE instead of calling gnat_mark_addressable. | |
4775 | Set DECL_INIT_BY_ASSIGN_P when needed and do not generate MODIFY_EXPR | |
4776 | here. | |
4777 | (struct e_stack): Add chain_next to GTY. | |
4778 | (struct binding_level): Deleted. | |
4779 | (struct ada_binding_level): New struct. | |
4780 | (free_block_chain): New. | |
4781 | (global_binding_level, clear_binding_level): Deleted. | |
4782 | (global_bindings_p): Rework to see if no chain. | |
4783 | (kept_level_p, set_block): Deleted. | |
4784 | (gnat_pushlevel): Renamed from pushlevel and extensive reworked to use | |
4785 | new data structure and work directly on BLOCK node. | |
4786 | (gnat_poplevel): Similarly. | |
4787 | (get_decls): Look at BLOCK_VARS. | |
4788 | (insert_block): Work directly on BLOCK node. | |
4789 | (block_has_var): New function. | |
4790 | (pushdecl): Rework for new binding structures. | |
4791 | (gnat_init_decl_processing): Rename and rework calls to pushlevel and | |
4792 | poplevel. | |
4793 | (build_subprog_body): Likewise. | |
4794 | (end_subprog_body): Likewise; also set up BLOCK in DECL_INITIAL. | |
4795 | ||
4796 | * ada-tree.def (DECL_STMT, NULL_STMT): New codes. | |
4797 | ||
4798 | * ada-tree.h: (DECL_INIT_BY_ASSIGN_P): New macro. | |
4799 | (DECL_STMT_VAR): Likewise. | |
4800 | ||
4801 | 2004-05-17 Robert Dewar <dewar@gnat.com> | |
4802 | ||
4803 | * restrict.ads, restrict.adb (Process_Restriction_Synonym): New | |
4804 | procedure | |
4805 | ||
4806 | * sem_prag.adb (Analyze_Pragma, case Restrictions): Cleanup handling | |
4807 | of restriction synonyums by using | |
4808 | Restrict.Process_Restriction_Synonyms. | |
4809 | ||
4810 | * snames.ads, snames.adb: Add entries for Process_Restriction_Synonym | |
4811 | ||
4812 | * s-restri.ads (Tasking_Allowed): Correct missing comment | |
4813 | ||
4814 | * s-rident.ads: Add entries for restriction synonyms | |
4815 | ||
4816 | * ali.adb: Fix some problems with badly formatted ALI files that can | |
4817 | result in infinite loops. | |
4818 | ||
4819 | * s-taprop-lynxos.adb, s-tpopsp-lynxos.adb, s-taprop-tru64.adb, | |
4820 | s-tpopsp-posix-foreign.adb, s-taprop-irix.adb, s-interr-sigaction.adb, | |
4821 | s-taprop-irix-athread.adb, s-taprop-hpux-dce.adb, s-taprop-linux.adb, | |
4822 | s-taprop-dummy.adb, s-interr-dummy.adb, s-taprop-os2.adb, | |
4823 | s-taprop-solaris.adb, s-tpopsp-solaris.adb, s-asthan-vms.adb, | |
4824 | s-inmaop-vms.adb, s-interr-vms.adb, s-taprop-vms.adb, | |
4825 | s-tpopde-vms.adb, s-taprop-mingw.adb, s-interr-vxworks.adb, | |
4826 | s-taprop-vxworks.adb, s-tpopsp-vxworks.adb, s-taprop-posix.adb, | |
4827 | s-tpopsp-posix.adb, s-tratas-default.adb, a-dynpri.adb, | |
4828 | a-tasatt.adb, a-taside.adb, a-taside.ads, exp_attr.adb, | |
4829 | exp_ch9.adb, g-thread.adb, rtsfind.ads, sem_attr.adb, | |
4830 | s-interr.adb, s-interr.ads, s-soflin.ads, s-taasde.adb, | |
4831 | s-taasde.ads, s-taenca.adb, s-taenca.ads, s-taprop.ads, | |
4832 | s-tarest.adb, s-tarest.ads, s-tasdeb.adb, s-tasdeb.ads, | |
4833 | s-tasini.adb, s-tasini.ads, s-taskin.adb, s-taskin.ads, | |
4834 | s-tasque.adb, s-tasque.ads, s-tasren.adb, s-tasren.ads, | |
4835 | s-tassta.adb, s-tassta.ads, s-tasuti.adb, s-tasuti.ads, | |
4836 | s-tataat.adb, s-tataat.ads, s-tpinop.adb, s-tpinop.ads, | |
4837 | s-tpoben.adb, s-tpobop.adb, s-tpobop.ads, s-tporft.adb, | |
4838 | s-tposen.adb, s-tposen.ads, s-tratas.adb, s-tratas.ads: Change Task_ID | |
4839 | to Task_Id (minor cleanup). | |
4840 | ||
4841 | 2004-05-17 Vincent Celier <celier@gnat.com> | |
4842 | ||
4843 | * g-os_lib.adb (Normalize_Pathname.Final_Value): Remove trailing | |
4844 | directory separator. | |
4845 | ||
4846 | * prj-proc.adb (Recursive_Process): Inherit attribute Languages from | |
4847 | project being extended, if Languages is not declared in extending | |
4848 | project. | |
4849 | ||
4850 | 2004-05-17 Javier Miranda <miranda@gnat.com> | |
4851 | ||
4852 | * sem_ch10.adb (Install_Limited_Withed_Unit): Do not install the | |
4853 | limited view of a visible sibling. | |
4854 | ||
9bc856dd AC |
4855 | 2004-05-14 Robert Dewar <dewar@gnat.com> |
4856 | ||
4857 | * gnat_ugn.texi: Minor change to -gnatS documentation | |
4858 | ||
4859 | * sprint.adb: Remove some instances of Assert (False) and for this | |
4860 | purpose replace them by output of a ??? string. | |
4861 | ||
4862 | * checks.adb, exp_aggr.adb, sem_elim.adb: Remove useless pragma | |
4863 | Assert (False). | |
4864 | ||
4865 | * lib-writ.adb, lib-load.adb, lib.ads, lib.adb: Remove Dependent_Unit | |
4866 | flag processing. This was suppressing required dependencies in | |
4867 | No_Run_Time mode and is not needed since the binder does not generate | |
4868 | references for things in libgnat anyway. | |
4869 | ||
4870 | * sem_ch3.adb (Access_Type_Declaration): Reorganize code to avoid GCC | |
4871 | warning. | |
4872 | ||
4873 | 2004-05-14 Thomas Quinot <quinot@act-europe.fr> | |
4874 | ||
4875 | * gnat_ugn.texi: Document AIX-specific issue with initialization of | |
4876 | resolver library. | |
4877 | ||
4878 | * exp_ch4.adb (Insert_Dereference_Action): Do not generate dereference | |
4879 | action for the case of an actual parameter in an init proc call. | |
4880 | ||
4881 | 2004-05-14 Ed Schonberg <schonberg@gnat.com> | |
4882 | ||
4883 | * sem_ch4.adb (Analyze_Selected_Component): If prefix is a protected | |
4884 | subtype, check visible entities in base type. | |
4885 | ||
4886 | * exp_ch7.adb (Clean_Simple_Protected_Objects): Do not generate cleanup | |
4887 | actions if the object is a renaming. | |
4888 | ||
4889 | * sem_ch12.adb (Same_Instantiated_Entity): Predicate for | |
4890 | Check_Formal_Package_Instance, to determine more precisely when the | |
4891 | formal and the actual denote the same entity. | |
4892 | ||
4893 | 2004-05-14 Javier Miranda <miranda@gnat.com> | |
4894 | ||
4895 | * par-ch10.adb (P_Context_Clause): Complete documentation on AI-262 | |
4896 | ||
4897 | * sem_ch10.adb (Analyze_With_Clause): After analyzed, the entity | |
4898 | corresponding to a private_with must be removed from visibility; it | |
4899 | will be made visible later, just before we analyze the private part of | |
4900 | the package. | |
4901 | (Check_Private_Child_Unit): Allow private_with clauses in public | |
4902 | siblings. | |
4903 | (Install_Siblings): Make visible the private entities of private-withed | |
4904 | siblings. | |
4905 | (Install_Withed_Unit): Do not install the private withed unit if we | |
4906 | are compiling a package declaration and the Private_With_OK flag was | |
4907 | not set by the caller. These declarations will be installed later, | |
4908 | just before we analyze the private part of the package. | |
4909 | ||
4910 | * sem_ch3.adb (Analyze_Object_Declaration): In case of errors detected | |
4911 | during the evaluation of the expression that initializes the object, | |
4912 | decorate it with the expected type to avoid cascade errors. | |
4913 | Code cleanup. | |
4914 | ||
4915 | * sem_ch6.adb (Analyze_Subprogram_Body): If we are compiling a library | |
4916 | subprogram we have to install the private_with clauses after its | |
4917 | specification has been analyzed (as documented in AI-262.TXT). | |
4918 | ||
4919 | * sem_ch8.adb (Has_Private_With): New function. Determines if the | |
4920 | current compilation unit has a private with on a given entity. | |
4921 | (Find_Direct_Name): Detect the Beaujolais problem described in | |
4922 | AI-262.TXT | |
4923 | ||
4924 | * sem_utils.ads, sem_util.adb (Is_Ancestor_Package): New function. It | |
4925 | provides the functionality of the function Is_Ancestor that was | |
4926 | previously available in sem_ch10. It has been renamed to avoid | |
4927 | overloading. | |
4928 | ||
4929 | * sprint.adb (Sprint_Node_Actual): Print limited_with clauses | |
4930 | ||
4931 | 2004-05-14 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | |
4932 | ||
4933 | * utils.c (build_vms_descriptor): Use SImode pointers. | |
4934 | ||
4935 | 2004-05-14 Vasiliy Fofanov <fofanov@act-europe.fr> | |
4936 | ||
4937 | * gnat_ugn.texi: Revised chapter "GNAT and Libraries". | |
4938 | ||
4939 | 2004-05-14 GNAT Script <nobody@gnat.com> | |
4940 | ||
4941 | * Make-lang.in: Makefile automatically updated | |
4942 | ||
084c663c AC |
4943 | 2004-05-14 Arnaud Charlet <charlet@act-europe.fr> |
4944 | ||
4945 | Renaming of target specific files for clarity | |
4946 | ||
6615c446 | 4947 | * Makefile.in: Rename GNAT target specific files. |
084c663c AC |
4948 | |
4949 | * 31soccon.ads, 31soliop.ads 35soccon.ads, 3asoccon.ads, | |
4950 | 3bsoccon.ads, 3gsoccon.ads, 3hsoccon.ads, 3psoccon.ads, | |
4951 | 3ssoccon.ads, 3ssoliop.ads, 3veacodu.adb, 3vexpect.adb, | |
4952 | 3vsoccon.ads, 3vsocthi.adb, 3vsocthi.ads, 3vtrasym.adb, | |
4953 | 3wsoccon.ads, 3wsocthi.adb, 3wsocthi.ads, 3wsoliop.ads, | |
4954 | 3zsoccon.ads, 3zsocthi.adb, 3zsocthi.ads, 41intnam.ads, | |
4955 | 42intnam.ads, 45intnam.ads, 4aintnam.ads, 4cintnam.ads, | |
4956 | 4gintnam.ads, 4hexcpol.adb, 4hintnam.ads, 4lintnam.ads, | |
4957 | 4nintnam.ads, 4ointnam.ads, 4onumaux.ads, 4pintnam.ads, | |
4958 | 4sintnam.ads, 4vcaldel.adb, 4vcalend.adb, 4vcalend.ads, | |
4959 | 4vintnam.ads, 4wcalend.adb, 4wexcpol.adb, 4wintnam.ads, | |
4960 | 4zintnam.ads, 4znumaux.ads, 4zsytaco.adb, 4zsytaco.ads, | |
4961 | 51osinte.adb, 51osinte.ads, 51system.ads, | |
4962 | 52osinte.adb, 52osinte.ads, 53osinte.ads, 54osinte.ads, | |
4963 | 55osinte.adb, 55osinte.ads, 55system.ads, 56osinte.adb, | |
4964 | 56osinte.ads, 56system.ads, 56taprop.adb, 56taspri.ads, | |
4965 | 56tpopsp.adb, 57system.ads, 58system.ads, | |
4966 | 5amastop.adb, 5aml-tgt.adb, 5aosinte.adb, 5aosinte.ads, | |
4967 | 5asystem.ads, 5ataprop.adb, 5atasinf.ads, 5ataspri.ads, | |
4968 | 5atpopsp.adb, 5avxwork.ads, 5bml-tgt.adb, 5bosinte.adb, | |
4969 | 5bosinte.ads, 5bsystem.ads, 5cosinte.ads, 5csystem.ads, | |
4970 | 5dsystem.ads, 5esystem.ads, 5fintman.adb, 5fosinte.adb, | |
4971 | 5fosinte.ads, 5fsystem.ads, 5ftaprop.adb, 5ftasinf.ads, | |
4972 | 5ginterr.adb, 5gintman.adb, 5gmastop.adb, 5gml-tgt.adb, | |
4973 | 5gosinte.ads, 5gproinf.adb, 5gproinf.ads, 5gsystem.ads, | |
4974 | 5gtaprop.adb, 5gtasinf.adb, 5gtasinf.ads, 5gtpgetc.adb, | |
4975 | 5hml-tgt.adb, 5hosinte.adb, 5hosinte.ads, 5hparame.ads, | |
4976 | 5hsystem.ads, 5htaprop.adb, 5htaspri.ads, 5htraceb.adb, | |
4977 | 5iosinte.adb, 5iosinte.ads, 5itaprop.adb, 5itaspri.ads, | |
4978 | 5ksystem.ads, 5kvxwork.ads, 5lml-tgt.adb, 5losinte.ads, | |
4979 | 5lparame.adb, 5lsystem.ads, 5msystem.ads, 5mvxwork.ads, | |
4980 | 5ninmaop.adb, 5nintman.adb, 5nosinte.ads, 5nsystem.ads, | |
4981 | 5ntaprop.adb, 5ntaspri.ads, 5ointerr.adb, 5omastop.adb, | |
4982 | 5oosinte.adb, 5oosinte.ads, 5oosprim.adb, 5oparame.adb, | |
4983 | 5osystem.ads, 5otaprop.adb, 5otaspri.ads, 5posinte.ads, | |
4984 | 5posprim.adb, 5psystem.ads, 5pvxwork.ads, 5sintman.adb, | |
4985 | 5sml-tgt.adb, 5sosinte.adb, 5sosinte.ads, 5sosprim.adb, | |
4986 | 5sparame.adb, 5ssystem.ads, 5staprop.adb, 5stasinf.adb, | |
4987 | 5stasinf.ads, 5staspri.ads, 5stpopsp.adb, 5svxwork.ads, | |
4988 | 5tosinte.ads, 5usystem.ads, 5vasthan.adb, 5vdirval.adb, | |
4989 | 5vinmaop.adb, 5vinterr.adb, 5vintman.adb, 5vintman.ads, | |
4990 | 5vmastop.adb, 5vml-tgt.adb, 5vosinte.adb, 5vosinte.ads, | |
4991 | 5vosprim.adb, 5vosprim.ads, 5vparame.ads, 5vsymbol.adb, | |
4992 | 5vsystem.ads, 5vtaprop.adb, 5vtaspri.ads, 5vtpopde.adb, | |
4993 | 5vtpopde.ads, 5vtraent.adb, 5vtraent.ads, 5vvaflop.adb, | |
4994 | 5wdirval.adb, 5wgloloc.adb, 5wintman.adb, 5wmemory.adb, | |
4995 | 5wml-tgt.adb, 5wosinte.ads, 5wosprim.adb, 5wsystem.ads, | |
4996 | 5wtaprop.adb, 5wtaspri.ads, 5xparame.ads, 5xsystem.ads, | |
4997 | 5xvxwork.ads, 5yparame.ads, 5ysystem.ads, 5zinterr.adb, | |
4998 | 5zintman.adb, 5zintman.ads, 5zml-tgt.adb, 5zosinte.adb, | |
4999 | 5zosinte.ads, 5zosprim.adb, 5zparame.ads, 5zstchop.adb, | |
5000 | 5zsystem.ads, 5ztaprop.adb, 5ztaspri.ads, 5ztfsetr.adb, | |
5001 | 5ztpopsp.adb, 6vcpp.adb, 6vcstrea.adb, 6vinterf.ads, | |
5002 | 7sinmaop.adb, 7sintman.adb, 7sosinte.adb, 7sosprim.adb, | |
5003 | 7staprop.adb, 7staspri.ads, 7stfsetr.adb, 7stpopsp.adb, | |
5004 | 7straceb.adb, 7straces.adb, 7strafor.adb, 7strafor.ads, | |
5005 | 7stratas.adb, 86numaux.adb, 86numaux.ads: Replaced by files below. | |
5006 | ||
5007 | * a-caldel-vms.adb, a-calend-mingw.adb, a-calend-vms.adb, | |
5008 | a-calend-vms.ads, a-dirval-mingw.adb, a-dirval-vms.adb, | |
5009 | a-excpol-abort.adb, a-excpol-interix.adb, a-intnam-aix.ads, | |
5010 | a-intnam-dummy.ads, a-intnam-freebsd.ads, a-intnam-hpux.ads, | |
5011 | a-intnam-interix.ads, a-intnam-irix.ads, a-intnam-linux.ads, | |
5012 | a-intnam-lynxos.ads, a-intnam-mingw.ads, a-intnam-os2.ads, | |
5013 | a-intnam-solaris.ads, a-intnam-tru64.ads, a-intnam-unixware.ads, | |
5014 | a-intnam-vms.ads, a-intnam-vxworks.ads, a-numaux-libc-x86.ads, | |
5015 | a-numaux-vxworks.ads, a-numaux-x86.adb, a-numaux-x86.ads, | |
5016 | a-sytaco-vxworks.adb, a-sytaco-vxworks.ads, g-eacodu-vms.adb, | |
5017 | g-expect-vms.adb, g-soccon-aix.ads, g-soccon-freebsd.ads, | |
5018 | g-soccon-hpux.ads, g-soccon-interix.ads, g-soccon-irix.ads, | |
5019 | g-soccon-mingw.ads, g-soccon-solaris.ads, g-soccon-tru64.ads, | |
5020 | g-soccon-unixware.ads, g-soccon-vms.adb, g-soccon-vxworks.ads, | |
5021 | g-socthi-mingw.adb, g-socthi-mingw.ads, g-socthi-vms.adb, | |
5022 | g-socthi-vms.ads, g-socthi-vxworks.adb, g-socthi-vxworks.ads, | |
5023 | g-soliop-mingw.ads, g-soliop-solaris.ads, g-soliop-unixware.ads, | |
5024 | g-trasym-vms.adb, i-cpp-vms.adb, i-cstrea-vms.adb, | |
5025 | interfac-vms.ads, mlib-tgt-aix.adb, mlib-tgt-hpux.adb, | |
5026 | mlib-tgt-irix.adb, mlib-tgt-linux.adb, mlib-tgt-mingw.adb, | |
5027 | mlib-tgt-solaris.adb, mlib-tgt-tru64.adb, mlib-tgt-vms.adb, | |
5028 | mlib-tgt-vxworks.adb, s-asthan-vms.adb, s-gloloc-mingw.adb, | |
5029 | s-inmaop-dummy.adb, s-inmaop-posix.adb, s-inmaop-vms.adb, | |
5030 | s-interr-dummy.adb, s-interr-sigaction.adb, s-interr-vms.adb, | |
5031 | s-interr-vxworks.adb, s-intman-dummy.adb, s-intman-irix.adb, | |
5032 | s-intman-irix-athread.adb, s-intman-mingw.adb, s-intman-posix.adb, | |
5033 | s-intman-solaris.adb, s-intman-vms.adb, s-intman-vms.ads, | |
5034 | s-intman-vxworks.adb, s-intman-vxworks.ads, s-mastop-irix.adb, | |
5035 | s-mastop-tru64.adb, s-mastop-vms.adb, s-mastop-x86.adb, | |
5036 | s-memory-mingw.adb, s-osinte-aix.adb, s-osinte-aix.ads, | |
5037 | s-osinte-aix-fsu.ads, s-osinte-dummy.ads, s-osinte-freebsd.adb, | |
5038 | s-osinte-freebsd.ads, s-osinte-fsu.adb, s-osinte-hpux.ads, | |
5039 | s-osinte-hpux-dce.adb, s-osinte-hpux-dce.ads, s-osinte-interix.ads, | |
5040 | s-osinte-irix.adb, s-osinte-irix.ads, s-osinte-irix-athread.ads, | |
5041 | s-osinte-linux.ads, s-osinte-linux-fsu.ads, s-osinte-linux-ia64.ads, | |
5042 | s-osinte-lynxos-3.adb, s-osinte-lynxos-3.ads, s-osinte-lynxos.adb, | |
5043 | s-osinte-lynxos.ads, s-osinte-mingw.ads, s-osinte-os2.adb, | |
5044 | s-osinte-os2.ads, s-osinte-posix.adb, s-osinte-solaris.adb, | |
5045 | s-osinte-solaris.ads, s-osinte-solaris-fsu.ads, | |
5046 | s-osinte-solaris-posix.ads, s-osinte-tru64.adb, s-osinte-tru64.ads, | |
5047 | s-osinte-unixware.adb, s-osinte-unixware.ads, s-osinte-vms.adb, | |
5048 | s-osinte-vms.ads, s-osinte-vxworks.adb, | |
5049 | s-osinte-vxworks.ads, s-osprim-mingw.adb, | |
5050 | s-osprim-os2.adb, s-osprim-posix.adb, s-osprim-solaris.adb, | |
5051 | s-osprim-unix.adb, s-osprim-vms.adb, s-osprim-vms.ads, | |
5052 | s-osprim-vxworks.adb, s-parame-ae653.ads, s-parame-hpux.ads, | |
5053 | s-parame-linux.adb, s-parame-os2.adb, s-parame-solaris.adb, | |
5054 | s-parame-vms.ads, s-parame-vms-restrict.ads, s-parame-vxworks.ads, | |
5055 | s-proinf-irix-athread.adb, s-proinf-irix-athread.ads, | |
5056 | s-stchop-vxworks.adb, s-taprop-dummy.adb, | |
5057 | s-taprop-hpux-dce.adb, s-taprop-irix.adb, | |
5058 | s-taprop-irix-athread.adb, s-taprop-linux.adb, s-taprop-lynxos.adb, | |
5059 | s-taprop-mingw.adb, s-taprop-os2.adb, s-taprop-posix.adb, | |
5060 | s-taprop-solaris.adb, s-taprop-tru64.adb, s-taprop-vms.adb, | |
5061 | s-taprop-vxworks.adb, s-tasinf-irix.ads, s-tasinf-irix-athread.adb, | |
5062 | s-tasinf-irix-athread.ads, s-tasinf-solaris.adb, s-tasinf-solaris.ads, | |
5063 | s-tasinf-tru64.ads, s-taspri-dummy.ads, s-taspri-hpux-dce.ads, | |
5064 | s-taspri-linux.ads, s-taspri-lynxos.ads, s-taspri-mingw.ads, | |
5065 | s-taspri-os2.ads, s-taspri-posix.ads, s-taspri-solaris.ads, | |
5066 | s-taspri-tru64.ads, s-taspri-vms.ads, s-taspri-vxworks.ads, | |
5067 | s-tfsetr-default.adb, s-tfsetr-vxworks.adb, s-tpopde-vms.adb, | |
5068 | s-tpopde-vms.ads, s-tpopsp-lynxos.adb, s-tpopsp-posix.adb, | |
5069 | s-tpopsp-posix-foreign.adb, s-tpopsp-solaris.adb, s-tpopsp-vxworks.adb, | |
5070 | s-traceb-hpux.adb, s-traceb-mastop.adb, s-traces-default.adb, | |
5071 | s-traent-vms.adb, s-traent-vms.ads, s-trafor-default.adb, | |
5072 | s-trafor-default.ads, s-tratas-default.adb, s-vaflop-vms.adb, | |
5073 | s-vxwork-alpha.ads, s-vxwork-m68k.ads, s-vxwork-mips.ads, | |
5074 | s-vxwork-ppc.ads, s-vxwork-sparcv9.ads, s-vxwork-xscale.ads, | |
5075 | symbols-vms.adb, system-aix.ads, system-freebsd-x86.ads, | |
5076 | system-hpux.ads, system-interix.ads, system-irix-n32.ads, | |
5077 | system-irix-o32.ads, system-linux-x86_64.ads, | |
5078 | system-linux-x86.ads, system-lynxos-ppc.ads, system-lynxos-x86.ads, | |
5079 | system-mingw.ads, system-os2.ads, system-solaris-sparc.ads, | |
5080 | system-solaris-sparcv9.ads, system-solaris-x86.ads, system-tru64.ads, | |
5081 | system-unixware.ads, system-vms.ads, system-vms-zcx.ads, | |
5082 | system-vxworks-alpha.ads, system-vxworks-m68k.ads, | |
5083 | system-vxworks-mips.ads, system-vxworks-ppc.ads, | |
5084 | system-vxworks-sparcv9.ads, system-vxworks-xscale.ads: Replace files | |
5085 | above. | |
5086 | ||
90afe2c9 ZW |
5087 | 2004-05-13 Zack Weinberg <zack@codesourcery.com> |
5088 | ||
5089 | * trans.c (gnat_stabilize_reference_1): Remove case 'b'. | |
5090 | ||
6de9cd9a DN |
5091 | 2004-05-13 Diego Novillo <dnovillo@redhat.com> |
5092 | ||
5093 | Merge from tree-ssa-20020619-branch. | |
5094 | ||
5095 | * config-lang.in (boot_language, build_by_default): Set | |
5096 | to no. | |
5097 | * utils.c (unchecked_convert): Use OEP_ONLY_CONST. | |
5098 | (max_size): Add static chain op for call_expr. | |
5099 | ||
f5657d67 RS |
5100 | 2004-05-12 Richard Sandiford <rsandifo@redhat.com> |
5101 | ||
5102 | PR target/15331 | |
5103 | * 5gmastop.adb (Roff): Choose between '4' and '0', not '4' and ' '. | |
5104 | ||
4413b636 RS |
5105 | 2004-05-11 Roger Sayle <roger@eyesopen.com> |
5106 | ||
5107 | * utils.c (max_size): Use MIN_EXPR to find the minimum value of a | |
5108 | COND_EXPR. | |
5109 | ||
5950a3ac AC |
5110 | 2004-05-10 Doug Rupp <rupp@gnat.com> |
5111 | ||
5112 | * 5qsystem.ads: Remove Short_Address subtype declaration. Moved to | |
5113 | system.aux_dec. | |
5114 | ||
5115 | * s-auxdec.ads: Add Short_Address subtype (moved here from System). | |
5116 | ||
5117 | * Makefile.in: [VMS]: Add translation for 5qauxdec.ads. | |
5118 | ||
5119 | * init.c: [VMS] Macroize LIB$ calls for IA64 and Alpha. | |
5120 | Fixes undefined symbols in IA64 gnatlib. | |
5121 | ||
5122 | * 5vinmaop.adb: Reference s-auxdec for Short_Address. | |
5123 | ||
5124 | * 5xsystem.ads, 5vsystem.ads: Back out last change (addition of subtype | |
5125 | Short_Address). This will be moved to system.auxdec. | |
5126 | ||
5127 | 2004-05-10 Thomas Quinot <quinot@act-europe.fr> | |
5128 | ||
5129 | * sem_util.adb: Replace test for presence of a node that is always | |
5130 | present with a call to Discard_Node. | |
5131 | ||
5132 | * sem_ch10.adb (Analyze_Compilation_Unit): Remove superfluous call to | |
5133 | Analyze on the library unit node after generation of distribution stub | |
5134 | constructs. The call was a no-op because Unit_Node has already been | |
5135 | Analyzed, and the tree fragments for the distribution stubs are | |
5136 | analyzed as they are inserted in Exp_Dist. | |
5137 | Update comment regarding to distribution stubs to reflect that we | |
5138 | do not generate stub in separate files anymore. | |
5139 | ||
5140 | * einfo.ads: Clarify the fact that a tagged private type has the | |
5141 | E_Record_Type_With_Private Ekind. | |
5142 | ||
5143 | * erroutc.adb: Minor reformatting | |
5144 | ||
5145 | * erroutc.ads (Max_Msg_Length): Increase to cover possible larger | |
5146 | values if line length is increased using -gnatyM (noticed during code | |
5147 | reading). | |
5148 | ||
5149 | * eval_fat.adb: Minor reformatting | |
5150 | Put spaces around exponentiation operator | |
5151 | ||
5152 | 2004-05-10 Ed Schonberg <schonberg@gnat.com> | |
5153 | ||
5154 | PR ada/15005 | |
5155 | * sem_util.adb (Is_Dependent_Component_Of_Mutable_Object): If prefix | |
5156 | has been rewritten as an explicit dereference, retrieve type of | |
5157 | original node to check for possibly unconstrained record type. | |
5158 | ||
5159 | 2004-05-10 Ed Schonberg <schonberg@gnat.com> | |
5160 | ||
5161 | * exp_ch7.adb (Check_Visibly_Controlled): If given operation is not | |
5162 | overriding, use the operation of the parent unconditionally. | |
5163 | ||
5164 | * sem_ch4.adb (Remove_Address_Interpretations): Remove address | |
5165 | operation when either operand is a literal, to avoid further | |
5166 | ambiguities. | |
5167 | ||
5168 | * sem_ch6.adb (New_Overloaded_Entity): If new entity is inherited and | |
5169 | overridden by a previous explicit declaration, mark the previous entity | |
5170 | as overriding. | |
5171 | ||
5172 | * sem_disp.adb (Check_Dispatching_Operation): New predicate | |
5173 | Is_Visibly_Controlled, to determine whether a declaration of a | |
5174 | primitive control operation for a derived type overrides an inherited | |
5175 | one. Add warning if the explicit declaration does not override. | |
5176 | ||
5177 | 2004-05-10 Vincent Celier <celier@gnat.com> | |
5178 | ||
5179 | * gnatls.adb (Gnatls): Initialize Snames, to avoid assertion error in | |
5180 | some cases when the sources are no longer present. | |
5181 | ||
5182 | * make.adb (Collect_Arguments): Fail if an external source, not part | |
5183 | of any project need to be compiled, when switch -x has not been | |
5184 | specified. | |
5185 | ||
5186 | * makeusg.adb: Document new switch -x | |
5187 | ||
5188 | * opt.ads (External_Unit_Compilation_Allowed): New Boolean flag, | |
5189 | defaulted to False. | |
5190 | ||
5191 | * switch-m.adb (Scan_Make_Switches): New switch -x | |
5192 | ||
5193 | * vms_data.ads: Add VMS qualifier /NON_PROJECT_UNIT_COMPILATION for | |
5194 | gnatmake switch -x. | |
5195 | ||
5196 | * gnat_ugn.texi: Document new gnatmake switch -x | |
5197 | ||
5198 | 2004-05-10 Eric Botcazou <ebotcazou@act-europe.fr> | |
5199 | ||
5200 | * misc.c (gnat_init_options): Set flag_zero_initialized_in_bss to 0. | |
5201 | ||
5202 | * utils.c (create_var_decl): Do not modify the DECL_COMMON flag. | |
5203 | (process_attributes): Likewise. | |
5204 | ||
5205 | 2004-05-10 Joel Brobecker <brobecker@gnat.com> | |
5206 | ||
5207 | * s-inmaop.ads: Fix spelling mistake in one of the comments. | |
5208 | ||
5209 | 2004-05-10 Robert Dewar <dewar@gnat.com> | |
5210 | ||
5211 | * gnat_ugn.texi: Document that for config pragma files, the maximum | |
5212 | line length is always 32767. | |
5213 | ||
5214 | * gnat_rm.texi: For pragma Eliminate, note that concatenation of string | |
5215 | literals is now allowed. | |
5216 | ||
5217 | * gnat-style.texi: Remove statement about splitting long lines before | |
5218 | an operator rather than after, since we do not follow this rule at all. | |
5219 | Clarify rule (really lack of rule) for spaces around exponentiation | |
5220 | ||
5221 | * sem_elim.adb: Allow concatenation of string literals as well as a | |
5222 | single string literal for pragma arguments. | |
5223 | ||
5224 | * sem_prag.ads, sem_prag.adb: (Is_Config_Static_String): New function | |
5225 | ||
5226 | * a-textio.adb (Terminate_Line): Do not add line feed if nothing | |
5227 | written for append case. | |
5228 | ||
5229 | * frontend.adb: Changes to avoid checking max line length in config | |
5230 | pragma files. | |
5231 | ||
5232 | * g-os_lib.ads: Minor reformatting | |
5233 | ||
5234 | * mlib-utl.adb: Do not define Max_Line_Length locally (definition was | |
5235 | wrong in any case. Instead use standard value. Noticed during code | |
5236 | reading. | |
5237 | ||
5238 | * opt.ads (Max_Line_Length): New field, used to implement removal of | |
5239 | limitation on length of lines when scanning config pragma files. | |
5240 | ||
5241 | * osint.ads, prj-dect.adb, prj-strt.adb, prj-tree.adb, | |
5242 | makeutl.ads, makeutl.adb: Minor reformatting | |
5243 | ||
5244 | * scn.adb: Do not check line length while scanning config pragma files | |
5245 | Do not check line length while scanning out license information | |
5246 | ||
5247 | * scng.adb: Changes to avoid line length checks while parsing config | |
5248 | pragma files. | |
5249 | ||
5250 | 2004-05-10 GNAT Script <nobody@gnat.com> | |
5251 | ||
5252 | * Make-lang.in: Makefile automatically updated | |
5253 | ||
48664302 AC |
5254 | 2004-05-05 Arnaud Charlet <charlet@act-europe.fr> |
5255 | ||
5256 | * osint.adb (Find_Program_Name): Fix handling of VMS version | |
5257 | number. | |
5258 | ||
aa720a54 AC |
5259 | 2004-05-05 Emmanuel Briot <briot@act-europe.fr> |
5260 | ||
5261 | * g-os_lib.ads (Invalid_Time): New constant | |
5262 | ||
5263 | * adaint.h, adaint.c (__gnat_file_time_name, __gnat_file_time_fd): Now | |
5264 | return OS_Time instead of time_t to match what is imported by Ada. | |
5265 | Now return -1 if the file doesn't exist, instead of a random value | |
5266 | ||
5267 | 2004-05-05 Robert Dewar <dewar@gnat.com> | |
5268 | ||
5269 | * usage.adb: Add line for -gnatR?s switch | |
5270 | ||
5271 | * sem_ch13.adb, exp_ch2.adb: Minor reformatting | |
5272 | ||
5273 | * g-regpat.ads, g-regpat.adb: Add documentation on handling of Size | |
5274 | and for Match (Data_First, Data_last) | |
5275 | ||
5276 | * lib-writ.adb (Write_With_Lines): Ensure that correct index number is | |
5277 | written when we are dealing with multi-unit files. | |
5278 | ||
5279 | 2004-05-05 Jerome Guitton <guitton@act-europe.fr> | |
5280 | ||
5281 | * Makefile.in: Remove unused targets and variables. | |
5282 | ||
5283 | 2004-05-05 Vincent Celier <celier@gnat.com> | |
5284 | ||
5285 | * switch-m.adb: New gnatmake switch -eI | |
5286 | ||
5287 | * vms_data.ads: Add VMS equivalents of new gnatclean swith -innn and | |
5288 | of new gnatmake switch -eInnn. | |
5289 | ||
5290 | * makegpr.adb: Take into account new parameters Index and Src_Index in | |
5291 | Prj.Util. | |
5292 | ||
5293 | * clean.adb: Implement support for multi-unit sources, including new | |
5294 | switch -i. | |
5295 | ||
5296 | * gnatcmd.adb (GNATCmd): Call Prj.Util.Value_Of with new parameter | |
5297 | Src_Index. | |
5298 | ||
5299 | * make.ads, make.adb (Insert_Q): New parameter Index, defaulted to 0 | |
5300 | (Extract_From_Q): New out parameter Index | |
5301 | (Mark, Is_Marked): Subprograms moved to Makeutl | |
5302 | (Switches_Of): New parameter Source_Index | |
5303 | (Add_Switch): New parameter Index | |
5304 | (Check): New parameter Source_Index | |
5305 | (Collect_Arguments): New parameter Source_Index | |
5306 | (Collect_Arguments_And_Compile): New parameter Source_Index | |
5307 | (Compile): New parameter Source_Index | |
5308 | Put subprograms in alphabetical order | |
5309 | Add support for multi-source sources, including in project files. | |
5310 | ||
5311 | * makeutl.ads, makeutl.adb (Unit_Index_Of): New function | |
5312 | (Mark, Is_Marked, Delete_All_Marks): New subprograms, moved from | |
5313 | Make. | |
5314 | ||
5315 | * makeusg.adb: New gnatmake switch -eInnn | |
5316 | ||
5317 | * mlib-prj.adb (Build_Library): Add new parameter Src_Index to call to | |
5318 | Prj.Util.Value_Of. | |
5319 | ||
5320 | * opt.ads (Main_Index): New variable, defaulted to 0. | |
5321 | ||
5322 | * osint.ads, osinte.adb (Add_File): New parameter Index | |
5323 | (Current_Source_Index): New function | |
5324 | ||
5325 | * prj.adb: Take into account new components Index and Src_Index | |
5326 | ||
5327 | * prj.ads (String_Element): New component Index | |
5328 | (Variable_Value): New component Index | |
5329 | (Array_Element): New component Src_Index | |
5330 | ||
5331 | * prj-attr.adb: Indicate that optional index may be specified for | |
5332 | attributes Main, Executable, Spec, Body and some of Switches. | |
5333 | ||
5334 | * prj-attr.ads (Attribute_Kind): New values for optional indexes | |
5335 | (Attribute_Record): New component Optional_Index | |
5336 | ||
5337 | * prj-com.ads (File_Name_Data): New component Index | |
5338 | ||
5339 | * prj-dect.adb (Parse_Attribute_Declaration): Process optional index | |
5340 | ||
5341 | * prj-env.adb (Put): Output optional index | |
5342 | ||
5343 | * prj-makr.adb: Put indexes for multi-unit sources in SFN pragmas and | |
5344 | attributes Spec and Body. | |
5345 | ||
5346 | * prj-nmsc.adb: Process optional indexes | |
5347 | ||
5348 | * prj-pp.adb: Ouput "at" for optional indexes | |
5349 | ||
5350 | * prj-proc.adb: Take into account optional indexes | |
5351 | ||
5352 | * prj-strt.ads, prj-strt.adb (Terms): New Boolean parameter | |
5353 | Optional_Index. For string literal, | |
5354 | process optional index when Optional_Index is True. | |
5355 | (Parse_Expresion): New Boolean parameter Optional_Index | |
5356 | ||
5357 | * prj-tree.ads, prj-tree.adb (Source_Index_Of): New function | |
5358 | (Set_Source_Index_Of): New procedure | |
5359 | ||
5360 | * prj-util.adb (Executable_Of, Value_Of): Take into account optional | |
5361 | index. | |
5362 | ||
5363 | * prj-util.ads (Executable_Of): New parameter Index | |
5364 | (Value_Of (Name_Id, Array_Element_Id) returning Variable_Value): | |
5365 | New parameter Src_Index, defaulted to 0. | |
5366 | ||
5367 | 2004-05-05 Ed Schonberg <schonberg@gnat.com> | |
5368 | ||
5369 | PR ada/15257 | |
5370 | * sem_ch3.adb (Access_Definition): If this is an access parameter | |
5371 | whose designated type is imported through a limited_with clause, do | |
5372 | not add the enclosing subprogram to the list of private dependents of | |
5373 | the type. | |
5374 | ||
5375 | 2004-05-05 Ed Schonberg <schonberg@gnat.com> | |
5376 | ||
5377 | PR ada/15258 | |
5378 | * sem_ch6.adb (Base_Types_Match): True if one type is imported through | |
5379 | a limited_with clause, and the other is its non-limited view. | |
5380 | ||
5381 | 2004-05-05 Thomas Quinot <quinot@act-europe.fr> | |
5382 | ||
5383 | * cstand.adb (Create_Standard): Initialize Stand.Boolean_Literals. | |
5384 | ||
90afe2c9 | 5385 | * exp_attr.adb, exp_ch5.adb, exp_ch9.adb, exp_disp.adb, |
aa720a54 AC |
5386 | exp_fixd.adb, sem_attr.adb, sem_dist.adb, sem_util.adb: Use |
5387 | Stand.Boolean_Literals to produce references to entities | |
5388 | Standard_False and Standard_True from compile-time computed boolean | |
5389 | values. | |
5390 | ||
5391 | * stand.ads (Boolean_Literals): New variable, provides the entity | |
5392 | values for False and True, for use by the expander. | |
5393 | ||
5394 | 2004-05-05 Doug Rupp <rupp@gnat.com> | |
5395 | ||
5396 | * 5vinmaop.adb, 5[vx]system.ads: Add Short_Address subtype | |
5397 | 5vinmaop.adb: Unchecked convert Short_Address vice Address | |
5398 | ||
5399 | * adaint.c, raise.c: Caste CRTL function return value | |
5400 | to avoid gcc error on 32/64 bit IVMS. | |
5401 | ||
5402 | * Makefile.in [VMS]: Use iar archiver if host = Alpha/VMS and | |
5403 | target = IA64/VMS. | |
5404 | ||
5405 | * init.c[VMS]: Only call Alpha specific __gnat_error_prehandler IN_RTS. | |
5406 | ||
5407 | * 5qsystem.ads (Address): Declare as Long_Integer | |
5408 | (Short_Address): Declare as 32 bit subtype of Address | |
5409 | Declare abstract address operations to avoid gratuitous ambiguities. | |
5410 | ||
5411 | 2004-05-05 Jose Ruiz <ruiz@act-europe.fr> | |
5412 | ||
5413 | * gnat_rm.texi: Use the new restriction Simple_Barriers (AI-249) | |
5414 | instead of the old Boolean_Entry_Barriers. | |
5415 | Ditto for No_Task_Attributes_Package instead of No_Task_Attributes. | |
5416 | ||
5417 | 2004-05-05 GNAT Script <nobody@gnat.com> | |
5418 | ||
5419 | * Make-lang.in: Makefile automatically updated | |
5420 | ||
1ab2888d AC |
5421 | 2004-05-03 Arnaud Charlet <charlet@act-europe.fr> |
5422 | ||
5423 | * 50system.ads, 59system.ads, s-thread.ads: Removed, no longer used. | |
5424 | ||
9f4fd324 AC |
5425 | 2004-05-03 Olivier Hainque <hainque@act-europe.fr> |
5426 | ||
5427 | PR ada/15152 | |
5428 | ||
5429 | * exp_ch2.adb (Expand_Current_Value): Leave Machine_Code Asm arguments | |
5430 | alone. Replacing object references by literals is inappropriate in a | |
5431 | so low level context. | |
5432 | ||
5433 | 2004-05-03 Arnaud Charlet <charlet@act-europe.fr> | |
5434 | ||
5435 | * a-exexpr.adb: Add comments | |
5436 | ||
5437 | 2004-05-03 Joel Brobecker <brobecker@gnat.com> | |
5438 | ||
5439 | * a-tags.adb (Tag_Table): Add Index_Check pragma Suppress. Allows us to | |
5440 | declare the Ancestor_Tags array in Type_Specific_Data with a small size | |
5441 | without risking a bounds check error when accessing one of its | |
5442 | components. | |
5443 | (Type_Specific_Data): Define Ancestor_Tags as a small array. | |
5444 | This prevents us from hitting a limitation during the debug info | |
5445 | generation when using stabs. | |
5446 | ||
5447 | * a-tags.adb (Dispatch_Table): Define the Prims_Ptr component as a | |
5448 | small array. | |
5449 | This prevents us from hitting a limitation during the debug info | |
5450 | generation when using stabs. | |
5451 | ||
5452 | 2004-05-03 Eric Botcazou <ebotcazou@act-europe.fr> | |
5453 | ||
5454 | lang-specs.h: Remove -gnatz* from specs. | |
5455 | ||
5456 | 2004-05-03 Vincent Celier <celier@gnat.com> | |
5457 | ||
5458 | * gprmake.adb, makegpr.ads, makegpr.adb: New files. | |
5459 | ||
5460 | * Make-lang.in, Makefile.in: Add gprmake | |
5461 | ||
5462 | 2004-05-03 Thomas Quinot <quinot@act-europe.fr> | |
5463 | ||
5464 | * sem_aggr.adb: Fix typo in comment. | |
5465 | ||
5466 | 2004-05-03 Robert Dewar <dewar@gnat.com> | |
5467 | ||
5468 | * make.adb: Minor reformatting | |
5469 | ||
5470 | * rtsfind.ads, rtsfind.adb: (RTU_Loaded): New function | |
5471 | ||
5472 | * sem_attr.adb (Eval_Attribute, case Type_Class): Fix check for address | |
5473 | so that it works when address is not a private type. | |
5474 | ||
5475 | * sem_ch13.adb (Check_Expr_Constants, case N_Integer_Literal): Deal | |
5476 | properly with rewritten unchecked conversions. This prevents | |
5477 | order-of-elaboration issues that can otherwise arise. | |
5478 | (Minimum_Size): Don't check size of access types under VMS | |
5479 | ||
5480 | * sem_ch4.adb (Remove_Address_Interpretation): New circuit to remove | |
5481 | interpretations of integer literals as type System.Address. | |
5482 | ||
5483 | * sem_util.ads, sem_util.adb (Is_Descendent_Of_Address): New function | |
5484 | (Is_Descendent_Of): New function | |
5485 | ||
5486 | 2004-05-03 Jose Ruiz <ruiz@act-europe.fr> | |
5487 | ||
5488 | * sem_prag.adb: Boolean_Entry_Barriers is a synonym of Simple_Barriers. | |
5489 | Max_Entry_Queue_Depth is a synonym of Max_Entry_Queue_Length. | |
5490 | No_Dynamic_Interrupts is a synonym of No_Dynamic_Attachment. | |
5491 | ||
5492 | * sem_res.adb: Use the new restriction Max_Entry_Queue_Length instead | |
5493 | of the old Max_Entry_Queue_Depth. | |
5494 | ||
5495 | * snames.adb: Boolean_Entry_Barriers is a synonym of Simple_Barriers. | |
5496 | Max_Entry_Queue_Depth is a synonym of Max_Entry_Queue_Length | |
5497 | No_Dynamic_Interrupts is a synonym of No_Dynamic_Attachment | |
5498 | ||
5499 | * snames.ads: New entry for proper handling of Boolean_Entry_Barriers. | |
5500 | New entry for proper handling of Max_Entry_Queue_Depth. | |
5501 | New entry for proper handling of No_Dynamic_Interrupts. | |
5502 | ||
5503 | * s-rident.ads: Adding restriction Simple_Barriers (AI-00249) that | |
5504 | supersedes the GNAT specific restriction Boolean_Entry_Barriers. | |
5505 | Adding restriction Max_Entry_Queue_Length (AI-00249) that supersedes | |
5506 | the GNAT specific restriction Max_Entry_Queue_Depth. | |
5507 | Adding restriction No_Dynamic_Attachment (AI-00249) that supersedes | |
5508 | the GNAT specific restriction No_Dynamic_Interrupts. | |
5509 | ||
5510 | * restrict.ads, restrict.adb: Use the new restriction Simple_Barriers | |
5511 | instead of the old Boolean_Entry_Barriers. | |
5512 | Use the new restriction No_Dynamic_Attachment instead of the old | |
5513 | No_Dynamic_Interrupts. | |
5514 | ||
5515 | * exp_ch9.adb: Check restriction Simple_Barriers (AI-00249) that | |
5516 | supersedes the GNAT specific restriction Boolean_Entry_Barriers. | |
5517 | ||
5518 | * gnatbind.adb: Use the new restriction Max_Entry_Queue_Length instead | |
5519 | of the old Max_Entry_Queue_Depth. | |
5520 | ||
5521 | 2004-05-03 GNAT Script <nobody@gnat.com> | |
5522 | ||
5523 | * Make-lang.in: Makefile automatically updated | |
5524 | ||
d935a36e AC |
5525 | 2004-04-29 Ed Schonberg <schonberg@gnat.com> |
5526 | ||
5527 | * checks.adb (Enable_Range_Check): If the prefix of an index component | |
5528 | is an access to an unconstrained array, perform check unconditionally. | |
5529 | ||
5530 | 2004-04-29 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | |
5531 | ||
5532 | * decl.c (gnat_to_gnu_field): Also call make_packable_type if | |
5533 | Component_Clause. | |
5534 | ||
5535 | 2004-04-29 Olivier Hainque <hainque@act-europe.fr> | |
5536 | ||
5537 | * init.c (__gnat_install_handler, __gnat_error_handler): Remove | |
5538 | alternate stack setting. There was no support for the tasking cases | |
5539 | and the changes eventually caused a number of side-effect failures in | |
5540 | the non-tasking case too. | |
5541 | ||
5542 | 2004-04-29 Eric Botcazou <ebotcazou@act-europe.fr> | |
5543 | ||
5544 | lang-specs.h: Redirect output to /dev/null if -gnatc or -gnatz or | |
5545 | -gnats is passed. | |
5546 | ||
5547 | 2004-04-29 Vincent Celier <celier@gnat.com> | |
5548 | ||
5549 | * make.adb (Gnatmake): Increase max size of argument array for | |
5550 | gnatbind for the potential addition of -F. | |
5551 | If there are Stand-Alone Library projects, invoke gnatbind with -F to | |
5552 | be sure that elaboration flags will be checked. | |
5553 | ||
5554 | * switch-c.adb: Correct call to Scan_Pos for -gnateI | |
5555 | ||
5556 | 2004-04-29 Thomas Quinot <quinot@act-europe.fr> | |
5557 | ||
5558 | * sem_warn.adb (Check_References): Move '<access-variable> may be | |
5559 | null' warning out of under Warn_On_No_Value_Assigned. | |
5560 | ||
5561 | 2004-04-29 Ed Falis <falis@gnat.com> | |
5562 | ||
5563 | * gnat_ugn.texi: Fixed texi error | |
5564 | ||
5565 | 2004-04-29 Robert Dewar <dewar@gnat.com> | |
5566 | ||
5567 | * sem_ch4.adb (Remove_Abstract_Operations): Unconditionally remove | |
5568 | abstract operations if they come from predefined files. | |
5569 | ||
5570 | * gnat_rm.texi: Fix bad doc for pragma Elaboration_Checks (should be | |
5571 | Dynamic, not RM). | |
5572 | ||
5573 | * s-addope.adb: Correct obvious error in mod function | |
5574 | ||
5575 | 2004-04-28 Andrew W. Reynolds <awreynolds@mac.com> | |
5576 | ||
5577 | * Makefile.in: Add target pairs for powerpc darwin* | |
5578 | tasking support. | |
5579 | ||
5580 | * a-intnam-darwin.ads, s-osinte-darwin.adb, | |
5581 | s-osinte-darwin.ads, system-darwin-ppc.ads: New files. | |
5582 | ||
ea16c81b UW |
5583 | 2004-04-28 Ulrich Weigand <uweigand@de.ibm.com> |
5584 | ||
5585 | * Makefile.in: Add target macro definitions for s390*-linux*. | |
5586 | * system-linux-s390.ads: New file. | |
5587 | * system-linux-s390x.ads: New file. | |
5588 | ||
f0e6f845 JM |
5589 | 2004-04-28 Joseph S. Myers <jsm@polyomino.org.uk> |
5590 | ||
5591 | * gnat_ugn.texi: Correct argument to @setfilename. | |
5592 | ||
e8c2eedc UW |
5593 | 2004-04-28 Ulrich Weigand <uweigand@de.ibm.com> |
5594 | ||
5595 | * a-exexpr.adb (Unwind_Word): New data type. | |
5596 | (Unwind_Exception): Use it as type of Private1 and Private2. | |
5597 | ||
5598 | * raise.c (db_action_for): Fix debug printf. | |
5599 | ||
f2c9e65a AC |
5600 | 2004-04-27 Ed Schonberg <schonberg@gnat.com> |
5601 | ||
5602 | * a-wtmoio.ads: Formal type must be a modular type, not a signed | |
5603 | integer type. | |
5604 | ||
5605 | 2004-04-27 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | |
5606 | ||
5607 | * decl.c (gnat_to_gnu_entity, case object): Call | |
5608 | __builtin_update_setjmp_buf. | |
5609 | ||
5610 | * gigi.h (update_setjmp_buf): Deleted. | |
5611 | (ADT_update_setjmp_buf_decl, update_setjmp_buf_decl): New. | |
5612 | ||
5613 | * misc.c: (update_setjmp_buf): Deleted. | |
5614 | ||
5615 | * trans.c (gnat_to_gnu): Call do_pending_stack_adjust and emit_queue | |
5616 | around block of RTL. | |
5617 | ||
5618 | * utils.c (init_gigi_decls): Initialize update_setjmp_buf. | |
5619 | ||
35b7fa6a AC |
5620 | 2004-04-26 Thomas Quinot <quinot@act-europe.fr> |
5621 | ||
5622 | * sem_dist.adb, exp_dist.adb: When constructing a RAS value for a local | |
5623 | subprogram for which no pragma All_Calls_Remote applies, store the | |
5624 | address of the real subprogram in the underlying record type, so local | |
5625 | dereferences do not go through the PCS. | |
5626 | ||
5627 | 2004-04-26 Robert Dewar <dewar@gnat.com> | |
5628 | ||
5629 | * i-c.ads: Add some type qualifications to avoid ambiguities when | |
5630 | compiling with s-auxdec.ads and a non-private address type. | |
5631 | ||
5632 | 2004-04-26 Arnaud Charlet <charlet@act-europe.fr> | |
5633 | ||
5634 | * Makefile.rtl: Fix error in previous check-in: | |
5635 | Add s-addope.o to non tasking object list (rather than tasking object | |
5636 | list). | |
5637 | ||
5638 | 2004-04-26 Javier Miranda <miranda@gnat.com> | |
5639 | ||
5640 | * sem_aggr.adb: Fix typo in comments | |
5641 | (Resolve_Aggr_Expr): Propagate the type to the nested aggregate. | |
5642 | Required to check the null-exclusion attribute. | |
5643 | ||
5644 | * sem_attr.adb (Resolve_Attribute): Check the accessibility level in | |
5645 | case of anonymous access types in record and array components. For a | |
5646 | component definition the level is the same of the enclosing composite | |
5647 | type. | |
5648 | ||
5649 | * sem_ch3.adb (Analyze_Component_Declaration): In case of components | |
5650 | that are anonymous access types the level of accessibility depends on | |
5651 | the enclosing type declaration. In order to have this information, set | |
5652 | the scope of the anonymous access type to the enclosing record type | |
5653 | declaration. | |
5654 | (Array_Type_Declaration): In case of components that are anonymous | |
5655 | access types the level of accessibility depends on the enclosing type | |
5656 | declaration. In order to have this information, set the scope of the | |
5657 | anonymous access type to the enclosing array type declaration. | |
5658 | ||
5659 | * sem_ch3.adb (Array_Type_Declaration): Set the scope of the anonymous | |
5660 | access type. | |
5661 | ||
5662 | * sem_ch8.adb (Analyze_Object_Renaming): Add check to verify that | |
5663 | renaming of anonymous access-to-constant types allowed if and only if | |
5664 | the renamed object is access-to-constant. | |
5665 | ||
5666 | * sem_util.adb (Type_Access_Level): In case of anonymous access types | |
5667 | that are component_definition or discriminants of a nonlimited type, | |
5668 | the level is the same as that of the enclosing component type. | |
5669 | ||
5670 | 2004-04-26 Sergey Rybin <rybin@act-europe.fr> | |
5671 | ||
5672 | * sem_elim.adb: Some minor code reorganization from code reading. Fix | |
5673 | misprint in the function name (File_Name_Match). | |
5674 | ||
5a944040 LG |
5675 | 2004-04-23 Laurent GUERBY <laurent@guerby.net> |
5676 | ||
90afe2c9 | 5677 | * Makefile.in: Remove RANLIB_TEST, use -$(RANLIB) including after |
5a944040 | 5678 | install. |
90afe2c9 | 5679 | |
d0fd1344 RO |
5680 | 2004-04-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
5681 | ||
5682 | * Make-lang.in (GNATBIND_OBJS): Add s-addope.o. | |
5683 | ||
cc4f0de1 AC |
5684 | 2004-04-23 Emmanuel Briot <briot@act-europe.fr> |
5685 | ||
5686 | * adaint.c (__gnat_try_lock): No longer requires that the parent | |
5687 | directory be writable, the directory itself is enough. | |
5688 | (gnat_is_absolute_path): Change profile, so that the call from | |
5689 | GNAT.OS_Lib can be made more efficient. | |
5690 | ||
5691 | * adaint.h (gnat_is_absolute_path): Change profile, so that the call | |
5692 | from GNAT.OS_Lib can be made more efficient. | |
5693 | ||
5694 | * g-os_lib.adb (Is_Absolute_Path): More efficient implementation, avoid | |
5695 | one copy of the file name. Found by code reading. | |
5696 | ||
5697 | 2004-04-23 Vincent Celier <celier@gnat.com> | |
5698 | ||
5699 | * gnat_ugn.texi: Add documentation for gnatmake switch -eL | |
5700 | Correct documentation on gnatmake switches transmitted to the compiler | |
5701 | ||
5702 | * ali.ads: Minor comment fix | |
5703 | ||
5704 | 2004-04-23 Javier Miranda <miranda@gnat.com> | |
5705 | ||
5706 | * sem_ch6.adb: (Confirming Types): Code cleanup | |
5707 | ||
5708 | * decl.c (gnat_to_gnu_entity): Give support to anonymous access to | |
5709 | subprogram types: E_Anonymous_Access_Subprogram_Type and | |
5710 | E_Anonymous_Access_Protected_Subprogram_Type. | |
5711 | ||
5712 | 2004-04-23 Thomas Quinot <quinot@act-europe.fr> | |
5713 | ||
5714 | * sem_dist.adb: Add a new paramter to the RAS_Access TSS indicating | |
5715 | whether a pragma All_Calls_Remote applies to the subprogram on which | |
5716 | 'Access is taken. | |
5717 | No functional change is introduced by this revision; the new parameter | |
5718 | will be used to allow calls to local RCI subprograms to be optimized | |
5719 | to not use the PCS in the case where no pragma All_Calls_Remote applies, | |
5720 | as is already done in the PolyORB implementation of the DSA. | |
5721 | ||
5722 | * exp_dist.adb: Add a new paramter to the RAS_Access TSS indicating | |
5723 | whether a pragma All_Calls_Remote applies to the subprogram on which | |
5724 | 'Access is taken. | |
5725 | No functional change is introduced by this revision; the new parameter | |
5726 | will be used to allow calls to local RCI subprograms to be optimized | |
5727 | to not use the PCS in the case where no pragma All_Calls_Remote applies, | |
5728 | as is already done in the PolyORB implementation of the DSA. | |
5729 | ||
5730 | 2004-04-23 Robert Dewar <dewar@gnat.com> | |
5731 | ||
5732 | * Makefile.rtl: Add entry for s-addope.o in run time library list | |
5733 | * Make-lang.in: Add entry for s-addope.o to GNAT1 objects | |
5734 | * s-addope.ads, s-addope.adb: New files. | |
5735 | ||
90afe2c9 ZW |
5736 | * s-carsi8.adb, s-carun8.adb, s-casi16.adb, s-casi32.adb, |
5737 | s-casi64.adb, s-caun16.adb, s-caun32.adb, s-caun64.adb, | |
cc4f0de1 AC |
5738 | s-finimp.adb, s-geveop.adb, s-stoele.adb: Modifications to allow |
5739 | System.Address to be non-private and signed. | |
5740 | ||
5741 | * sem_elim.adb: Minor reformatting (fairly extensive) | |
5742 | Some minor code reorganization from code reading | |
5743 | Add a couple of ??? comments | |
5744 | ||
5745 | 2004-04-23 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | |
5746 | ||
5747 | * trans.c (tree_transform, build_unit_elab): Don't call getdecls. | |
90afe2c9 | 5748 | (tree_transform, case N_If_Statement): Remove non-determinism. |
cc4f0de1 AC |
5749 | |
5750 | * utils.c (begin_subprog_body): Just set DECL_CONTEXT in PARM_DECL. | |
5751 | ||
5752 | 2004-04-23 Sergey Rybin <rybin@act-europe.fr> | |
5753 | ||
5754 | * gnat_rm.texi: Small fixes in the changes made in the 'pragma | |
5755 | Eliminate' section. | |
5756 | ||
5757 | * snames.ads, snames.adb: Remove Name_Homonym_Number (Homonym_Number is | |
5758 | no longer used as a parameter name for Eliminate pragma). | |
5759 | ||
78bad775 LG |
5760 | 2004-04-22 Laurent GUERBY <laurent@guerby.net> |
5761 | ||
5762 | PR optimization/14984 | |
5763 | PR optimization/14985 | |
5764 | * trans.c (gigi): Fix non determinism leading to bootstrap | |
5765 | comparison failures. | |
5766 | ||
af4b9434 AC |
5767 | 2004-04-21 Pascal Obry <obry@gnat.com> |
5768 | ||
5769 | * adaint.c (__gnat_portable_spawn): Quote first argument (argv[0]) | |
5770 | passed to spawnvp() to properly handle program pathname with spaces on | |
5771 | Win32. | |
5772 | ||
5773 | 2004-04-21 Emmanuel Briot <briot@act-europe.fr> | |
5774 | ||
5775 | * g-debpoo.adb (Print_Info): Avoid extra work if Display_Slots is False. | |
5776 | (Allocate, Deallocate, Free_Physically): Make sure the tasks are | |
5777 | unlocked in case of exceptions. | |
5778 | ||
5779 | 2004-04-21 Joel Brobecker <brobecker@gnat.com> | |
5780 | ||
5781 | * gigi.h (get_target_no_dollar_in_label): Remove extern declaration. | |
5782 | This function does not exist anymore. | |
5783 | ||
5784 | 2004-04-21 Thomas Quinot <quinot@act-europe.fr> | |
5785 | ||
5786 | * gnatbind.adb, gnatlink.adb: Update name of imported C symbol. | |
5787 | ||
5788 | * link.c: Move variables to the __gnat name space. | |
5789 | ||
5790 | * Makefile.in: list link.o explicitly when needed. | |
5791 | ||
5792 | * mlib.adb: Remove pragma Linker_Option for "link.o" from mlib. | |
5793 | ||
5794 | 2004-04-21 Javier Miranda <miranda@gnat.com> | |
5795 | ||
5796 | * einfo.adb (Original_Access_Type): New subprogram | |
5797 | (Set_Original_Access_Type): New subprogram | |
5798 | (Write_Field21_Name): Write the name of the new field | |
5799 | ||
5800 | * einfo.ads (Original_Access_Type): New field present in access to | |
5801 | subprogram types. | |
5802 | Addition of two new entities: E_Anonymous_Access_Subprogram_Type, and | |
5803 | E_Anonymous_Access_Protected_Subprogram_Type. | |
5804 | ||
5805 | * lib-xref.adb (Output_One_Ref): Give support to anonymous access to | |
5806 | subprogram types. | |
5807 | ||
5808 | * lib-xref.ads (Xref_Entity_Letters): Initialize values corresponding | |
5809 | to anonymous access to subprogram types. | |
5810 | ||
5811 | * sem_attr.adb (Resolve_Attribute): Give support to anonymous access | |
5812 | to subprogram types. | |
5813 | ||
5814 | * sem_ch3.adb (Access_Definition): Complete decoration of entities | |
5815 | corresponding to anonymous access to subprogram types. | |
5816 | (Analyze_Component_Declaration): Add new actual to the call to | |
5817 | subprogram replace_anonymous_access_to_protected_subprogram. | |
5818 | (Array_Type_Declaration): Add new actual to the call to subprogram | |
5819 | replace_anonymous_access_to_protected_subprogram. | |
5820 | (Process_Discriminants): Add new actual to the call to subprogram | |
5821 | replace_anonymous_access_to_protected_subprogram. | |
5822 | (Replace_Anonymous_Access_To_Protected_Subprogram): New formal. | |
5823 | ||
5824 | * sem_ch3.ads (Replace_Anonymous_Access_To_Protected_Subprogram): New | |
5825 | formal. | |
5826 | ||
5827 | * sem_ch6.adb, sem_type.adb, sem_res.adb: Give support to anonymous | |
5828 | access to subprogram types. | |
5829 | ||
5830 | * sem_util.adb (Has_Declarations): Addition of package_specification | |
5831 | nodes. | |
5832 | ||
5833 | 2004-04-21 Ed Schonberg <schonberg@gnat.com> | |
5834 | ||
5835 | * sem_prag.adb (Make_Inline): If subprogram is a renaming, propagate | |
5836 | inlined flags to renamed entity only if in current unit. | |
5837 | ||
5838 | 2004-04-21 Thomas Quinot <quinot@act-europe.fr> | |
5839 | ||
5840 | * s-parint.ads: Add DSA implementation marker. | |
5841 | ||
5842 | * rtsfind.ads, rtsfind.adb, snames.ads, snames.adb, s-rpc.adb: Use the | |
5843 | value of System.Partition_Interface.DSA_Implementation to determine | |
5844 | what version of the distributed systems annex is available (no | |
5845 | implementation, GLADE, or PolyORB). | |
5846 | ||
5847 | 2004-04-21 Joel Brobecker <brobecker@gnat.com> | |
5848 | ||
5849 | * targtyps.c (get_target_no_dollar_in_label): Remove, no longer used. | |
5850 | ||
5851 | 2004-04-21 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | |
5852 | ||
5853 | * utils.c (convert, case CONSTRUCTOR, COMPONENT_REF): Do not make node | |
5854 | with new type if alias sets differ. | |
5855 | Fixes ACATS c41103b. | |
5856 | ||
5857 | 2004-04-21 Vincent Celier <celier@gnat.com> | |
5858 | ||
5859 | * prj.ads: Remove FORTRAN as an accepted language: not tested yet. | |
5860 | Add array Lang_Args for the language specific compiling argument | |
5861 | switches. | |
5862 | ||
5863 | * gnat_ugn.texi: Explain in more details when a library is rebuilt. | |
5864 | ||
5865 | 2004-04-21 Sergey Rybin <rybin@act-europe.fr> | |
5866 | ||
5867 | * gnat_rm.texi: Update the descripton of the Eliminate pragma | |
5868 | according to the recent changes in the format of the parameters of the | |
5869 | pragma (replacing Homonym_Number with Source_Location). | |
5870 | ||
7324bf49 AC |
5871 | 2004-04-19 Arnaud Charlet <charlet@act-europe.fr> |
5872 | ||
5873 | * 5isystem.ads: Removed, unused. | |
5874 | ||
5875 | * gnat_rm.texi: Redo 1.13 change. | |
5876 | ||
5877 | 2004-04-19 Robert Dewar <dewar@gnat.com> | |
5878 | ||
5879 | * s-stoele.ads: Clean up definition of Storage_Offset (the new | |
5880 | definition is cleaner, avoids the kludge of explicit Standard operator | |
5881 | references, and also is consistent with a visible System.Address with | |
5882 | no visible operations. | |
5883 | ||
5884 | * s-geveop.adb: Add declarations to avoid assumption of visible | |
5885 | operations on type System.Address (since these might not be available | |
5886 | if Address is a non-private type for which the operations | |
5887 | are made abstract). | |
5888 | ||
5889 | * sem_eval.adb: Minor reformatting | |
5890 | ||
5891 | * s-carsi8.ads, s-carun8.ads, s-casi16.ads, s-casi32.ads, | |
5892 | s-casi64.ads, s-caun16.ads, s-caun32.ads, s-caun64.ads: Minor | |
5893 | reformatting (new function spec format). | |
5894 | ||
5895 | * s-auxdec.adb, s-carsi8.adb, s-carun8.adb, s-casi16.adb, | |
5896 | s-casi32.adb, s-casi64.adb, s-caun16.adb, s-caun32.adb, | |
5897 | s-caun64.adb: Add declarations to avoid assumption of visible | |
5898 | operations on type System.Address (since these might not be available | |
5899 | if Address is a non-private type for which the operations are made | |
5900 | abstract). | |
5901 | ||
5902 | * lib.ads, lib.adb (Synchronize_Serial_Number): New procedure. | |
5903 | ||
5904 | * exp_intr.adb: Minor comment update | |
5905 | ||
5906 | * exp_aggr.adb, exp_attr.adb, exp_ch13.adb: Minor reformatting. | |
5907 | ||
5908 | * 5omastop.adb: Add declarations to avoid assumption of visible | |
5909 | operations on type System.Address (since these might not be available | |
5910 | if Address is a non-private type for which the operations | |
5911 | are made abstract). | |
5912 | ||
5913 | 2004-04-19 Vincent Celier <celier@gnat.com> | |
5914 | ||
5915 | * switch-m.adb: (Scan_Make_Switches): Process new switch -eL | |
5916 | ||
5917 | * prj-pars.ads (Parse): New Boolean parameter Process_Languages, | |
5918 | defaulted to Ada. | |
5919 | ||
5920 | * prj-proc.adb (Process): New Boolean parameter Process_Languages, | |
5921 | defaulted to Ada. | |
5922 | Call Check with Process_Languages. | |
5923 | (Check): New Boolean parameter Process_Languages. Call Recursive_Check | |
5924 | with Process_Languages. | |
5925 | (Recursive_Check): New Boolean parameter Process_Languages. Call | |
5926 | Nmsc.Ada_Check or Nmsc.Other_Languages_Check according to | |
5927 | Process_Languages. | |
5928 | ||
5929 | * prj-proc.ads (Process): New Boolean parameter Process_Languages, | |
5930 | ||
5931 | * prj-util.ads, prj-util.adb (Executable_Of): New Boolean | |
5932 | parameter Ada_Main, defaulted to True. | |
5933 | Check for Ada specific characteristics only when Ada_Main is True. | |
5934 | ||
5935 | * opt.ads: (Follow_Links): New Boolean flag for gnatmake | |
5936 | ||
5937 | * prj.adb: (Project_Empty): Add new Project_Data components. | |
5938 | ||
5939 | * prj.ads: New types and tables for non Ada languages. | |
5940 | (Project_Data): New components Languages, Impl_Suffixes, | |
5941 | First_Other_Source, Last_Other_Source, Imported_Directories_Switches, | |
5942 | Include_Path, Include_Data_Set. | |
5943 | ||
5944 | * prj-env.ads, prj-env.adb: Minor reformatting | |
5945 | ||
5946 | * prj-nmsc.ads, prj-nmsc.adb: (Other_Languages_Check): New procedure | |
5947 | Put subprograms in alphabetical order | |
5948 | ||
5949 | * prj-pars.adb (Parse): New Boolean parameter Process_Languages, | |
5950 | defaulted to Ada; Call Prj.Proc.Process with Process_Languages and | |
5951 | Opt.Follow_Links. | |
5952 | ||
5953 | * mlib-prj.adb: Back out modification in last version, as they are | |
5954 | incorrect. | |
5955 | (Build_Library.Check_Libs): Remove useless pragma Warnings (Off) | |
5956 | ||
5957 | * make.adb: (Mains): Moved to package Makeutl | |
5958 | (Linker_Opts): Moved to package Makeutl | |
5959 | (Is_External_Assignment): Moved to package Makeutl | |
5960 | (Test_If_Relative_Path): Moved to package Makeutl | |
5961 | (Gnatmake): Move sorting of linker options to function | |
5962 | Makeutl.Linker_Options_Switches. | |
5963 | ||
8f9df7d8 VC |
5964 | * makeutl.ads, makeutl.adb: New files. |
5965 | ||
7324bf49 AC |
5966 | * Makefile.in: Add makeutl.o to the object files for gnatmake |
5967 | ||
5968 | * makeusg.adb: Add line for new switch -eL. | |
5969 | ||
5970 | * gnatls.adb (Image): New function. | |
5971 | (Output_Unit): If in verbose mode, output the list of restrictions | |
5972 | specified by pragmas Restrictions. | |
5973 | ||
5974 | * 5bml-tgt.adb, 5vml-tgt.adb (Build_Dynamic_Library): Do not use | |
5975 | Text_IO. | |
5976 | ||
5977 | * a-calend.adb (Split): Shift the date by multiple of 56 years, if | |
5978 | needed, to put it in the range 1970 (included) - 2026 (excluded). | |
5979 | (Time_Of): Do not shift Unix_Min_Year (1970). | |
5980 | Shift the date by multiple of 56 years, if needed, to put it in the | |
5981 | range 1970 (included) - 2026 (excluded). | |
5982 | ||
5983 | * adaint.h, adaint.c (__gnat_set_executable): New function. | |
5984 | ||
5985 | 2004-04-19 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | |
5986 | ||
5987 | * trans.c (tree_transform, case N_Subprogram_Body): Temporarily push | |
5988 | and pop GC context. | |
5989 | (tree_transform, case N_Procedure_Call): Fix typo in setting TREE_TYPE. | |
5990 | (tree_transform, case N_Label): Don't set LABEL_STMT_FIRST_IN_EH. | |
5991 | (tree_transform, case N_Procedure_Call_Statement): Build a tree. | |
5992 | (tree_transform, case N_Code_Statement): Likewise. | |
5993 | (gnat_expand_stmt, case LABEL_STMT): Don't look at | |
5994 | LABEL_STMT_FIRST_IN_EH. | |
5995 | (gnat_expand_stmt, case ASM_STMT): New case. | |
5996 | ||
5997 | * utils2.c (build_unary_op): Properly set TREE_READONLY of | |
5998 | UNCONSTRAINED_ARRAY_REF. | |
5999 | ||
6000 | * utils.c (poplevel): Temporarily push/pop GC context around inline | |
6001 | function expansion. | |
6002 | ||
6003 | * decl.c (maybe_variable): Properly set TREE_READONLY of | |
6004 | UNCONSTRAINED_ARRAY_REF. | |
6005 | (make_packable_type): Only reference TYPE_IS_PADDING_P for RECORD_TYPE. | |
6006 | ||
6007 | * ada-tree.def: (ASM_STMT): New. | |
6008 | ||
6009 | * ada-tree.h: (LABEL_STMT_FIRST_IN_EH): Deleted. | |
6010 | (ASM_STMT_TEMPLATE, ASM_STMT_OUTPUT, ASM_STMT_ORIG_OUT, | |
6011 | ASM_STMT_INPUT): New. | |
6012 | (ASM_STMT_CLOBBER): Likewise. | |
6013 | ||
6014 | 2004-04-19 Thomas Quinot <quinot@act-europe.fr> | |
6015 | ||
6016 | * a-except.adb, s-parint.ads, s-parint.adb, types.ads, types.h: Use | |
6017 | general rcheck mechanism to raise Program_Error for E.4(18), instead | |
6018 | of a custom raiser in System.Partition_Interface. | |
6019 | Part of general cleanup work before PolyORB integration. | |
6020 | ||
6021 | * snames.ads, snames.adb: Add new runtime library entities and names | |
6022 | for PolyORB DSA. | |
6023 | ||
6024 | * sem_dist.ads, sem_dist.adb (Get_Subprogram_Id): Move from sem_dist to | |
6025 | exp_dist. | |
6026 | (Build_Subprogram_Id): New subprogram provided by exp_dist | |
6027 | Code reorganisation in preparation for PolyORB integration. | |
6028 | ||
6029 | * exp_dist.ads, exp_dist.adb (Get_Subprogram_Id): Move from sem_dist to | |
6030 | exp_dist. | |
6031 | (Build_Subprogram_Id): New subprogram provided by exp_dist | |
6032 | ||
6033 | * sem_ch4.adb (Analyze_One_Call): Fix error message for mismatch in | |
6034 | actual parameter types for call to dereference of an | |
6035 | access-to-subprogram type. | |
6036 | ||
6037 | * rtsfind.ads: Add new runtime library entities and names for PolyORB | |
6038 | DSA. | |
6039 | ||
6040 | * gnatlink.adb (Value): Remove. Use Interfaces.C.Strings.Value | |
6041 | instead, which has the same behaviour here since we never pass it a | |
6042 | NULL pointer. | |
6043 | ||
6044 | * link.c (run_path_option, Solaris case): Use -Wl, as for other | |
6045 | platforms. | |
6046 | ||
6047 | * Makefile.in: adjust object file lists for gnatlink and gnatmake | |
6048 | to account for new dependency upon Interfaces.C.Strings + link.o | |
6049 | For x86 FreeBSD, use 86numaux. | |
6050 | ||
6051 | * make.adb, gnatcmd.adb: Linker_Library_Path_Option has been moved up | |
6052 | from Mlib.Tgt to Mlib. | |
6053 | ||
6054 | * mlib.ads, mlib.adb (Linker_Library_Path_Option): New subprogram, now | |
6055 | target-independent. | |
6056 | ||
6057 | * mlib-tgt.ads, mlib-tgt.adb (Linker_Library_Path_Option): Remove | |
6058 | target-specific versions of this subprogram, now implemented as a | |
6059 | target-independent function in Mlib. | |
6060 | ||
6061 | * 5aml-tgt.adb, 5bml-tgt.adb, 5gml-tgt.adb, 5hml-tgt.adb, 5lml-tgt.adb, | |
6062 | 5sml-tgt.adb, 5vml-tgt.adb, 5zml-tgt.adb, 5wml-tgt.adb | |
6063 | (Linker_Library_Path_Option): Remove target-specific versions of this | |
6064 | subprogram, now implemented as a target-independent function in Mlib. | |
6065 | ||
6066 | * atree.adb: (Allocate_Initialize_Node): New subprogram. | |
6067 | Factors out node table slots allocation. | |
6068 | (Fix_Parents): New subprogram. | |
6069 | Encapsulate the pattern of fixing up parent pointers for syntactic | |
6070 | children of a rewritten node. | |
6071 | (New_Copy_Tree): Use New_Copy to copy non-entity nodes. | |
6072 | (Rewrite): Use New_Copy when creating saved copy of original node. | |
6073 | (Replace): Use Copy_Node to copy nodes. | |
6074 | ||
6075 | 2004-04-19 Javier Miranda <miranda@gnat.com> | |
6076 | ||
6077 | * sprint.adb (Sprint_Node_Actual): Give support to the new | |
6078 | Access_To_Subprogram node available in Access_Definition nodes. In | |
6079 | addition, give support to the AI-231 node fields: null-exclusion, | |
6080 | all-present, constant-present. | |
6081 | ||
6082 | * sem_util.ads, sem_util.adb: (Has_Declarations): New subprogram | |
6083 | ||
90afe2c9 | 6084 | * sinfo.ads, sinfo.adb: |
7324bf49 AC |
6085 | New field Access_To_Subprogram_Definition in Access_Definition nodes |
6086 | ||
6087 | * sem_ch6.adb (Process_Formals): Move here the code that creates and | |
6088 | decorates internal subtype declaration corresponding to the | |
6089 | null-excluding formal. This code was previously in Set_Actual_Subtypes. | |
6090 | In addition, carry out some code cleanup on this code. In case of | |
6091 | access to protected subprogram call | |
6092 | Replace_Anonymous_Access_To_Protected_Subprogram. | |
6093 | (Set_Actual_Subtypes): Code cleanup. | |
6094 | ||
6095 | * sem_ch8.adb (Analyze_Object_Renaming): Remove un-necessary call to | |
6096 | Find_Type in case of anonymous access renamings. Add warning in case of | |
6097 | null-excluding attribute used in anonymous access renaming. | |
6098 | ||
6099 | * sem_ch3.ads (Replace_Anonymous_Access_To_Protected_Subprogram): New | |
6100 | subprogram | |
6101 | ||
6102 | * sem_ch3.adb (Replace_Anonymous_Access_To_Protected_Subprogram): New | |
6103 | subprogram. | |
6104 | (Access_Definition): In case of anonymous access to subprograms call | |
6105 | the corresponding semantic routine to decorate the node. | |
6106 | (Access_Subprogram_Declaration): Addition of some comments indicating | |
6107 | some code that probably should be added here. Detected by comparison | |
6108 | with the access_definition subprogram. | |
6109 | (Analyze_Component_Declaration): In case of access to protected | |
6110 | subprogram call Replace_Anonymous_Access_To_Protected. | |
6111 | (Array_Type_Declaration): In case of access to protected subprogram call | |
6112 | Replace_Anonymous_Access_To_Protected_Subprogram. | |
6113 | (Process_Discriminants): In case of access to protected subprogram call | |
6114 | Replace_Anonymous_Access_To_Protected_Subprogram. | |
6115 | ||
6116 | * par.adb (P_Access_Definition): New formal that indicates if the | |
6117 | null-exclusion part was present. | |
6118 | (P_Access_Type_Definition): New formal that indicates if the caller has | |
6119 | already parsed the null-excluding part. | |
6120 | ||
6121 | * par-ch3.adb (P_Subtype_Declaration): Code cleanup. | |
6122 | (P_Identifier_Declarations): Code cleanup and give support to renamings | |
6123 | of anonymous access to subprogram types. | |
6124 | (P_Derived_Type_Def_Or_Private_Ext_Decl): Code cleanup. | |
6125 | (P_Array_Type_Definition): Give support to AI-254. | |
6126 | (P_Component_Items): Give support to AI-254. | |
6127 | (P_Access_Definition): New formal that indicates if the header was | |
6128 | already parsed by the caller. | |
6129 | (P_Access_Type_Definition): New formal that indicates if the caller has | |
6130 | already parsed the null-excluding part. | |
6131 | ||
6132 | * par-ch6.adb (P_Formal_Part): Add the null-excluding parameter to the | |
6133 | call to P_Access_Definition. | |
6134 | ||
6135 | 2004-04-19 Geert Bosch <bosch@gnat.com> | |
6136 | ||
6137 | * checks.adb (Apply_Float_Conversion_Check): New procedure to implement | |
6138 | the delicate semantics of floating-point to integer conversion. | |
6139 | (Apply_Type_Conversion_Checks): Use Apply_Float_Conversion_Check. | |
6140 | ||
6141 | * eval_fat.adb (Machine_Mantissa): Moved to spec. | |
6142 | (Machine_Radix): New function. | |
6143 | ||
6144 | * eval_fat.ads (Machine_Mantissa): Moved from body for use in | |
6145 | conversion checks. | |
6146 | (Machine_Radix): New function also for use in conversion checks. | |
6147 | ||
6148 | 2004-04-19 Ed Schonberg <schonberg@gnat.com> | |
6149 | ||
6150 | * par-prag.adb (Source_File_Name_Project): Fix typo in error message. | |
6151 | ||
6152 | * exp_ch9.adb (Expand_Access_Protected_Subprogram_Type): Call analyze | |
6153 | to decorate the access-to-protected subprogram and the equivalent type. | |
6154 | ||
6155 | * checks.adb (Null_Exclusion_Static_Checks): Code cleanup. Give support | |
6156 | to anonymous access to subprogram types. | |
6157 | ||
6158 | * exp_ch4.adb (Expand_N_In): Preserve Static flag before | |
6159 | constant-folding, for legality checks in contexts that require an RM | |
6160 | static expression. | |
6161 | ||
6162 | * exp_ch6.adb (Expand_N_Function_Call): If call may generate large | |
6163 | temporary but stack checking is not enabled, increment serial number | |
6164 | to so that symbol generation is consistent with and without stack | |
6165 | checking. | |
6166 | ||
6167 | * exp_util.ads, exp_util.adb (May_Generate_Large_Temp): Predicate is | |
6168 | independent on whether stack checking is enabled, caller must check | |
6169 | the corresponding flag. | |
6170 | ||
6171 | * sem_ch3.adb (Constrain_Index): Index bounds given by attributes need | |
6172 | range checks. | |
6173 | (Build_Derived_Concurrent_Type): Inherit Is_Constrained flag from | |
6174 | parent if it has discriminants. | |
6175 | (Build_Derived_Private_Type): Constructed full view does | |
6176 | not come from source. | |
6177 | (Process_Discriminants): Default discriminants on a tagged type are | |
6178 | legal if this is the internal completion of a private untagged | |
6179 | derivation. | |
6180 | ||
6181 | * sem_ch6.adb (Set_Actual_Subtypes): The generated declaration needs | |
6182 | no constraint checks, because it corresponds to an existing object. | |
6183 | ||
6184 | * sem_prag.adb (Process_Convention): Pragma applies | |
6185 | only to subprograms in the same declarative part, i.e. the same unit, | |
6186 | not the same scope. | |
6187 | ||
6188 | * sem_res.adb (Valid_Conversion): In an instance or inlined body, | |
6189 | ignore type mismatch on a numeric conversion if expression comes from | |
6190 | expansion. | |
6191 | ||
6192 | 2004-04-19 Sergey Rybin <rybin@act-europe.fr> | |
6193 | ||
6194 | * sem_elim.adb (Process_Eliminate_Pragma): Remove the processing for | |
6195 | Homonym_Number parameter, add processing for Source_Location parameter | |
6196 | corresponding. | |
6197 | (Check_Eliminated): Remove the check for homonym numbers, add the check | |
6198 | for source location traces. | |
6199 | ||
6200 | * sem_elim.ads (Process_Eliminate_Pragma): Replace Arg_Homonym_Number | |
6201 | with Arg_Source_Location corresponding to the changes in the format of | |
6202 | the pragma. | |
6203 | ||
6204 | * sem_prag.adb: (Analyze_Pragma): Changes in the processing of | |
6205 | Eliminate pragma corresponding to the changes in the format of the | |
6206 | pragma: Homonym_Number is replaced with Source_Location, two ways of | |
6207 | distinguishing homonyms are mutially-exclusive. | |
6208 | ||
6209 | 2004-04-19 Joel Brobecker <brobecker@gnat.com> | |
6210 | ||
6211 | * get_targ.ads (Get_No_Dollar_In_Label): Remove. | |
6212 | ||
6213 | * exp_dbug.adb (Output_Homonym_Numbers_Suffix): Remove use of | |
6214 | No_Dollar_In_Label, no longer necessary, as it is always True. | |
6215 | (Strip_Suffixes): Likewise. | |
6216 | ||
6217 | 2004-04-19 Gary Dismukes <dismukes@gnat.com> | |
6218 | ||
6219 | * s-stalib.ads (type Exception_Code): Use Integer'Size for exponent of | |
6220 | modulus for compatibility with size clause on targets with 16-bit | |
6221 | Integer. | |
6222 | ||
6223 | * layout.adb (Discrimify): In the case of private types, set Vtyp to | |
6224 | full type to fix type mismatches on calls to size functions for | |
6225 | discriminant-dependent array components. | |
6226 | ||
6227 | 2004-04-19 Jerome Guitton <guitton@act-europe.fr> | |
6228 | ||
6229 | * Makefile.in (gnatlib-zcx): New target, for building a ZCX run-time | |
6230 | lib. | |
6231 | ||
6232 | 2004-04-19 Pascal Obry <obry@gnat.com> | |
6233 | ||
6234 | * mdll-utl.adb (Locate): New version is idempotent. | |
6235 | ||
6236 | 2004-04-17 Laurent Guerby <laurent@guerby.net> | |
fa795c69 LG |
6237 | |
6238 | PR ada/14988 (partial) | |
6239 | * impunit.adb: Fix typo. | |
90afe2c9 | 6240 | |
cce0244b NN |
6241 | 2004-04-14 Nathanael Nerode <neroden@gcc.gnu.org> |
6242 | ||
6243 | * Make-lang.in: Remove obsolete rts-none, rts-cert, install-rts-none, | |
6244 | and install-rts-cert targets. Remove all gnatlib and gnattools | |
6245 | targets and all other rts-* targets (moved to libada). Remove (now) | |
6246 | unused Make variables CHMOD, CHMOD_AX_FLAGS, shext, THREAD_KIND, | |
6247 | TRACE, GNATLIBFLAGS, GNATLIBCFLAGS. | |
6248 | ||
af152989 AC |
6249 | 2004-04-08 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
6250 | ||
6251 | * trans.c (tree_transform): Shortcut returning error_mark_node for | |
6252 | statements in annotate_only_mode. | |
6253 | (tree_transform, case N_Label, case N_Return_Statement, | |
6254 | N_Goto_Statement): Make statement tree instead of generating code. | |
6255 | (tree_transform, case N_Assignment_Statement): No longer check | |
6256 | type_annotate_only. | |
6257 | (gnat_expand_stmt, case GOTO_STMT, case LABEL_STMT, case | |
6258 | RETURN_STMT): New. | |
6259 | (first_nondeleted_insn, build_block_stmt, make_expr_stmt_from_rtl): | |
6260 | New fcns. | |
6261 | (gnat_to_gnu): Collect any RTL generated and deal with it. | |
6262 | (tree_transform, case N_And_Then): Refine when have non-null RTL_EXPR. | |
6263 | (tree_transform case N_If_Statement): Rewrite to make IF_STMT. | |
6264 | (gnat_expand_stmt, case BLOCK_STMT, IF_STMT): New cases. | |
6265 | ||
6266 | * ada-tree.def (GOTO_STMT, LABEL_STMT, RETURN_STMT): New tree nodes. | |
6267 | ||
6268 | * ada-tree.def (EXPR_STMT): Fix typo in name. | |
6269 | (BLOCK_STMT, IF_STMT): New nodes. | |
6270 | ||
6271 | * ada-tree.h (GOTO_STMT_LABEL, LABEL_STMT_LABEL, | |
6272 | LABEL_STMT_FIRST_IN_EH): New macros. | |
6273 | (RETURN_STMT_EXPR): Likewise. | |
6274 | ||
6275 | * ada-tree.h: (BLOCK_STMT_LIST, IF_STMT_COND, IF_STMT_TRUE, | |
6276 | IF_STMT_ELSEIF, IF_STMT_ELSE): New macros. | |
6277 | ||
6278 | 2004-04-08 Thomas Quinot <quinot@act-europe.fr> | |
6279 | ||
6280 | * atree.ads: Correct documentation on extended nodes. | |
6281 | ||
6282 | * link.c: Set run_path_option for FreeBSD. | |
6283 | ||
6284 | 2004-04-08 Vincent Celier <celier@gnat.com> | |
6285 | ||
6286 | * mlib-prj.adb (Build_Library.Check_Libs): On OpenVMS, if dec.ali is | |
6287 | one of the ALI file, do not link with DEC lib. | |
6288 | ||
6289 | * par.adb Remove the last two characters ("%s" or "%b") when checking | |
6290 | if a language defined unit may be recompiled. | |
6291 | ||
6292 | 2004-04-08 Ed Schonberg <schonberg@gnat.com> | |
6293 | ||
6294 | * sem_ch4.adb (Remove_Abstract_Operations): Improve error message when | |
6295 | removal of abstract operation leaves no possible interpretation for | |
6296 | expression. | |
6297 | ||
6298 | * sem_eval.adb (Eval_Qualified_Expression): Use | |
6299 | Set_Raises_Constraint_Error on node when needed, so that it does not | |
6300 | get optimized away by subsequent optimizations. | |
6301 | ||
6302 | * sem_res.adb (Resolve_Intrinsic_Operator): Save interpretations of | |
6303 | operands even when they are not wrapped in a type conversion. | |
6304 | ||
6305 | 2004-04-08 Olivier Hainque <hainque@act-europe.fr> | |
6306 | ||
6307 | * sem_prag.adb (Set_Exported): Warn about making static as result of | |
6308 | export only when the export is coming from source. This may be not | |
6309 | be true e.g. on VMS where we expand export pragmas for exception codes | |
6310 | together with imported or exported exceptions, and we don't want the | |
6311 | user to be warned about something he didn't write. | |
6312 | ||
6313 | 2004-04-08 Thomas Quinot <quinot@act-europe.fr> | |
6314 | ||
6315 | * sem_util.adb (Note_Possible_Modification): Reorganize to remove code | |
6316 | duplication between normal entities and those declared as renamings. | |
6317 | No functional change. | |
6318 | ||
90afe2c9 | 6319 | * s-fileio.ads (Form): Remove pragma Inline, as we cannot currently |
af152989 AC |
6320 | inline functions returning an unconstrained result. |
6321 | ||
6322 | 2004-04-08 Eric Botcazou <ebotcazou@act-europe.fr> | |
6323 | ||
6324 | * utils.c (type_for_mode): Handle BLKmode and VOIDmode properly, to | |
6325 | conform to what other front-ends do. | |
6326 | ||
6327 | 2004-04-08 Doug Rupp <rupp@gnat.com> | |
6328 | ||
6329 | * 5vml-tgt.adb: Use Gas instead of VMS Macro to build auto init shared | |
6330 | libraries. | |
6331 | ||
3984e89a AC |
6332 | 2004-04-06 Pascal Obry <obry@gnat.com> |
6333 | ||
6334 | * adaint.c (DIR_SEPARATOR): Properly set DIR_SEPARATOR on Win32. | |
6335 | ||
6336 | * osint.adb (Program_Name): Do not look past a directory separator. | |
6337 | ||
6338 | 2004-04-06 Thomas Quinot <quinot@act-europe.fr> | |
6339 | ||
6340 | * atree.adb: Update comment (Rewrite_Substitute_Node no longer exists). | |
6341 | ||
6342 | * exp_ch6.adb (Rewrite_Function_Call): Clarify documentation of | |
6343 | requirement for preserving a copy of the original assignment node. | |
6344 | ||
6345 | * sinfo.ads: Update comment (Original_Tree -> Original_Node). | |
6346 | ||
6347 | 2004-04-06 Olivier Hainque <hainque@act-europe.fr> | |
6348 | ||
6349 | (__gnat_initialize [Vxworks]): Enable references to the crtstuff bits | |
6350 | when supported. | |
6351 | ||
6352 | 2004-04-06 Ed Schonberg <schonberg@gnat.com> | |
6353 | ||
6354 | * sem_ch4.adb (Remove_Abstract_Operations): Extend previous changes to | |
6355 | operator calls in functional notation, and apply | |
6356 | Universal_Interpretation to operands, not to their type. | |
6357 | ||
6358 | 2004-04-06 Robert Dewar <dewar@gnat.com> | |
6359 | ||
6360 | * 5wdirval.adb: Minor reformatting | |
6361 | ||
6362 | 2004-04-06 Ed Falis <falis@gnat.com> | |
6363 | ||
6364 | * gnat_rm.texi: Improve a reference to the GCC manual | |
6365 | ||
30c20106 AC |
6366 | 2004-04-05 Vincent Celier <celier@gnat.com> |
6367 | ||
6368 | * adaint.h, adaint.c: Add function __gnat_named_file_length | |
6369 | ||
6370 | * impunit.adb: Add Ada.Directories to the list | |
6371 | ||
6372 | * Makefile.in: Add VMS and Windows versions of | |
6373 | Ada.Directories.Validity package body. | |
6374 | ||
6375 | * Makefile.rtl: Add a-direct and a-dirval | |
6376 | ||
6377 | * mlib-tgt.ads: Minor comment update. | |
6378 | ||
6379 | * a-dirval.ads, a-dirval.adb, 5vdirval.adb, 5wdirval.adb, | |
6380 | a-direct.ads, a-direct.adb: New files. | |
6381 | ||
6382 | 2004-04-05 Vincent Celier <celier@gnat.com> | |
6383 | ||
6384 | PR ada/13620 | |
6385 | * make.adb (Scan_Make_Arg): Pass any -fxxx switches to gnatlink, not | |
6386 | just to the compiler. | |
6387 | ||
6388 | 2004-04-05 Robert Dewar <dewar@gnat.com> | |
6389 | ||
6390 | * a-except.adb (Exception_Name_Simple): Make sure lower bound of | |
6391 | returned string is 1. | |
6392 | ||
6393 | * ali-util.adb: Use proper specific form for Warnings (Off, entity) | |
6394 | ||
6395 | * eval_fat.ads: Minor reformatting | |
6396 | ||
6397 | * g-curexc.ads: Document that lower bound of returned string values | |
6398 | is always one. | |
6399 | ||
6400 | * gnatlink.adb: Add ??? comment for previous change | |
6401 | (need to document why this is VMS specific) | |
6402 | ||
6403 | * s-stoele.ads: Minor reformatting | |
6404 | ||
6405 | * tbuild.ads: Minor reformatting throughout (new function specs) | |
6406 | ||
6407 | * par-ch10.adb (P_Context_Clause): Handle comma instead of semicolon | |
6408 | after WITH. | |
6409 | ||
6410 | * scng.adb: Minor reformatting | |
6411 | ||
6412 | 2004-04-05 Geert Bosch <bosch@gnat.com> | |
6413 | ||
6414 | * eval_fat.adb (Machine): Remove unnecessary suppression of warning. | |
6415 | (Leading_Part): Still perform truncation to machine number if the | |
6416 | specified radix_digits is greater or equal to machine_mantissa. | |
6417 | ||
6418 | 2004-04-05 Javier Miranda <miranda@gnat.com> | |
6419 | ||
6420 | * par-ch3.adb: Complete documentation of previous change | |
6421 | Correct wrong syntax documentation of the OBJECT_DECLARATION rule | |
6422 | (aliased must appear before constant). | |
6423 | ||
6424 | * par-ch4.adb: Complete documentation of previous change. | |
6425 | ||
6426 | * par-ch6.adb: Complete documentation of previous change. | |
6427 | ||
6428 | * sinfo.ads: Fix typo in commment. | |
6429 | ||
6430 | 2004-04-05 Ed Schonberg <schonberg@gnat.com> | |
6431 | ||
6432 | * sem_ch3.adb (Inherit_Components): If derived type is private and has | |
6433 | stored discriminants, use its discriminants to constrain parent type, | |
6434 | as is done for non-private derived record types. | |
6435 | ||
6436 | * sem_ch4.adb (Remove_Abstract_Operations): New subprogram to implement | |
6437 | Ada 2005 AI-310: an abstract non-dispatching operation is not a | |
6438 | candidate interpretation in an overloaded call. | |
6439 | ||
6440 | * tbuild.adb (Unchecked_Convert_To): Preserve conversion node if | |
6441 | expression is Null and target type is not an access type (e.g. a | |
6442 | non-private address type). | |
6443 | ||
6444 | 2004-04-05 Thomas Quinot <quinot@act-europe.fr> | |
6445 | ||
6446 | * exp_ch6.adb (Rewrite_Function_Call): When rewriting an assignment | |
6447 | statement whose right-hand side is an inlined call, save a copy of the | |
6448 | original assignment subtree to preserve enough consistency for | |
6449 | Analyze_Assignment to proceed. | |
6450 | ||
6451 | * sem_ch5.adb (Analyze_Assignment): Remove a costly copy of the | |
6452 | complete assignment subtree which is now unnecessary, as the expansion | |
6453 | of inlined call has been improved to preserve a consistent assignment | |
6454 | tree. Note_Possible_Modification must be called only | |
6455 | after checks have been applied, or else unnecessary checks will | |
6456 | be generated. | |
6457 | ||
6458 | * sem_util.adb (Note_Possible_Modification): Reorganise the handling | |
6459 | of explicit dereferences that do not Come_From_Source: | |
6460 | - be selective on cases where we must go back to the dereferenced | |
6461 | pointer (an assignment to an implicit dereference must not be | |
6462 | recorded as modifying the pointer); | |
6463 | - do not rely on Original_Node being present (Analyze_Assignment | |
6464 | calls Note_Possible_Modification on a copied tree). | |
6465 | ||
6466 | * sem_warn.adb (Check_References): When an unset reference to a pointer | |
6467 | that is never assigned is encountered, prefer '<pointer> may be null' | |
6468 | warning over '<pointer> is never assigned a value'. | |
6469 | ||
6470 | 2004-04-05 Ramon Fernandez <fernandez@gnat.com> | |
6471 | ||
6472 | * tracebak.c: Change STOP_FRAME in ppc vxworks to be compliant with | |
6473 | the ABI. | |
6474 | ||
6475 | 2004-04-05 Olivier Hainque <hainque@act-europe.fr> | |
6476 | ||
6477 | * 5gmastop.adb (Pop_Frame): Comment out the pragma Linker_Option for | |
6478 | libexc. We currently don't reference anything in this library and | |
6479 | linking it in triggers linker warnings we don't want to see. | |
6480 | ||
6481 | * init.c: Update comments. | |
6482 | ||
4f976745 RK |
6483 | 2004-04-05 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
6484 | ||
6485 | * decl.c (gnat_to_gnu_entity): Use TYPE_READONLY. | |
6486 | * utils.c (create_field_decl): Likewise. | |
6487 | * utils2.c (build_unary_op, gnat_build_constructor): Likewise. | |
6488 | ||
6da7d579 AC |
6489 | 2004-04-02 Arnaud Charlet <charlet@act-europe.fr> |
6490 | ||
6491 | * gnat-style.texi, gnat_rm.texi, gnat_ugn.texi: Remove RCS tags. | |
6492 | Replace ifinfo by ifnottex, to make makeinfo --html happy again. | |
6493 | Add info directory entry and category. | |
6494 | ||
18c6ada9 JH |
6495 | 2004-04-02 Jan Hubicka <jh@suse.cz> |
6496 | ||
6497 | * utils.c: Include function.h | |
6498 | (end_subprog_body): Clear DECL_STRUCT_FUNCTION. | |
6499 | ||
7cd4527e AC |
6500 | 2004-04-01 Arnaud Charlet <charlet@act-europe.fr> |
6501 | ||
6502 | PR ada/14150 | |
6503 | * Make-lang.in: Clean up generation of documentation | |
6504 | ||
6505 | * gnat-style.texi, gnat_rm.texi, ug_words: Resync with AdaCore version | |
6506 | ||
6507 | * xgnatug.adb: Removed, replaced by xgnatugn.adb | |
6508 | ||
6509 | * xgnatugn.adb: Replaces xgnatug.adb | |
6510 | ||
6511 | * gnat_ug.texi: Removed, replaced by gnat_ugn.texi | |
6512 | ||
6513 | * gnat_ugn.texi: Replaces gnat_ug.texi. Resync with AdaCore version | |
6514 | ||
6515 | * gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi, | |
6516 | gnat_ug_wnt.texi: Removed. | |
6517 | ||
0c250f07 AC |
6518 | 2004-04-01 Arnaud Charlet <charlet@act-europe.fr> |
6519 | ||
6520 | * utils2.c: Update copyright notice. | |
6521 | ||
6b6fcd3e AC |
6522 | 2004-04-01 Robert Dewar <dewar@gnat.com> |
6523 | ||
6524 | * checks.adb: Minor reformatting throughout | |
6525 | Note that prev checkin added RM reference to alignment warning | |
6526 | ||
6527 | 2004-04-01 Ed Schonberg <schonberg@gnat.com> | |
6528 | ||
6529 | * exp_aggr.adb (Get_Component_Val): Treat a string literal as | |
6530 | non-static when building aggregate for bit-packed array. | |
6531 | ||
6532 | * exp_ch4.adb (Expand_N_Slice): If a packed slice is an actual of a | |
6533 | function call that is itself the actual in a procedure call, build | |
6534 | temporary for it. | |
6535 | ||
6536 | * exp_pakd.adb (Expand_Bit_Packed_Element_Set): If right-hand side is | |
6537 | a string literal, create a temporary for it, constant folding only | |
6538 | handles scalars here. | |
6539 | ||
6540 | 2004-04-01 Vincent Celier <celier@gnat.com> | |
6541 | ||
6542 | * ali-util.adb (Post_Scan, Error_Msg, Error_Msg_S, Error_Msg_SC, | |
6543 | Error_Msg_SP): New empty procedures to instantiate the Scanner. | |
6544 | (Style, Scanner): Instantiations of Styleg and Scng to be able to scan | |
6545 | tokens. | |
6546 | (Accumulate_Checksum, Initialize_Checksum): Remove procedures. | |
6547 | (Get_File_Checksum): Use the instantiated scanner to scan all the tokens | |
6548 | and get the checksum. | |
6549 | ||
6550 | * make.adb (Gnatmake): Do not insert into Q the Main_Source if it is | |
6551 | already in the Q. | |
6552 | Increase the Marking_Label at the end of the Multiple_Main_Loop, | |
6553 | instead of at the beginning. | |
6554 | ||
6555 | * osint.adb (Lib_File_Name): Use Multi_Unit_Index_Character, not '~' | |
6556 | directly. | |
6557 | (Osint package elaboration): Change Multi_Unit_Index_Character to '$' if | |
6558 | on VMS. | |
6559 | ||
6560 | * osint.ads (Multi_Unit_Index_Character): New Character global variable | |
6561 | ||
6562 | * osint-c.adb (Set_Library_Info_Name): Use Multi_Unit_Index_Character, | |
6563 | not '~' directly. | |
6564 | ||
6565 | * par.adb: Remove test on file name to detect language defined units. | |
6566 | Add test on unit name, after parsing, to detect language defined units | |
6567 | that are not compiled with -gnatg (except System.RPC and its children) | |
6568 | ||
6569 | * par-ch10.adb (P_Compilation_Unit): In multi-unit sources, scan the | |
6570 | following units without style checking. | |
6571 | ||
6572 | * switch-c.adb: Change -gnatC to -gnateI | |
6573 | ||
6574 | * usage.adb: Document new switch -gnateInnn | |
6575 | ||
6576 | * scng.adb (Accumulate_Token_Checksum): New procedure | |
6577 | (Scan): Call Accumulate_Token_Checksum after each identifier, reserved | |
6578 | word or literal number. | |
6579 | (Scan.Nlit.Scan_Integer): Do not accumulate internal '_' in litteral | |
6580 | numbers. | |
6581 | ||
6582 | 2004-04-01 Thomas Quinot <quinot@act-europe.fr> | |
6583 | ||
6584 | * a-tasatt.adb, | |
6585 | g-comlin.adb, sinput-c.adb, s-secsta.adb, s-tpobop.adb, | |
6586 | switch-m.adb, 56taprop.adb, 5ginterr.adb, 5gmastop.adb, | |
6587 | 5staprop.adb, 5vinterr.adb, 5vtaprop.adb, 5vtpopde.adb, | |
6588 | 5vtpopde.adb: Add missing 'constant' keywords. | |
6589 | ||
6590 | 2004-04-01 Javier Miranda <miranda@gnat.com> | |
6591 | ||
6592 | * par-ch4.adb: (P_Allocator): Code cleanup | |
6593 | ||
6594 | * sem_ch3.adb (Access_Definition): Properly set the null-excluding | |
6595 | attribute. | |
6596 | ||
6597 | * sinfo.ads: Complete documentation of previous change | |
6598 | ||
6599 | 2004-04-01 Pascal Obry <obry@gnat.com> | |
6600 | ||
6601 | * gnatlink.adb (Process_Binder_File): Remove duplicate linker options | |
6602 | only on VMS. This special handling was done because an old GNU/ld bug | |
6603 | on Windows which has been fixed. | |
6604 | ||
6605 | 2004-04-01 GNAT Script <nobody@gnat.com> | |
6606 | ||
6607 | * Make-lang.in: Makefile automatically updated | |
6608 | ||
8df83eae RK |
6609 | 2004-03-31 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
6610 | ||
6611 | * decl.c (gnat_to_gnu_entity, make_type_from_size): | |
6612 | Use TYPE_UNSIGNED, not TREE_UNSIGNED. | |
6613 | * trans.c (tree_transform, convert_with_check): Likewise. | |
6614 | * utils.c (gnat_signed_or_unsigned_type): Likewise. | |
6615 | (build_vms_descriptor, unchecked_convert): Likewise. | |
6616 | * utils2.c (nonbinary_modular_operation): Likewise. | |
6617 | ||
2820d220 AC |
6618 | 2004-03-29 Javier Miranda <miranda@gnat.com> |
6619 | ||
6620 | * checks.adb (Null_Exclusion_Static_Checks): New subprogram | |
6621 | (Install_Null_Excluding_Check): Local subprogram that determines whether | |
6622 | an access node requires a runtime access check and if so inserts the | |
6623 | appropriate run-time check. | |
6624 | (Apply_Access_Check): Call Install_Null_Excluding check if required | |
6625 | (Apply_Constraint_Check): Call Install_Null_Excluding check if required | |
6626 | ||
6627 | * checks.ads: (Null_Exclusion_Static_Checks): New subprogram | |
6628 | ||
6629 | * einfo.ads: Fix typo in comment | |
6630 | ||
6631 | * exp_ch3.adb (Build_Assignment): Generate conversion to the | |
6632 | null-excluding type to force the corresponding run-time check. | |
6633 | (Expand_N_Object_Declaration): Generate conversion to the null-excluding | |
6634 | type to force the corresponding run-time check. | |
6635 | ||
6636 | * exp_ch5.adb (Expand_N_Assignment_Statement): Generate conversion to | |
6637 | the null-excluding type to force the corresponding run-time check. | |
6638 | ||
6639 | * exp_ch6.adb (Expand_Call): Do not generate the run-time check in | |
6640 | case of access types unless they have the null-excluding attribute. | |
6641 | ||
6642 | * sprint.adb (Sprint_Node_Actual): Give support to the null-exclusing | |
6643 | part. | |
6644 | ||
6645 | * exp_util.ads: Fix typo in comment | |
6646 | ||
6647 | * par.adb (P_Null_Exclusion): New subprogram | |
6648 | (P_Subtype_Indication): New formal that indicates if the null-excluding | |
6649 | part has been scanned-out and it was present | |
6650 | ||
6651 | * par-ch3.adb, par-ch4.adb, par-ch6.adb: Give support to AI-231 | |
6652 | ||
6653 | * sem_aggr.adb: (Check_Can_Never_Be_Null): New subprogram | |
6654 | (Aggregate_Constraint_Checks): Generate conversion to the null-excluding | |
6655 | type to force the corresponding run-time check | |
6656 | (Resolve_Aggregate): Propagate the null-excluding attribute to the array | |
6657 | components | |
6658 | (Resolve_Array_Aggregate): Carry out some static checks | |
6659 | (Resolve_Record_Aggregate.Get_Value): Carry out some static check | |
6660 | ||
6661 | * sem_ch3.adb (Access_Definition): In Ada 0Y the Can_Never_Be_Null | |
6662 | attribute must be set only if specified by means of the null-excluding | |
6663 | part. In addition, we must also propagate the access-constant attribute | |
6664 | if present. | |
6665 | (Access_Subprogram_Declaration, Access_Type_Declaration, | |
6666 | Analyze_Component_Declaration, Analyze_Object_Declaration, | |
6667 | Array_Type_Declaration, Process_Discriminants, | |
6668 | Analyze_Subtype_Declaration): Propagate the null-excluding attribute | |
6669 | and carry out some static checks. | |
6670 | (Build_Derived_Access_Type): Set the null-excluding attribute | |
6671 | (Derived_Type_Declaration, Process_Subtype): Carry out some static | |
6672 | checks. | |
6673 | ||
6674 | * sem_ch4.adb (Analyze_Allocator): Carry out some static checks | |
6675 | ||
6676 | * sem_ch5.adb (Analyze_Assignment): Carry out some static checks | |
6677 | ||
6678 | * sem_ch6.adb (Process_Formals): Carry out some static checks. | |
6679 | (Set_Actual_Subtypes): Generate null-excluding subtype if the | |
6680 | null-excluding part was present; it is not required to be done here in | |
6681 | case of anonymous access types. | |
6682 | (Set_Formal_Mode): Ada 0Y allows anonymous access to have the null | |
6683 | value. | |
6684 | ||
6685 | * sem_res.adb (Resolve_Actuals): Carry out some static check | |
6686 | (Resolve_Null): Allow null in anonymous access | |
6687 | ||
6688 | * sinfo.adb: New subprogram Null_Exclusion_Present | |
6689 | All_Present and Constant_Present available on access_definition nodes | |
6690 | ||
6691 | * sinfo.ads: New flag Null_Exclusion_Present on subtype_declaration, | |
6692 | object_declaration, derived_type_definition, component_definition, | |
6693 | discriminant_specification, access_to_object_definition, | |
6694 | access_function_definition, allocator, access_procedure_definition, | |
6695 | access_definition, parameter_specification, All_Present and | |
6696 | Constant_Present flags available on access_definition nodes. | |
6697 | ||
6698 | 2004-03-29 Robert Dewar <dewar@gnat.com> | |
6699 | ||
6700 | * fname.adb, fname.ads, fname-sf.adb, fname-uf.adb, fname-uf.ads, | |
6701 | gnat1drv.adb, lib.adb, lib.ads, lib-load.adb, lib-writ.adb, | |
6702 | opt.ads, osint.adb, osint.ads, osint-c.adb, par.adb, | |
6703 | par-ch10.adb, par-load.adb, par-prag.adb, sfn_scan.adb, | |
6704 | sfn_scan.ads, sinput-l.adb, sinput-l.ads, switch-c.adb, | |
6705 | sem_prag.adb: Updates to handle multiple units/file | |
6706 | ||
6707 | * par.adb: Change test for s-rpc to s-rp for detecting rpc and children | |
6708 | ||
6709 | * par.adb, memtrack.adb, prj-makr.adb, prj-part.adb, | |
6710 | sem_util.adb: Minor reformatting | |
6711 | ||
6712 | * sem_ch12.adb: Add comment for previous change | |
6713 | ||
6714 | 2004-03-29 Laurent Pautet <pautet@act-europe.fr> | |
6715 | ||
6716 | * osint.adb (Executable_Prefix): Set Exec_Name to the current | |
6717 | executable name when not initialized. Otherwise, use its current value. | |
6718 | ||
6719 | * osint.ads (Exec_Name): Move Exec_Name from body to spec in order to | |
6720 | initialize it to another executable name than the current one. This | |
6721 | allows to configure paths for an executable name (gnatmake) different | |
6722 | from the current one (gnatdist). | |
6723 | ||
6724 | 2004-03-29 Ed Schonberg <schonberg@gnat.com> | |
6725 | ||
6726 | * exp_ch6.adb (Expand_Call): A call to a function declared in the | |
6727 | current unit cannot be inlined if it appears in the body of a withed | |
6728 | unit, to avoid order of elaboration problems in gigi. | |
6729 | ||
6730 | * exp_ch9.adb (Build_Protected_Sub_Specification): Generate debugging | |
6731 | information for protected (wrapper) operation as well, to simplify gdb | |
6732 | use. | |
6733 | ||
6734 | * sem_ch6.adb (Analyze_Subprogram_Body): For a private operation in a | |
6735 | protected body, indicate that the entity for the generated spec comes | |
6736 | from source, to ensure that references are properly generated for it. | |
6737 | (Build_Body_To_Inline): Do not inline a function that returns a | |
6738 | controlled type. | |
6739 | ||
6740 | * sem_prag.adb (Process_Convention): If subprogram is overloaded, only | |
6741 | apply convention to homonyms that are declared explicitly. | |
6742 | ||
6743 | * sem_res.adb (Make_Call_Into_Operator): If the operation is a function | |
6744 | that renames an equality operator and the operands are overloaded, | |
6745 | resolve them with the declared formal types, before rewriting as an | |
6746 | operator. | |
6747 | ||
6748 | 2004-03-29 GNAT Script <nobody@gnat.com> | |
6749 | ||
6750 | * Make-lang.in: Makefile automatically updated | |
6751 | ||
6d11af89 AC |
6752 | 2004-03-25 Vasiliy Fofanov <fofanov@act-europe.fr> |
6753 | ||
6754 | * memtrack.adb: Log realloc calls, which are treated as free followed | |
6755 | by alloc. | |
6756 | ||
6757 | 2004-03-25 Vincent Celier <celier@gnat.com> | |
6758 | ||
6759 | * prj-makr.adb (Process_Directories): Detect when a file contains | |
6760 | several units. Do not include such files in the config pragmas or | |
6761 | in the naming scheme. | |
6762 | ||
6763 | * prj-nmsc.adb (Record_Source): New parameter Trusted_Mode. | |
6764 | Resolve links only when not in Trusted_Mode. | |
6765 | (Find_Sources, Recursive_Find_Dirs, Find_Source_Dirs, Locate_Directory): | |
6766 | Do not resolve links for the display names. | |
6767 | ||
6768 | * prj-part.adb (Parse_Single_Project, Project_Path_Name_Of): Do not | |
6769 | resolve links when computing the display names. | |
6770 | ||
6771 | 2004-03-25 Thomas Quinot <quinot@act-europe.fr> | |
6772 | ||
6773 | * sem_attr.adb (Check_Dereference): When the prefix of a 'Tag | |
6774 | attribute reference does not denote a subtype, it can be any | |
6775 | expression that has a classwide type, potentially after an implicit | |
6776 | dereference. In particular, the prefix can be a view conversion for | |
6777 | a classwide type (for which Is_Object_Reference holds), but it can | |
6778 | also be a value conversion for an access-to-classwide type. In the | |
6779 | latter case, there is an implicit dereference, and the original node | |
6780 | for the prefix does not verify Is_Object_Reference. | |
6781 | ||
6782 | * sem_util.adb (Is_Dependent_Component_Of_Mutable_Object): A view | |
6783 | conversion of a discriminant-dependent component of a mutable object | |
6784 | is one itself. | |
6785 | ||
6786 | 2004-03-25 Ed Schonberg <schonberg@gnat.com> | |
6787 | ||
6788 | * freeze.adb (Freeze_Entity): When an inherited subprogram is | |
6789 | inherited, has convention C, and has unconstrained array parameters, | |
6790 | place the corresponding warning on the derived type declaration rather | |
6791 | than the original subprogram. | |
6792 | ||
6793 | * sem_ch12.adb (Instantiate_Formal_Subprogram): Set From_Default | |
6794 | indication on renaming declaration, if formal has a box and actual | |
6795 | is absent. | |
6796 | ||
6797 | * sem_ch8.adb (Analyze_Subprogram_Renaming): Use From_Default flag to | |
6798 | determine whether to generate an implicit or explicit reference to | |
6799 | the renamed entity. | |
6800 | ||
6801 | * sinfo.ads, sinfo.adb: New flag From_Default, to indicate that a | |
6802 | subprogram renaming comes from a defaulted formal subprogram in an | |
6803 | instance. | |
6804 | ||
6805 | 2004-03-25 Gary Dismukes <dismukes@gnat.com> | |
6806 | ||
6807 | * sem_elab.adb (Check_Elab_Call): Refine loop that checks for default | |
6808 | value expressions to ensure that calls within a component definition | |
6809 | will be checked (since those are evaluated during the record type's | |
6810 | elaboration). | |
6811 | ||
6812 | 2004-03-25 Arnaud Charlet <charlet@act-europe.fr> | |
6813 | ||
6814 | * s-tpobop.adb: Code clean up: | |
6815 | (Requeue_Call): Extract from PO_Service_Entries to remove duplicated | |
6816 | code. | |
6817 | (PO_Do_Or_Queue): Remove duplicated code and use Requeue_Call. | |
6818 | ||
6819 | 2004-03-25 Jose Ruiz <ruiz@act-europe.fr> | |
6820 | ||
6821 | * Makefile.in: Clean up in the ravenscar run time. | |
6822 | ||
22421b79 RK |
6823 | 2004-03-23 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
6824 | ||
6825 | * decl.c (gnat_to_gnu_entity, case E_Access_Type): Pass value | |
6826 | of No_Strict_Aliasing to build_pointer_type_for_mode. | |
6827 | * utils.c (update_pointer_to): Walk pointer and ref chains. | |
6828 | ||
24105bab AC |
6829 | 2004-03-22 Cyrille Comar <comar@act-europe.fr> |
6830 | ||
6831 | * ali.ads: Fix Comment about Dynamic_Elab. | |
6832 | ||
6833 | * gnatls.adb (Output_Unit): Add output of many flags (Dynamic_Elab, | |
6834 | Has_RACW, Is_Generic, etc.) | |
6835 | (Output_Object, Gnatls): Take into account ALI files not attached to | |
6836 | an object. | |
6837 | ||
6838 | 2004-03-22 Vincent Celier <celier@gnat.com> | |
6839 | ||
6840 | * gprep.adb: Change all String_Access to Name_Id | |
6841 | (Is_ASCII_Letter): new function | |
6842 | (Double_File_Name_Buffer): New procedure | |
6843 | (Preprocess_Infile_Name): New procedure | |
6844 | (Process_Files): New procedure | |
6845 | (Gnatprep): Check if output and input are existing directories. | |
6846 | Call Process_Files to do the real job. | |
6847 | ||
6848 | 2004-03-22 Robert Dewar <dewar@gnat.com> | |
6849 | ||
6850 | * prj-env.adb, prj-nmsc.ads, prj-proc.ads, | |
6851 | s-stache.ads, s-stache.adb: Comment updates. Minor reformatting. | |
6852 | ||
6853 | 2004-03-22 Sergey Rybin <rybin@act-europe.fr> | |
6854 | ||
6855 | * scn.adb (Contains): Add check for EOF, is needed for a degenerated | |
6856 | case when the source contains only comments. | |
6857 | ||
6858 | 2004-03-22 Ed Schonberg <schonberg@gnat.com> | |
6859 | ||
6860 | * sem_ch10.adb (Analyze_Compilation_Unit): When generating a | |
6861 | declaration for a child subprogram body that acts as a spec, indicate | |
6862 | that the entity in the declaration needs debugging information. | |
6863 | ||
6864 | * sem_ch3.adb (Complete_Private_Subtype): Do not build an underlying | |
6865 | full view if the subtype is created for a constrained record component; | |
6866 | gigi has enough information to construct the record, and there is no | |
6867 | place in the tree for the declaration. | |
6868 | ||
6869 | * sem_ch6.adb (Build_Body_To_Inline): Use an internal name without | |
6870 | serial number for the dummy body that is built for analysis, to avoid | |
6871 | inconsistencies in the generation of internal names when compiling | |
6872 | with -gnatN. | |
6873 | ||
6874 | 2004-03-22 Thomas Quinot <quinot@act-europe.fr> | |
6875 | ||
6876 | * sem_util.adb (Is_Object_Reference): A view conversion denotes an | |
6877 | object. | |
6878 | ||
6879 | 2004-03-22 GNAT Script <nobody@gnat.com> | |
6880 | ||
6881 | * Make-lang.in: Makefile automatically updated | |
6882 | ||
6fce44af RK |
6883 | 2004-03-21 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
6884 | ||
6885 | * decl.c (gnat_to_gnu_entity): Use SUBSTITUTE_PLACEHOLDER_IN_EXPR. | |
6886 | * trans.c (tree_transform, emit_index_check): Likewise. | |
6887 | * utils.c (build_template): Likewise. | |
6888 | (max_size, convert): Remove handling of WITH_RECORD_EXPR. | |
6889 | (maybe_unconstrained_array, unchecked_convert): Likewise. | |
6890 | * utils2.c (gnat_truthvalue_conversion, build_binary_op): Likewise. | |
6891 | (build_unary_op): Likewise. | |
6892 | (compare_arrays, build_allocator): Use SUBSTITUTE_PLACEHOLDER_IN_EXPR. | |
6893 | (fill_vms_descriptor): Likewise. | |
6894 | (build_call_alloc_dealloc): Likewise. | |
6895 | ALIGN is unsigned. | |
6896 | * gigi.h (build_call_alloc_dealloc): Alignment is unsigned. | |
6897 | ||
802f6d4b JM |
6898 | 2004-03-20 Joseph S. Myers <jsm@polyomino.org.uk> |
6899 | ||
6900 | PR other/14630 | |
6901 | * gnat_ug.texi: Add info directory category and entry. | |
6902 | * gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi, | |
6903 | gnat_ug_wnt.texi: Regenerate. | |
6904 | ||
30f3b32b AC |
6905 | 2004-03-19 Arnaud Charlet <charlet@act-europe.fr> |
6906 | ||
6907 | * ada-tree.h: Update copyright notice. | |
6908 | Minor reformatting. | |
6909 | ||
6910 | 2004-03-19 Olivier Hainque <hainque@act-europe.fr> | |
6911 | ||
6912 | * decl.c (gnat_to_gnu_entity, case E_Exception): Handle VMS exceptions | |
6913 | as regular exception objects and not as mere integers representing the | |
6914 | condition code. The latter approach required some dynamics to mask off | |
6915 | severity bits, which did not fit well into the GCC table based model. | |
6916 | (gnat_to_gnu_entity, objects): Don't supply an external name for VMS | |
6917 | exception data objects. We don't it and it would conflict with the other | |
6918 | external symbol we have to generate for such exceptions. | |
6919 | ||
6920 | * trans.c (tree_transform, case N_Exception_Handler): Remove part of | |
6921 | the special code for VMS exceptions, since these are now represented | |
6922 | as regular exceptions objects. | |
6923 | ||
7548281d RK |
6924 | 2004-03-19 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
6925 | ||
6926 | * decl.c (debug_no_type_hash): Remove. | |
6927 | (gnat_to_gnu_entity, case E_Array_Type): Don't set and clear it. | |
6928 | * misc.c (LANG_HOOK_HASH_TYPE): Redefine. | |
6929 | ||
7324bf49 | 6930 | 2004-03-19 Laurent Guerby <laurent@guerby.net> |
dbee7ab9 | 6931 | |
90afe2c9 | 6932 | * sem_prag.adb (Suppress_Unsuppress_Echeck): use loop instead of |
dbee7ab9 | 6933 | aggregate, allows bootstrap from 3.3 on powerpc-darwin. |
90afe2c9 | 6934 | |
eb34af89 RK |
6935 | 2004-03-18 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
6936 | ||
6937 | * ada-tree.h (TYPE_LEFT_JUSTIFIED_MODULAR_P): Add checking. | |
6938 | (TYPE_CONTAINS_TEMPLATE_P, TYPE_OBJECT_RECORD_TYPE): Likewise. | |
6939 | (TYPE_RM_SIZE_INT): Directly use type.values. | |
6940 | (TREE_LOOP_ID): Clean up check. | |
6941 | * decl.c (gnat_to_gnu_entity, case E_Enumeration_Type): Use | |
6942 | TYPE_VALUES, not TYPE_FIELDS. | |
6943 | * trans.c (convert_with_check): Delay access of bounds of basetype | |
6944 | until sure is numeric. | |
6945 | ||
a336eaca AC |
6946 | 2004-03-18 Arnaud Charlet <charlet@act-europe.fr> |
6947 | ||
6948 | * 5atpopsp.adb: Remove RTEMS from list of platforms using this file. | |
6949 | ||
6950 | Code clean up: | |
6951 | * 5ataprop.adb, 5ftaprop.adb, 5htaprop.adb, 5itaprop.adb, 5staprop.adb, | |
6952 | 5vtaprop.adb, 5wtaprop.adb, 7staprop.adb (Finalize_TCB): Use | |
6953 | Specific.Set instead of direct call to e.g pthread_setspecific. | |
6954 | ||
6955 | 2004-03-18 Thomas Quinot <quinot@act-europe.fr> | |
6956 | ||
6957 | * adaint.c: Update comments. | |
6958 | ||
6959 | * Makefile.in: set PREFIX_OBJS, SYMLIB, THREADSLIB, and | |
6960 | GNATLIB_SHARED for FreeBSD. | |
6961 | ||
6962 | 2004-03-18 Jose Ruiz <ruiz@act-europe.fr> | |
6963 | ||
6964 | * init.c [VxWorks]: Do not fix the stack size for the environment task. | |
6965 | When needed (stack checking) the stack size is retrieved | |
6966 | from the VxWorks kernel. | |
6967 | ||
6968 | * Makefile.in: Flag -nostdinc is required when building the run time | |
6969 | for avoiding looking for files in the base compiler. | |
6970 | Add the VxWorks specific version of the package body for | |
6971 | System.Stack_checking.Operations (5zstchop.adb). | |
6972 | ||
6973 | * Make-lang.in: Add the object file for | |
6974 | System.Stack_Checking.Operations. | |
6975 | ||
6976 | * Makefile.rtl: Add object file for the package | |
6977 | System.Stack_Checking.Operations. | |
6978 | ||
6979 | * s-stchop.ads, s-stchop.adb, 5zstchop.adb: New files. | |
6980 | ||
6981 | * s-stache.ads, s-stache.adb: Move the operations related to stack | |
6982 | checking from this package to package System.Stack_Checking.Operations. | |
6983 | This way, stack checking operations are only linked in the final | |
6984 | executable when using the -fstack-check flag. | |
6985 | ||
6986 | 2004-03-18 Doug Rupp <rupp@gnat.com> | |
6987 | ||
6988 | * Makefile.in [VMS]: Handle 64 bit specs (5qsystem.ads, 5xcrtl.ads). | |
6989 | Reorganize ifeq's. | |
6990 | ||
6991 | * 5qsystem.ads, 5xcrtl.ads: New files. | |
6992 | ||
6993 | 2004-03-18 Vincent Celier <celier@gnat.com> | |
6994 | ||
6995 | * prj.adb (Reset): Reset hash table Files_Htable | |
6996 | ||
6997 | * prj-env.adb (Source_Paths, Object_Paths): New tables. | |
6998 | (Add_To_Source_Path, Add_To_Object_Path): New procedures, to replace | |
6999 | the procedures Add_To_Path_File. | |
7000 | (Set_Ada_Paths): Accumulate source and object dirs in the tables, | |
7001 | making sure that each directory is present only once and, for object | |
7002 | dirs, when a directory already present is added, the duplicate is | |
7003 | removed and the directory is always put as the last in the table. | |
7004 | Write the path files at the end of these accumulations. | |
7005 | ||
7006 | * prj-nmsc.adb (Record_Source): Add source file name in hash table | |
7007 | Files_Htable for all sources. | |
7008 | ||
7009 | * prj-proc.adb (Process): Remove restrictions between not directly | |
7010 | related extending projects. | |
7011 | ||
7012 | 2004-03-18 Emmanuel Briot <briot@act-europe.fr> | |
7013 | ||
7014 | * prj-nmsc.ads, prj-nmsc.adb (Ada_Check): New parameter Trusted_Mode. | |
7015 | (Find_Sources): Minor speed optimization. | |
7016 | ||
7017 | * prj-proc.ads, prj-proc.adb (Check, Recursive_Check, Process): New | |
7018 | parameter Trusted_Mode. | |
7019 | ||
7020 | 2004-03-18 Sergey Rybin <rybin@act-europe.fr> | |
7021 | ||
7022 | * scn.adb (Determine_License): Take into account a degenerated case | |
7023 | when the source contains only comments. | |
7024 | ||
7025 | 2004-03-18 Ed Schonberg <schonberg@gnat.com> | |
7026 | ||
7027 | * sem_warn.adb (Check_References): For a warning on a selected | |
7028 | component that does not come from source, locate an uninitialized | |
7029 | component of the record type to produce a more precise error message. | |
7030 | ||
e6f69614 AC |
7031 | 2004-03-15 Jerome Guitton <guitton@act-europe.fr> |
7032 | ||
7033 | * 3zsoccon.ads: Fix multicast options. | |
7034 | ||
7035 | * s-thread.ads: Move unchecked conversion from ATSD_Access to Address | |
7036 | in the spec. | |
7037 | ||
7038 | 2004-03-15 Robert Dewar <dewar@gnat.com> | |
7039 | ||
7040 | * sem_prag.adb: Make sure No_Strict_Aliasing flag is set right when | |
7041 | pragma used for a private type. | |
7042 | ||
7043 | * lib-xref.adb (Generate_Reference): Do not generate warning if | |
7044 | reference is in a different unit from the pragma Unreferenced. | |
7045 | ||
7046 | * 5vtpopde.adb: Minor reformatting | |
7047 | Fix casing of To_Task_ID | |
7048 | ||
7049 | * sem_ch13.adb (Validate_Unchecked_Conversion): Set No_Strict_Aliasing | |
7050 | flag if we have an unchecked conversion to an access type in the same | |
7051 | unit. | |
7052 | ||
7053 | 2004-03-15 Geert Bosch <bosch@gnat.com> | |
7054 | ||
7055 | * a-ngcoty.adb (Modulus): In alternate formula for large real or | |
7056 | imaginary parts, use Double precision throughout. | |
7057 | ||
7058 | * a-tifiio.adb (Put_Scaled): Remove remaining pragma Debug. Not only | |
7059 | we want to be able to compile run-time with -gnata for testing, but | |
7060 | this may also be instantiated in user code that is compiled with -gnata. | |
7061 | ||
7062 | 2004-03-15 Olivier Hainque <hainque@act-europe.fr> | |
7063 | ||
7064 | * s-stalib.ads (Exception_Code): New type, to represent Import/Export | |
7065 | codes. Having a separate type for this is useful to enforce consistency | |
7066 | throughout the various run-time units. | |
7067 | (Exception_Data): Use Exception_Code for Import_Code. | |
7068 | ||
7069 | * s-vmextra.ads, s-vmexta.adb: Use Exception_Code instead of a mix of | |
7070 | Natural and Integer in various places. | |
7071 | (Register_VMS_Exception): Use Base_Code_In to compute the exception code | |
7072 | with the severity bits masked off. | |
7073 | (Register_VMS_Exception): Handle the additional exception data pointer | |
7074 | argument. | |
7075 | ||
7076 | * raise.c (_GNAT_Exception structure): Remove the handled_by_others | |
7077 | component, now reflected by an exported accessor. | |
7078 | (is_handled_by): New routine to compute whether the propagated | |
7079 | occurrence matches some handler choice specification. Extracted out of | |
7080 | get_action_description_for, and expanded to take care of the VMS | |
7081 | specifities. | |
7082 | (get_action_description_for): Use is_handled_by instead of an explicit | |
7083 | complex condition to decide if the current choice at hand catches the | |
7084 | propagated occurrence. | |
7085 | ||
7086 | * raise.h (Exception_Code): New type for C. | |
7087 | ||
7088 | * rtsfind.ads (RE_Id, RE_Unit_Table): Add | |
7089 | System.Standard_Library.Exception_Code, to allow references from the | |
7090 | pragma import/export expander. | |
7091 | ||
7092 | * a-exexpr.adb (Is_Handled_By_Others, Language_For, Import_Code_For): | |
7093 | New accessors to allow easy access to GNAT exception data | |
7094 | characteristics. | |
7095 | (GNAT_GCC_Exception record, Propagate_Exception): Get rid of the | |
7096 | redundant Handled_By_Others component, helper for the personality | |
7097 | routine which will now be able to call the appropriate exception data | |
7098 | accessor instead. | |
7099 | ||
7100 | * cstand.adb (Create_Standard): Adjust the type of the Import_Code | |
7101 | component of Standard_Exception_Type to be the closest possible to | |
7102 | Exception_Code in System.Standard_Library, that we cannot get at this | |
7103 | point. Expand a ??? comment to notify that this type node should | |
7104 | probably be rewritten later on. | |
7105 | ||
7106 | * exp_prag.adb (Expand_Pragma_Import_Export_Exception): Adjust the | |
7107 | registration call to include a pointer to the exception object in the | |
7108 | arguments. | |
7109 | ||
7110 | * init.c (__gnat_error_handler): Use Exception_Code and Base_Code_In | |
7111 | instead of int and explicit bitmasks. | |
7112 | ||
7113 | 2004-03-15 Vincent Celier <celier@gnat.com> | |
7114 | ||
7115 | * vms_data.ads: Add new GNAT BIND qualifier /STATIC. Makes /NOSHARED | |
7116 | equivalent to /STATIC and /NOSTATIC equivalent to /SHARED. | |
7117 | ||
7118 | * a-tasatt.adb (To_Access_Code): Remove this UC instantiation, no | |
7119 | longer needed now that it is in the spec of | |
7120 | System.Tasking.Task_Attributes. | |
7121 | ||
7122 | * adaint.h, adaint.c: (__gnat_create_output_file): New function | |
7123 | ||
7124 | * gnatcmd.adb: Fix bug introduced in previous rev: /= instead of = | |
7125 | ||
7126 | * g-os_lib.ads, g-os_lib.adb (Create_Output_Text_File): New function. | |
7127 | ||
7128 | * make.adb (Gnatmake): Do not check the executable suffix; it is being | |
7129 | taken care of in Scan_Make_Arg. | |
7130 | (Scan_Make_Arg): Add the executable suffix only if the argument | |
7131 | following -o, in canonical case, does not end with the executable | |
7132 | suffix. When in verbose mode and executable file name does not end | |
7133 | with executable suffix, output the executable name, in canonical case. | |
7134 | ||
7135 | * s-tataat.ads (Access_Dummy_Wrapper): Add pragma No_Strict_Aliasing | |
7136 | to avoid warnings when instantiating Ada.Task_Attributes. | |
7137 | Minor reformating. | |
7138 | ||
7139 | * mlib-prj.adb (Process_Imported_Libraries): Get the imported libraries | |
7140 | in the correct order. | |
7141 | ||
7142 | * prj-makr.adb (Process_Directory): No longer use GNAT.Expect, but | |
7143 | redirect standard output and error to a file for the invocation of the | |
7144 | compiler, then read the file. | |
7145 | ||
7146 | * prj-nmsc.adb (Find_Sources): Use the Display_Value for each | |
7147 | directory, instead of the Value. | |
7148 | (Find_Source_Dirs): Remove useless code & comments. | |
7149 | ||
7150 | 2004-03-15 Ed Schonberg <schonberg@gnat.com> | |
7151 | ||
7152 | * exp_ch3.adb (Freeze_Record_Type): If a primitive operation of a | |
7153 | tagged type is inherited, and the parent operation is not frozen yet, | |
7154 | force generation of a freeze node for the inherited operation, so the | |
7155 | corresponding dispatch entry is properly initialized. | |
7156 | (Make_Predefined_Primitive_Specs): Check that return type is Boolean | |
7157 | when looking for user-defined equality operation. | |
7158 | ||
7159 | * exp_ch4.adb (Expand_Composite_Equality): Check that return type is | |
7160 | boolean when locating primitive equality of tagged component. | |
7161 | ||
7162 | * exp_ch5.adb (Expand_Assign_Array): If the left-hand side is a | |
7163 | bit-aligned field and the right-hand side a string literal, introduce | |
7164 | a temporary before expanding assignment into a loop. | |
7165 | ||
7166 | * exp_ch9.adb (Expand_N_Task_Type_Declaration): Copy expression for | |
7167 | priority in full, to ensure that any expanded subepxressions of it are | |
7168 | elaborated in the scope of the init_proc. | |
7169 | ||
7170 | * exp_prag.adb (Expand_Pragma_Import): Search for initialization call | |
7171 | after object declaration, skipping over code that may have been | |
7172 | generated for validity checks. | |
7173 | ||
7174 | * sem_ch12.adb (Validate_Private_Type_Instance): If type has unknown | |
7175 | discriminants, ignore the known discriminants of its full view, if | |
7176 | any, to check legality. | |
7177 | ||
7178 | * sem_ch3.adb (Complete_Private_Subtype): Do not create constrained | |
7179 | component if type has unknown discriminants. | |
7180 | (Analyze_Private_Extension_Declaration): Discriminant constraint is | |
7181 | null if type has unknown discriminants. | |
7182 | ||
7183 | * sem_ch6.adb (Analyze_Generic_Subprogram_Body): Generate reference | |
7184 | for end label when present. | |
7185 | ||
7186 | * s-fileio.adb (Open): When called with a C_Stream, use given name for | |
7187 | temporary file, rather than an empty string. | |
7188 | ||
7189 | 2004-03-15 Ed Falis <falis@gnat.com> | |
7190 | ||
7191 | * s-thread.adb: Removed, no longer used. | |
7192 | ||
7193 | 2004-03-15 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | |
7194 | ||
7195 | * decl.c (target.h): Now include. | |
7196 | (gnat_to_gnu_entity, case E_Access_Type): Use mode derived from ESIZE | |
7197 | in new build_pointer_from_mode calls for non-fat/non-thin pointer. | |
7198 | (validate_size): For POINTER_TYPE, get smallest size permitted on | |
7199 | machine. | |
7200 | ||
7201 | * fe.h: Sort Einfo decls and add Set_Mechanism. | |
7202 | ||
7203 | * Makefile.in: (LIBGNAT_SRCS): Remove types.h. | |
7204 | (ada/decl.o): Depends on target.h. | |
7205 | ||
7206 | * trans.c (tree_transform, N_Unchecked_Type_Conversion): Do not use | |
7207 | FUNCTION_BOUNDARY; always use TYPE_ALIGN. | |
7208 | ||
7209 | 2004-03-15 Thomas Quinot <quinot@act-europe.fr> | |
7210 | ||
7211 | * 5ztpopsp.adb, 56tpopsp.adb: Fix spelling of Task_ID. | |
7212 | ||
7213 | * exp_ch4.adb (Expand_N_Indexed_Component): Do not call | |
7214 | Insert_Dereference_Action when rewriting an implicit dereference into | |
7215 | an explicit one, this will be taken care of during expansion of the | |
7216 | explicit dereference. | |
7217 | (Expand_N_Slice): Same. Always do the rewriting, even for the case | |
7218 | of non-packed slices, since the dereference action generated by | |
7219 | expansion of the explicit dereference is needed in any case. | |
7220 | (Expand_N_Selected_Component): When rewriting an implicit dereference, | |
7221 | analyze and resolve the rewritten explicit dereference so it is seen | |
7222 | by the expander. | |
7223 | (Insert_Dereference_Action): This procedure is now called only for the | |
7224 | expansion of an N_Explcit_Dereference_Node. Do insert a check even for | |
7225 | dereferences that do not come from source (including explicit | |
7226 | dereferences resulting from rewriting implicit ones), but do not | |
7227 | recursively insert a check for the dereference nodes contained within | |
7228 | the check. | |
7229 | (Insert_Dereference_Action): Clarify and correct comment. | |
7230 | ||
e4c9c075 PB |
7231 | 2004-03-08 Paolo Bonzini <bonzini@gnu.org> |
7232 | ||
7233 | PR ada/14131 | |
7234 | Move language detection to the top level. | |
7235 | * config-lang.in: Build by default. | |
7236 | ||
8a6a52dc AC |
7237 | 2004-03-05 Robert Dewar <dewar@gnat.com> |
7238 | ||
7239 | * 56taprop.adb, 5ataprop.adb: Remove unneeded unchecked conversions | |
7240 | ||
7241 | * a-tags.adb, a-tags.ads, s-finimp.adb, s-finroo.ads, | |
7242 | i-cpoint.ads, i-cpoint.adb, i-cstrin.adb, i-cstrin.ads, | |
90afe2c9 | 7243 | 5iosinte.ads, 5sosinte.ads, 5staspri.ads, 5itaprop.adb, |
8a6a52dc AC |
7244 | 5staprop.adb, 5wtaprop.adb, s-tataat.ads, s-tataat.adb: Move |
7245 | unchecked conversion to spec to avoid warnings. | |
7246 | ||
7247 | * s-tasini.adb, s-taskin.ads, 5atpopsp.adb: Correct spelling Task_Id | |
7248 | to Task_ID | |
7249 | ||
7250 | * 7stpopsp.adb: Correct casing in To_Task_ID call | |
7251 | ||
7252 | * a-strsea.ads, a-strsea.adb: Minor reformatting | |
7253 | ||
7254 | * einfo.ads, einfo.adb: Define new flag No_Strict_Aliasing | |
7255 | ||
7256 | * errout.ads: Switch for VMS is now NO_STRICT_ALIASING. | |
7257 | Adjust Max_Msg_Length to be clearly large enough. | |
7258 | ||
7259 | * fe.h: Define In_Same_Source_Unit | |
7260 | ||
7261 | * osint.adb: Add pragma Warnings Off to suppress warnings | |
7262 | * g-dyntab.adb, g-table.adb, g-thread.adb: Add Warnings (Off) to kill | |
7263 | aliasing warnings. | |
7264 | ||
7265 | * opt.ads: Put entries in alpha order. Add entry for No_Strict_Aliasing | |
7266 | ||
7267 | * par-prag.adb: Add dummy entry for No_Strict_Aliasing pragma | |
7268 | ||
7269 | * sem_ch13.adb: Generate validate unchecked conversion nodes for gcc. | |
7270 | ||
7271 | * sem_ch3.adb: Set No_Strict_Aliasing flag if config pragma set. | |
7272 | ||
7273 | * sem_prag.adb: Implement pragma No_Strict_Aliasing. | |
7274 | ||
7275 | * sinfo.ads: Remove obsolete comment on validate unchecked conversion | |
7276 | node. We now do generate them for gcc back end. | |
7277 | ||
7278 | * table.adb, sinput.adb: Add pragma Warnings Off to suppress aliasing | |
7279 | warning. | |
7280 | ||
7281 | * sinput-c.adb: Fix bad name in header. | |
7282 | Add pragma Warnings Off to suppress aliasing warning. | |
7283 | ||
7284 | * sinput-l.adb: Add pragma Warnings Off to suppress aliasing warning. | |
7285 | ||
7286 | * snames.h, snames.ads, snames.adb: Add entry for pragma | |
7287 | No_Strict_Aliasing. | |
7288 | ||
7289 | 2004-03-05 Vincent Celier <celier@gnat.com> | |
7290 | ||
7291 | * prj-com.ads: Add hash table Files_Htable to check when a file name | |
7292 | is already a source of another project. | |
7293 | ||
7294 | * prj-nmsc.adb (Record_Source): Before recording a new source, check | |
7295 | if its file name is not already a source of another project. Report an | |
7296 | error if it is. | |
7297 | ||
7298 | * gnatcmd.adb: When GNAT PRETTY is invoked with a project file and no | |
7299 | source file name, call gnatpp with all the sources of the main project. | |
7300 | ||
7301 | * vms_conv.adb (Initialize): GNAT PRETTY may be called with any number | |
7302 | of file names. | |
7303 | ||
7304 | * vms_data.ads: Correct documentation of new /OPTIMIZE keyword | |
7305 | NO_STRICT_ALIASING. Add new qualifier for GNAT PRETTY: | |
7306 | /RUNTIME_SYSTEM=, converted to --RTS= | |
7307 | /NOTABS, converted to -notabs | |
7308 | ||
7309 | 2004-03-05 Pascal Obry <obry@gnat.com> | |
7310 | ||
7311 | * make.adb: Minor reformatting. | |
7312 | ||
7313 | 2004-03-05 Ed Schonberg <schonberg@gnat.com> | |
7314 | ||
7315 | Part of implemention of AI-262. | |
7316 | * par-ch10.adb (P_Context_Clause): Recognize private with_clauses. | |
7317 | ||
7318 | * sem_ch10.ads, sem_ch10.adb: (Install_Private_With_Clauses): New | |
7319 | procedure. | |
7320 | ||
7321 | * sem_ch3.adb (Analyze_Component_Declaration): Improve error message | |
7322 | when component type is a partially constrained class-wide subtype. | |
7323 | (Constrain_Discriminated_Type): If parent type has unknown | |
7324 | discriminants, a constraint is illegal, even if full view has | |
7325 | discriminants. | |
7326 | (Build_Derived_Record_Type): Inherit discriminants when deriving a type | |
7327 | with unknown discriminants whose full view is a discriminated record. | |
7328 | ||
7329 | * sem_ch7.adb (Preserve_Full_Attributes): Preserve Has_Discriminants | |
7330 | flag, to handle properly derivations of tagged types with unknown | |
7331 | discriminants. | |
7332 | (Analyze_Package_Spec, Analyze_Package_Body): Install | |
7333 | Private_With_Clauses before analyzing private part or body. | |
7334 | ||
7335 | * einfo.ads: Indicate that both Has_Unknown_Discriminants and | |
7336 | Has_Discriminants can be true for a given type (documentation). | |
7337 | ||
7338 | 2004-03-05 Arnaud Charlet <charlet@act-europe.fr> | |
7339 | ||
7340 | * s-restri.ads: Fix license (GPL->GMGPL). | |
7341 | ||
7342 | * s-tassta.adb: Minor reformatting. | |
7343 | ||
7344 | * s-tasren.adb: Replace manual handling of Self_Id.ATC_Nesting_Level | |
7345 | by calls to Exit_One_ATC_Level, since additional clean up is performed | |
7346 | by this function. | |
7347 | ||
7348 | * s-tpobop.adb: Replace manual handling of Self_Id.ATC_Nesting_Level | |
7349 | by calls to Exit_One_ATC_Level, since additional clean up is performed | |
7350 | by this function. | |
7351 | ||
7352 | 2004-03-05 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | |
7353 | ||
7354 | * trans.c: Reflect GCC changes to fix bootstrap problem. | |
7355 | Add warning for suspicious aliasing unchecked conversion. | |
7356 | ||
7357 | 2004-03-05 GNAT Script <nobody@gnat.com> | |
7358 | ||
7359 | * Make-lang.in: Makefile automatically updated | |
7360 | ||
555360a5 AC |
7361 | 2004-03-02 Emmanuel Briot <briot@act-europe.fr> |
7362 | ||
7363 | * ali.adb (Read_Instantiation_Instance): Do not modify the | |
7364 | current_file_num when reading information about instantiations, since | |
7365 | this corrupts files in later references. | |
7366 | ||
7367 | 2004-03-02 Vincent Celier <celier@gnat.com> | |
7368 | ||
7369 | * bcheck.adb (Check_Consistency): Get the full path of an ALI file | |
7370 | before checking if it is read-only. | |
7371 | ||
7372 | * bld.adb (Recursive_Process): Concatenate <PROJECT>.src_dirs in front | |
7373 | of SRC_DIRS and eliminate duplicates. | |
7374 | ||
7375 | * gprcmd.adb: Replace command "path" with command "path_sep" to return | |
7376 | the path separator. | |
7377 | (Usage): Document path_sep | |
7378 | ||
7379 | * Makefile.generic: For Ada and GNU C++ cases, link directly with the | |
7380 | C++ compiler. No need for a script. | |
7381 | Replace use of C*_INCLUDE_PATH env var for GCC compilers with CPATH. | |
7382 | Do not call gprcmd to build the C*_INCLUDE_PATHs, do it with function | |
7383 | subst. | |
7384 | ||
7385 | * prj-env.adb (For_All_Source_Dirs): Only add source dirs in project | |
7386 | where there are Ada sources. | |
7387 | (Set_Ada_Paths): Only add to the include path the source dirs of project | |
7388 | with Ada sources. | |
7389 | (Add_To_Path): Add the Display_Values of the directories, not their | |
7390 | Values. | |
7391 | ||
7392 | * prj-nmsc.adb (Find_Sources): Set flag Sources_Present in the project | |
7393 | data. | |
7394 | ||
7395 | * prj-nmsc.adb (Add_ALI_For): Make sure that the element Display_Value | |
7396 | is not No_Name. | |
7397 | (Find_Source_Dirs): Set Display_Value to a non canonicalized value, only | |
7398 | Value is canonicalized. | |
7399 | (Language_Independent_Check): Do not copy Value to Display_Value when | |
7400 | canonicalizing Value. | |
7401 | ||
7402 | * prj-part.adb (Post_Parse_Context_Clause): Compare canonical cased | |
7403 | path to find limited with cycles. | |
7404 | (Parse_Single_Project): Use canonical cased path to find the end of a | |
7405 | with cycle. | |
7406 | ||
7407 | 2004-03-02 Ed Schonberg <schonberg@gnat.com> | |
7408 | ||
7409 | * sem_ch10.adb (Optional_Subunit): Verify that unit contains a subunit | |
7410 | and not a child unit. | |
7411 | ||
7412 | * sinfo.ads, sinfo.adb: Rearrange flags so that Private_Present can | |
7413 | appear in a with_clause. | |
7414 | ||
7415 | * decl.c (gnat_to_gnu_type): If entity is a generic type, which can | |
7416 | only happen in type_annotate mode, do not try to elaborate it. | |
7417 | ||
7418 | * exp_util.adb (Force_Evaluation): If expression is a selected | |
7419 | component on the left of an assignment, use a renaming rather than a | |
7420 | temporary to remove side effects. | |
7421 | ||
7422 | * freeze.adb (Freeze_Entity): Do not freeze a global entity within an | |
7423 | inlined instance body, which is analyzed before the end of the | |
7424 | enclosing scope. | |
7425 | ||
7426 | 2004-03-02 Robert Dewar <dewar@gnat.com> | |
7427 | ||
7428 | * par-ch10.adb, par-ch3.adb, par-ch4.adb, scng.adb, | |
7429 | sem_ch4.adb: Use new feature for substitution of keywords in VMS | |
7430 | ||
7431 | * errout.ads, errout.adb: Implement new circuit for substitution of | |
7432 | keywords in VMS. | |
7433 | ||
7434 | * sem_case.adb (Analyze_Choices): Place message properly when case is | |
7435 | a subtype reference rather than an explicit range. | |
7436 | ||
7437 | * sem_elim.adb, s-tpobop.ads, exp_ch2.adb: Minor reformatting | |
7438 | ||
7439 | 2004-03-02 Doug Rupp <rupp@gnat.com> | |
7440 | ||
7441 | * init.c (__gnat_initialize)[VMS]: Resignal RDB-E-STREAM_EOF. | |
7442 | ||
7443 | 2004-03-02 Thomas Quinot <quinot@act-europe.fr> | |
7444 | ||
7445 | * s-tporft.adb: Add missing locking around call to Initialize_ATCB. | |
7446 | ||
7447 | 2004-03-02 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | |
7448 | ||
7449 | * utils.c (finish_record_type): Do not set DECL_NONADDRESSABLE for a | |
7450 | BLKmode bitfield. | |
7451 | ||
8a7988f5 AC |
7452 | 2004-02-25 Robert Dewar <dewar@gnat.com> |
7453 | ||
7454 | * 51osinte.ads, 52osinte.ads, 53osinte.ads, 54osinte.ads, | |
7455 | 55osinte.ads, 56osinte.ads, 5aosinte.ads, 5bosinte.ads, | |
7456 | 5cosinte.ads, 5fosinte.ads, 5gosinte.ads, 5hosinte.ads, | |
7457 | 5iosinte.ads, 5losinte.ads, 5nosinte.ads, 5oosinte.ads, | |
7458 | 5posinte.ads, 5sosinte.ads, 5tosinte.ads, 5vosinte.ads, | |
7459 | 5wosinte.ads, 5zosinte.ads: Move instances of Unchecked_Conversion to | |
7460 | the defining instance of the type to avoid aliasing problems. | |
7461 | Fix copyright header. Fix bad comments in package header. | |
7462 | ||
7463 | * exp_util.adb, prj-part.adb, prj-part.adb: Minor reformatting | |
7464 | ||
7465 | 2004-02-25 Ed Schonberg <schonberg@gnat.com> | |
7466 | ||
7467 | * exp_ch2.adb (Param_Entity): Handle properly formals that have been | |
7468 | rewritten as references when aliased through an address clause. | |
7469 | ||
7470 | * sem_ch4.adb (Try_Indirect_Call): Normalize actuals before checking | |
7471 | whether call can be interpreted as an indirect call to the result of a | |
7472 | parameterless function call returning an access subprogram. | |
7473 | ||
7474 | 2004-02-25 Arnaud Charlet <charlet@act-europe.fr> | |
7475 | ||
7476 | Code clean up: | |
7477 | * exp_ch7.adb (Make_Clean): Remove generation of calls to | |
7478 | Unlock[_Entries], since this is now done by Service_Entries directly. | |
7479 | ||
7480 | * exp_ch9.adb (Build_Protected_Subprogram_Body): ditto. | |
7481 | ||
7482 | * s-tpobop.ads, s-tpobop.adb (PO_Service_Entries): New nested procedure | |
7483 | Requeue_Call for better code readability. Change spec and update calls: | |
7484 | PO_Service_Entries now unlock the PO on exit. | |
7485 | (Protected_Entry_Call, Timed_Protected_Entry_Call): Update calls to | |
7486 | PO_Service_Entries. | |
7487 | ||
7488 | * s-tposen.ads, s-tposen.adb (Service_Entry): Now unlock the PO on exit. | |
7489 | ||
7490 | * s-taenca.adb, s-tasren.adb: Update calls to PO_Service_Entries. | |
7491 | ||
7492 | 2004-02-25 Sergey Rybin <rybin@act-europe.fr> | |
7493 | ||
7494 | * exp_ch9.adb (Build_Simple_Entry_Call): Prevent expanding the | |
7495 | protected subprogram call and analyzing the result of such expanding | |
7496 | in case when the called protected subprogram is eliminated. | |
7497 | ||
7498 | * sem_elim.adb (Check_Eliminated): Skip blocks when comparing scope | |
7499 | names. | |
7500 | ||
7501 | 2004-02-25 Jerome Guitton <guitton@act-europe.fr> | |
7502 | ||
7503 | * Makefile.in: Clean ups. | |
7504 | ||
6871ba5f AC |
7505 | 2004-02-23 Ed Schonberg <schonberg@gnat.com> |
7506 | ||
7507 | * exp_ch6.adb (Expand_N_Subprogram_Declaration): Do not create | |
7508 | protected operations if original subprogram is flagged as eliminated. | |
7509 | (Expand_N_Subprogram_Body): For a protected operation, create | |
7510 | discriminals for next operation before checking whether the operation | |
7511 | is eliminated. | |
7512 | ||
7513 | * exp_ch9.adb (Expand_N_Protected_Body, | |
7514 | Expand_N_Protected_Type_Declaration): Do not generate specs and bodies | |
7515 | for internal protected operations if the original subprogram is | |
7516 | eliminated. | |
7517 | ||
7518 | * sem_elim.adb (Check_Eliminated): Handle properly protected operations | |
7519 | declared in a single protected object. | |
7520 | ||
7521 | 2004-02-23 Vincent Celier <celier@gnat.com> | |
7522 | ||
7523 | * prj-attr.adb: Make attribute Builder'Executable an associative array, | |
7524 | case insensitive if file names are case insensitive, instead of a | |
7525 | standard associative array. | |
7526 | ||
7527 | * prj-attr.adb (Initialize): For 'b' associative arrays, do not set | |
7528 | them as case insensitive on platforms where the file names are case | |
7529 | sensitive. | |
7530 | ||
7531 | * prj-part.adb (Parse_Single_Project): Make sure, when checking if | |
7532 | project file has already been parsed that canonical path are compared. | |
7533 | ||
7534 | 2004-02-23 Robert Dewar <dewar@gnat.com> | |
7535 | ||
7536 | * sinput-c.ads: Correct bad unit title in header | |
7537 | ||
7538 | * freeze.adb: Minor reformatting | |
7539 | ||
7540 | 2004-02-23 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | |
7541 | ||
7542 | * trans.c (tree_transform, case N_Procedure_Call_Statement): For | |
7543 | nonaddressable COMPONENT_REF that is removing padding that we are | |
7544 | taking the address of, take the address of the padded record instead | |
7545 | if item is variable size. | |
7546 | ||
6e059adb AC |
7547 | 2004-02-20 Robert Dewar <dewar@gnat.com> |
7548 | ||
7549 | * bld.adb, exp_util.adb, gprcmd.adb: Minor reformatting | |
7550 | ||
7551 | 2004-02-20 Ed Schonberg <schonberg@gnat.com> | |
7552 | ||
7553 | * freeze.adb (Freeze_Record_Type): Generalize mechanism that generates | |
7554 | itype references for the constrained designated type of a component | |
7555 | whose base type is already frozen. | |
7556 | ||
7557 | 2004-02-20 Arnaud Charlet <charlet@act-europe.fr> | |
7558 | ||
7559 | * init.c (__gnat_error_handler [tru64]): Rewrite previous change to | |
7560 | avoid GCC warnings. | |
7561 | ||
7562 | 2004-02-20 Sergey Rybin <rybin@act-europe.fr> | |
7563 | ||
7564 | * sem_ch12.adb (Analyze_Formal_Package): Create a new defining | |
7565 | identifier for a phantom package that rewrites the formal package | |
7566 | declaration with a box. The Add semantic decorations for the defining | |
7567 | identifier from the original node (that represents the formal package). | |
7568 | ||
88e3a2a3 MK |
7569 | 2004-02-19 Matt Kraai <kraai@alumni.cmu.edu> |
7570 | ||
7571 | * Make-lang.in (ada/stamp-sdefault): Use the top level | |
7572 | move-if-change. | |
7573 | ||
4221057e RH |
7574 | 2004-02-19 Richard Henderson <rth@redhat.com> |
7575 | ||
7576 | * misc.c (record_code_position): Add third build arg for RTL_EXPR. | |
7577 | ||
5c1c8a03 AC |
7578 | 2004-02-18 Emmanuel Briot <briot@act-europe.fr> |
7579 | ||
7580 | * ali.ads, ali.adb (First_Sdep_Entry): No longer a constant, so that | |
7581 | Scan_ALI can be used for multiple ALI files without reinitializing | |
7582 | between calls. | |
7583 | ||
7584 | 2004-02-18 Robert Dewar <dewar@gnat.com> | |
7585 | ||
7586 | * debug.adb: Minor reformatting. | |
7587 | ||
7588 | 2004-02-18 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | |
7589 | ||
7590 | * decl.c (gnat_to_gnu_entity, case object): Set DECL_POINTER_ALIAS_SET | |
7591 | to zero if there is an address clause. | |
7592 | ||
7593 | 2004-02-18 Thomas Quinot <quinot@act-europe.fr> | |
7594 | ||
7595 | * exp_util.adb (Side_Effect_Free): Any literal is side effects free. | |
7596 | ||
7597 | 2004-02-18 Gary Dismukes <dismukes@gnat.com> | |
7598 | ||
7599 | * layout.adb (Layout_Component_List): Revise generation of call to | |
7600 | discriminant-checking function to pass selections of all of the type's | |
7601 | discriminants rather than just the variant-controlling discriminant. | |
7602 | ||
7603 | 2004-02-18 Olivier Hainque <hainque@act-europe.fr> | |
7604 | ||
7605 | * 5gmastop.adb (Pop_Frame): Do not call exc_unwind, which is bound to | |
7606 | fail in the current setup and triggers spurious system error messages. | |
7607 | Pretend it occurred and failed instead. | |
7608 | ||
7609 | 2004-02-18 Vincent Celier <celier@gnat.com> | |
7610 | ||
7611 | * bld.adb: Mark FLDFLAGS as saved | |
7612 | (Process_Declarative_Items): Add Linker'Linker_Options to FLDFLAGS when | |
7613 | it is not the root project. Put each directory to be | |
7614 | extended between double quotes to prevent it to be expanded on Windows. | |
7615 | (Recursive_Process): Reset CFLAGS/CXXFLAGS to nothing before processing | |
7616 | the project file. Set them back to their initial values if they have not | |
7617 | been set in the project file. | |
7618 | ||
7619 | * gprcmd.adb: (Gprdebug, Debug): New global variables | |
7620 | (Display_Command): New procedure | |
7621 | (Usage): Document new command "linkopts" | |
7622 | Call Display_Command when env var GPRDEBUG has the value "TRUE" | |
7623 | Implement new command "linkopts" | |
7624 | Remove quotes that may be around arguments for "extend" | |
7625 | Always call Normalize_Pathname with arguments formatted for the platform | |
7626 | ||
7627 | * Makefile.generic: Link C/C++ mains with $(FLDFLAGS) | |
7628 | Change @echo to @$(display) in target clean to be able to clean silently | |
7629 | ||
7630 | * Makefile.prolog: Save FLDFLAGS and give it an initial empty value | |
7631 | ||
7632 | * prj-part.adb (Project_Path_Name_Of): Do not put final result in | |
7633 | canonical case. | |
7634 | ||
7635 | * prj-part.adb (Parse_Single_Project): Always call with From_Extended | |
7636 | = Extending_All when current project is an extending all project. | |
7637 | ||
7638 | * vms_conv.adb (Output_File_Expected): New Boolean global variable, | |
7639 | set to True only for LINK command, after Unix switch -o. | |
7640 | (Process_Arguments): Set Output_File_Expected to True for LINK command | |
7641 | after Unix switch -o. When Output_File_Expected is True, never add an | |
7642 | extension to a file name. | |
7643 | ||
7644 | * 5vml-tgt.adb (Build_Dynamic_Library): Do not append "/OPTIONS" to the | |
7645 | option file name, only to the --for-linker= switch. | |
7646 | (Option_File_Name): If option file name do not end with ".opt", append | |
7647 | "/OPTIONS". | |
7648 | ||
7649 | 2004-02-18 GNAT Script <nobody@gnat.com> | |
7650 | ||
7651 | * Make-lang.in: Makefile automatically updated | |
7652 | ||
80bcb4d2 MK |
7653 | 2004-02-17 Matt Kraai <kraai@alumni.cmu.edu> |
7654 | ||
7655 | * Make-lang.in (stamp-sdefault): Do not depend on | |
7656 | move-if-change. | |
7657 | ||
1daa84b6 ZW |
7658 | 2004-02-12 Zack Weinberg <zack@codesourcery.com> |
7659 | ||
7660 | * config-lang.in: Disable Ada by default until probe logic for | |
7661 | a bootstrap Ada compiler can be moved to the top level configure | |
7662 | script. | |
7663 | ||
18c0ecbe AC |
7664 | 2004-02-12 Olivier Hainque <hainque@act-europe.fr> |
7665 | ||
7666 | * decl.c (components_to_record): Don't claim that the internal fields | |
7667 | we make to hold the variant parts are semantically addressable, because | |
7668 | they are not. | |
7669 | ||
7670 | * exp_pakd.adb (Create_Packed_Array_Type): Rename Esiz into PASize and | |
7671 | adjust the comment describing the modular type form when we can use it. | |
7672 | (Install_PAT): Account for the Esiz renaming. | |
7673 | ||
7674 | * init.c (__gnat_error_handler for alpha-tru64): Arrange to clear the | |
7675 | sc_onstack context indication before raising the exception to which | |
7676 | the signal is mapped. Allows better handling of later signals possibly | |
7677 | triggered by the resumed user code if the exception is handled. | |
7678 | ||
7679 | 2004-02-12 Arnaud Charlet <charlet@act-europe.fr> | |
7680 | ||
7681 | * 5zinit.adb: Removed, no longer used. | |
7682 | ||
7683 | 2004-02-12 Robert Dewar <dewar@gnat.com> | |
7684 | ||
7685 | * ali.adb: Remove separating space between parameters on R line. Makes | |
7686 | format consistent with format used by the binder for Set_Globals call. | |
7687 | ||
7688 | * atree.ads, atree.adb: Minor reformatting (new function header format) | |
7689 | ||
7690 | * bindgen.adb: Add Run-Time Globals documentation section containing | |
7691 | detailed documentation of the globals passed from the binder file to | |
7692 | the run time. | |
7693 | ||
7694 | * gnatls.adb: Minor reformatting | |
7695 | ||
7696 | * init.c (__gnat_set_globals): Add note pointing to documentation in | |
7697 | bindgen. | |
7698 | ||
7699 | * lib-writ.ads, lib-writ.adb: Remove separating space between | |
7700 | parameters on R line. | |
7701 | Makes format consistent with format used by the binder for Set_Globals | |
7702 | call. | |
7703 | ||
7704 | * osint.ads: Add 2004 to copyright notice | |
7705 | Minor reformatting | |
7706 | ||
7707 | * snames.ads: Correct capitalization of FIFO_Within_Priorities | |
7708 | Noticed during code reading, documentation issue only | |
7709 | ||
7710 | * usage.adb: Remove junk line for obsolete C switch | |
7711 | Noticed during code reading | |
7712 | ||
7713 | 2004-02-12 Vincent Celier <celier@gnat.com> | |
7714 | ||
7715 | * bld.adb (Process_Declarative_Items): For Source_Dirs call gprcmd | |
7716 | extend for each directory, so that multiple /** directories are | |
7717 | extended individually. | |
7718 | (Recursive_Process): Set the default for LANGUAGES to ada | |
7719 | ||
7720 | * gprcmd.adb: Define new command "ignore", to do nothing. | |
7721 | Implement new comment "path". | |
7722 | ||
7723 | * Makefile.generic: Suppress output when SILENT is set | |
7724 | Make sure that when compiler for C/C++ is gcc, the correct -x switch is | |
7725 | used, so that the correct compiler is invoked. | |
7726 | When compiler is gcc/g++, put search path in env vars C_INCLUDE_PATH/ | |
7727 | CXX_INCLUDE_PATH, to avoid failure with too long command lines. | |
7728 | ||
7729 | 2004-02-12 Jerome Guitton <guitton@act-europe.fr> | |
7730 | ||
7731 | * Makefile.in: Clean ups and remove obsolete targets. | |
7732 | ||
7733 | 2004-02-12 Ed Schonberg <schonberg@gnat.com> | |
7734 | ||
7735 | * exp_ch5.adb: Remove Possible_Unligned_Slice, in favor of the similar | |
7736 | predicate declared in exp_util. | |
7737 | ||
7738 | * exp_util.adb: Add comments. | |
7739 | ||
7740 | * sem_ch10.adb (Analyze_Subunit): Remove ultimate parent unit from | |
7741 | visibility before compiling context of the subunit. | |
7742 | ||
7743 | * sem_res.adb (Check_Parameterless_Call): If the context expects a | |
7744 | value but the name is a procedure, do not attempt to analyze as a call, | |
7745 | in order to obtain more telling diagnostics. | |
7746 | ||
7747 | * sem_util.adb (Wrong_Type): Further enhancement to diagnose missing | |
7748 | 'Access on parameterless function calls. | |
7749 | (Normalize_Actuals): For a parameterless function call with missing | |
7750 | actuals, defer diagnostic until resolution of enclosing call. | |
7751 | ||
7752 | * sem_util.adb (Wrong_Type): If the context type is an access to | |
7753 | subprogram and the expression is a procedure name, suggest a missing | |
7754 | 'attribute. | |
7755 | ||
c1dcfa14 AC |
7756 | 2004-02-10 Arnaud Charlet <charlet@act-europe.fr>, |
7757 | Nathanael Nerode <neroden@gcc.gnu.org> | |
7758 | ||
7759 | PR ada/6637, PR ada/5911 | |
7760 | Merge with libada-branch: | |
90afe2c9 | 7761 | * config-lang.in: Build libada only when ada is built. |
c1dcfa14 | 7762 | |
2e071734 AC |
7763 | 2004-02-09 Ed Schonberg <schonberg@gnat.com> |
7764 | ||
7765 | * exp_ch4.adb (Expand_N_Op_Eq): When looking for the primitive equality | |
7766 | for a tagged type, verify that both formals have the same type. | |
7767 | ||
7768 | * exp_ch6.adb (Add_Call_By_Copy_Code): Initialize properly the | |
7769 | temporary when the formal is an in-parameter and the actual a possibly | |
7770 | unaligned slice. | |
7771 | ||
7772 | * exp_ch9.adb (Expand_Entry_Barrier): Resolve barrier expression even | |
7773 | when expansion is disabled, to ensure proper name capture with | |
7774 | overloaded literals. Condition can be of any boolean type, resolve | |
7775 | accordingly. | |
7776 | ||
7777 | * sem_ch8.adb (Analyze_Subprogram_Renaming): Emit warning if the | |
7778 | renaming is for a formal subprogram with a default operator name, and | |
7779 | there is a usable operator that is visible at the point of | |
7780 | instantiation. | |
7781 | ||
7782 | 2004-02-09 Robert Dewar <dewar@gnat.com> | |
7783 | ||
7784 | * ali.adb (Scan_Ali) Add Ignore_Errors argument. This is a major | |
7785 | rewrite to ignore errors in ali files, intended to allow tools downward | |
7786 | compatibility with new versions of ali files. | |
7787 | ||
7788 | * ali.ads: Add new parameter Ignore_Errors | |
7789 | ||
7790 | * bcheck.adb (Check_Consistent_Restrictions): Fix error of sometimes | |
7791 | duplicating the error message giving the file with restrictions. | |
7792 | ||
7793 | * debug.adb: Add debug flag I for gnatbind | |
7794 | ||
7795 | * errout.adb (Set_Msg_Insertion_Node): Suppress extra quotes around | |
7796 | operators for the case where the operator is a defining operator. | |
7797 | ||
7798 | * exp_ch3.adb: Minor reformatting (new function spec format). | |
7799 | ||
7800 | * exp_ch4.adb: Add comment for previous change, and make minor | |
7801 | adjustment to loop to always check for improper loop termination. | |
7802 | Minor reformatting throughout (new function spec format). | |
7803 | ||
7804 | * gnatbind.adb: Implement -di debug flag for gnatbind | |
7805 | ||
7806 | * gnatlink.adb: Call Scan_ALI with Ignore_Errors set to True | |
7807 | ||
7808 | * gnatls.adb: Call Scan_ALI with Ignore_Errors set to True | |
7809 | ||
7810 | * lib-load.adb: Fix bad assertion. | |
7811 | Found by testing and code reading. | |
7812 | Minor reformatting. | |
7813 | ||
7814 | * lib-load.ads: Minor reformatting. | |
7815 | ||
7816 | * lib-writ.adb: There is only one R line now. | |
7817 | ||
7818 | * lib-writ.ads: Add documentation on making downward compatible changes | |
7819 | to ali files so old tools work with new ali files. | |
7820 | There is only one R line now. | |
7821 | Add documentation on format incompatibilities (with special GPS note) | |
7822 | ||
7823 | * namet.ads, namet.adb: (Is_Operator_Name): New procedure | |
7824 | ||
7825 | * par-load.adb: Minor reformatting | |
7826 | ||
7827 | * sem_ch8.adb: Fix to error message from last update | |
7828 | Minor reformatting and restructuring of code from last update | |
7829 | ||
7830 | * par-prag.adb, snames.adb, snames.ads, snames.h, | |
7831 | sem_prag.adb: Implement pragma Profile. | |
7832 | ||
7833 | * stylesw.adb: Implement -gnatyN switch to turn off all style check | |
7834 | options. | |
7835 | ||
7836 | * usage.adb: Add line for -gnatyN switch | |
7837 | ||
7838 | * vms_data.ads: Add entry STYLE_CHECKS=NONE for -gnatyN | |
7839 | ||
a41ea816 AC |
7840 | 2004-02-09 Albert Lee <lee@gnat.com> |
7841 | ||
7842 | * errno.c: define _SGI_MP_SOURCE for task-safe errno on IRIX | |
7843 | ||
7844 | 2004-02-09 Ed Schonberg <schonberg@gnat.com> | |
7845 | ||
7846 | * exp_ch3.adb (Build_Slice_Assignment): Handle properly case of null | |
7847 | slices. | |
7848 | ||
7849 | * exp_ch6.adb (Expand_Call): Do not inline a call when the subprogram | |
7850 | is nested in an instance that is not frozen yet, to avoid | |
7851 | order-of-elaboration problems in gigi. | |
7852 | ||
7853 | * sem_attr.adb (Analyze_Attribute, case 'Access): Within an inlined | |
7854 | body the attribute is legal. | |
7855 | ||
7856 | 2004-02-09 Robert Dewar <dewar@gnat.com> | |
7857 | ||
7858 | * s-rident.ads: Minor comment correction | |
7859 | ||
7860 | * targparm.adb: Remove dependence on uintp completely. There was | |
7861 | always a bug in Make in that it called Targparm before initializing | |
7862 | the Uint package. The old code appeared to get away with this, but | |
7863 | the new code did not! This caused an assertion error in gnatmake. | |
7864 | ||
7865 | * targparm.ads: Fix bad comment, restriction pragmas with parameters | |
7866 | are indeed fully supported. | |
7867 | ||
725c60f8 AM |
7868 | 2004-02-06 Alan Modra <amodra@bigpond.net.au> |
7869 | ||
7870 | * misc.c (default_pass_by_ref): Update INIT_CUMULATIVE_ARGS call. | |
7871 | ||
136e64db KH |
7872 | 2004-02-05 Kazu Hirata <kazu@cs.umass.edu> |
7873 | ||
7874 | * ada/utils.c (create_param_decl): Replace PROMOTE_PROTOTYPES | |
7875 | with targetm.calls.promote_prototypes. | |
7876 | ||
06effe87 AC |
7877 | 2004-02-04 Robert Dewar <dewar@gnat.com> |
7878 | ||
7879 | * 5gtasinf.adb, 5gtasinf.ads, 5gtaprop.adb, ali.adb, | |
7880 | ali.ads, gprcmd.adb: Minor reformatting | |
7881 | ||
7882 | * bindgen.adb: Output restrictions string for new style restrictions | |
7883 | handling | |
7884 | ||
7885 | * impunit.adb: Add s-rident.ads (System.Rident) and | |
7886 | s-restri (System.Restrictions) | |
7887 | ||
7888 | * lib-writ.adb: Fix bug in writing restrictions string (last few | |
7889 | entries wrong) | |
7890 | ||
7891 | * s-restri.ads, s-restri.adb: Change name Restrictions to | |
7892 | Run_Time_Restrictions to avoid conflict with package name. | |
7893 | Add circuit to read and acquire run time restrictions. | |
7894 | ||
7895 | 2004-02-04 Jose Ruiz <ruiz@act-europe.fr> | |
7896 | ||
7897 | * restrict.ads, restrict.adb: Use the new restriction | |
7898 | No_Task_Attributes_Package instead of the old No_Task_Attributes. | |
7899 | ||
7900 | * sem_prag.adb: No_Task_Attributes is a synonym of | |
7901 | No_Task_Attributes_Package. | |
7902 | ||
7903 | * snames.ads, snames.adb: New entry for proper handling of | |
7904 | No_Task_Attributes. | |
7905 | ||
7906 | * s-rident.ads: Adding restriction No_Task_Attributes_Package | |
7907 | (AI-00249) that supersedes the GNAT specific restriction | |
7908 | No_Task_Attributes. | |
7909 | ||
7910 | 2004-02-04 Ed Schonberg <schonberg@gnat.com> | |
7911 | ||
90afe2c9 | 7912 | * sem_prag.adb: |
06effe87 AC |
7913 | (Analyze_Pragma, case Warnings): In an inlined body, as in an instance |
7914 | body, an identifier may be wrapped in an unchecked conversion. | |
7915 | ||
7916 | 2004-02-04 Vincent Celier <celier@gnat.com> | |
7917 | ||
7918 | * lib-writ.ads: Comment update for the W lines | |
7919 | ||
7920 | * bld.adb: (Expression): An empty string list is static | |
7921 | ||
7922 | * fname-uf.adb: Minor comment update | |
7923 | ||
7924 | * fname-uf.ads: (Get_File_Name): Document new parameter May_Fail | |
7925 | ||
7926 | * gnatbind.adb: Initialize Cumulative_Restrictions with the | |
7927 | restrictions on the target. | |
7928 | ||
2fb00d7f KH |
7929 | 2004-02-03 Kazu Hirata <kazu@cs.umass.edu> |
7930 | ||
7931 | * ada/trans.c (gigi): Use gen_rtx_SYMBOL_REF instead of | |
7932 | gen_rtx. | |
7933 | ||
5ed23e25 AC |
7934 | 2004-02-02 Arnaud Charlet <charlet@gnat.com> |
7935 | ||
7936 | * Makefile.in: Remove setting of THREADSLIB on mips o32, unneeded. | |
7937 | ||
6e937c1c AC |
7938 | 2004-02-02 Vincent Celier <celier@gnat.com> |
7939 | ||
7940 | * gprcmd.adb (Check_Args): If condition is false, print the invoked | |
7941 | comment before the usage. | |
7942 | Gprcmd: Fail when command is not recognized. | |
7943 | (Usage): Document command "prefix" | |
7944 | ||
7945 | * g-md5.adb (Digest): Process last block. | |
7946 | (Update): Do not process last block. Store remaining characters and | |
7947 | length in Context. | |
7948 | ||
7949 | * g-md5.ads (Update): Document that several call to update are | |
7950 | equivalent to one call with the concatenated string. | |
7951 | (Context): Add fields to allow new Update behaviour. | |
7952 | ||
7953 | * fname-uf.ads/adb (Get_File_Name): New Boolean parameter May_Fail, | |
7954 | defaulted to False. | |
7955 | When May_Fail is True and no existing file can be found, return No_File. | |
7956 | ||
7957 | * 6vcstrea.adb: Inlined functions are now wrappers to implementation | |
7958 | functions. | |
7959 | ||
7960 | * lib-writ.adb (Write_With_Lines): When body file does not exist, use | |
7961 | spec file name instead on the W line. | |
7962 | ||
7963 | 2004-02-02 Robert Dewar <dewar@gnat.com> | |
7964 | ||
7965 | * ali.adb: Read and acquire info from new format restrictions lines | |
7966 | ||
7967 | * bcheck.adb: Add circuits for checking restrictions with parameters | |
7968 | ||
7969 | * bindgen.adb: Output dummy restrictions data | |
7970 | To be changed later | |
7971 | ||
7972 | * ali.ads, checks.adb, exp_aggr.adb, exp_attr.adb, exp_ch11.adb, | |
7973 | exp_ch3.adb, exp_ch5.adb, exp_ch6.adb, exp_ch7.adb, exp_util.adb, | |
7974 | freeze.adb, gnat1drv.adb, sem_attr.adb, sem_ch10.adb, sem_ch11.adb, | |
7975 | sem_ch12.adb, targparm.adb, targparm.ads, tbuild.adb, sem_ch2.adb, | |
7976 | sem_elab.adb, sem_res.adb: Minor changes for new restrictions handling. | |
7977 | ||
7978 | * exp_ch9.adb (Build_Master_Entity): Cleanup the code (also suppresses | |
7979 | the warning message on access to possibly uninitialized variable S) | |
7980 | Minor changes for new restrictions handling. | |
7981 | ||
7982 | * gnatbind.adb: Minor reformatting | |
7983 | Minor changes for new restrictions handling | |
7984 | Move circuit for -r processing here from bcheck (cleaner) | |
7985 | ||
7986 | * gnatcmd.adb, gnatlink.adb: Minor reformatting | |
7987 | ||
7988 | * lib-writ.adb: Output new format restrictions lines | |
7989 | ||
7990 | * lib-writ.ads: Document new R format lines for new restrictions | |
7991 | handling. | |
7992 | ||
7993 | * s-restri.ads/adb: New files | |
7994 | ||
7995 | * Makefile.rtl: Add entry for s-restri.ads/adb | |
7996 | ||
7997 | * par-ch3.adb: Fix bad error messages starting with upper case letter | |
7998 | Minor reformatting | |
7999 | ||
8000 | * restrict.adb: Major rewrite throughout for new restrictions handling | |
8001 | Major point is to handle restrictions with parameters | |
8002 | ||
8003 | * restrict.ads: Major changes in interface to handle restrictions with | |
8004 | parameters. Also generally simplifies setting of restrictions. | |
8005 | ||
8006 | * snames.ads/adb: New entry for proper handling of No_Requeue | |
8007 | ||
8008 | * sem_ch3.adb (Count_Tasks): New circuitry for implementing Max_Tasks | |
8009 | restriction counting. | |
8010 | Other minor changes for new restrictions handling | |
8011 | ||
8012 | * sem_prag.adb: No_Requeue is a synonym for No_Requeue_Statements. | |
8013 | Restriction_Warnings now allows full parameter notation | |
8014 | Major rewrite of Restrictions for new restrictions handling | |
8015 | ||
8016 | 2004-02-02 Javier Miranda <miranda@gnat.com> | |
8017 | ||
8018 | * par-ch3.adb (P_Identifier_Declarations): Give support to the Ada 0Y | |
8019 | syntax rule for object renaming declarations. | |
8020 | (P_Array_Type_Definition): Give support for the Ada 0Y syntax rule for | |
8021 | component definitions. | |
8022 | ||
8023 | * sem_ch3.adb (Analyze_Component_Declaration): Give support to access | |
8024 | components. | |
8025 | (Array_Type_Declaration): Give support to access components. In addition | |
8026 | it was also modified to reflect the name of the object in anonymous | |
8027 | array types. The old code did not take into account that it is possible | |
8028 | to have an unconstrained anonymous array with an initial value. | |
8029 | (Check_Or_Process_Discriminants): Allow access discriminant in | |
8030 | non-limited types. | |
8031 | (Process_Discriminants): Allow access discriminant in non-limited types | |
8032 | Initialize the new Access_Definition field in N_Object_Renaming_Decl | |
8033 | node. Change Ada0Y to Ada 0Y in comments | |
8034 | ||
8035 | * sem_ch4.adb (Find_Equality_Types): Allow anonymous access types in | |
8036 | equality operators. | |
8037 | Change Ada0Y to Ada 0Y in comments | |
8038 | ||
8039 | * sem_ch8.adb (Analyze_Object_Renaming): Give support to access | |
8040 | renamings Change Ada0Y to Ada 0Y in comments | |
8041 | ||
8042 | * sem_type.adb (Find_Unique_Type): Give support to the equality | |
8043 | operators for universal access types | |
8044 | Change Ada0Y to Ada 0Y in comments | |
8045 | ||
8046 | * sinfo.adb (Access_Definition, Set_Access_Definition): New subprograms | |
8047 | ||
8048 | * sinfo.ads (N_Component_Definition): Addition of Access_Definition | |
8049 | field. | |
8050 | (N_Object_Renaming_Declaration): Addition of Access_Definition field | |
8051 | Change Ada0Y to Ada 0Y in comments | |
8052 | ||
8053 | * sprint.adb (Sprint_Node_Actual): Give support to the new syntax for | |
8054 | component definition and object renaming nodes | |
8055 | Change Ada0Y to Ada 0Y in comments | |
8056 | ||
8057 | 2004-02-02 Jose Ruiz <ruiz@act-europe.fr> | |
8058 | ||
8059 | * restrict.adb: Use the new restriction identifier | |
8060 | No_Requeue_Statements instead of the old No_Requeue for defining the | |
8061 | restricted profile. | |
8062 | ||
8063 | * sem_ch9.adb (Analyze_Requeue): Check the new restriction | |
8064 | No_Requeue_Statements. | |
8065 | ||
8066 | * s-rident.ads: Adding restriction No_Requeue_Statements (AI-00249) | |
8067 | that supersedes the GNAT specific restriction No_Requeue. The later is | |
8068 | kept for backward compatibility. | |
8069 | ||
8070 | 2004-02-02 Ed Schonberg <schonberg@gnat.com> | |
8071 | ||
8072 | * lib.ads, i-cobol.ads, * s-stoele.ads, s-thread.ads, style.ads, | |
8073 | 5staprop.adb, atree.adb, atree.ads, g-crc32.ads: Remove redundant | |
8074 | pragma and fix incorrect ones. | |
8075 | ||
8076 | * sem_prag.adb For pragma Inline and pragma Pure_Function, emit a | |
8077 | warning if the pragma is redundant. | |
8078 | ||
8079 | 2004-02-02 Thomas Quinot <quinot@act-europe.fr> | |
8080 | ||
8081 | * 5staprop.adb: Add missing 'constant' keywords. | |
8082 | ||
8083 | * Makefile.in: use consistent value for SYMLIB on | |
8084 | platforms where libaddr2line is supported. | |
8085 | ||
8086 | 2004-02-02 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | |
8087 | ||
8088 | * utils.c (end_subprog_body): Do not call rest_of_compilation if just | |
8089 | annotating types. | |
8090 | ||
8091 | 2004-02-02 Olivier Hainque <hainque@act-europe.fr> | |
8092 | ||
8093 | * init.c (__gnat_install_handler): Setup an alternate stack for signal | |
8094 | handlers in the environment thread. This allows proper propagation of | |
8095 | an exception on stack overflows in this thread even when the builtin | |
8096 | ABI stack-checking scheme is used without support for a stack reserve | |
8097 | region. | |
8098 | ||
8099 | * utils.c (create_field_decl): Augment the head comment about bitfield | |
8100 | creation, and don't account for DECL_BIT_FIELD in DECL_NONADDRESSABLE_P | |
8101 | here, because the former is not accurate enough at this point. | |
8102 | Let finish_record_type decide instead. | |
8103 | Don't make a bitfield if the field is to be addressable. | |
8104 | Always set a size for the field if the record is packed, to ensure the | |
8105 | checks for bitfield creation are triggered. | |
8106 | (finish_record_type): During last pass over the fields, clear | |
8107 | DECL_BIT_FIELD when possible in the !STRICT_ALIGNMENT case, as this is | |
8108 | not covered by the calls to layout_decl. Adjust DECL_NONADDRESSABLE_P | |
8109 | from DECL_BIT_FIELD. | |
8110 | ||
71cbe2c1 KC |
8111 | 2004-01-30 Kelley Cook <kcook@gcc.gnu.org> |
8112 | ||
90afe2c9 | 8113 | * Make-lang.in (doc/gnat_ug_unx.dvi): Use $(abs_docdir). |
71cbe2c1 KC |
8114 | (doc/gnat_ug_vms.dvi, doc/gnat_ug_unx.dvi): Likewise. |
8115 | (doc/gnat_ug_unx.dvi, doc/gnat-style.dvi): Likewise. | |
8116 | ||
7f996f90 RO |
8117 | 2004-01-26 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
8118 | ||
8119 | * Makefile.in (mips-sgi-irix5): Remove -lathread from THREADSLIB. | |
8120 | ||
8121 | * 5fsystem.ads (Functions_Return_By_DSP): Set to False. | |
8122 | (ZCX_By_Default): Likewise. | |
8123 | (Front_End_ZCX_Support): Likewise. | |
8124 | ||
8125 | * 5gtaprop.adb (Stack_Guard): Mark T, On unreferenced. | |
8126 | (Initialize_Lock): Mark Level unreferenced. | |
8127 | (Sleep): Mark Reason unreferenced. | |
8128 | (Timed_Sleep): Likewise. | |
8129 | (Wakeup): Likewise. | |
8130 | (Exit_Task): Use Result. | |
8131 | (Check_No_Locks): Mark Self_ID unreferenced. | |
90afe2c9 | 8132 | |
7f996f90 RO |
8133 | * 5gtasinf.adb (New_Sproc): Make Attr constant. |
8134 | (Bound_Thread_Attributes): Make Sproc constant. | |
8135 | (New_Bound_Thread_Attributes): Likewise. | |
8136 | ||
26fd4eae AC |
8137 | 2004-01-26 Ed Schonberg <schonberg@gnat.com> |
8138 | ||
8139 | * exp_ch3.adb (Build_Slice_Assignment): New TSS procedure for | |
8140 | one-dimensional array an slice assignments, when component type is | |
8141 | controlled. | |
8142 | ||
8143 | * exp_ch5.adb (Expand_Assign_Array): If array is one-dimensional, | |
8144 | component type is controlled, and control_actions are in effect, use | |
8145 | TSS procedure rather than generating inline code. | |
8146 | ||
8147 | * exp_tss.ads (TSS_Slice_Assign): New TSS procedure for one-dimensional | |
8148 | arrays with controlled components. | |
8149 | ||
8150 | 2004-01-26 Vincent Celier <celier@gnat.com> | |
8151 | ||
8152 | * gnatcmd.adb (GNATCmd): Add specification of argument file on the | |
8153 | command line for the non VMS case. | |
8154 | ||
8155 | * gnatlink.adb (Process_Binder_File): When building object file, if | |
8156 | GNU linker is used, put all object paths between quotes, to prevent ld | |
8157 | error when there are unusual characters (such as '!') in the paths. | |
8158 | ||
8159 | * Makefile.generic: When there are sources in Ada and the main is in | |
8160 | C/C++, invoke gnatmake with -B, instead of -z. | |
8161 | ||
8162 | * vms_conv.adb (Preprocess_Command_Data): New procedure, extracted | |
8163 | from VMS_Conversion. | |
8164 | (Process_Argument): New procedure, extracted from VMS_Conversion. Add | |
8165 | specification of argument file on the command line. | |
8166 | ||
8167 | 2004-01-26 Bernard Banner <banner@gnat.com> | |
8168 | ||
8169 | * Makefile.in: Enable GMEM_LIB and SYMLIB for x86_64 | |
8170 | ||
8171 | 2004-01-26 Ed Schonberg <schonberg@gnat.com> | |
8172 | ||
8173 | * snames.adb: Update copyright notice. | |
8174 | Add info on slice assignment for controlled arrays. | |
8175 | ||
b7e429ab AC |
8176 | 2004-01-23 Robert Dewar <dewar@gnat.com> |
8177 | ||
8178 | * exp_aggr.adb: Minor reformatting | |
8179 | ||
8180 | * exp_ch9.adb: Minor code clean up | |
8181 | Minor reformatting | |
8182 | Fix bad character in comment | |
8183 | ||
8184 | PR ada/13471 | |
8185 | * targparm.adb (Get_Target_Parameters): Give clean abort error on | |
8186 | unexpected end of file, along with more detailed message. | |
8187 | ||
8188 | 2004-01-23 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | |
8189 | ||
8190 | * exp_pakd.adb (Install_PAT): Clear Freeze_Node for PAT and Etype of | |
8191 | PAT. | |
8192 | ||
8193 | * decl.c (copy_alias_set): New function. | |
8194 | (gnat_to_gnu_entity, make_aligning_type, make_packable_type): Use it. | |
8195 | ||
8196 | 2004-01-23 Doug Rupp <rupp@gnat.com> | |
8197 | ||
8198 | * Makefile.in (install-gnatlib): Change occurrences of lib$$file to | |
8199 | lib$${file} in case subsequent character is not a separator. | |
8200 | ||
8201 | 2004-01-23 Vincent Celier <celier@gnat.com> | |
8202 | ||
8203 | * 5vml-tgt.adb (Build_Dynamic_Library): Invoke gcc with -shared-libgcc | |
8204 | when the GCC version is at least 3. | |
8205 | ||
8206 | * make.adb: (Scan_Make_Arg): Pass -B to Scan_Make_Switches | |
8207 | Remove all "Opt.", to prepare for opt split | |
8208 | ||
8209 | * prj-part.adb (Parse_Single_Project): New Boolean out parameter | |
8210 | Extends_All. Set to True when the project parsed is an extending all | |
8211 | project. Fails for importing an extending all project only when the | |
8212 | imported project is an extending all project. | |
8213 | (Post_Parse_Context_Clause): Set Is_Extending_All to the with clause, | |
8214 | depending on the value of Extends_All returned. | |
8215 | ||
8216 | * prj-proc.adb (Process): Check that no project shares its object | |
8217 | directory with a project that extends it, directly or indirectly, | |
8218 | including a virtual project. | |
8219 | Check that no project extended by another project shares its object | |
8220 | directory with another also extended project. | |
8221 | ||
8222 | * prj-tree.adb (Is_Extending_All, Set_Is_Extending_All): Allow for | |
8223 | Kind = N_With_Clause | |
8224 | ||
8225 | * prj-tree.ads: Minor reformatting | |
8226 | Indicate that Flag2 also applies to N_With_Clause (Is_Extending_All). | |
8227 | ||
8228 | 2004-01-23 Ed Schonberg <schonberg@gnat.com> | |
8229 | ||
8230 | * sem_ch13.adb (Analyze_Attribute_Definition_Clause): If the attribute | |
8231 | applies to a type with an incomplete view, use full view in Name of | |
8232 | clause, for consistency with uses of Get_Attribute_Definition_Clause. | |
8233 | ||
8234 | 2004-01-23 Arnaud Charlet <charlet@act-europe.fr> | |
8235 | ||
8236 | * 5itaprop.adb (Set_Priority): Reset the priority to 0 when using | |
8237 | SCHED_RR, since other values are not supported by this policy. | |
8238 | (Initialize): Move initialization of mutex attribute to package | |
8239 | elaboration, to prevent early access to this variable. | |
8240 | ||
8241 | * Makefile.in: Remove mention of Makefile.adalib, unused. | |
8242 | ||
b291953f AC |
8243 | * Makefile.adalib, 1aexcept.adb, 1aexcept.ads, 1ic.ads, 1ssecsta.adb, |
8244 | 1ssecsta.ads: Removed, unused. | |
b7e429ab | 8245 | |
adc04486 AC |
8246 | 2004-01-21 Javier Miranda <miranda@gnat.com> |
8247 | ||
8248 | * exp_aggr.adb (Build_Record_Aggr_Code): Do not build the master | |
8249 | entity if already built in the current scope. | |
8250 | ||
8251 | * exp_ch9.adb (Build_Master_Entity): Do not set the has_master_entity | |
8252 | reminder in internal scopes. Required for nested limited aggregates. | |
8253 | ||
8254 | 2004-01-21 Doug Rupp <rupp@gnat.com> | |
8255 | ||
8256 | * Makefile.in (hyphen): New variable, default value '-'. Set to '_' on | |
8257 | VMS. Replace all occurences of libgnat- and libgnarl- with | |
8258 | libgnat$(hyphen) and libgnarl$(hyphen). | |
8259 | Fixed shared library build problem on VMS. | |
8260 | ||
8261 | 2004-01-21 Robert Dewar <dewar@gnat.com> | |
8262 | ||
8263 | * mlib-prj.adb: Minor reformatting | |
8264 | ||
8265 | 2004-01-21 Thomas Quinot <quinot@act-europe.fr> | |
8266 | ||
8267 | * prj-tree.adb, 7staprop.adb, vms_conv.adb, xr_tabls.adb: Add missing | |
8268 | 'constant' keywords for declaration of pointers that are not modified. | |
8269 | ||
8270 | * exp_pakd.adb: Fix English in comment. | |
8271 | ||
8272 | 2004-01-21 Ed Schonberg <schonberg@gnat.com> | |
8273 | ||
8274 | PR ada/10889 | |
8275 | * sem_ch3.adb (Analyze_Subtype_Declaration): For an array subtype, | |
8276 | copy all attributes of the parent, including the foreign language | |
8277 | convention. | |
8278 | ||
8279 | 2004-01-21 Sergey Rybin <rybin@act-europe.fr> | |
8280 | ||
8281 | PR ada/10565 | |
8282 | * sem_ch9.adb (Analyze_Delay_Alternative): Add expression type check | |
8283 | for 'delay until' statement. | |
8284 | ||
a541f69d KC |
8285 | 2004-01-20 Kelley Cook <kcook@gcc.gnu.org> |
8286 | ||
8287 | * Make-lang.in: Replace $(docdir) with doc. | |
8288 | (doc/gnat_ug_unx.info, doc/gnat_ug_vwx.info, doc/gnat_ug_vms.info | |
8289 | doc/gnat_ug_wnt.info, doc/gnat_rm.info, doc/gnat-style.info): Update | |
8290 | to use consistent MAKEINFO rule. | |
8291 | (ada.man, ada.srcman): Dummy entry. | |
8292 | (ADA_INFOFILES): Define. | |
8293 | (ada.info, ada.srcinfo): New rules. | |
8294 | ||
c01a9391 AC |
8295 | 2004-01-19 Arnaud Charlet <charlet@act-europe.fr> |
8296 | ||
8297 | * utils.c: Update copyright notice, missed in previous change. | |
8298 | ||
8299 | 2004-01-19 Vincent Celier <celier@gnat.com> | |
8300 | ||
8301 | * mlib-prj.adb (Build_Library.Add_ALI_For): Only add the ALI to the | |
8302 | args if Bind is True. Set First_ALI, if not already done. | |
8303 | (Build_Library): For Stand Alone Libraries, extract from one ALI file | |
8304 | an eventual --RTS switch, for gnatbind, and all backend switches + | |
8305 | --RTS, for linking. | |
8306 | ||
8307 | 2004-01-19 Robert Dewar <dewar@gnat.com> | |
8308 | ||
8309 | * sem_attr.adb, memtrack.adb: Minor reformatting | |
8310 | ||
8311 | 2004-01-19 Ed Schonberg <schonberg@gnat.com> | |
8312 | ||
8313 | * exp_ch6.adb (Expand_Call): Remove code to fold calls to functions | |
8314 | that rename enumeration literals. This is properly done in sem_eval. | |
8315 | ||
8316 | * sem_eval.ads, sem_eval.adb (Eval_Call): New procedure to fold calls | |
8317 | to functions that rename enumeration literals. | |
8318 | ||
8319 | * sem_res.adb (Resolve_Call): Use Eval_Call to fold static calls to | |
8320 | functions that rename enumeration literals. | |
8321 | ||
510d1e80 KH |
8322 | 2004-01-16 Kazu Hirata <kazu@cs.umass.edu> |
8323 | ||
8324 | * Make-lang.in (utils.o): Depend on target.h. | |
8325 | * utils.c: Include target.h. | |
8326 | (process_attributes): Use targetm.have_named_sections instead | |
8327 | of ASM_OUTPUT_SECTION_NAME. | |
8328 | ||
fbf3e0dd AJ |
8329 | 2004-01-16 Andreas Jaeger <aj@suse.de> |
8330 | ||
8331 | * Makefile.in: Add $(DESTDIR). | |
8332 | ||
acd47d2a AC |
8333 | 2004-01-15 Olivier Hainque <hainque@act-europe.fr> |
8334 | ||
8335 | * decl.c (gnat_to_gnu_entity, E_Variable): Retrieve the object size | |
8336 | also when not defining if a Size clause applies. That information is | |
8337 | not to be ignored. | |
8338 | ||
8339 | 2004-01-15 Arnaud Charlet <charlet@act-europe.fr> | |
8340 | ||
8341 | * Makefile.in (install-gnatlib, gnatlib-shared-default): Set up | |
8342 | symbolic links for the shared gnat run time when needed. | |
8343 | ||
8344 | 2004-01-15 Vasiliy Fofanov <fofanov@act-europe.fr> | |
8345 | ||
8346 | * memtrack.adb (Gmem_Initialize): check that gmem.out could be opened | |
8347 | for writing, and terminate with an error message if not. | |
8348 | ||
8349 | 2004-01-15 Ed Schonberg <schonberg@gnat.com> | |
8350 | ||
8351 | * sem_attr.adb (Resolve_Attribute, case 'Access): Remove spurious | |
8352 | warning on an access to subprogram in an instance, when the target | |
8353 | type is declared in the same generic unit. | |
8354 | (Eval_Attribute): If 'access is known to fail accessibility check, | |
8355 | rewrite as a raise statement. | |
8356 | ||
8357 | 2004-01-15 GNAT Script <nobody@gnat.com> | |
8358 | ||
8359 | * Make-lang.in: Makefile automatically updated | |
8360 | ||
03787dfd KC |
8361 | 2004-01-15 Kelley Cook <kcook@gcc.gnu.org> |
8362 | ||
8363 | * Make-lang.in (ada.srcextra): Dummy entry. | |
8364 | ||
73e232f0 KC |
8365 | 2004-01-14 Kelley Cook <kcook@gcc.gnu.org> |
8366 | ||
8367 | * Make-lang.in: Only regenerate texi files if --enable-maintainer-mode. | |
8368 | ||
9bc43c53 AC |
8369 | 2004-01-13 Ed Schonberg <schonberg@gnat.com> |
8370 | ||
8371 | * exp_ch3.adb (Build_Assignment): Fix bug in handling of controlled | |
8372 | components that are initialized with aggregates. | |
8373 | ||
8374 | 2004-01-13 Vincent Celier <celier@gnat.com> | |
8375 | ||
8376 | * gnatlink.adb (Process_Binder_File): To find directory of shared | |
8377 | libgcc, if "gcc-lib" is not a subdirectory, look for the last | |
8378 | subdirectory "lib" in the path of the shared libgnat or libgnarl. | |
8379 | ||
8380 | * make.adb (Gnatmake): If GCC version is at least 3, link with | |
8381 | -shared-libgcc, when there is at least one shared library project. | |
8382 | ||
8383 | * opt.ads (GCC_Version): New integer constant. | |
8384 | ||
8385 | * adaint.c (get_gcc_version): New function. | |
8386 | ||
8387 | 2004-01-13 Robert Dewar <dewar@gnat.com> | |
8388 | ||
8389 | * sem_dist.adb, sem_res.adb, sem_util.adb, | |
8390 | sprint.adb, 3zsocthi.adb, einfo.adb, cstand.adb, | |
8391 | exp_ch4.adb, exp_ch9.adb, exp_dist.adb: Minor reformatting | |
8392 | ||
8393 | 2004-01-13 Thomas Quinot <quinot@act-europe.fr> | |
8394 | ||
8395 | * s-interr.adb, s-stache.adb, s-taenca.adb, g-regpat.adb, | |
8396 | g-spitbo.adb, 5itaprop.adb: Add missing 'constant' keywords in object | |
8397 | declarations. | |
8398 | ||
8b52de7b AC |
8399 | 2004-01-12 Arnaud Charlet <charlet@act-europe.fr> |
8400 | ||
f6ea0188 AC |
8401 | * misc.c: Remove trailing spaces. |
8402 | Update copyright notice missed in previous change. | |
8403 | ||
8b52de7b AC |
8404 | PR ada/13572 |
8405 | * bld.adb (Recursive_Process): Reference prefix/share/gnat instead of | |
8406 | prefix/share/make | |
8407 | ||
8408 | * Makefile.generic: Update copyright. | |
8409 | Add license notice. | |
8410 | ||
8411 | * Makefile.in (ADA_SHARE_MAKE_DIR): Set to prefix/share/gnat instead | |
8412 | of prefix/share/make. | |
8413 | ||
8414 | * Makefile.prolog: Update copyright. | |
8415 | Add license notice. | |
8416 | ||
8417 | 2004-01-12 Laurent Pautet <pautet@act-europe.fr> | |
8418 | ||
8419 | * 3vsocthi.adb, 3vsocthi.ads, 3wsocthi.adb, | |
8420 | 3wsocthi.ads, 3zsocthi.adb, 3zsocthi.ads, g-socthi.adb, | |
8421 | g-socthi.ads (Socket_Error_Message): Return C.Strings.chars_ptr | |
8422 | instead of String. | |
8423 | ||
8424 | * g-socket.adb (Raise_Socket_Error): Use new Socket_Error_Message | |
8425 | signature. | |
8426 | ||
8427 | 2004-01-12 Javier Miranda <miranda@gnat.com> | |
8428 | ||
8429 | * cstand.adb, exp_aggr.adb, exp_ch3.adb, exp_ch9.adb, exp_dist.adb, | |
8430 | exp_imgv.adb, exp_pakd.adb, exp_util.adb, par-ch3.adb, sem.adb, | |
8431 | sem_ch12.adb, sem_ch3.adb, sem_dist.adb, sem_prag.adb, sem_res.adb, | |
8432 | sem_util.adb, sinfo.adb, sinfo.ads, sprint.adb: Addition of | |
8433 | Component_Definition node. | |
8434 | ||
8435 | 2004-01-12 Ed Falis <falis@gnat.com> | |
8436 | ||
8437 | * impunit.adb: Add GNAT.Secondary_Stack_Info as user-visible unit | |
8438 | ||
8439 | 2004-01-12 Thomas Quinot <quinot@act-europe.fr> | |
8440 | ||
8441 | * link.c: Change default libgnat kind to STATIC for FreeBSD. | |
8442 | ||
8443 | 2004-01-12 Bernard Banner <banner@gnat.com> | |
8444 | ||
8445 | * Makefile.in: map 86numaux to a-numaux for x86_64 | |
8446 | ||
8447 | 2004-01-12 Ed Schonberg <schonberg@gnat.com> | |
8448 | ||
8449 | * lib-xref.adb (Get_Type_Reference): If the type is the subtype entity | |
8450 | generated to rename a generic actual, go to the actual itself, the | |
8451 | subtype is not a user-visible entity. | |
8452 | ||
8453 | * sem_ch7.adb (Uninstall_Declarations): If an entity in the visible | |
8454 | part is a private subtype, reset the visibility of its full view, if | |
8455 | any, to be consistent. | |
8456 | ||
8457 | PR ada/13417 | |
8458 | * sem_ch12.adb (Analyze_Formal_Package): Diagnose properly an attempt | |
8459 | to use a generic package G as a formal package for another generic | |
8460 | declared within G. | |
8461 | ||
8462 | 2004-01-12 Robert Dewar <dewar@gnat.com> | |
8463 | ||
8464 | * trans.c (Eliminate_Error_Msg): New procedure called to generate msg | |
8465 | ||
8466 | * usage.adb: Remove mention of obsolete -gnatwb switch | |
8467 | Noticed during code reading | |
8468 | ||
8469 | 2004-01-12 Jerome Guitton <guitton@act-europe.fr> | |
8470 | ||
8471 | * 1ssecsta.adb: Minor changes for -gnatwa warnings | |
8472 | ||
8473 | 2004-01-12 GNAT Script <nobody@gnat.com> | |
8474 | ||
8475 | * Make-lang.in: Makefile automatically updated | |
8476 | ||
0fab64a3 MM |
8477 | 2004-01-09 Mark Mitchell <mark@codesourcery.com> |
8478 | ||
8479 | * misc.c (gnat_expand_expr): Add alt_rtl parameter. | |
8480 | ||
47527624 RO |
8481 | 2004-01-07 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
8482 | ||
8483 | * link.c [sgi] (shared_libgnat_default): Change to STATIC. | |
8484 | ||
dedebde1 KC |
8485 | 2004-01-05 Kelley Cook <kcook@gcc.gnu.org> |
8486 | ||
fbf3e0dd | 8487 | * Make-lang.in: Revert stamp-xgnatug change from 2003-12-18. |
dedebde1 KC |
8488 | Update comment and copyright date. |
8489 | * stamp-xgnatug: Delete. | |
8490 | ||
91b1417d AC |
8491 | 2004-01-05 Robert Dewar <dewar@gnat.com> |
8492 | ||
8493 | * 1ssecsta.ads: Default_Secondary_Stack is not a constant since it may | |
8494 | be modified by the binder generated main program if the -D switch is | |
8495 | used. | |
8496 | ||
8497 | * 4onumaux.ads, 4znumaux.ads: Add Pure_Function pragmas for all | |
8498 | imported functions (since now we expect this to be done for imported | |
8499 | functions) | |
8500 | ||
8501 | * 5vtaprop.adb: Add several ??? for sections requiring more comments | |
8502 | Minor reformatting throughout | |
8503 | ||
8504 | * 5zinit.adb: Minor reformatting | |
8505 | Add 2004 to copyright date | |
8506 | Minor changes to avoid -gnatwa warnings | |
8507 | Correct some instances of using OR instead of OR ELSE (noted while | |
8508 | doing reformatting) | |
8509 | ||
8510 | * sprint.adb: Minor updates to avoid -gnatwa warnings | |
8511 | ||
fbf3e0dd | 8512 | * s-secsta.ads, s-secsta.adb: |
91b1417d AC |
8513 | (SS_Get_Max): New function to obtain high water mark for ss stack |
8514 | Default_Secondary_Stack is not a constant since it may be modified by | |
8515 | the binder generated main program if the -D switch is used. | |
8516 | ||
8517 | * switch-b.adb: New -Dnnn switch for binder | |
8518 | ||
fbf3e0dd | 8519 | * switch-c.adb: |
91b1417d AC |
8520 | Make -gnatg imply all warnings currently in -gnatwa |
8521 | ||
8522 | * vms_conv.adb: Minor reformatting | |
8523 | Add 2004 to copyright notice | |
8524 | Add 2004 to printed copyright notice | |
8525 | ||
8526 | * 3vexpect.adb, 4zsytaco.adb, 3wsocthi.adb, 3zsocthi.adb, | |
8527 | 3zsocthi.adb, 56taprop.adb, 56tpopsp.adb, 5amastop.adb, | |
8528 | 5aml-tgt.adb, 5ataprop.adb, 5ataprop.adb, 5atpopsp.adb, | |
8529 | 5ftaprop.adb, 5ginterr.adb, 5gmastop.adb, 5gml-tgt.adb, | |
8530 | 5gtaprop.adb, 5hml-tgt.adb, 5hml-tgt.adb, 5hml-tgt.adb, | |
8531 | 5htaprop.adb, 5htraceb.adb, 5itaprop.adb, 5lml-tgt.adb, | |
8532 | 5sml-tgt.adb, 5staprop.adb, 5staprop.adb, 5stpopsp.adb, | |
8533 | 5vasthan.adb, 5vinmaop.adb, 5vinterr.adb, 5vtaprop.adb, | |
8534 | 5vml-tgt.adb, 5vtaprop.adb, 5wosprim.adb, 5wtaprop.adb, | |
8535 | 5zinterr.adb, 5zintman.adb, 5zml-tgt.adb, 5ztaprop.adb, | |
8536 | 6vcpp.adb, 6vcstrea.adb, 7staprop.adb, 7stpopsp.adb, | |
8537 | vxaddr2line.adb, vxaddr2line.adb, xref_lib.adb, xr_tabls.adb, | |
8538 | xr_tabls.ads, s-tasdeb.adb, s-tasdeb.adb, sem_res.ads, | |
8539 | sem_util.adb, sem_util.adb, sem_util.ads, s-interr.adb, | |
8540 | checks.adb, clean.adb, cstand.adb, einfo.ads, | |
8541 | einfo.adb, exp_aggr.adb, exp_ch11.adb, exp_ch3.adb, | |
8542 | exp_ch4.adb, exp_ch5.adb, exp_ch7.adb, exp_ch9.adb, | |
8543 | prj-nmsc.adb, prj-pp.adb, prj-util.adb, sem_attr.adb, | |
8544 | sem_ch10.adb, sem_ch12.adb, sem_ch4.adb, g-dirope.adb, | |
8545 | g-dirope.ads, gnatlbr.adb, i-cstrea.adb, inline.adb, | |
8546 | lib-xref.adb, sem_ch5.adb, sem_ch7.adb, sem_ch8.adb: | |
8547 | Minor reformatting and code clean ups. | |
8548 | Minor changes to prevent -gnatwa warnings | |
8549 | ||
8550 | * ali.adb: Minor reformatting and cleanup of code | |
8551 | Acquire new SS indication of secondary stack use from ali files | |
8552 | ||
8553 | * a-numaux.ads: Add Pure_Function pragmas for all imported functions | |
8554 | (since now we expect this to be done for imported functions) | |
8555 | ||
8556 | * bindgen.adb: Generate call to modify default secondary stack size if | |
8557 | -Dnnn switch given | |
8558 | ||
8559 | * bindusg.adb: Add line for new -D switch | |
8560 | ||
8561 | * exp_aggr.adb (Type_May_Have_Bit_Aligned_Components): More appropriate | |
8562 | replacement name for Type_May_Have_Non_Bit_Aligned_Components! | |
8563 | Add circuitry for both records and arrays to avoid gigi | |
8564 | processing if the type involved has non-bit-aligned components | |
8565 | ||
8566 | * exp_ch5.adb (Expand_Assign_Array): Avoid assumption that | |
8567 | N_String_Literal node always references an E_String_Literal_Subtype | |
8568 | entity. This may not be true in the future. | |
8569 | (Possible_Bit_Aligned_Component): Move processing of | |
8570 | Component_May_Be_Bit_Aligned from exp_ch5 to exp_util | |
8571 | ||
8572 | * exp_ch6.adb (Expand_Thread_Body): Pick up | |
8573 | Default_Secondary_Stack_Size as variable so that we get value modified | |
8574 | by possible -Dnnn binder parameter. | |
8575 | ||
8576 | * exp_util.adb (Component_May_Be_Bit_Aligned): New function. | |
8577 | (Type_May_Have_Bit_Aligned_Components): New function. | |
8578 | ||
8579 | * exp_util.ads (Component_May_Be_Bit_Aligned): New function. | |
8580 | (Type_May_Have_Bit_Aligned_Components): New function. | |
8581 | ||
8582 | * fe.h: (Set_Identifier_Casing): Fix prototype. | |
8583 | Add declaration for Sem_Elim.Eliminate_Error_Msg. | |
8584 | Minor reformatting. | |
8585 | ||
8586 | * freeze.adb (Freeze_Entity): Add RM reference to error message about | |
8587 | importing constant atomic/volatile objects. | |
8588 | (Freeze_Subprogram): Reset Is_Pure indication for imported subprogram | |
8589 | unless explicit Pure_Function pragma given, to avoid insidious bug of | |
8590 | call to non-pure imported function getting eliminated. | |
8591 | ||
8592 | * gnat1drv.adb, gnatbind.adb, gnatchop.adb, gnatfind.adb, | |
8593 | gnatls.adb, gnatlink.adb, gnatmem.adb, gnatname.adb, gnatsym.adb, | |
8594 | gnatxref.adb, gprcmd.adb, gprep.adb, make.adb: Minor reformatting | |
8595 | Add 2004 to printed copyright notice | |
8596 | ||
8597 | * lib-writ.ads, lib-writ.adb: Put new SS flag in ali file if secondary | |
8598 | stack used. | |
8599 | ||
8600 | * Makefile.rtl: Add entry for g-sestin.o | |
8601 | g-sestin.ads: New file. | |
8602 | ||
8603 | * mdll.adb: Minor changes to avoid -gnatwa warnings | |
8604 | ||
8605 | * mlib-tgt.adb: Minor reformatting | |
8606 | ||
8607 | * opt.ads: New parameter Default_Secondary_Stack_Size (GNATBIND) | |
8608 | New switch Sec_Stack_Used (GNAT, GNATBIND) | |
8609 | Make Default_Secondary_Stack_Size a variable instead of a constant, | |
8610 | so that it can be modified by the new -Dnnn bind switch. | |
8611 | ||
8612 | * rtsfind.adb (Load_Fail): Give full error message in configurable | |
8613 | run-time mode if all_errors mode is set. This was not done in the case | |
8614 | of a file not found, which was an oversight. | |
8615 | Note if secondary stack unit is used by compiler. | |
8616 | ||
8617 | * sem_elab.adb (Check_A_Call): Rewrite to avoid trying to put | |
8618 | ineffective elaborate all pragmas on non-visible packages (this | |
8619 | happened when a renamed subprogram was called). Now the elaborate all | |
8620 | always goes on the package containing the renaming rather than the one | |
8621 | containing the renamed subprogram. | |
8622 | ||
8623 | * sem_elim.ads, sem_elim.adb (Eliminate_Error_Msg): New procedure | |
8624 | (Process_Eliminate_Pragma): Add parameter to capture pragma location. | |
8625 | ||
8626 | * sem_eval.adb (Eval_String_Literal): Do not assume that string literal | |
8627 | has an Etype that references an E_String_Literal. | |
8628 | (Eval_String_Literal): Avoid assumption that N_String_Literal node | |
8629 | always references an E_String_Literal_Subtype entity. This may not | |
8630 | be true in the future. | |
8631 | ||
8632 | * sem_prag.adb (Process_Eliminate_Pragma): Add parameter to capture | |
8633 | pragma location. | |
8634 | ||
8635 | * sem_res.adb (Resolve): Specialize msg for function name used in proc | |
8636 | call. | |
8637 | ||
8638 | 2004-01-05 Ed Falis <falis@gnat.com> | |
8639 | ||
8640 | * g-debuti.adb: Replaced direct boolean operator with short-circuit | |
8641 | form. | |
8642 | ||
8643 | 2004-01-05 Vincent Celier <celier@gnat.com> | |
8644 | ||
8645 | * bld.adb: Minor comment updates | |
8646 | (Process_Declarative_Items): Correct incorrect name (Index_Name instead | |
8647 | of Item_Name). | |
8648 | ||
8649 | * make.adb (Gnatmake): Special process for files to compile/check when | |
8650 | -B is specified. Fail when there are only foreign mains in attribute | |
8651 | Main of the project file and -B is not specified. Do not skip bind/link | |
8652 | steps when -B is specified. | |
8653 | ||
8654 | * makeusg.adb: Document new switch -B | |
8655 | ||
8656 | * opt.ads (Build_Bind_And_Link_Full_Project): New Boolean flag | |
8657 | ||
8658 | * switch-m.adb: (Scan_Make_Switches): Process -B switch | |
8659 | ||
8660 | * vms_data.ads: Add new GNAT PRETTY qualifier | |
8661 | /FORM_FEED_AFTER_PRAGMA_PAGE for switch -ff | |
8662 | ||
8663 | 2004-01-05 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | |
8664 | ||
8665 | * trans.c (tree_transform, case N_Free_Statement): Handle thin pointer | |
8666 | case. | |
8667 | ||
8668 | * misc.c (gnat_printable_name): If VERBOSITY is 2, call | |
8669 | Set_Identifier_Casing. | |
8670 | ||
8671 | * decl.c (gnat_to_gnu_entity, E_Function): Give error if return type | |
8672 | has size that overflows. | |
8673 | ||
8674 | 2004-01-05 Gary Dismukes <dismukes@gnat.com> | |
8675 | ||
8676 | * exp_ch4.adb (Expand_Array_Comparison): Add Boolean constant to avoid | |
8677 | -gnatwa warning on static condition. | |
8678 | ||
8679 | 2004-01-05 Doug Rupp <rupp@gnat.com> | |
8680 | ||
8681 | * link.c: (shared_libgnat_default) [VMS]: Change to STATIC. | |
8682 | ||
8683 | 2004-01-05 Arnaud Charlet <charlet@act-europe.fr> | |
8684 | ||
8685 | * Makefile.in: Install ali files using INSTALL_DATA_DATE to preserve | |
8686 | all attributes, including read-only attribute. | |
8687 | ||
8688 | 2004-01-05 Pascal Obry <obry@gnat.com> | |
8689 | ||
8690 | * bindgen.adb (Gen_Object_Files_Options): Generate the new shared | |
8691 | library naming scheme. | |
8692 | ||
8693 | * mlib-prj.adb (Build_Library): Generate different names for the static | |
8694 | or dynamic version of the GNAT runtime. This is needed to support the | |
8695 | new shared library naming scheme. | |
8696 | (Process_Binder_File): Add detection of shared library in binder file | |
8697 | based on the new naming scheme. | |
8698 | ||
8699 | * gnatlink.adb (Process_Binder_File): Properly detect the new naming | |
8700 | scheme for the shared runtime libraries. | |
8701 | ||
8702 | * Makefile.in: | |
8703 | (LIBRARY_VERSION) [VMS]: Convert all . to _ to conform to new naming | |
8704 | scheme. | |
8705 | (install-gnatlib): Do not create symlinks for shared libraries. | |
8706 | (gnatlib-shared-default): Idem. | |
8707 | (gnatlib-shared-dual-win32): New target. Not used for now as the | |
8708 | auto-import feature does not support arrays/records. | |
8709 | (gnatlib-shared-win32): Do not create copy for the shared libraries. | |
8710 | (gnatlib-shared-vms): Fix shared runtime libraries names. | |
8711 | ||
8712 | * osint.ads, osint.adb (Shared_Lib): New routine, returns the target | |
8713 | dependent runtime shared library name. | |
8714 | ||
8715 | 2004-01-05 Vasiliy Fofanov <fofanov@act-europe.fr> | |
8716 | ||
8717 | * osint.adb (Read_Library_Info): Remove bogus check if ALI is older | |
8718 | than the object. | |
8719 | ||
8720 | 2004-01-05 Ed Schonberg <schonberg@gnat.com> | |
8721 | ||
8722 | * sem_ch4.adb (Analyze_Allocator): Check restriction on dynamic | |
8723 | protected objects when allocator has a subtype indication, not a | |
8724 | qualified expression. Note that qualified expressions may have to be | |
8725 | checked when limited aggregates are implemented. | |
8726 | ||
8727 | * sem_prag.adb (Analyze_Pragma, case Import): If enclosing package is | |
8728 | pure, emit warning. | |
8729 | (Analyze_Pragma, case Pure_Function): If enclosing package is pure and | |
8730 | subprogram is imported, remove warning. | |
8731 | ||
8732 | 2004-01-05 Geert Bosch <bosch@gnat.com> | |
8733 | ||
8734 | * s-poosiz.adb: Update copyright notice. | |
8735 | (Allocate): Use Task_Lock to protect against concurrent access. | |
8736 | (Deallocate): Likewise. | |
8737 | ||
8738 | 2004-01-05 Joel Brobecker <brobecker@gnat.com> | |
8739 | ||
8740 | * s-stalib.adb (Elab_Final_Code): Add missing year in date inside ??? | |
8741 | comment. | |
8742 | ||
2ab127f3 KC |
8743 | 2003-12-23 Kelley Cook <kcook@gcc.gnu.org> |
8744 | ||
8745 | * gnat_ug.texi: Force a CVS commit by updating copyright. | |
8746 | * gnat_ug_vxw.texi: Regenerate. | |
8747 | * gnat_ug_wnt.texi: Regenerate. | |
8748 | * gnat_ug_vms.texi: Regenerate. | |
8749 | * gnat_ug_unx.texi: Regenerate. | |
8750 | ||
aed8bfdc KH |
8751 | 2003-12-20 Kazu Hirata <kazu@cs.umass.edu> |
8752 | ||
8753 | * trans.c: Remove uses of "register" specifier in | |
8754 | declarations of local variables. | |
8755 | ||
90c2f1de KC |
8756 | 2003-12-18 Kelley Cook <kcook@gcc.gnu.org> |
8757 | ||
8758 | * stamp-xgnatug: New stamp file. | |
8759 | * Make-lang.in (stamp-xgnatug): New stamp file and comment. | |
8760 | (ada/doctools/xgnatug): Add $(build_exeext). | |
8761 | (ada/gnat_ug_unx.texi, ada/gnat_ug_vwx.texi, ada/gnat_ug_vms.texi | |
8762 | ada/gnat_ug_wnt.texi): Update to depend on stamp-xgnatug. | |
8763 | ||
891a6e79 AC |
8764 | 2003-12-17 Ed Falis <falis@gnat.com> |
8765 | ||
8766 | * a-elchha.adb (Tailored_Exception_Information): made Info constant to | |
8767 | eliminate warning. | |
8768 | ||
8769 | * a-exextr.adb: Add context clause for | |
8770 | Ada.Exceptions.Last_Chance_Handler. | |
8771 | ||
8772 | 2003-12-17 Sergey Rybin <rybin@act-europe.fr> | |
8773 | ||
8774 | * cstand.adb (Create_Standard): Change the way how the declaration of | |
8775 | the Duration type is created (making it the same way as it is for all | |
8776 | the other standard types). | |
8777 | ||
8778 | 2003-12-17 Robert Dewar <dewar@gnat.com> | |
8779 | ||
8780 | * s-crtl.ads: Fix header format | |
8781 | Change Pure to Preelaborate | |
8782 | ||
8783 | 2003-12-17 Ed Schonberg <schonberg@gnat.com> | |
8784 | ||
8785 | * checks.adb (Selected_Length_Checks): Generate an Itype reference for | |
8786 | the expression type only if it is declared in the current unit. | |
8787 | ||
8788 | * sem_ch3.adb (Constrain_Index): Handle properly a range whose bounds | |
8789 | are universal and already analyzed, as can occur in constrained | |
8790 | subcomponents that depend on discriminants, when one constraint is a | |
8791 | subtype mark. | |
8792 | ||
8793 | * sem_res.adb (Resolve_Type_Conversion): Any arithmetic expression of | |
8794 | type Any_Fixed is legal as the argument of a conversion, if only one | |
8795 | fixed-point type is in context. | |
8796 | ||
8797 | 2003-12-17 GNAT Script <nobody@gnat.com> | |
8798 | ||
8799 | * Make-lang.in: Makefile automatically updated | |
8800 | ||
209db2bf AC |
8801 | 2003-12-15 Robert Dewar <dewar@gnat.com> |
8802 | ||
8803 | * exp_ch6.adb (Expand_Thread_Body): Fix error in picking up default | |
8804 | sec stack size. | |
8805 | ||
8806 | 2003-12-15 Vincent Celier <celier@gnat.com> | |
8807 | ||
8808 | * gnatchop.adb: (Error_Msg): Do not exit on error for a warning | |
8809 | (Gnatchop): Do not set failure status when reporting the number of | |
8810 | warnings. | |
8811 | ||
8812 | 2003-12-15 Doug Rupp <rupp@gnat.com> | |
8813 | ||
8814 | * s-ctrl.ads: New file. | |
8815 | ||
8816 | * Makefile.rtl (GNAT_RTL_NONTASKING_OBJS): Add s-crtl$(objext). | |
8817 | ||
8818 | * Make-lang.in: (GNAT_ADA_OBJS): Add ada/s-crtl.o. | |
8819 | (GNATBIND_OBJS): Add ada/s-crtl.o. | |
8820 | ||
8821 | * Makefile.in [VMS]: Clean up ifeq rules. | |
8822 | ||
8823 | * gnatlink.adb, 6vcstrea.adb, a-direio.adb, a-sequio.adb, | |
8824 | a-ststio.adb, a-textio.adb, g-os_lib.adb, a-witeio.adb, | |
8825 | g-os_lib.ads, i-cstrea.adb, i-cstrea.ads, s-direio.adb, | |
8826 | s-fileio.adb, s-memcop.ads, s-memory.adb, s-stache.adb, | |
8827 | s-tasdeb.adb: Update copyright. | |
8828 | Import System.CRTL. | |
8829 | Make minor modifications to use System.CRTL declared functions instead | |
8830 | of importing locally. | |
8831 | ||
8832 | 2003-12-15 GNAT Script <nobody@gnat.com> | |
8833 | ||
8834 | * Make-lang.in: Makefile automatically updated | |
8835 | ||
a9f4e3d2 AC |
8836 | 2003-12-11 Ed Falis <falis@gnat.com> |
8837 | ||
8838 | * 5zinit.adb: Clean up. | |
8839 | ||
8840 | * 5zintman.adb (Notify_Exception): replaced case statement with a call | |
8841 | to __gnat_map_signal, imported from init.c to support | |
8842 | signal -> exception mappings that depend on the vxWorks version. | |
8843 | ||
fbf3e0dd | 8844 | * init.c: |
a9f4e3d2 AC |
8845 | Created and exported __gnat_map_signal to support signal -> exception |
8846 | mapping that is dependent on the VxWorks version. | |
8847 | Change mapping of SIGBUS from Program_Error to Storage_Error on VxWorks | |
8848 | ||
8849 | 2003-12-11 Vasiliy Fofanv <fofanov@act-europe.fr> | |
8850 | ||
8851 | * 5wosinte.ads: Link with -mthreads switch. | |
8852 | ||
8853 | 2003-12-11 Arnaud Charlet <charlet@act-europe.fr> | |
8854 | ||
8855 | * init.c (__gnat_install_handler [NetBSD]): Set | |
8856 | __gnat_handler_installed, as done on all other platforms. | |
8857 | Remove duplicated code. | |
8858 | ||
8859 | 2003-12-11 Jerome Guitton <guitton@act-europe.fr> | |
8860 | ||
8861 | * Makefile.in (rts-zfp, rts-ravenscar): Create libgnat.a. | |
8862 | ||
8863 | 2003-12-11 Thomas Quinot <quinot@act-europe.fr> | |
8864 | ||
8865 | * sinfo.ads: Fix inconsistent example code in comment. | |
8866 | ||
8867 | 2003-12-11 Robert Dewar <dewar@gnat.com> | |
8868 | ||
8869 | * a-tiinau.adb: Add a couple of comments | |
8870 | ||
8871 | * sem_ch3.adb: Minor reformatting | |
8872 | ||
fbf3e0dd | 8873 | * sem_prag.adb: |
a9f4e3d2 AC |
8874 | Fix bad prototype of Same_Base_Type in body (code reading cleanup) |
8875 | Minor reformatting throughout | |
8876 | ||
8877 | 2003-12-11 Ed Schonberg <schonberg@gnat.com> | |
8878 | ||
8879 | * exp_ch7.adb (Establish_Transient_Scope): If the call is within the | |
8880 | bounds of a loop, create a separate block in order to generate proper | |
8881 | cleanup actions to prevent memory leaks. | |
8882 | ||
8883 | * sem_res.adb (Resolve_Call): After a call to | |
8884 | Establish_Transient_Scope, the call may be rewritten and relocated, in | |
8885 | which case no further processing is needed. | |
8886 | ||
8887 | * sem_util.adb: (Wrong_Type): Refine previous fix. | |
8888 | Fixes ACATS regressions. | |
8889 | ||
8890 | PR ada/13353 | |
8891 | ||
8892 | * sem_prag.adb (Back_End_Cannot_Inline): A renaming_as_body can always | |
8893 | be inlined. | |
8894 | ||
c45b6ae0 AC |
8895 | 2003-12-08 Jerome Guitton <guitton@act-europe.fr> |
8896 | ||
8897 | * 5ytiitho.adb, 5zthrini.adb, 5ztiitho.adb, i-vthrea.adb, | |
8898 | i-vthrea.ads, s-tpae65.adb, s-tpae65.ads: Cleanup: Remove a bunch of | |
8899 | obsolete files. | |
8900 | ||
8901 | * Makefile.in: (rts-ravenscar): Generate an empty libgnat.a. | |
8902 | (rts-zfp): Ditto. | |
8903 | ||
8904 | 2003-12-08 Robert Dewar <dewar@gnat.com> | |
8905 | ||
8906 | * 7sintman.adb: Minor reformatting | |
8907 | ||
8908 | * bindgen.adb: Configurable_Run_Time mode no longer suppresses the | |
8909 | standard linker options to get standard libraries linked. We now plan | |
8910 | to provide dummy versions of these libraries to match the appropriate | |
8911 | configurable run-time (e.g. if a library is not needed at all, provide | |
8912 | a dummy empty library). | |
8913 | ||
8914 | * targparm.ads: Configurable_Run_Time mode no longer affects linker | |
8915 | options (-L parameters and standard libraries). What we plan to do is | |
8916 | to provide dummy libraries where the libraries are not required. | |
8917 | ||
8918 | * gnatbind.adb: Minor comment improvement | |
8919 | ||
8920 | 2003-12-08 Javier Miranda <miranda@gnat.com> | |
8921 | ||
8922 | * exp_aggr.adb (Build_Record_Aggr_Code): Do not remove the expanded | |
8923 | aggregate in the parent. Otherwise constants with limited aggregates | |
8924 | are not supported. Add new formal to pass the component type (Ctype). | |
8925 | It is required to call the corresponding IP subprogram in case of | |
8926 | default initialized components. | |
8927 | (Gen_Assign): In case of default-initialized component, generate a | |
8928 | call to the IP subprogram associated with the component. | |
8929 | (Build_Record_Aggr_Code): Remove the aggregate from the parent in case | |
8930 | of aggregate with default initialized components. | |
8931 | (Has_Default_Init_Comps): Improve implementation to recursively check | |
8932 | all the present expressions. | |
8933 | ||
8934 | * exp_ch3.ads, exp_ch3.adb (Build_Initialization_Call): Add new formal | |
8935 | to indicate that the initialization call corresponds to a | |
8936 | default-initialized component of an aggregate. | |
8937 | In case of default initialized aggregate with tasks this parameter is | |
8938 | used to generate a null string (this is just a workaround that must be | |
8939 | improved later). In case of discriminants, this parameter is used to | |
8940 | generate a selected component node that gives access to the discriminant | |
8941 | value. | |
8942 | ||
8943 | * exp_ch9.ads, exp_ch9.adb (Build_Task_Allocate_Block_With_Stmts): New | |
8944 | subprogram, based on Build_Task_Allocate_Block, but adapted to expand | |
8945 | allocated aggregates with default-initialized components. | |
8946 | ||
8947 | * par-ch4.adb (P_Aggregate_Or_Paren_Expr): Improve error message if | |
8948 | the box notation is used in positional aggregates. | |
8949 | ||
8950 | 2003-12-08 Samuel Tardieu <tardieu@act-europe.fr> | |
8951 | ||
8952 | * lib.ads: Fix typo in comment | |
8953 | ||
8954 | 2003-12-08 Vincent Celier <celier@gnat.com> | |
8955 | ||
8956 | * prj.adb (Project_Empty): New component Unkept_Comments | |
8957 | (Scan): Remove procedure; moved to Prj.Err. | |
8958 | ||
8959 | * prj.ads (Project_Data): New Boolean component Unkept_Comments | |
8960 | (Scan): Remove procedure; moved to Prj.Err. | |
8961 | ||
8962 | * prj-dect.adb: Manage comments for the different declarations. | |
8963 | ||
8964 | * prj-part.adb (With_Record): New component Node | |
8965 | (Parse): New Boolean parameter Store_Comments, defaulted to False. | |
8966 | Set the scanner to return ends of line and comments as tokens, if | |
8967 | Store_Comments is True. | |
8968 | (Pre_Parse_Context_Clause): Create the N_With_Clause nodes so that | |
8969 | comments are associated with these nodes. Store the node IDs in the | |
8970 | With_Records. | |
8971 | (Post_Parse_Context_Clause): Use the N_With_Clause nodes stored in the | |
8972 | With_Records. | |
8973 | (Parse_Single_Project): Call Pre_Parse_Context_Clause before creating | |
8974 | the N_Project node. Call Tree.Save and Tree.Reset before scanning the | |
8975 | current project. Call Tree.Restore afterwards. Set the various nodes | |
8976 | for comment storage (Next_End, End_Of_Line, Previous_Line, | |
8977 | Previous_End). | |
8978 | ||
8979 | * prj-part.ads (Parse): New Boolean parameter Store_Comments, | |
8980 | defaulted to False. | |
8981 | ||
8982 | * prj-pp.adb (Write_String): New Boolean parameter Truncated, defaulted | |
8983 | to False. When Truncated is True, truncate the string, never go to the | |
8984 | next line. | |
8985 | (Write_End_Of_Line_Comment): New procedure | |
8986 | (Print): Process comments for nodes N_With_Clause, | |
8987 | N_Package_Declaration, N_String_Type_Declaration, | |
8988 | N_Attribute_Declaration, N_Typed_Variable_Declaration, | |
8989 | N_Variable_Declaration, N_Case_Construction, N_Case_Item. | |
8990 | Process nodes N_Comment. | |
8991 | ||
8992 | * prj-tree.ads, prj-tree.adb (Default_Project_Node): If it is a node | |
8993 | without comments and there are some comments, set the flag | |
8994 | Unkept_Comments to True. | |
8995 | (Scan): If there are comments, set the flag Unkept_Comments to True and | |
8996 | clear the comments. | |
8997 | (Project_Node_Kind): Add enum values N_Comment_Zones, N_Comment | |
8998 | (Next_End_Nodes: New table | |
8999 | (Comment_Zones_Of): New function | |
9000 | (Scan): New procedure; moved from Prj. Accumulate comments in the | |
9001 | Comments table and set end of line comments, comments after, after end | |
9002 | and before end. | |
9003 | (Add_Comments): New procedure | |
9004 | (Save, Restore, Seset_State): New procedures | |
9005 | (There_Are_Unkept_Comments): New function | |
9006 | (Set_Previous_Line_Node, Set_Previous_End_Node): New procedures | |
9007 | (Set_End_Of_Line, Set_Next_End_Node, Remove_Next_End_Node): New | |
9008 | procedures. | |
9009 | (First_Comment_After, First_Comment_After_End): New functions | |
9010 | (First_Comment_Before, First_Comment_Before_End): New functions | |
9011 | (Next_Comment): New function | |
9012 | (End_Of_Line_Comment, Follows_Empty_Line, | |
9013 | Is_Followed_By_Empty_Line): New functions | |
9014 | (Set_First_Comment_After, Set_First_Comment_After_End): New procedures | |
9015 | (Set_First_Comment_Before, Set_First_Comment_Before_End): New procedures | |
9016 | (Set_Next_Comment): New procedure | |
9017 | (Default_Project_Node): Associate comment before if the node can store | |
9018 | comments. | |
9019 | ||
9020 | * scans.ads (Token_Type): New enumeration value Tok_Comment | |
9021 | (Comment_Id): New global variable | |
9022 | ||
9023 | * scng.ads, scng.adb (Comment_Is_Token): New Boolean global variable, | |
9024 | defaulted to False. | |
9025 | (Scan): Store position of start of comment. If comments are tokens, set | |
9026 | Comment_Id and set Token to Tok_Comment when scanning a comment. | |
9027 | (Set_Comment_As_Token): New procedure | |
9028 | ||
9029 | * sinput-p.adb: Update Copyright notice | |
9030 | (Source_File_Is_Subunit): Call Prj.Err.Scanner.Scan instead of Prj.Scan | |
9031 | that no longer exists. | |
9032 | ||
9033 | 2003-12-08 Javier Miranda <miranda@gnat.com> | |
9034 | ||
9035 | * sem_aggr.adb: Add dependence on Exp_Tss package | |
9036 | Correct typo in comment | |
9037 | (Resolve_Aggregate): In case of array aggregates set the estimated | |
9038 | type of the aggregate before calling resolve. This is needed to know | |
9039 | the name of the corresponding IP in case of limited array aggregates. | |
9040 | (Resolve_Array_Aggregate): Delay the resolution to the expansion phase | |
9041 | in case of default initialized array components. | |
9042 | ||
9043 | * sem_ch12.adb (Analyze_Formal_Object_Declaration): Allow limited | |
9044 | types. Required to give support to limited aggregates in generic | |
9045 | formals. | |
9046 | ||
9047 | 2003-12-08 Ed Schonberg <schonberg@gnat.com> | |
9048 | ||
9049 | * sem_ch3.adb (Check_Initialization): For legality purposes, an | |
9050 | inlined body functions like an instantiation. | |
9051 | (Decimal_Fixed_Point_Declaration): Do not set kind of first subtype | |
9052 | until bounds are analyzed, to diagnose premature use of type. | |
9053 | ||
9054 | * sem_util.adb (Wrong_Type): Improve error message when the type of | |
9055 | the expression is used prematurely. | |
9056 | ||
9057 | 2003-12-08 GNAT Script <nobody@gnat.com> | |
9058 | ||
9059 | * Make-lang.in: Makefile automatically updated | |
9060 | ||
0875a894 AC |
9061 | 2003-12-08 Arnaud Charlet <charlet@act-europe.fr> |
9062 | ||
7618d510 AC |
9063 | * sinfo.h, einfo.h, nmake.ads, nmake.adb, treeprs.ads: Removed, since |
9064 | they are automatically generated by Make-lang.in and cause nothing but | |
0875a894 AC |
9065 | maintenance troubles. |
9066 | ||
5b4994bc AC |
9067 | 2003-12-05 Thomas Quinot <quinot@act-europe.fr> |
9068 | ||
9069 | * 3ssoliop.ads: Fix comment (this is the Solaris, not the UnixWare, | |
9070 | version of this unit). | |
9071 | ||
9072 | 2003-12-05 Olivier Hainque <hainque@act-europe.fr> | |
9073 | ||
9074 | * 53osinte.ads, 54osinte.ads, 55osinte.ads, 56osinte.ads, 5bosinte.ads, | |
9075 | 5cosinte.ads, 5hosinte.ads, 5iosinte.ads, 5losinte.ads, | |
9076 | 5tosinte.ads: Define the SA_SIGINFO constant, to allow references from | |
9077 | the body of System.Interrupt_Management common to several targets. | |
9078 | Update copyright notice when appropriate. | |
9079 | ||
9080 | * 52osinte.ads, 5posinte.ads: Define a dummy value for the SA_SIGINFO | |
9081 | constant. | |
9082 | ||
9083 | * 7sintman.adb (elaboration): Set SA_SIGINFO in the sigaction flags, | |
9084 | to ensure that the kernel fills in the interrupted context structure | |
9085 | before calling a signal handler, which is necessary to be able to | |
9086 | unwind past it. Update the copyright notice. | |
9087 | ||
9088 | 2003-12-05 Jerome Guitton <guitton@act-europe.fr> | |
9089 | ||
9090 | * a-elchha.ads: New file. | |
9091 | ||
9092 | * a-elchha.adb: New default last chance handler. Contents taken from | |
9093 | Ada.Exceptions.Exception_Traces.Unhandled_Exception_Terminate. | |
9094 | ||
9095 | * a-exextr.adb (Unhandled_Exception_Terminate): Most of this routine | |
9096 | is moved to a-elchha.adb to provide a target-independent default last | |
9097 | chance handler. | |
9098 | ||
9099 | * Makefile.rtl: Add a-elchha.o | |
9100 | ||
9101 | * Make-lang.in (GNAT_ADA_OBJS, GNATBIND_OBJS): Add a-elchha.o. | |
9102 | ||
9103 | 2003-12-05 Ed Schonberg <schonberg@gnat.com> | |
9104 | ||
9105 | * exp_ch6.adb (Expand_Call): If the subprogram is inlined and is | |
9106 | declared in an instance, do not inline the call if the instance is not | |
9107 | frozen yet, to prevent order of elaboration problems. | |
9108 | ||
9109 | * sem_prag.adb: Add comments for previous fix. | |
9110 | ||
9111 | 2003-12-05 Samuel Tardieu <tardieu@act-europe.fr> | |
9112 | ||
9113 | * g-table.adb: Use the right variable in Set_Item. | |
9114 | Update copyright notice. | |
9115 | ||
9116 | 2003-12-05 Arnaud Charlet <charlet@act-europe.fr> | |
9117 | ||
9118 | * Makefile.in: Remove unused rules. | |
9119 | ||
9120 | 2003-12-05 Vincent Celier <celier@gnat.com> | |
9121 | ||
9122 | * switch-c.adb (Scan_Front_End_Switches): Remove processing of | |
9123 | -nostdlib. Not needed here after all. | |
9124 | ||
efdfd311 AC |
9125 | 2003-12-03 Thomas Quinot <quinot@act-europe.fr> |
9126 | ||
9127 | PR ada/11724 | |
9128 | ||
fbf3e0dd | 9129 | * adaint.h, adaint.c, g-os_lib.ads: |
efdfd311 AC |
9130 | Do not assume that the offset argument to lseek(2) is a 32 bit integer, |
9131 | on some platforms (including FreeBSD), it is a 64 bit value. | |
9132 | Introduce a __gnat_lseek wrapper in adaint.c to allow for portability. | |
9133 | ||
9134 | 2003-12-03 Arnaud Charlet <charlet@act-europe.fr> | |
9135 | ||
9136 | * gnatvsn.ads (Library_Version): Now contain only the relevant | |
9137 | version info. | |
9138 | (Verbose_Library_Version): New constant. | |
9139 | ||
9140 | * g-spipat.adb, g-awk.adb, g-debpoo.adb, | |
9141 | g-memdum.adb, g-thread.adb, s-geveop.adb, s-interr.adb, | |
9142 | s-taskin.adb, s-tassta.adb: Make code compile with -gnatwa. | |
9143 | ||
9144 | * gnatlbr.adb: Clean up: replace Library_Version by | |
9145 | Verbose_Library_Version. | |
9146 | ||
fbf3e0dd | 9147 | * make.adb, lib-writ.adb, exp_attr.adb: |
efdfd311 AC |
9148 | Clean up: replace Library_Version by Verbose_Library_Version. |
9149 | ||
9150 | * 5lintman.adb: Removed. | |
9151 | ||
fbf3e0dd | 9152 | * Makefile.in: |
efdfd311 AC |
9153 | Update and simplify computation of LIBRARY_VERSION. |
9154 | Fix computation of GSMATCH_VERSION. | |
9155 | 5lintman.adb is no longer used: replaced by 7sintman.adb. | |
9156 | ||
9157 | 2003-12-03 Robert Dewar <dewar@gnat.com> | |
9158 | ||
fbf3e0dd | 9159 | * exp_ch5.adb: |
efdfd311 AC |
9160 | (Possible_Bit_Aligned_Component): Maybe_Bit_Aligned_Large_Component new |
9161 | name. Modified to consider small non-bit-packed arrays as troublesome | |
9162 | and in need of component-by-component assigment expansion. | |
9163 | ||
9164 | 2003-12-03 Vincent Celier <celier@gnat.com> | |
9165 | ||
9166 | * lang-specs.h: Process nostdlib as nostdinc | |
9167 | ||
9168 | * back_end.adb: Update Copyright notice | |
9169 | (Scan_Compiler_Arguments): Process -nostdlib directly. | |
9170 | ||
9171 | 2003-12-03 Jose Ruiz <ruiz@act-europe.fr> | |
9172 | ||
fbf3e0dd | 9173 | * Makefile.in: |
efdfd311 AC |
9174 | When defining LIBGNAT_TARGET_PAIRS for bare board targets, remove the |
9175 | redundant inclusion of EXTRA_HIE_NONE_TARGET_PAIRS, which is always | |
9176 | included in HIE_NONE_TARGET_PAIRS. | |
9177 | ||
9178 | 2003-12-03 Ed Schonberg <schonberg@gnat.com> | |
9179 | ||
fbf3e0dd | 9180 | * sem_attr.adb: |
efdfd311 AC |
9181 | (Legal_Formal_Attribute): Attribute is legal in an inlined body, as it |
9182 | is legal in an instance, because legality is cheched in the template. | |
9183 | ||
fbf3e0dd | 9184 | * sem_prag.adb: |
efdfd311 AC |
9185 | (Analyze_Pragma, case Warnings): In an inlined body, the pragma may be |
9186 | appplied to an unchecked conversion of a formal parameter. | |
9187 | ||
fbf3e0dd | 9188 | * sem_warn.adb: |
efdfd311 AC |
9189 | (Output_Unreferenced_Messages): Suppress "not read" warnings on imported |
9190 | variables. | |
9191 | ||
9192 | 2003-12-03 Olivier Hainque <hainque@act-europe.fr> | |
9193 | ||
9194 | * tb-alvms.c (unwind_regular_code, unwind_kernel_handler): New | |
9195 | routines. The second one is new functionality to deal with backtracing | |
9196 | through signal handlers. | |
9197 | (unwind): Split into the two separate subroutines above. | |
9198 | Update the documentation, and deal properly with sizeof (REG) different | |
9199 | from sizeof (void*). | |
9200 | ||
08aa9a4a AC |
9201 | 2003-12-01 Nicolas Setton <setton@act-europe.fr> |
9202 | ||
9203 | * a-except.adb (Raise_Current_Excep): Add a pragma Inspection_Point, | |
9204 | so that the debugger can reliably access the value of the parameter, | |
9205 | and therefore is able to display the exception name when an exception | |
9206 | breakpoint is reached. | |
9207 | ||
9208 | 2003-12-01 Thomas Quinot <quinot@act-europe.fr> | |
9209 | ||
9210 | * fmap.adb: Fix typo in warning message. | |
9211 | ||
9212 | * g-socket.ads, g-socket.adb: Make Free a visible instance of | |
9213 | Ada.Unchecked_Deallocation (no need to wrap it in a subprogram). | |
9214 | ||
9215 | 2003-12-01 Vincent Celier <celier@gnat.com> | |
9216 | ||
9217 | * mlib-prj.adb (Build_Library.Process): Do not check a withed unit if | |
9218 | ther is no Afile. | |
9219 | (Build_Library): Get the switches only if Default_Switches is declared | |
9220 | in package Binder. | |
9221 | ||
9222 | 2003-12-01 Ed Schonberg <schonberg@gnat.com> | |
9223 | ||
9224 | * exp_ch6.adb (Expand_Actuals): When applying validity checks to | |
9225 | actuals that are indexed components, reanalyze actual to ensure that | |
9226 | packed array references are properly expanded. | |
9227 | ||
9228 | * sem_ch5.adb (Diagnose_Non_Variable_Lhs): Add special case for | |
9229 | attempted assignment to a discriminant. | |
9230 | ||
9231 | 2003-12-01 Robert Dewar <dewar@gnat.com> | |
9232 | ||
9233 | * rtsfind.adb, exp_ch4.adb, s-exnint.ads, s-exnint.adb: Minor | |
9234 | reformatting. | |
9235 | ||
9236 | * switch-c.adb: Minor reformatting of comments | |
9237 | ||
9238 | 2003-12-01 Arnaud Charlet <charlet@act-europe.fr> | |
9239 | ||
9240 | * Makefile.in: Clean ups. | |
9241 | ||
9242 | 2003-12-01 GNAT Script <nobody@gnat.com> | |
9243 | ||
9244 | * Make-lang.in: Makefile automatically updated | |
9245 | ||
c6135994 AC |
9246 | 2003-12-01 Arnaud Charlet <charlet@act-europe.fr> |
9247 | ||
9248 | * 5wsystem.ads: Disable zero cost exception, not ready yet. | |
9249 | ||
51a30506 UW |
9250 | 2003-11-29 Ulrich Weigand <uweigand@de.ibm.com> |
9251 | ||
9252 | * Make-lang.in (nmake.ads): Add dependency on ada/nmake.adb | |
9253 | to force serialization. | |
9254 | ||
81a5b587 AC |
9255 | 2003-11-26 Thomas Quinot <quinot@act-europe.fr> |
9256 | ||
fbf3e0dd | 9257 | * g-socket.ads, g-socket.adb: |
81a5b587 AC |
9258 | Clarify documentation of function Stream. Introduce a Free procedure |
9259 | to release the returned Stream once it becomes unused. | |
9260 | ||
9261 | * 5asystem.ads: For Alpha Tru64, enable ZCX by default. | |
9262 | ||
9263 | 2003-11-26 Arnaud Charlet <charlet@act-europe.fr> | |
9264 | ||
9265 | (Cond_Timed_Wait): Introduce new constant Time_Out_Max, | |
9266 | since NT 4 cannot handle timeout values that are too large, | |
9267 | e.g. DWORD'Last - 1. | |
9268 | ||
9269 | 2003-11-26 Ed Schonberg <schonberg@gnat.com> | |
9270 | ||
fbf3e0dd | 9271 | * exp_ch4.adb: |
81a5b587 AC |
9272 | (Expand_N_Slice): Recognize all cases of slices that appear as actuals |
9273 | in procedure calls and whose expansion must be deferred. | |
9274 | ||
9275 | * exp_ch6.adb (Add_Call_By_Copy_Node): Remove previous fix. Proper fix | |
9276 | is in exp_ch4. | |
9277 | ||
fbf3e0dd | 9278 | * sem_ch3.adb: |
81a5b587 AC |
9279 | (Build_Derived_Array_Type): Create operator for unconstrained type |
9280 | if ancestor is unconstrained. | |
9281 | ||
9282 | 2003-11-26 Vincent Celier <celier@gnat.com> | |
9283 | ||
9284 | * make.adb (Project_Object_Directory): New global variable | |
9285 | (Change_To_Object_Directory): New procedure | |
9286 | (Collect_Arguments_And_Compile): Call Change_To_Object_Directory instead | |
9287 | of Change_Dir directly. Do not change working directory to object | |
9288 | directory of main project after each compilation. | |
9289 | (Gnatmake): Use Change_To_Object_Directory instead of Change_Dir | |
9290 | directly. | |
9291 | Change to object directory of main project before binding step. | |
9292 | (Initialize): Initialize Project_Object_Directory to No_Project | |
9293 | ||
fbf3e0dd | 9294 | * mlib-prj.adb: |
81a5b587 AC |
9295 | (Build_Library): Take into account Builder'Default_Switches ("Ada") when |
9296 | binding a Stand-Alone Library. | |
9297 | ||
9298 | * output.adb: Update Copyright notice | |
9299 | (Write_Char): Output buffer when full | |
9300 | ||
9301 | 2003-11-26 Robert Dewar <dewar@gnat.com> | |
9302 | ||
9303 | * sem_ch13.adb: (Check_Size): Reset size if size is too small | |
9304 | ||
fbf3e0dd | 9305 | * sem_ch13.ads: |
81a5b587 AC |
9306 | (Check_Size): Fix documentation to include bit-packed array case |
9307 | ||
9308 | * sem_res.adb: Implement restriction No_Direct_Boolean_Operators | |
9309 | ||
9310 | * s-rident.ads: Put No_Direct_Boolean_Operators in proper order | |
9311 | ||
9312 | * s-rident.ads: Add new restriction No_Direct_Boolean_Operators | |
9313 | ||
d4c47b51 AC |
9314 | 2003-11-24 Arnaud Charlet <charlet@act-europe.fr> |
9315 | ||
9316 | PR ada/13142 | |
9317 | * utils.c (init_gigi_decls): Change name of built-in setjmp to | |
9318 | __builtin_setjmp, since this is apparently needed by recent | |
9319 | non Ada changes. | |
9320 | ||
7677e9e0 RO |
9321 | 2003-11-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
9322 | ||
d4c47b51 | 9323 | * adadecode.c: Only include ctype.h if not IN_GCC. |
7677e9e0 RO |
9324 | (__gnat_decode): Use ISDIGIT from safe-ctype.h. |
9325 | ||
6c1e24d3 AC |
9326 | 2003-11-24 Jose Ruiz <ruiz@act-europe.fr> |
9327 | ||
fbf3e0dd | 9328 | * Makefile.in: |
6c1e24d3 AC |
9329 | Use 5zintman.ads for VxWorks targets. This file avoid confusion between |
9330 | signals and interrupts. | |
9331 | ||
9332 | * 5zintman.ads: New File. | |
9333 | ||
9334 | * 5zintman.adb: Replace Exception_Interrupts by Exception_Signals, and | |
9335 | add exception signals to the set of unmasked signals. | |
9336 | ||
fbf3e0dd | 9337 | * 5ztaprop.adb: |
6c1e24d3 AC |
9338 | Use Abort_Task_Signal instead of Abort_Task_Interrupt to avoid confusion |
9339 | between signals and interrupts. | |
9340 | Add to Unblocked_Signal_Mask the set of signals that are in | |
9341 | Keep_Unmasked. | |
9342 | ||
fbf3e0dd | 9343 | * 7sinmaop.adb: |
6c1e24d3 AC |
9344 | Adding a check to see whether the Interrupt_ID we want to unmask is in |
9345 | the range of Keep_Unmasked (in procedure Interrupt_Self_Process). The | |
9346 | reason is that the index type of the Keep_Unmasked array is not always | |
9347 | Interrupt_ID; it may be a subtype of Interrupt_ID. | |
9348 | ||
9349 | 2003-11-24 Gary Dismukes <dismukes@gnat.com> | |
9350 | ||
fbf3e0dd | 9351 | * exp_util.adb: |
6c1e24d3 AC |
9352 | (Remove_Side_Effects): Condition constantness of object created for a |
9353 | an unchecked type conversion on the constantness of the expression | |
9354 | to ensure the correct value for 'Constrained when passing components | |
9355 | of view-converted class-wide objects. | |
9356 | ||
9357 | 2003-11-24 Robert Dewar <dewar@gnat.com> | |
9358 | ||
9359 | * par-load.adb (Load): Improve handling of misspelled and missing units | |
9360 | Removes several cases of compilation abandoned messages | |
9361 | ||
9362 | * lib.adb: (Remove_Unit): New procedure | |
9363 | ||
9364 | * lib.ads: (Remove_Unit): New procedure | |
9365 | ||
9366 | * lib-load.adb: Minor reformatting | |
9367 | ||
9368 | 2003-11-24 Vincent Celier <celier@gnat.com> | |
9369 | ||
fbf3e0dd | 9370 | * make.adb: |
6c1e24d3 AC |
9371 | (Gnatmake, Initialize): Call Usage instead of Makeusg directly |
9372 | (Marking_Label): Label to mark processed source files. Incremented for | |
9373 | each executable. | |
9374 | (Gnatmake): Increase Marking_Labet for each executable | |
9375 | (Is_Marked): Compare against marking label | |
9376 | (Mark): Mark with marking label | |
9377 | ||
9378 | 2003-11-24 Jerome Guitton <guitton@act-europe.fr> | |
9379 | ||
fbf3e0dd | 9380 | * s-thread.ads: |
6c1e24d3 AC |
9381 | Move the declaration of the TSD for System.Threads to System.Soft_Links. |
9382 | Add some comments. | |
9383 | ||
9384 | * Makefile.in: Added target pair for s-thread.adb for cert runtime. | |
9385 | (rts-cert): build a single relocatable object for the run-time lib. | |
9386 | Fix perms. | |
9387 | ||
9388 | 2003-11-24 Vasiliy Fofanov <fofanov@act-europe.fr> | |
9389 | ||
fbf3e0dd | 9390 | * Make-lang.in: |
6c1e24d3 AC |
9391 | Use gnatls rather than gcc to obtain the location of GNAT RTL for |
9392 | crosstools build. | |
9393 | ||
9394 | 2003-11-24 Sergey Rybin <rybin@act-europe.fr> | |
9395 | ||
9396 | * opt.adb (Tree_Write): Gnat_Version_String is now a function, so we | |
9397 | can not use it as before (that is, as a variable) when dumping it into | |
9398 | the tree file. Add a local variable to store the result of this | |
9399 | function and to be used as the string to be written into the tree. | |
9400 | ||
9401 | * scn.adb (Initialize_Scanner): Add comments explaining the recent | |
9402 | changes. | |
9403 | ||
9404 | * sinput.adb (Source_First, Source_Last): In case of | |
9405 | Internal_Source_File, replace returning attributes of | |
9406 | Internal_Source_Ptr (which is wrong) with returning attributes of | |
9407 | Internal_Source. | |
9408 | ||
9409 | 2003-11-24 Ed Schonberg <schonberg@gnat.com> | |
9410 | ||
fbf3e0dd | 9411 | * sem_ch3.adb: |
6c1e24d3 AC |
9412 | (New_Concatenation_Op): Proper name for New_Binary_Operator, only |
9413 | used for implicit concatenation operators. | |
9414 | Code cleanup. | |
9415 | ||
fbf3e0dd | 9416 | * sem_elab.adb: |
6c1e24d3 AC |
9417 | (Check_Elab_Call): Set No_Elaboration_Check appropriately on calls in |
9418 | task bodies that are in the scope of a Suppress pragma. | |
9419 | (Check_A Call): Use the flag to prevent spurious elaboration checks. | |
9420 | ||
fbf3e0dd | 9421 | * sinfo.ads, sinfo.adb: |
6c1e24d3 AC |
9422 | New flag No_Elaboration_Check on function/procedure calls, to properly |
9423 | suppress checks on calls in task bodies that are within a local suppress | |
9424 | pragma. | |
9425 | ||
fbf3e0dd | 9426 | * exp_ch4.adb: |
6c1e24d3 AC |
9427 | (Expand_Concatenate_Other): Use the proper integer type for the |
9428 | expression for the upper bound, to avoid universal_integer computations | |
9429 | when possible. | |
9430 | ||
6f2aeb72 KC |
9431 | 2003-11-21 Kelley Cook <kcook@gcc.gnu.org> |
9432 | ||
9433 | * .cvsignore: Delete. | |
9434 | ||
e9f85cd6 AS |
9435 | 2003-11-21 Andreas Schwab <schwab@suse.de> |
9436 | ||
9437 | * 55system.ads: Set ZCX_By_Default and GCC_ZCX_Support to True. | |
9438 | ||
4e074baf VF |
9439 | 2003-11-21 Vasiliy Fofanov <fofanov@act-europe.fr> |
9440 | ||
9441 | * 5wsystem.ads: Enable zero cost exception. | |
9442 | ||
f1f9fe30 AC |
9443 | 2003-11-21 Jerome Guitton <guitton@act-europe.fr> |
9444 | ||
9445 | * 5ztiitho.adb: Remove an unreferenced variable. | |
9446 | ||
9447 | 2003-11-21 Thomas Quinot <quinot@act-europe.fr> | |
9448 | ||
9449 | * adaint.c: For FreeBSD, use mkstemp. | |
9450 | ||
9451 | 2003-11-21 Arnaud Charlet <charlet@act-europe.fr> | |
9452 | ||
9453 | * gnatlbr.adb: Now reference Gnat_Static_Version_String. | |
9454 | ||
9455 | 2003-11-21 Robert Dewar <dewar@gnat.com> | |
9456 | ||
9457 | * bld.adb: Remove useless USE of gnatvsn | |
9458 | ||
9459 | * gnatchop.adb: Minor reformatting | |
9460 | Clean up version handling to be more consistent | |
9461 | ||
9462 | * gnatxref.adb: Minor reformatting | |
9463 | ||
9464 | * gprcmd.adb: Minor reformatting | |
9465 | Fix output of copyright to be more consistent with other tools | |
9466 | ||
9467 | 2003-11-21 Vincent Celier <celier@gnat.com> | |
9468 | ||
9469 | * make.adb (Scan_Make_Args): Do not transmit --RTS= to gnatlink | |
9470 | ||
9471 | 2003-11-21 Sergey Rybin <rybin@act-europe.fr> | |
9472 | ||
9473 | * atree.adb (Initialize): Add initializations for global variables | |
9474 | used in New_Copy_Tree. | |
9475 | ||
9476 | * cstand.adb (Create_Standard): Add call to Initialize_Scanner (with | |
9477 | Internal_Source_File as the actual). | |
9478 | Put the set of statements creating Any_Character before the set of | |
9479 | statements creating Any_Array to have Any_Character fully initialized | |
9480 | when it is used in creating Any_Array. | |
9481 | ||
9482 | * scn.adb (Initialize_Scanner): Do not set Comes_From_Source ON and do | |
9483 | not call Scan in case if the actual is Internal_Source_File | |
9484 | Add 2003 to copyright note. | |
9485 | ||
9486 | * sinput.adb (Source_First, Source_Last, Source_Text): Add code for | |
9487 | processing Internal_Source_File. | |
9488 | ||
9489 | * types.ads: Add the constant Internal_Source_File representing the | |
9490 | source buffer for artificial source-code-like strings created within | |
9491 | the compiler (the definition of Source_File_Index is changed). | |
9492 | ||
c5b2a8ae AC |
9493 | 2003-11-20 Arnaud Charlet <charlet@act-europe.fr> |
9494 | ||
9495 | * 35soccon.ads, 45intnam.ads, 55osinte.adb, 55osinte.ads, | |
9496 | 56system.ads: New file, FreeBSD version. | |
9497 | ||
a03ad584 JM |
9498 | 2003-11-20 Joseph S. Myers <jsm@polyomino.org.uk> |
9499 | ||
9500 | * Make-lang.in (ada.extraclean): Delete. | |
9501 | ||
19f0526a AC |
9502 | 2003-11-19 Arnaud Charlet <charlet@act-europe.fr> |
9503 | ||
9504 | * gnatmem.adb: Clean up verbose output. | |
9505 | ||
9506 | * gprcmd.adb: Change copyright to FSF. | |
9507 | ||
9508 | 2003-11-19 Vincent Celier <celier@gnat.com> | |
9509 | ||
9510 | * symbols.adb: (Initialize): New parameters Reference, Symbol_Policy | |
9511 | and Version (ignored). | |
9512 | ||
9513 | * symbols.ads: (Policy): New type | |
9514 | (Initialize): New parameter Reference, Symbol_Policy and | |
9515 | Library_Version. | |
9516 | Remove parameter Force. | |
9517 | Minor reformatting. | |
9518 | ||
9519 | * snames.ads, snames.adbadb: New standard names | |
9520 | Library_Reference_Symbol_File and Library_Symbol_Policy | |
9521 | ||
fbf3e0dd | 9522 | * mlib-prj.adb: |
19f0526a AC |
9523 | (Build_Library): Call Build_Dinamic_Library with the Symbol_Data of the |
9524 | project. | |
9525 | ||
fbf3e0dd | 9526 | * mlib-tgt.adb: |
19f0526a AC |
9527 | (Build_Dynamic_Library): New parameter Symbol_Data (ignored) |
9528 | ||
9529 | * mlib-tgt.ads: (Build_Dynamic_Library): New parameter Symbol_Data | |
9530 | ||
9531 | * prj.adb: (Project_Empty): New component Symbol_Data | |
9532 | ||
9533 | * prj.ads: (Policy, Symbol_Record): New types | |
9534 | (Project_Data): New component Symbol_Data | |
9535 | ||
fbf3e0dd | 9536 | * prj-attr.adb: |
19f0526a AC |
9537 | New attributes Library_Symbol_File, Library_Symbol_Policy and |
9538 | Library_Reference_Symbol_File. | |
9539 | ||
fbf3e0dd | 9540 | * prj-nmsc.adb: |
19f0526a AC |
9541 | (Ada_Check): When project is a Stand-Alone library project, process |
9542 | attribute Library_Symbol_File, Library_Symbol_Policy and | |
9543 | Library_Reference_Symbol_File. | |
9544 | ||
9545 | * 5aml-tgt.adb, 5bml-tgt.adb, 5gml-tgt.adb, 5hml-tgt.adb, | |
9546 | 5wml-tgt.adb, 5zml-tgt.adb, 5lml-tgt.adb, | |
9547 | 5sml-tgt.adb (Build_Dynamic_Library): New parameter | |
9548 | Symbol_Data (ignored). | |
9549 | ||
9550 | * 5vml-tgt.adb (VMS_Options): Remove --for-linker=gsmatch=equal,1,0 | |
9551 | (Build_Dynamic_Library): New parameter Symbol_Data. New internal | |
9552 | functions Option_File_Name and Version_String. Set new options of | |
9553 | gnatsym related to symbol file, symbol policy and reference symbol | |
9554 | file. | |
9555 | ||
fbf3e0dd | 9556 | * 5vsymbol.adb: |
19f0526a AC |
9557 | Extensive modifications to take into account the reference symbol file, |
9558 | the symbol policy, the library version and to put in the symbol file the | |
9559 | minor and major IDs. | |
9560 | ||
9561 | * bld.adb (Process_Declarative_Items): Put second argument of | |
9562 | gprcmd to_absolute between single quotes, to avoid problems with | |
9563 | Windows. | |
9564 | ||
9565 | * bld-io.adb: Update Copyright notice. | |
9566 | (Flush): Remove last character of a line, if it is a back slash, to | |
9567 | avoid make problems. | |
9568 | ||
fbf3e0dd | 9569 | * gnatsym.adb: |
19f0526a AC |
9570 | Implement new scheme with reference symbol file and symbol policy. |
9571 | ||
9572 | * g-os_lib.ads: (Is_Directory): Clarify comment | |
9573 | ||
9574 | 2003-11-19 Robert Dewar <dewar@gnat.com> | |
9575 | ||
9576 | * atree.adb: Move New_Copy_Tree global variables to head of package | |
9577 | ||
9578 | * errout.adb: Minor reformatting | |
9579 | ||
9580 | 2003-11-19 Javier Miranda <miranda@gnat.com> | |
9581 | ||
9582 | * sem_ch4.adb: (Diagnose_Call): Improve error message. | |
9583 | Add reference to Ada0Y (AI-50217) | |
9584 | ||
9585 | * sem_ch6.adb, sem_ch8.adb, sem_type.adb, | |
9586 | sem_util.adb: Add reference to AI-50217 | |
9587 | ||
9588 | * sinfo.ads: (N_With_Clause): Document fields referred to AI-50217 | |
9589 | ||
9590 | * sprint.adb: Add reference to Ada0Y (AI-50217, AI-287) | |
9591 | ||
9592 | * sem_aggr.adb: Complete documentation of AI-287 changes | |
9593 | ||
9594 | * par-ch4.adb: Document previous changes. | |
9595 | ||
9596 | * lib-load.adb, lib-writ.adb, einfo.ads, par-ch10.adb, | |
9597 | sem_cat.adb, sem_ch3.adb, sem_ch10.adb, sem_ch12.adb: Add references to | |
9598 | Ada0Y (AI-50217) | |
9599 | ||
9600 | * exp_aggr.adb: Add references to AI-287 in previous changes | |
9601 | ||
9602 | 2003-11-19 Ed Schonberg <schonberg@gnat.com> | |
9603 | ||
fbf3e0dd | 9604 | * exp_ch6.adb: |
19f0526a AC |
9605 | (Add_Call_By_Copy_Node): Do not original node of rewritten expression |
9606 | in the rewriting is the result of an inlined call. | |
9607 | ||
9608 | * exp_ch6.adb (Add_Call_By_Copy_Node): If actual for (in-)out | |
9609 | parameter is a type conversion, use original node to construct the | |
9610 | post-call assignment, because expression may have been rewritten, e.g. | |
9611 | if it is a packed array. | |
9612 | ||
fbf3e0dd | 9613 | * sem_attr.adb: |
19f0526a AC |
9614 | (Resolve_Attribute, case 'Constrained): Attribute is legal in an inlined |
9615 | body, just as it is in an instance. | |
9616 | Categorization routines | |
9617 | ||
9618 | * sem_ch12.adb (Analyze_Association, Instantiate_Formal_Subprogram, | |
9619 | Instantiate_Object): Set proper sloc reference for message on missing | |
9620 | actual. | |
9621 | ||
9622 | 2003-11-19 Thomas Quinot <quinot@act-europe.fr> | |
9623 | ||
9624 | * Makefile.in: Add FreeBSD libgnat pairs. | |
9625 | ||
9626 | * usage.adb: Fix typo in usage message. | |
9627 | ||
9628 | 2003-11-19 Jerome Guitton <guitton@act-europe.fr> | |
9629 | ||
9630 | * Makefile.in: On powerpc-wrs-vxworksae: Add s-thread.ad?, | |
9631 | s-thrini.ad? and s-tiitho.adb to the full runtime, to support the | |
9632 | pragma Thread_Body. | |
9633 | Remove i-vthrea.ad? and s-tpae65.ad?, not needed anymore. | |
9634 | ||
9635 | * s-thread.adb: This file is now a dummy implementation of | |
9636 | System.Thread. | |
9637 | ||
9638 | 2003-11-19 Sergey Rybin <rybin@act-europe.fr> | |
9639 | ||
9640 | * rtsfind.adb (Initialize): Add initialization for RTE_Is_Available | |
9641 | ||
9642 | 2003-11-19 Emmanuel Briot <briot@act-europe.fr> | |
9643 | ||
9644 | * xref_lib.adb (Parse_Identifier_Info): Add handling of generic | |
9645 | instanciation references in the parent type description. | |
9646 | ||
0d77ab84 AC |
9647 | 2003-11-18 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
9648 | ||
9649 | * ada-tree.def: (ALLOCATE_EXPR): Class is "2", not "s". | |
9650 | ||
9651 | * decl.c (gnat_to_gnu_entity, case E_Floating_Point_Subtype): Set | |
9652 | TYPE_PRECISION directly from esize. | |
9653 | ||
9654 | 2003-11-18 Thomas Quinot <quinot@act-europe.fr> | |
9655 | ||
fbf3e0dd | 9656 | * cstreams.c: |
0d77ab84 AC |
9657 | Use realpath(3) on FreeBSD. Fix typo in comment while we are at it. |
9658 | ||
9659 | * init.c: Initialization routines for FreeBSD | |
9660 | ||
9661 | * link.c: Link info for FreeBSD | |
9662 | ||
9663 | * sysdep.c: Add the case of FreeBSD | |
9664 | ||
cb7a5092 AC |
9665 | 2003-11-17 Jerome Guitton <guitton@act-europe.fr> |
9666 | ||
9667 | * 5zthrini.adb: Remove the call to Init_RTS at elaboration, as it is | |
9668 | already called in System.Threads. | |
9669 | ||
9670 | * 5ztiitho.adb (Initialize_Task_Hooks): Remove the registration of the | |
9671 | environment task, as it has been moved to System.Threads.Initialization. | |
9672 | ||
9673 | 2003-11-17 Arnaud Charlet <charlet@act-europe.fr> | |
9674 | ||
9675 | * adaint.c (__gnatlib_install_locks): Only reference | |
9676 | __gnat_install_locks on VMS, since other platforms can avoid using | |
9677 | --enable-threads=gnat | |
9678 | ||
9679 | 2003-11-17 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | |
9680 | ||
9681 | * ada-tree.h: (TYPE_IS_PACKED_ARRAY_TYPE_P): New macro. | |
9682 | ||
9683 | * decl.c (gnat_to_gnu_entity, case E_Array_Subtype): Set | |
9684 | TYPE_PACKED_ARRAY_TYPE_P. | |
9685 | (validate_size): Do not verify size if TYPE_IS_PACKED_ARRAY_TYPE_P. | |
9686 | ||
9687 | Part of PR ada/12806 | |
9688 | * utils.c (float_type_for_precision): Renamed from float_type_for_size. | |
9689 | Use GET_MODE_PRECISION instead of GET_MODE_BITSIZE. | |
9690 | ||
9691 | 2003-11-17 Vincent Celier <celier@gnat.com> | |
9692 | ||
9693 | * gnatchop.adb (Error_Msg): New Boolean parameter Warning, defaulted | |
9694 | to False. | |
9695 | Do not set exit status to Failure when Warning is True. | |
9696 | (Gnatchop): Make errors "no compilation units found" and | |
9697 | "no source files written" warnings only. | |
9698 | ||
9699 | * make.adb (Gnatmake): When using a project file, set | |
9700 | Look_In_Primary_Dir to False. | |
9701 | (Configuration_Pragmas_Switch): Check for Global_Configuration_Pragmas | |
9702 | and Local_Configuration_Pragmas in the project where they are declared | |
9703 | not an extending project which might have inherited them. | |
9704 | ||
9705 | * osint.adb (Locate_File): If Name is already an absolute path, do not | |
9706 | look for a directory. | |
9707 | ||
9708 | * par-ch10.adb (P_Compilation_Unit): If source contains no token, and | |
9709 | -gnats (Check_Syntax) is used, issue only a warning, not an error. | |
9710 | ||
9711 | * prj.adb (Register_Default_Naming_Scheme): Add new component Project | |
9712 | in objects of type Variable_Value. | |
9713 | ||
9714 | * prj.ads: (Variable_Value): New component Project | |
9715 | ||
9716 | * prj-nmsc.adb (Ada_Check.Warn_If_Not_Sources): No warning if source | |
9717 | is in a project extended by Project. | |
9718 | ||
9719 | * prj-proc.adb (Add_Attributes): New parameter Project. Set component | |
9720 | Project of Variable_Values to this new parameter value. | |
9721 | (Expression): Set component Project of Variable_Values. | |
9722 | (Process_Declarative_Items): Call Add_Attributes with parameter Project. | |
9723 | Set the component Project in array elements. | |
9724 | ||
9725 | 2003-11-17 Sergey Rybin <rybin@act-europe.fr> | |
9726 | ||
9727 | * errout.adb: (Initialize): Add initialization for error nodes. | |
9728 | ||
9729 | * sem_ch12.adb (Initialize): Add missing initializations for | |
9730 | Exchanged_Views and Hidden_Entities. | |
9731 | ||
9732 | 2003-11-17 Ed Schonberg <schonberg@gnat.com> | |
9733 | ||
9734 | * sem_ch12.adb (Copy_Generic_Node): Preserve entity when copying an | |
9735 | already instantiated tree for use in subsequent inlining. | |
9736 | (Analyze_Associations, Instantiate_Formal_Subprogram, | |
9737 | Instantiate_Object): improve error message for mismatch in | |
9738 | instantiations. | |
9739 | ||
9740 | * sem_ch6.adb (Build_Body_To_Inline): Major cleanup to handle | |
9741 | instantiations of subprograms declared in instances. | |
9742 | ||
9743 | 2003-11-17 Javier Miranda <miranda@gnat.com> | |
9744 | ||
9745 | * sem_ch4.adb (Analyze_Allocator): Previous modification must be | |
9746 | executed only under the Extensions_Allowed flag. | |
9747 | ||
9748 | 2003-11-17 Robert Dewar <dewar@gnat.com> | |
9749 | ||
9750 | * a-exexda.adb (Address_Image): Fix documentation to indicate leading | |
9751 | zeroes suppressed. | |
9752 | (Address_Image): Fix bug of returning 0x instead of 0x0 | |
9753 | Minor reformatting (function specs). | |
9754 | ||
9755 | * einfo.ads: Minor fix for documentation of Is_Bit_Packed_Array | |
9756 | (missed case of 33-63) | |
9757 | ||
9758 | * freeze.adb, sem_ch13.adb: Properly check size of packed bit array | |
9759 | ||
9760 | * s-thread.adb: Add comments for pragma Restriction | |
9761 | ||
9762 | * exp_aggr.adb, g-debuti.adb, par-ch4.adb, sem_aggr.adb, | |
9763 | sem_ch6.adb, sprint.adb, xref_lib.adb: Minor reformatting | |
9764 | ||
9765 | 2003-11-17 Ed Falis <falis@gnat.com> | |
9766 | ||
9767 | * s-thread.adb: Added No_Tasking restriction for this implementation. | |
9768 | ||
9769 | 2003-11-17 Emmanuel Briot <briot@act-europe.fr> | |
9770 | ||
9771 | * xref_lib.adb (Parse_Identifier_Info): Add handling of generic | |
9772 | instanciation references in the parent type description. | |
9773 | ||
9774 | 2003-11-17 GNAT Script <nobody@gnat.com> | |
9775 | ||
9776 | * Make-lang.in: Makefile automatically updated | |
9777 | ||
7d60db05 JM |
9778 | 2003-11-16 Jason Merrill <jason@redhat.com> |
9779 | ||
9780 | * Make-lang.in (ada.tags): Create TAGS.sub files in each directory | |
9781 | and TAGS files that include them for each front end. | |
9782 | ||
c0040397 AJ |
9783 | 2003-11-14 Andreas Jaeger <aj@suse.de> |
9784 | ||
a477ab83 | 9785 | * lang.opt: Change -Wno-long-long to -Wlong-long since the latter |
fbf3e0dd | 9786 | is the canonical version. |
a477ab83 AJ |
9787 | * misc.c (gnat_handle_option): Likewise. |
9788 | ||
c0040397 AJ |
9789 | * Makefile.in (LIBGNAT_TARGET_PAIRS): Add rules for x86_64-linux. |
9790 | ||
9791 | * 5nsystem.ads: New file for x86_64-linux-gnu. | |
9792 | ||
95a6aaf9 AC |
9793 | 2003-11-14 Arnaud Charlet <charlet@act-europe.fr> |
9794 | ||
262cc585 | 9795 | * nmake.ads, nmake.adb, sinfo.h, treeprs.ads: Regenerated. |
95a6aaf9 | 9796 | |
4a4fe537 AC |
9797 | * comperr.adb: Fix logic in previous change. |
9798 | ||
65356e64 AC |
9799 | 2003-11-13 Vincent Celier <celier@gnat.com> |
9800 | ||
9801 | * 5bml-tgt.adb (Build_Dynamic_Library): Use | |
9802 | Osint.Include_Dir_Default_Prefix instead of | |
9803 | Sdefault.Include_Dir_Default_Name. | |
9804 | ||
9805 | * gnatlbr.adb: Update Copyright notice | |
9806 | (Gnatlbr): : Use Osint.Include_Dir_Default_Prefix instead of | |
9807 | Sdefault.Include_Dir_Default_Name and Osint.Object_Dir_Default_Prefix | |
9808 | instead of Sdefault.Object_Dir_Default_Name | |
9809 | ||
c0040397 | 9810 | * gnatlink.adb: |
65356e64 AC |
9811 | (Process_Binder_File): Never suppress the option following -Xlinker |
9812 | ||
c0040397 | 9813 | * mdll-utl.adb: |
65356e64 AC |
9814 | (Gcc): Use Osint.Object_Dir_Default_Prefix instead of |
9815 | Sdefault.Object_Dir_Default_Name. | |
9816 | ||
c0040397 | 9817 | * osint.ads, osint.adb: |
65356e64 AC |
9818 | (Include_Dir_Default_Prefix, Object_Dir_Default_Prefix): New functions |
9819 | Minor reformatting. | |
9820 | ||
9821 | * vms_conv.ads: Minor reformating | |
9822 | Remove GNAT STANDARD and GNAT PSTA | |
9823 | ||
c0040397 | 9824 | * vms_conv.adb: |
65356e64 AC |
9825 | Allow GNAT MAKE to have several files on the command line. |
9826 | (Init_Object_Dirs): Use Osint.Object_Dir_Default_Prefix instead of | |
9827 | Sdefault.Object_Dir_Default_Name. | |
9828 | Minor Reformating | |
9829 | Remove data for GNAT STANDARD | |
9830 | ||
c0040397 | 9831 | * vms_data.ads: |
65356e64 AC |
9832 | Add new compiler qualifier /PRINT_STANDARD (-gnatS) |
9833 | Remove data for GNAT STANDARD | |
9834 | Remove options and documentation for -gnatwb/-gnatwB: these warning | |
9835 | options no longer exist. | |
9836 | ||
9837 | 2003-11-13 Ed Falis <falis@gnat.com> | |
9838 | ||
9839 | * 5zthrini.adb: (Init_RTS): Made visible | |
9840 | ||
c0040397 | 9841 | * 5zthrini.adb: |
65356e64 AC |
9842 | (Register): Removed unnecessary call to taskVarGet that checked whether |
9843 | an ATSD was already set as a task var for the argument thread. | |
9844 | ||
c0040397 | 9845 | * s-thread.adb: |
65356e64 AC |
9846 | Updated comment to reflect that this is a VxWorks version |
9847 | Added context clause for System.Threads.Initialization | |
9848 | Added call to System.Threads.Initialization.Init_RTS | |
9849 | ||
9850 | 2003-11-13 Jerome Guitton <guitton@act-europe.fr> | |
9851 | ||
c0040397 | 9852 | * 5zthrini.adb: |
65356e64 AC |
9853 | (Init_RTS): New procedure, for the initialization of the run-time lib. |
9854 | ||
c0040397 | 9855 | * s-thread.adb: |
65356e64 AC |
9856 | Remove dependancy on System.Init, so that this file can be used in the |
9857 | AE653 sequential run-time lib. | |
9858 | ||
9859 | 2003-11-13 Robert Dewar <dewar@gnat.com> | |
9860 | ||
9861 | * bindgen.adb: Minor reformatting | |
9862 | ||
9863 | 2003-11-13 Ed Schonberg <schonberg@gnat.com> | |
9864 | ||
c0040397 | 9865 | * checks.adb: |
65356e64 AC |
9866 | (Apply_Discriminant_Check): Do no apply check if target type is derived |
9867 | from source type with no applicable constraint. | |
9868 | ||
c0040397 | 9869 | * lib-writ.adb: |
65356e64 AC |
9870 | (Ensure_System_Dependency): Do not apply the style checks that may have |
9871 | been specified for the main unit. | |
9872 | ||
c0040397 | 9873 | * sem_ch8.adb: |
65356e64 AC |
9874 | (Find_Selected_Component): Further improvement in error message, with |
9875 | RM reference. | |
9876 | ||
c0040397 | 9877 | * sem_res.adb: |
65356e64 AC |
9878 | (Resolve): Handle properly the case of an illegal overloaded protected |
9879 | procedure. | |
9880 | ||
9881 | 2003-11-13 Javier Miranda <miranda@gnat.com> | |
9882 | ||
c0040397 | 9883 | * exp_aggr.adb: |
65356e64 AC |
9884 | (Has_Default_Init_Comps): New function to check the presence of |
9885 | default initialization in an aggregate. | |
9886 | (Build_Record_Aggr_Code): Recursively expand the ancestor in case of | |
9887 | extension aggregate of a limited record. In addition, a new formal | |
9888 | was added to do not initialize the record controller (if any) during | |
9889 | this recursive expansion of ancestors. | |
9890 | (Init_Controller): Add support for limited record components. | |
9891 | (Expand_Record_Aggregate): In case of default initialized components | |
9892 | convert the aggregate into a set of assignments. | |
9893 | ||
9894 | * par-ch4.adb (P_Aggregate_Or_Paren_Expr): Update the comment | |
9895 | describing the new syntax. | |
9896 | Nothing else needed to be done because this subprogram delegates part of | |
9897 | its work to P_Precord_Or_Array_Component_Association. | |
9898 | (P_Record_Or_Array_Component_Association): Give support to the new | |
9899 | syntax for default initialization of components. | |
9900 | ||
c0040397 | 9901 | * sem_aggr.adb: |
65356e64 AC |
9902 | (Resolve_Aggregate): Relax the strictness of the frontend in case of |
9903 | limited aggregates. | |
9904 | (Resolve_Record_Aggregate): Give support to default initialized | |
9905 | components. | |
9906 | (Get_Value): In case of default initialized components, duplicate | |
9907 | the corresponding default expression (from the record type | |
9908 | declaration). In case of default initialization in the *others* | |
9909 | choice, do not check that all components have the same type. | |
9910 | (Resolve_Extension_Aggregate): Give support to limited extension | |
9911 | aggregates. | |
9912 | ||
c0040397 | 9913 | * sem_ch3.adb: |
65356e64 AC |
9914 | (Check_Initialization): Relax the strictness of the front-end in case |
9915 | of aggregate and extension aggregates. This test is now done in | |
9916 | Get_Value in a per-component manner. | |
9917 | ||
9918 | * sem_ch4.adb (Analyze_Allocator): Don't post an error if the | |
9919 | expression corresponds to a limited aggregate. This test is now done | |
9920 | in Get_Value. | |
9921 | ||
9922 | * sinfo.ads, sinfo.adb (N_Component_Association): Addition of | |
9923 | Box_Present flag. | |
9924 | ||
9925 | * sprint.adb (Sprint_Node_Actual): Modified to print an mbox if | |
9926 | present in an N_Component_Association node | |
9927 | ||
9928 | 2003-11-13 Thomas Quinot <quinot@act-europe.fr> | |
9929 | ||
9930 | * sem_ch9.adb (Analyze_Accept_Statement): A procedure hides a | |
9931 | type-conformant entry only if they are homographs. | |
9932 | ||
9933 | 2003-11-13 GNAT Script <nobody@gnat.com> | |
9934 | ||
9935 | * Make-lang.in: Makefile automatically updated | |
9936 | ||
49add53f RO |
9937 | 2003-11-12 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
9938 | ||
9939 | * adadecode.c: Use <> form of include for ctype.h. | |
9940 | * sysdep.c [IN_RTS]: Use <> form of include for time.h. | |
9941 | ||
94bae1cc RO |
9942 | 2003-11-12 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
9943 | ||
9944 | * 5gsystem.ads (Functions_Return_By_DSP): Set to False. | |
9945 | Works around PR middle-end/6552. | |
9946 | ||
463f452c AC |
9947 | 2003-11-10 Ed Falis <falis@gnat.com> |
9948 | ||
9949 | * 5ytiitho.adb: (procStartHookAdd): Definition and call deleted | |
9950 | ||
9951 | * 5zinit.adb: (Install_Handler): Moved back to spec | |
9952 | (Install_Signal_Handlers): Deleted | |
9953 | ||
9954 | * 5zthrini.adb: Added context clause for System.Storage_Elements | |
9955 | (Register): Only handles creation of taskVar; initialization moved to | |
9956 | Thread_Body_Enter. | |
9957 | (Reset_TSD): Deleted; replaced by Thread_Body_Enter | |
9958 | Added declaration of environment task secondary stack and | |
9959 | initialization. | |
9960 | ||
9961 | * s-thread.adb: Implement bodies for thread body processing | |
9962 | ||
c0040397 | 9963 | * s-thread.ads: |
463f452c AC |
9964 | Added comment identifying supported targets for pragma Thread_Body. |
9965 | ||
9966 | 2003-11-10 Pascal Obry <obry@gnat.com> | |
9967 | ||
9968 | * adaint.c (_gnat_stat) [WIN32]: Check if name is not bigger than | |
9969 | GNAT_MAX_PATH_LEN. | |
9970 | ||
c0040397 | 9971 | * s-fileio.adb: |
463f452c AC |
9972 | (Open): Properly check for string length before copying into the buffer. |
9973 | Raises Name_Error if buffer is too small. Note that this was a potential | |
9974 | buffer overflow. | |
9975 | ||
9976 | 2003-11-10 Romain Berrendonner <berrendo@act-europe.fr> | |
9977 | ||
9978 | * bindgen.adb, comperr.adb: Code clean ups. | |
9979 | * gnatvsn.ads, gnatvsn.adb (Get_Gnat_Version_Type): New function. | |
9980 | ||
9981 | 2003-11-10 Sergey Rybin <rybin@act-europe.fr> | |
9982 | ||
9983 | * gnat1drv.adb: Add call to Sem_Elim.Initialize. | |
9984 | ||
9985 | 2003-11-10 Vincent Celier <celier@gnat.com> | |
9986 | ||
c0040397 | 9987 | * gprcmd.adb: |
463f452c AC |
9988 | (Gprcmd): Add new command "prefix" to get the prefix of the GNAT |
9989 | installation. | |
9990 | ||
9991 | * make.adb (Scan_Make_Arg): Transmit -nostdlib to the compiler | |
9992 | ||
9993 | * prj.adb: (Project_Empty): Add new boolean component Virtual | |
9994 | ||
9995 | * prj.ads: (Virtual_Prefix): New constant string | |
9996 | (Project_Data): New boolean component Virtual | |
9997 | ||
9998 | * prj-nmsc.adb (Language_Independent_Check): Adjust error message when | |
9999 | a library project is extended by a virtual extending project. | |
10000 | ||
c0040397 | 10001 | * prj-part.adb: |
463f452c AC |
10002 | Modifications throughout to implement extending-all project, including: |
10003 | (Virtual_Hash, Processed_Hash): New hash tables | |
10004 | (Create_Virtual_Extending_Project): New procedure | |
10005 | (Look_For_Virtual_Projects_For): New procedure | |
10006 | ||
c0040397 | 10007 | * prj-proc.adb: |
463f452c AC |
10008 | (Process): After checking the projects, if main project is an |
10009 | extending-all project, set the object directory of all virtual extending | |
10010 | project to the object directory of the main project. | |
10011 | Adjust error message when a virtual extending project has the same | |
10012 | object directory as an project being extended. | |
10013 | (Recursive_Process): If name starts with the virtual prefix, set Virtual | |
10014 | to True in the project data. | |
10015 | ||
c0040397 | 10016 | * prj-tree.adb: |
463f452c AC |
10017 | (Default_Project_Node): Add new boolean component Extending_All |
10018 | (Is_Extending_All): New function | |
10019 | (Set_Is_Extending_All): New procedure | |
10020 | ||
10021 | * prj-tree.ads: (Is_Extending_All): New function | |
10022 | (Set_Is_Extending_All): New procedure | |
10023 | (Project_Node_Record): New boolean component Extending_All | |
10024 | ||
10025 | * switch-c.adb: (Scan_Front_End_Switches): Process -nostdlib | |
10026 | ||
c0040397 | 10027 | * vms_data.ads: |
463f452c AC |
10028 | Add qualifier /NOSTD_LIBRARIES (-nostdlib) for the compiler |
10029 | ||
10030 | * bld.adb (Recursive_Process): If MAKE_ROOT is not defined, call | |
10031 | "gprcmd prefix" to define it. | |
10032 | ||
10033 | 2003-11-10 Thomas Quinot <quinot@act-europe.fr> | |
10034 | ||
10035 | * einfo.ads: Fix a typo and remove an extraneous word in comments. | |
10036 | ||
c0040397 | 10037 | * lib-load.adb: |
463f452c AC |
10038 | (Create_Dummy_Package_Unit): Set the scope of the entity for the |
10039 | created dummy package to Standard_Standard, not to itself, to | |
10040 | defend other parts of the front-end against encoutering a cycle in | |
10041 | the scope chain. | |
10042 | ||
c0040397 | 10043 | * sem_ch10.adb: |
463f452c AC |
10044 | (Analyze_With_Clause): When setting the entities for the successive |
10045 | N_Expanded_Names that constitute the name of a child unit, do not | |
10046 | attempt to go further than Standard_Standard in the chain of scopes. | |
10047 | This case arises from the placeholder units created by | |
10048 | Create_Dummy_Package_Unit in the case of a with_clause for a | |
10049 | nonexistent child unit. | |
10050 | ||
10051 | 2003-11-10 Ed Schonberg <schonberg@gnat.com> | |
10052 | ||
c0040397 | 10053 | * exp_ch6.adb: |
463f452c AC |
10054 | (Expand_Thread_Body): Place subprogram on scope stack, so that new |
10055 | declarations are given the proper scope. | |
10056 | ||
c0040397 | 10057 | * sem_ch13.adb: |
463f452c AC |
10058 | (Check_Expr_Constants): Reject an expression that contains a constant |
10059 | created during expansion, and that appears after the object to which | |
10060 | the address clause applies. | |
10061 | ||
10062 | * sem_ch5.adb (Check_Controlled_Array_Attribute): Subsidiary of | |
10063 | Analyze_Iteration_Scheme, to rewrite a loop parameter specification | |
10064 | that uses 'Range of a function call with controlled components, so | |
10065 | that the function result can be finalized before starting the loop. | |
10066 | ||
c0040397 | 10067 | * sem_ch8.adb: |
463f452c AC |
10068 | (Find_Selected_Component): Improve error message when prefix is |
10069 | an implicit dereference of an incomplete type. | |
10070 | ||
10071 | 2003-11-10 Robert Dewar <dewar@gnat.com> | |
10072 | ||
10073 | * opt.ads: New Print_Standard flag for -gnatS switch | |
10074 | ||
10075 | * sem_ch13.adb: Remove some additional checks for unaligned arrays | |
10076 | ||
10077 | * cstand.adb (Create_Standard): Print out package standard if -gnatS | |
10078 | switch set | |
10079 | ||
10080 | * debug.adb: Update doc for -gnatds to discuss relationship with new | |
10081 | -gnatS flag | |
10082 | ||
10083 | * sinfo.adb: Add new field Entity_Or_Associated_Node | |
10084 | ||
10085 | * sinfo.ads: Add new field Entity_Or_Associated_Node | |
10086 | Update documentation for Associated_Node and Entity fields to clarify | |
10087 | relationship and usage. | |
10088 | ||
c0040397 | 10089 | * sprint.adb: |
463f452c AC |
10090 | (Write_Id): Properly process Associated_Node field in generic template |
10091 | ||
c0040397 | 10092 | * switch-c.adb: |
463f452c AC |
10093 | Recognize new -gnatS switch for printing package Standard |
10094 | This replaces gnatpsta | |
10095 | ||
c0040397 | 10096 | * usage.adb: |
463f452c AC |
10097 | Add line for new -gnatS switch for printing package Standard |
10098 | This replaces gnatpsta | |
10099 | ||
c77c5f2e AJ |
10100 | 2003-11-10 Andreas Jaeger <aj@suse.de> |
10101 | ||
10102 | * 7sosprim.adb: tv_usec of struct_timeval and time_t are long | |
10103 | integer. | |
10104 | ||
5c90f17f AC |
10105 | 2003-11-10 Arnaud Charlet <charlet@act-europe.fr> |
10106 | ||
10107 | * misc.c, lang.opt: Add handling of -nostdlib, now recognized/needed | |
10108 | by gnat1. | |
10109 | ||
139f0d1e AC |
10110 | 2003-11-10 Arnaud Charlet <charlet@act-europe.fr> |
10111 | ||
10112 | * Makefile.in, Make-lang.in: Remove build of gnat_wrapper and gnatpsta, | |
10113 | no longer needed. | |
10114 | ||
10115 | * gnatpsta.adb, gnat_wrapper.adb: Removed, no longer needed. | |
10116 | ||
10117 | * sysdep.c: Add handling of cygwin. | |
10118 | ||
f3e4c05c GS |
10119 | 2003-11-10 GNAT Script <nobody@gnat.com> |
10120 | ||
10121 | * Make-lang.in: Makefile automatically updated | |
10122 | ||
2cdc8909 AC |
10123 | 2003-11-10 Arnaud Charlet <charlet@act-europe.fr> |
10124 | ||
10125 | PR 12950 | |
10126 | * osint.ads, osint.adb (Relocate_Path, Executable_Suffix): New | |
10127 | functions. Used to handle dynamic prefix relocation, via set_std_prefix. | |
10128 | Replace GNAT_ROOT by GCC_ROOT. | |
10129 | ||
10130 | * Make-lang.in: Use new function Relocate_Path to generate sdefault.adb | |
10131 | ||
37783865 ZW |
10132 | 2003-11-06 Zack Weinberg <zack@codesourcery.com> |
10133 | ||
10134 | * misc.c (fp_prec_to_size, fp_size_to_prec): Use GET_MODE_PRECISION | |
10135 | and update for changed meaning of GET_MODE_BITSIZE. | |
10136 | ||
6bc1c519 AC |
10137 | 2003-11-04 Doug Rupp <rupp@gnat.com> |
10138 | ||
10139 | * sysdep.c: Problem discovered during IA64 VMS port. | |
10140 | [VMS] #include <unixio.h> to get proper prototypes. | |
10141 | ||
37783865 | 10142 | * adaint.c: |
6bc1c519 AC |
10143 | Issues discovered/problems fixed during IA64 VMS port. |
10144 | [VMS] #define _POSIX_EXIT for proper semantics. | |
10145 | [VMS] #include <unixio.h> for proper prototypes. | |
10146 | [VMS] (fork): #define IA64 version. | |
10147 | (__gnat_os_exit): Remove unnecessary VMS specific code. | |
10148 | ||
10149 | 2003-11-04 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | |
10150 | ||
10151 | Part of PR ada/12806 | |
10152 | ||
10153 | * ada-tree.h (TYPE_DIGITS_VALUE, SET_TYPE_DIGITS_VALUE): Save count as | |
10154 | tree, not integer. | |
10155 | ||
37783865 | 10156 | * decl.c: |
6bc1c519 AC |
10157 | (gnat_to_gnu_entity, case E_Floating_Point_Type): Save count as tree, |
10158 | not integer. | |
10159 | ||
10160 | * targtyps.c, decl.c, misc.c, | |
10161 | gigi.h (fp_prec_to_size, fp_size_to_prec): Temporary | |
10162 | routines to work around change in FP sizing semantics in GCC. | |
10163 | ||
37783865 | 10164 | * utils.c: |
6bc1c519 AC |
10165 | (build_vms_descriptor): TYPE_DIGITS_VALUE is tree, not integer. |
10166 | ||
10167 | * gigi.h: (enumerate_modes): New function. | |
10168 | ||
10169 | * Make-lang.in: (ada/misc.o): Add real.h. | |
10170 | ||
10171 | * misc.c: (enumerate_modes): New function. | |
10172 | ||
10173 | 2003-11-04 Robert Dewar <dewar@gnat.com> | |
10174 | ||
10175 | * 3vtrasym.adb: Minor reformatting | |
10176 | Use terminology encoded/decoded name, rather than C++ specific notion | |
10177 | of mangling (this is the terminology used throughout GNAT). | |
10178 | ||
10179 | * einfo.h: Regenerated | |
10180 | ||
10181 | * einfo.ads, einfo.adb: Add new flag Is_Thread_Body | |
10182 | ||
37783865 | 10183 | * exp_ch6.adb: |
6bc1c519 AC |
10184 | (Expand_N_Subprogram_Body): Handle expansion of thread body procedure |
10185 | ||
10186 | * par-prag.adb: Add dummy entry for Thread_Body pragma | |
10187 | ||
37783865 | 10188 | * rtsfind.ads: |
6bc1c519 AC |
10189 | Add entries for System.Threads entities for thread body processing |
10190 | ||
37783865 | 10191 | * sem_attr.adb: |
6bc1c519 AC |
10192 | (Analyze_Pragma, Access attributes): Check these are not applied to a |
10193 | thread body, since this is not permitted | |
10194 | ||
10195 | * sem_prag.adb: Add processing for Thread_Body pragma. | |
10196 | Minor comment fix. | |
10197 | ||
37783865 | 10198 | * sem_res.adb: |
6bc1c519 AC |
10199 | (Resolve_Call): Check for incorrect attempt to call a thread body |
10200 | procedure with a direct call. | |
10201 | ||
10202 | * snames.ads, snames.adb: Add entry for Thread_Body pragma | |
10203 | Add names associated with thread body expansion | |
10204 | ||
10205 | * snames.h: Add entry for Thread_Body pragma | |
10206 | ||
10207 | * s-thread.adb: Add entries for thread body processing | |
10208 | These are dummy bodies so far | |
10209 | ||
10210 | * s-thread.ads: Add documentation on thread body handling. | |
10211 | Add entries for thread body processing. | |
10212 | ||
10213 | 2003-11-04 Javier Miranda <miranda@gnat.com> | |
10214 | ||
37783865 | 10215 | * sem_ch10.adb: |
6bc1c519 AC |
10216 | (Build_Limited_Views): Return after posting an error in case of limited |
10217 | with_clause on subprograms, generics, instances or generic renamings | |
10218 | (Install_Limited_Withed_Unit): Do nothing in case of limited with_clause | |
10219 | on subprograms, generics, instances or generic renamings | |
10220 | ||
10221 | 2003-11-04 Arnaud Charlet <charlet@act-europe.fr> | |
10222 | ||
10223 | * raise.c (setup_to_install): Correct mistake in last revision; two | |
10224 | arguments out of order. | |
10225 | ||
10226 | * trans.c, cuintp.c, argv.c, aux-io.c, cal.c, errno.c, exit.c, | |
10227 | gnatbl.c, init.c, stringt.h, utils.c, utils2.c: Update copyright | |
10228 | notice, missed in previous change. | |
10229 | Remove trailing blanks and other style errors introduced in previous | |
10230 | change. | |
10231 | ||
10232 | 2003-11-04 Olivier Hainque <hainque@act-europe.fr> | |
10233 | ||
10234 | * decl.c (gnat_to_gnu_field): Adjust the conditions under which we get | |
10235 | rid of the wrapper for a LJM type, ensuring we don't do that if the | |
10236 | field is addressable. This avoids potential low level type view | |
10237 | mismatches later on, for instance in a by-reference argument passing | |
10238 | process. | |
10239 | ||
10240 | 2003-11-04 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | |
10241 | ||
10242 | * decl.c (gnat_to_gnu_field): No longer check for BLKmode being | |
10243 | aligned at byte boundary. | |
10244 | ||
10245 | 2003-11-04 Joel Brobecker <brobecker@gnat.com> | |
10246 | ||
10247 | * decl.c (components_to_record): Do not delete the empty variants from | |
10248 | the end of the union type. | |
10249 | ||
10250 | 2003-11-04 Ed Schonberg <schonberg@gnat.com> | |
10251 | ||
10252 | * exp_ch4.adb (Expand_N_Op_Eq): Use base type when locating primitive | |
10253 | operation for a derived type, an explicit declaration may use a local | |
10254 | subtype of Boolean. | |
10255 | ||
10256 | 2003-11-04 Vincent Celier <celier@gnat.com> | |
10257 | ||
10258 | * make.adb (Gnatmake): Allow main sources on the command line with a | |
10259 | library project when it is only for compilation (no binding or | |
10260 | linking). | |
10261 | ||
487e9fff RO |
10262 | 2003-11-04 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
10263 | ||
10264 | * Makefile.in: Remove many duplicate variables. | |
10265 | ||
63069342 KC |
10266 | 2003-11-03 Kelley Cook <kcook@gcc.gnu.org> |
10267 | ||
10268 | * Make-lang.in (dvi): Move targets to $(docobjdir). | |
10269 | (gnat_ug_vms.dvi): Simplify rule and adjust target. | |
10270 | (gnat_ug_wnt.dvi): Likewise. | |
10271 | (gnat_ug_unx.dvi): Likewise. | |
10272 | (gnat_ug_vxw.dvi): Likewise. | |
10273 | (gnat_rm.dvi): Likewise. | |
10274 | (gnat-style.dvi): Likewise. | |
10275 | ||
c2edc52b KC |
10276 | 2003-10-31 Kelley Cook <kcook@gcc.gnu.org> |
10277 | ||
10278 | * gigi.h: Missed commit from update for C90. | |
10279 | ||
14df9585 KC |
10280 | 2003-10-31 Kelley Cook <kcook@gcc.gnu.org> |
10281 | ||
10282 | * Makefile.in (ada/b_gnat1.o): Compile with -Wno-error. | |
10283 | ||
acd8e984 AS |
10284 | 2003-10-31 Andreas Schwab <schwab@suse.de> |
10285 | ||
10286 | * raise.c (get_action_description_for): Fix typo in last change. | |
10287 | ||
b2c62c45 NN |
10288 | 2003-10-31 Nathanael Nerode <neroden@gcc.gnu.org> |
10289 | ||
10290 | PR ada/12761 | |
10291 | * ada/Make-lang.in: Move default definitions of X_ADA_CFLAGS, | |
10292 | T_ADA_CFLAGS, X_ADAFLAGS, T_ADAFLAGS from here to master Makefile.in. | |
10293 | ||
9373164a KC |
10294 | 2003-10-30 Kelley Cook <kcook@gcc.gnu.org> |
10295 | ||
10296 | * adadecode.c, adaint.c, argv.c, aux-io.c, cal.c, cio.c, cstreams.c, | |
10297 | ctrl_c.c, cuintp.c, decl.c, errno.c, exit.c, expect.c, final.c, | |
10298 | gigi.h, gmem.c, gnatbl.c, init.c, misc.c, mkdir.c, raise.c, socket.c, | |
10299 | sysdep.c, sysdep.c, targtyps.c, tb-alvms.c, tb-alvxw.c, tracebak.c, | |
10300 | trans.c, utils.c, utils2.c: Convert function prototypes to C90. | |
10301 | ||
bde58e32 AC |
10302 | 2003-10-30 Vasiliy Fofanov <fofanov@act-europe.fr> |
10303 | ||
37783865 | 10304 | * 3vtrasym.adb: |
bde58e32 AC |
10305 | Demangle Ada symbols returned by TBK$SYMBOLIZE. Correctly align line |
10306 | numbers when symbol name is too long. | |
10307 | ||
10308 | 2003-10-30 Ed Falis <falis@gnat.com> | |
10309 | ||
10310 | * g-signal.ads, g-signal.adb: New files | |
10311 | ||
10312 | * impunit.adb: (Non_Imp_File_Names): Added "g-signal" | |
10313 | ||
10314 | * Makefile.rtl: Introduce GNAT.Signals | |
10315 | ||
10316 | 2003-10-30 Robert Dewar <dewar@gnat.com> | |
10317 | ||
10318 | * freeze.adb: Minor reformatting | |
10319 | ||
10320 | * lib-writ.adb (Write_ALI): Never write ali file if -gnats is specified | |
10321 | ||
37783865 ZW |
10322 | * par.adb, par-ch12.adb, par-ch13.adb, par-ch2.adb, par-ch3.adb, |
10323 | par-ch5.adb, par-ch6.adb, par-ch9.adb, par-util.adb: | |
bde58e32 AC |
10324 | New handling of Id_Check parameter to improve recognition of keywords |
10325 | used as identifiers. | |
10326 | Update copyright notice to include 2003 | |
10327 | ||
657a9dd9 AC |
10328 | 2003-10-29 Robert Dewar <dewar@gnat.com> |
10329 | ||
10330 | * 3vtrasym.adb, 5vtraent.ads, sprint.adb, | |
10331 | sem_ch10.adb: Minor reformatting | |
10332 | ||
10333 | * exp_ch5.adb (Expand_Assign_Array): Test for bit unaligned operands | |
10334 | (Expand_Assign_Record): Test right hand side for bit unaligned as well | |
10335 | ||
10336 | 2003-10-29 Vasiliy Fofanov <fofanov@act-europe.fr> | |
10337 | ||
37783865 | 10338 | * 3vtrasym.adb, 5vtraent.adb, 5vtraent.ads, tb-alvms.c: |
657a9dd9 AC |
10339 | Support for TBK$SYMBOLIZE-based symbolic traceback. |
10340 | ||
10341 | 2003-10-29 Jose Ruiz <ruiz@act-europe.fr> | |
10342 | ||
37783865 | 10343 | * exp_disp.adb: |
657a9dd9 AC |
10344 | Revert previous change, that did not work well when pragma No_Run_Time |
10345 | was used in conjunction with a run-time other than ZFP. | |
10346 | ||
10347 | 2003-10-29 Vincent Celier <celier@gnat.com> | |
10348 | ||
37783865 | 10349 | * make.adb: |
657a9dd9 AC |
10350 | (Gnatmake): When there are no Ada mains in attribute Main, disable the |
10351 | bind and link steps only is switch -z is not used. | |
10352 | ||
10353 | 2003-10-29 Arnaud Charlet <charlet@act-europe.fr> | |
10354 | ||
10355 | * Makefile.generic: Remove duplicated setting of CC. | |
10356 | ||
10357 | * Makefile.prolog: Set CC to gcc by default, to override make's | |
10358 | default (cc). | |
10359 | ||
10360 | * einfo.h: Regenerated. | |
10361 | ||
10362 | 2003-10-29 Ed Schonberg <schonberg@gnat.com> | |
10363 | ||
10364 | * sem_ch10.adb (Analyze_Subunit): Restore state of suppress flags for | |
10365 | current body, after compiling subunit. | |
10366 | ||
10367 | * itypes.adb (Create_Itype): In ASIS_Mode, do not freeze the itype | |
10368 | when in deleted code, because gigi needs properly ordered freeze | |
10369 | actions to annotate types. | |
10370 | ||
10371 | * freeze.adb (Is_Fully_Defined): Predicate must be recursive, to | |
10372 | prevent the premature freezing of record type that contains | |
10373 | subcomponents with a private type that does not yet have a completion. | |
10374 | ||
10375 | 2003-10-29 Javier Miranda <miranda@gnat.com> | |
10376 | ||
37783865 | 10377 | * sem_ch12.adb: |
657a9dd9 AC |
10378 | (Analyze_Package_Instantiation): Check that instances can not be used in |
10379 | limited with_clauses. | |
10380 | ||
37783865 | 10381 | * sem_ch8.adb: |
657a9dd9 AC |
10382 | (Analyze_Package_Renaming): Check that limited withed packages cannot |
10383 | be renamed. Improve text on error messages related to limited | |
10384 | with_clauses. | |
10385 | ||
10386 | * einfo.adb, einfo.ads: Remove Non_Limited_Views attribute. | |
10387 | ||
10388 | * sprint.adb: (Sprint_Node_Actual): Print limited with_clauses. | |
10389 | Update copyright notice. | |
10390 | ||
10391 | * sem_ch10.adb: (Build_Limited_Views): Complete its documentation. | |
10392 | (Install_Limited_Context_Clauses): New subprogram that isolates all the | |
10393 | checks required for limited context_clauses and installs the limited | |
10394 | view. | |
10395 | (Install_Limited_Withed_Unit): Complete its documentation. | |
10396 | (Analyze_Context): Check that limited with_clauses are only allowed in | |
10397 | package specs. | |
10398 | (Install_Context): Call Install_Limited_Context_Clauses after the | |
10399 | parents have been installed. | |
10400 | (Install_Limited_Withed_Unit): Add documentation. Mark the installed | |
10401 | package as 'From_With_Type'; this mark indicates that the limited view | |
10402 | is installed. Used to check bad usages of limited with_clauses. | |
10403 | (Build_Limited_Views): Do not add shadow entities to the scope's list | |
10404 | of entities. Do not add real entities to the Non_Limited_Views chain. | |
10405 | Improve error notification. | |
10406 | (Remove_Context_Clauses): Remove context clauses in two phases: | |
10407 | limited views first and regular views later (to maintain the | |
10408 | stack model). | |
10409 | (Remove_Limited_With_Clause): If the package is analyzed then reinstall | |
10410 | its visible entities. | |
10411 | ||
10412 | 2003-10-29 Thomas Quinot <quinot@act-europe.fr> | |
10413 | ||
10414 | * sem_type.adb (Specific_Type): Type Universal_Fixed is compatible | |
10415 | with any type that Is_Fixed_Point_Type. | |
10416 | ||
10417 | * sinfo.ads: Fix documentation for Associated_Node attribute. | |
10418 | ||
10419 | 2003-10-29 Sergey Rybin <rybin@act-europe.fr> | |
10420 | ||
10421 | * switch-c.adb (Scan_Front_End_Switches): ASIS_Mode is set now when | |
10422 | both '-gnatc' and '-gnatt' are specified. | |
10423 | ||
10424 | * atree.adb (Initialize): Add initialization for Node_Count (set to | |
10425 | zero). | |
10426 | ||
10427 | 2003-10-29 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | |
10428 | ||
10429 | * decl.c (gnat_to_gnu_entity, case E_Subprogram): If no return value, | |
10430 | do not consider as Pure. | |
10431 | ||
10432 | Part of implementation of function-at-a-time: | |
10433 | ||
10434 | * trans.c (gnat_to_gnu_code): If IS_STMT, call expand_expr_stmt. | |
10435 | (tree_transform): Add new argument to build_component_ref. | |
10436 | (tree_transform, case N_Assignment_Statement): Make and return an | |
10437 | EXPR_STMT. | |
10438 | (tree_transform): If result IS_STMT, set flags and return it. | |
10439 | (gnat_expand_stmt, set_lineno_from_sloc): New functions. | |
10440 | ||
10441 | * utils2.c (build_simple_component_ref, build_component_ref): Add new | |
10442 | arg, NO_FOLD_P. | |
10443 | (build_binary_op, case EQ_EXPR): Pass additional arg to it. | |
10444 | (build_allocator): Likewise. | |
10445 | ||
10446 | * utils.c (convert_to_fat_pointer, convert_to_thin_pointer, convert): | |
10447 | Add new arg to build_component_ref. | |
10448 | (maybe_unconstrained_array, unchecked_convert): Likewise. | |
10449 | ||
10450 | * ada-tree.def (EXPR_STMT): New code. | |
10451 | ||
10452 | * ada-tree.h (IS_STMT, TREE_SLOC, EXPR_STMT_EXPR): New macros. | |
10453 | ||
10454 | * decl.c (gnat_to_gnu_entity, case object): Add extra arg to | |
10455 | build_component_ref calls. | |
10456 | ||
10457 | * misc.c (gnat_expand_expr): If IS_STMT, call gnat_expand_stmt. | |
10458 | ||
10459 | * gigi.h (gnat_expand_stmt, set_lineno_from_sloc): New functions. | |
10460 | (build_component_ref): Add new argument, NO_FOLD_P. | |
10461 | ||
ecad994d AC |
10462 | 2003-10-27 Arnaud Charlet <charlet@act-europe.fr> |
10463 | ||
10464 | * Makefile.generic: Add missing substitution on object_deps handling. | |
10465 | ||
10466 | PR ada/5909: | |
10467 | * Make-lang.in (check-ada): Enable ACATS test suite. | |
10468 | ||
10469 | 2003-10-27 Robert Dewar <dewar@gnat.com> | |
10470 | ||
37783865 | 10471 | * exp_ch3.adb: |
ecad994d AC |
10472 | (Freeze_Array_Type): We do not need an initialization routine for types |
10473 | derived from String or Wide_String. They should be treated the same | |
10474 | as String and Wide_String themselves. This caused problems with the | |
10475 | use of Initialize_Scalars. | |
10476 | ||
37783865 | 10477 | * exp_ch5.adb: |
ecad994d AC |
10478 | (Expand_Assign_Record): Do component-wise assignment of non-byte aligned |
10479 | composites. This allows use of component clauses that are not byte | |
10480 | aligned. | |
10481 | ||
37783865 | 10482 | * sem_prag.adb: |
ecad994d AC |
10483 | (Analyze_Pragma, case Pack): Generate warning and ignore pack if there |
10484 | is an attempt to pack an array of atomic objects. | |
10485 | ||
10486 | * make.adb, prj-env.adb, prj-env.ads: Minor reformatting | |
10487 | ||
10488 | 2003-10-27 Pascal Obry <obry@gnat.com> | |
10489 | ||
37783865 | 10490 | * g-dirope.adb: |
ecad994d AC |
10491 | (Basename): Check for drive letters in a pathname only on DOS based OS. |
10492 | ||
10493 | 2003-10-27 Vincent Celier <celier@gnat.com> | |
10494 | ||
37783865 | 10495 | * make.adb: |
ecad994d AC |
10496 | (Gnatmake): When unable to change dir to the object dir, display the |
10497 | content of the parent dir of the obj dir, to try to understand why this | |
10498 | happens. | |
10499 | ||
10500 | 2003-10-27 GNAT Script <nobody@gnat.com> | |
10501 | ||
10502 | * Make-lang.in: Makefile automatically updated | |
10503 | ||
10504 | 2003-10-27 Ed Schonberg <schonberg@gnat.com> | |
10505 | ||
37783865 | 10506 | * sem_ch12.adb: |
ecad994d AC |
10507 | (Inline_Instance_Body): Indicate that the save/restore of use_clauses |
10508 | should not be done in Save/Restore_Scope_Stack, because it is performed | |
10509 | locally. | |
10510 | ||
37783865 | 10511 | * sem_ch8.adb: |
ecad994d AC |
10512 | (Save_Scope_Stack, Restore_Scope_Stack): Add parameter to indicate |
10513 | whether use clauses should be removed/restored. | |
10514 | ||
37783865 | 10515 | * sem_ch8.ads: |
ecad994d AC |
10516 | (Save_Scope_Stack, Restore_Scope_Stack): Add parameter to indicate |
10517 | whether use clauses should be removed/restored. | |
10518 | ||
b6b3c138 AJ |
10519 | 2003-10-26 Andreas Jaeger <aj@suse.de> |
10520 | ||
10521 | * Makefile.in: Remove duplicated lines. | |
10522 | ||
b6d83931 AC |
10523 | 2003-10-24 Arnaud Charlet <charlet@act-europe.fr> |
10524 | ||
10525 | * gnatvsn.ads (Gnat_Static_Version_String): New constant, used to | |
10526 | minimize the differences with ACT tree. | |
10527 | ||
10528 | * gnatkr.adb, gnatlink.adb, gnatls.adb, gnatmake.adb, | |
10529 | gnatprep.adb, gnatpsta.adb, gnatvsn.ads: Take advantage of | |
10530 | Gnatvsn.Gnat_Static_Version_String to reduce differences between | |
10531 | ACT and FSF trees. | |
10532 | ||
10533 | 2003-10-24 Pascal Obry <obry@gnat.com> | |
10534 | ||
10535 | * adadecode.c (ostrcpy): New function. | |
10536 | (__gnat_decode): Use ostrcpy of strcpy. | |
10537 | (has_prefix): Set first parameter a const. | |
10538 | (has_suffix): Set first parameter a const. | |
10539 | Update copyright notice. Fix source name in header. | |
10540 | Removes a trailing space. | |
10541 | PR ada/12014. | |
10542 | ||
10543 | 2003-10-24 Jose Ruiz <ruiz@act-europe.fr> | |
10544 | ||
b6b3c138 | 10545 | * exp_disp.adb: |
b6d83931 AC |
10546 | Remove the test against being in No_Run_Time_Mode before generating a |
10547 | call to Register_Tag. It is redundant with the test against the | |
10548 | availability of the function Register_Tag. | |
10549 | ||
10550 | 2003-10-24 Vincent Celier <celier@gnat.com> | |
10551 | ||
10552 | * g-catiio.adb: (Month_Name): Correct spelling of February | |
10553 | ||
10554 | * make.adb: (Mains): New package | |
10555 | (Initialize): Call Mains.Delete | |
10556 | (Gnatmake): Check that each main on the command line is a source of a | |
10557 | project file and, if there are several mains, each of them is a source | |
10558 | of the same project file. | |
10559 | (Gnatmake): When a foreign language is specified in attribute Languages, | |
10560 | no main is specified on the command line and attribute Mains is not | |
10561 | empty, only build the Ada main. If there is no Ada main, just compile | |
10562 | the Ada sources and their closure. | |
10563 | (Gnatmake): If a main is specified on the command line with directory | |
10564 | information, check that the source exists and, if it does, that the path | |
10565 | is the actual path of a source of a project. | |
10566 | ||
b6b3c138 | 10567 | * prj-env.adb: |
b6d83931 AC |
10568 | (File_Name_Of_Library_Unit_Body): New Boolean parameter Full_Path. When |
10569 | Full_Path is True, return the full path instead of the simple file name. | |
10570 | (Project_Of): New function | |
10571 | ||
b6b3c138 | 10572 | * prj-env.ads: |
b6d83931 AC |
10573 | (File_Name_Of_Library_Unit_Body): New Boolean parameter Full_Path, |
10574 | defaulted to False. | |
10575 | (Project_Of): New function | |
10576 | ||
10577 | 2003-10-24 Arnaud Charlet <charlet@act-europe.fr> | |
10578 | ||
b6b3c138 | 10579 | * Makefile.generic: |
b6d83931 AC |
10580 | Ensure objects of main project are always checked and rebuilt if needed. |
10581 | Set CC to gcc by default. | |
10582 | Prepare new handling of link by creating a global archive (not activated | |
10583 | yet). | |
10584 | ||
10585 | * adadecode.h, atree.h, elists.h, nlists.h, raise.h, | |
10586 | stringt.h: Update copyright notice. Remove trailing blanks. | |
10587 | Fix source name in header. | |
10588 | ||
10589 | 2003-10-24 Robert Dewar <dewar@gnat.com> | |
10590 | ||
10591 | * sem_ch12.adb: Minor reformatting | |
10592 | ||
b6b3c138 | 10593 | * sem_ch3.adb: |
b6d83931 AC |
10594 | Minor reformatting (including new function return style throughout) |
10595 | ||
b6b3c138 | 10596 | * sem_ch3.ads: |
b6d83931 AC |
10597 | Minor reformatting (including new function return style throughout) |
10598 | ||
10599 | 2003-10-24 Arnaud Charlet <charlet@act-europe.fr> | |
10600 | ||
10601 | * adadecode.h, atree.h, elists.h, nlists.h, raise.h, | |
10602 | stringt.h: Update copyright notice. Remove trailing blanks. | |
10603 | Fix source name in header. | |
10604 | ||
10605 | 2003-10-24 GNAT Script <nobody@gnat.com> | |
10606 | ||
10607 | * Make-lang.in: Makefile automatically updated | |
10608 | ||
b4e2d709 NN |
10609 | 2003-10-23 Nathanael Nerode <neroden@gcc.gnu.org> |
10610 | ||
10611 | * adadecode.h, atree.h, elists.h, namet.h, nlists.h, raise.h, | |
10612 | stringt.h: Convert to ISO C90 declarations and definitions. | |
10613 | ||
9d7d51be AC |
10614 | 2003-10-23 Thomas Quinot <quinot@act-europe.fr> |
10615 | ||
10616 | PR ada/11978: | |
10617 | * exp_ch13.adb (Expand_N_Freeze_Entity): Do not consider inherited | |
10618 | External_Tag attribute definition clauses. | |
10619 | ||
10620 | 2003-10-23 Ed Schonberg <schonberg@gnat.com> | |
10621 | ||
10622 | PR ada/7613: | |
10623 | * exp_dbug.adb (Debug_Renaming_Declaration): For the renaming of a | |
10624 | child unit, generate a fully qualified name to avoid spurious errors | |
10625 | when the context contains renamings of different child units with | |
10626 | the same simple name. | |
10627 | ||
10628 | * exp_dbug.ads: Add documentation on name qualification for renamings | |
10629 | of child units. | |
10630 | ||
10631 | 2003-10-23 Robert Dewar <dewar@gnat.com> | |
10632 | ||
10633 | * g-regpat.ads, g-regpat.adb: Minor reformatting | |
10634 | ||
10635 | 2003-10-23 Jose Ruiz <ruiz@act-europe.fr> | |
10636 | ||
10637 | * Makefile.in: Use the file 1atags.ads with the ZFP and cert run-times. | |
10638 | ||
10639 | 2003-10-23 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> | |
10640 | ||
10641 | * trans.c: (tree_transform, case N_Real_Literal): Add extra arg to | |
10642 | Machine call. | |
10643 | ||
10644 | * urealp.h: (Machine): Update to proper definition. | |
10645 | ||
6d244bbe AC |
10646 | 2003-10-23 Arnaud Charlet <charlet@act-europe.fr> |
10647 | ||
10648 | * init.c, adaint.c: Minor reformatting. | |
10649 | ||
8f4eb34b DS |
10650 | 2003-10-23 Danny Smith <dannysmith@users.sourceforge.net> |
10651 | ||
6d244bbe | 10652 | * adaint.c (w32_epoch_offset): Define static const at file level. |
8f4eb34b DS |
10653 | (win32_filetime): Replace offset with w32_epoch_offset. Use NULL |
10654 | rather than t_create, t_access in call to GetFileTime. Use union | |
10655 | to convert between FILETIME and unsigned long long. | |
10656 | (__gnat_file_time_name): Test for invalid file handle. | |
10657 | (__gnat_set_filetime_name): Support win32 targets using | |
10658 | w32api SetFileTime. | |
10659 | ||
25412599 DS |
10660 | 2003-10-22 Danny Smith <dannysmith@users.sourceforge.net> |
10661 | ||
10662 | * sysdep.c: Include conio.h if __MINGW32__ and !OLD_MINGW. | |
10663 | ||
10664 | * ctrl_c.c (__gnat_int_handler): Remove declaration. | |
10665 | ||
10666 | * decl.c (creat_concat_name): Const-ify prefix. | |
10667 | ||
10668 | * adaint.c: Include ctype.h if __MINGW32__. | |
10669 | (__gnat_readlink): Mark arguments as possibly unused. | |
10670 | (__gnat_symlink): Likewise. | |
10671 | (__gnat_is_symbolic_link): Likewise. | |
10672 | (__gnat_portable_spawn): Likewise. Cast last arg of spawnvp to match | |
10673 | declaration | |
b6b3c138 | 10674 | (__gnat_file_time_name): Don't declare struct stat statbuf when |
25412599 DS |
10675 | not needed. |
10676 | (__gnat_is_absolute_path): Add parenthesis around condition of | |
10677 | 'if' statement to avoid warning. | |
10678 | (__gnat_plist_init): Specify void as parameter. | |
10679 | (plist_enter): Likewise. | |
10680 | (plist_leave): Likewise. | |
10681 | (remove_handle): Make static. Initialize prev. | |
10682 | ||
698a5e79 AC |
10683 | 2003-10-22 Arnaud Charlet <charlet@act-europe.fr> |
10684 | ||
6d244bbe | 10685 | * Makefile.in: Disable build of gnatpsta. PR ada/10110. |
698a5e79 AC |
10686 | * cstreams.c (__gnat_full_name): Minor improvements and clean up |
10687 | of previous change. | |
10688 | ||
e97c30aa RO |
10689 | 2003-10-22 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
10690 | ||
10691 | * tracebak.c (MAX): Avoid redefinition warning. | |
10692 | ||
10693 | * init.c [sgi] (__gnat_error_handler): Remove i, unused. | |
10694 | Change msg to const char *. | |
10695 | (__gnat_install_handler): Remove ss, unused. | |
10696 | [sun && __SVR4 && !__vxworks] (__gnat_error_handler): Change msg | |
10697 | to const char *. | |
10698 | * cstreams.c (__gnat_full_name): Declare p only when used. | |
10699 | (__gnat_full_name) [sgi] Return buffer. | |
10700 | ||
65f1ebd1 AC |
10701 | 2003-10-22 Arnaud Charlet <charlet@act-europe.fr> |
10702 | ||
10703 | * mingw32.h: New file. | |
0c644933 AC |
10704 | * gnat_wrapper.adb: New file. |
10705 | ||
6d244bbe | 10706 | 2003-10-22 Jerome Roussel <roussel@act-europe.fr> |
0c644933 AC |
10707 | |
10708 | * g-regpat.ads, g-regpat.adb (Match): new function, to know if a | |
10709 | string match a pre compiled regular expression (the corresponding | |
10710 | version of the function working on a raw regular expression) | |
10711 | Fix typos in various comments | |
10712 | Update copyright notice in spec | |
10713 | ||
6d244bbe | 10714 | 2003-10-21 Gary Dismukes <dismukes@gnat.com> |
0c644933 | 10715 | |
b6b3c138 | 10716 | * exp_ch3.adb: |
0c644933 AC |
10717 | (Component_Needs_Simple_Initialization): Return False when the type is a |
10718 | packed bit array. Revise spec comments to document this case. | |
10719 | ||
b6b3c138 | 10720 | * exp_prag.adb: |
0c644933 AC |
10721 | (Expand_Pragma_Import): Set any expression on the imported object to |
10722 | empty to avoid initializing imported objects (in particular this | |
10723 | covers the case of zero-initialization of bit arrays). | |
10724 | Update copyright notice. | |
10725 | ||
6d244bbe | 10726 | 2003-10-21 Ed Schonberg <schonberg@gnat.com> |
0c644933 | 10727 | |
b6b3c138 | 10728 | * sem_ch12.adb: |
0c644933 AC |
10729 | (Load_Parent_Of_Generic): If parent is compilation unit, stop search, |
10730 | a subunit is missing. | |
10731 | (Instantiate_Subprogram_Body): If body of function is missing, set type | |
10732 | of return expression explicitly in dummy body, to prevent cascaded | |
10733 | errors when a subunit is missing. | |
10734 | Fixes PR 5677. | |
10735 | ||
b6b3c138 | 10736 | * sem_ch3.adb: |
0c644933 AC |
10737 | (Access_Subprogram_Declaration): Verify that return type is valid. |
10738 | Fixes PR 8693. | |
10739 | ||
b6b3c138 | 10740 | * sem_elab.adb: |
0c644933 AC |
10741 | (Check_Elab_Calls): Do not apply elaboration checks if the main unit is |
10742 | generic. | |
10743 | Fixes PR 12318. | |
10744 | ||
b6b3c138 | 10745 | * sem_util.adb: |
0c644933 AC |
10746 | (Corresponding_Discriminant): If the scope of the discriminant is a |
10747 | private type without discriminant, use its full view. | |
10748 | Fixes PR 8247. | |
65f1ebd1 | 10749 | |
fbf5a39b AC |
10750 | 2003-10-21 Arnaud Charlet <charlet@act-europe.fr> |
10751 | ||
10752 | * 3psoccon.ads, 3veacodu.adb, 3vexpect.adb, 3vsoccon.ads, | |
10753 | 3vsocthi.adb, 3vsocthi.ads, 3vtrasym.adb, 3zsoccon.ads, | |
10754 | 3zsocthi.adb, 3zsocthi.ads, 50system.ads, 51system.ads, | |
10755 | 55system.ads, 56osinte.adb, 56osinte.ads, 56taprop.adb, | |
10756 | 56taspri.ads, 56tpopsp.adb, 57system.ads, 58system.ads, | |
10757 | 59system.ads, 5aml-tgt.adb, 5bml-tgt.adb, 5csystem.ads, | |
10758 | 5dsystem.ads, 5fosinte.adb, 5gml-tgt.adb, 5hml-tgt.adb, | |
10759 | 5isystem.ads, 5lparame.adb, 5msystem.ads, 5psystem.ads, | |
10760 | 5sml-tgt.adb, 5sosprim.adb, 5stpopsp.adb, 5tsystem.ads, | |
10761 | 5usystem.ads, 5vml-tgt.adb, 5vsymbol.adb, 5vtraent.adb, | |
10762 | 5vtraent.ads, 5wml-tgt.adb, 5xparame.ads, 5xsystem.ads, | |
10763 | 5xvxwork.ads, 5yparame.ads, 5ytiitho.adb, 5zinit.adb, | |
10764 | 5zml-tgt.adb, 5zparame.ads, 5ztaspri.ads, 5ztfsetr.adb, | |
10765 | 5zthrini.adb, 5ztiitho.adb, 5ztpopsp.adb, 7stfsetr.adb, | |
10766 | 7straces.adb, 7strafor.adb, 7strafor.ads, 7stratas.adb, | |
10767 | a-excach.adb, a-exexda.adb, a-exexpr.adb, a-exextr.adb, | |
10768 | a-exstat.adb, a-strsup.adb, a-strsup.ads, a-stwisu.adb, | |
10769 | a-stwisu.ads, bld.adb, bld.ads, bld-io.adb, | |
10770 | bld-io.ads, clean.adb, clean.ads, ctrl_c.c, | |
10771 | erroutc.adb, erroutc.ads, errutil.adb, errutil.ads, | |
10772 | err_vars.ads, final.c, g-arrspl.adb, g-arrspl.ads, | |
10773 | g-boubuf.adb, g-boubuf.ads, g-boumai.ads, g-bubsor.adb, | |
10774 | g-bubsor.ads, g-comver.adb, g-comver.ads, g-ctrl_c.ads, | |
10775 | g-dynhta.adb, g-dynhta.ads, g-eacodu.adb, g-excact.adb, | |
10776 | g-excact.ads, g-heasor.adb, g-heasor.ads, g-memdum.adb, | |
10777 | g-memdum.ads, gnatclean.adb, gnatsym.adb, g-pehage.adb, | |
10778 | g-pehage.ads, g-perhas.ads, gpr2make.adb, gpr2make.ads, | |
10779 | gprcmd.adb, gprep.adb, gprep.ads, g-semaph.adb, | |
10780 | g-semaph.ads, g-string.adb, g-string.ads, g-strspl.ads, | |
10781 | g-wistsp.ads, i-vthrea.adb, i-vthrea.ads, i-vxwoio.adb, | |
10782 | i-vxwoio.ads, Makefile.generic, Makefile.prolog, Makefile.rtl, | |
10783 | prep.adb, prep.ads, prepcomp.adb, prepcomp.ads, | |
10784 | prj-err.adb, prj-err.ads, s-boarop.ads, s-carsi8.adb, | |
10785 | s-carsi8.ads, s-carun8.adb, s-carun8.ads, s-casi16.adb, | |
10786 | s-casi16.ads, s-casi32.adb, s-casi32.ads, s-casi64.adb, | |
10787 | s-casi64.ads, s-casuti.adb, s-casuti.ads, s-caun16.adb, | |
10788 | s-caun16.ads, s-caun32.adb, s-caun32.ads, s-caun64.adb, | |
10789 | s-caun64.ads, scng.adb, scng.ads, s-exnint.adb, | |
10790 | s-exnllf.adb, s-exnlli.adb, s-expint.adb, s-explli.adb, | |
10791 | s-geveop.adb, s-geveop.ads, s-hibaen.ads, s-htable.adb, | |
10792 | s-htable.ads, sinput-c.adb, sinput-c.ads, s-memcop.ads, | |
10793 | socket.c, s-purexc.ads, s-scaval.adb, s-stopoo.adb, | |
10794 | s-strcom.adb, s-strcom.ads, s-strxdr.adb, s-rident.ads, | |
10795 | s-thread.adb, s-thread.ads, s-tpae65.adb, s-tpae65.ads, | |
10796 | s-tporft.adb, s-traent.adb, s-traent.ads, styleg.adb, | |
10797 | styleg.ads, styleg-c.adb, styleg-c.ads, s-veboop.adb, | |
10798 | s-veboop.ads, s-vector.ads, symbols.adb, symbols.ads, | |
10799 | tb-alvms.c, tb-alvxw.c, tempdir.adb, tempdir.ads, | |
10800 | vms_conv.ads, vms_conv.adb, vms_data.ads, | |
10801 | vxaddr2line.adb: Files added. Merge with ACT tree. | |
10802 | ||
10803 | * 4dintnam.ads, 4mintnam.ads, 4uintnam.ads, 52system.ads, | |
10804 | 5dosinte.ads, 5etpopse.adb, 5mosinte.ads, 5qosinte.adb, | |
10805 | 5qosinte.ads, 5qstache.adb, 5qtaprop.adb, 5qtaspri.ads, | |
10806 | 5stpopse.adb, 5uintman.adb, 5uosinte.ads, adafinal.c, | |
10807 | g-enblsp.adb, io-aux.c, scn-nlit.adb, scn-slit.adb, | |
10808 | s-exnflt.ads, s-exngen.adb, s-exngen.ads, s-exnlfl.ads, | |
10809 | s-exnlin.ads, s-exnsfl.ads, s-exnsin.ads, s-exnssi.ads, | |
10810 | s-expflt.ads, s-expgen.adb, s-expgen.ads, s-explfl.ads, | |
10811 | s-explin.ads, s-expllf.ads, s-expsfl.ads, s-expsin.ads, | |
10812 | s-expssi.ads, style.adb: Files removed. Merge with ACT tree. | |
10813 | ||
10814 | * 1ic.ads, 31soccon.ads, 31soliop.ads, 3asoccon.ads, | |
10815 | 3bsoccon.ads, 3gsoccon.ads, 3hsoccon.ads, 3ssoccon.ads, | |
10816 | 3ssoliop.ads, 3wsoccon.ads, 3wsocthi.adb, 3wsocthi.ads, | |
10817 | 3wsoliop.ads, 41intnam.ads, 42intnam.ads, 4aintnam.ads, | |
10818 | 4cintnam.ads, 4gintnam.ads, 4hexcpol.adb, 4hintnam.ads, | |
10819 | 4lintnam.ads, 4nintnam.ads, 4ointnam.ads, 4onumaux.ads, | |
10820 | 4pintnam.ads, 4sintnam.ads, 4vcaldel.adb, 4vcalend.adb, | |
10821 | 4vintnam.ads, 4wexcpol.adb, 4wintnam.ads, 4zintnam.ads, | |
10822 | 51osinte.adb, 51osinte.ads, 52osinte.adb, 52osinte.ads, | |
10823 | 53osinte.ads, 54osinte.ads, 5aosinte.adb, 5aosinte.ads, | |
10824 | 5asystem.ads, 5ataprop.adb, 5atasinf.ads, 5ataspri.ads, | |
10825 | 5atpopsp.adb, 5avxwork.ads, 5bosinte.adb, 5bosinte.ads, | |
10826 | 5bsystem.ads, 5cosinte.ads, 5esystem.ads, 5fintman.adb, | |
10827 | 5fosinte.ads, 5fsystem.ads, 5ftaprop.adb, 5ftasinf.ads, | |
10828 | 5ginterr.adb, 5gintman.adb, 5gmastop.adb, 5gosinte.ads, | |
10829 | 5gproinf.ads, 5gsystem.ads, 5gtaprop.adb, 5gtasinf.ads, | |
10830 | 5gtpgetc.adb, 5hosinte.adb, 5hosinte.ads, 5hsystem.ads, | |
10831 | 5htaprop.adb, 5htaspri.ads, 5htraceb.adb, 5iosinte.adb, | |
10832 | 5itaprop.adb, 5itaspri.ads, 5ksystem.ads, 5kvxwork.ads, | |
10833 | 5lintman.adb, 5lml-tgt.adb, 5losinte.ads, 5lsystem.ads, | |
10834 | 5mvxwork.ads, 5ninmaop.adb, 5nintman.adb, 5nosinte.ads, | |
10835 | 5ntaprop.adb, 5ntaspri.ads, 5ointerr.adb, 5omastop.adb, | |
10836 | 5oosinte.adb, 5oosinte.ads, 5oosprim.adb, 5oparame.adb, | |
10837 | 5osystem.ads, 5otaprop.adb, 5otaspri.ads, 5posinte.ads, | |
10838 | 5posprim.adb, 5pvxwork.ads, 5sintman.adb, 5sosinte.adb, | |
10839 | 5sosinte.ads, 5ssystem.ads, 5staprop.adb, 5stasinf.ads, | |
10840 | 5staspri.ads, 5svxwork.ads, 5tosinte.ads, 5vasthan.adb, | |
10841 | 5vinmaop.adb, 5vinterr.adb, 5vintman.adb, 5vintman.ads, | |
10842 | 5vmastop.adb, 5vosinte.adb, 5vosinte.ads, 5vosprim.adb, | |
10843 | 5vsystem.ads, 5vtaprop.adb, 5vtaspri.ads, 5vtpopde.adb, | |
10844 | 5vtpopde.ads, 5wgloloc.adb, 5wintman.adb, 5wmemory.adb, | |
10845 | 5wosprim.adb, 5wsystem.ads, 5wtaprop.adb, 5wtaspri.ads, | |
10846 | 5ysystem.ads, 5zinterr.adb, 5zintman.adb, 5zosinte.adb, | |
10847 | 5zosinte.ads, 5zosprim.adb, 5zsystem.ads, 5ztaprop.adb, | |
10848 | 6vcpp.adb, 6vcstrea.adb, 6vinterf.ads, 7sinmaop.adb, | |
10849 | 7sintman.adb, 7sosinte.adb, 7sosprim.adb, 7staprop.adb, | |
10850 | 7staspri.ads, 7stpopsp.adb, 7straceb.adb, 9drpc.adb, | |
10851 | a-caldel.adb, a-caldel.ads, a-charac.ads, a-colien.ads, | |
10852 | a-comlin.adb, adaint.c, adaint.h, ada-tree.def, | |
10853 | a-diocst.adb, a-diocst.ads, a-direio.adb, a-except.adb, | |
10854 | a-except.ads, a-excpol.adb, a-exctra.adb, a-exctra.ads, | |
10855 | a-filico.adb, a-interr.adb, a-intsig.adb, a-intsig.ads, | |
10856 | ali.adb, ali.ads, ali-util.adb, ali-util.ads, | |
10857 | a-ngcefu.adb, a-ngcoty.adb, a-ngelfu.adb, a-nudira.adb, | |
10858 | a-nudira.ads, a-nuflra.adb, a-nuflra.ads, a-reatim.adb, | |
10859 | a-reatim.ads, a-retide.ads, a-sequio.adb, a-siocst.adb, | |
10860 | a-siocst.ads, a-ssicst.adb, a-ssicst.ads, a-strbou.adb, | |
10861 | a-strbou.ads, a-strfix.adb, a-strmap.adb, a-strsea.ads, | |
10862 | a-strunb.adb, a-strunb.ads, a-ststio.adb, a-stunau.adb, | |
10863 | a-stunau.ads, a-stwibo.adb, a-stwibo.ads, a-stwifi.adb, | |
10864 | a-stwima.adb, a-stwiun.adb, a-stwiun.ads, a-tags.adb, | |
10865 | a-tags.ads, a-tasatt.adb, a-taside.adb, a-teioed.adb, | |
10866 | a-textio.adb, a-textio.ads, a-tienau.adb, a-tifiio.adb, | |
10867 | a-tiflau.adb, a-tiflio.adb, a-tigeau.adb, a-tigeau.ads, | |
10868 | a-tiinau.adb, a-timoau.adb, a-tiocst.adb, a-tiocst.ads, | |
10869 | atree.adb, atree.ads, a-witeio.adb, a-witeio.ads, | |
10870 | a-wtcstr.adb, a-wtcstr.ads, a-wtdeio.adb, a-wtedit.adb, | |
10871 | a-wtenau.adb, a-wtflau.adb, a-wtinau.adb, a-wtmoau.adb, | |
10872 | bcheck.adb, binde.adb, bindgen.adb, bindusg.adb, | |
10873 | checks.adb, checks.ads, cio.c, comperr.adb, | |
10874 | comperr.ads, csets.adb, cstand.adb, cstreams.c, | |
10875 | debug_a.adb, debug_a.ads, debug.adb, decl.c, | |
10876 | einfo.adb, einfo.ads, errout.adb, errout.ads, | |
10877 | eval_fat.adb, eval_fat.ads, exp_aggr.adb, expander.adb, | |
10878 | expander.ads, exp_attr.adb, exp_ch11.adb, exp_ch13.adb, | |
10879 | exp_ch2.adb, exp_ch3.adb, exp_ch3.ads, exp_ch4.adb, | |
10880 | exp_ch5.adb, exp_ch6.adb, exp_ch7.adb, exp_ch7.ads, | |
10881 | exp_ch8.adb, exp_ch9.adb, exp_code.adb, exp_dbug.adb, | |
10882 | exp_dbug.ads, exp_disp.adb, exp_dist.adb, expect.c, | |
10883 | exp_fixd.adb, exp_imgv.adb, exp_intr.adb, exp_pakd.adb, | |
10884 | exp_prag.adb, exp_strm.adb, exp_strm.ads, exp_tss.adb, | |
10885 | exp_tss.ads, exp_util.adb, exp_util.ads, exp_vfpt.adb, | |
10886 | fe.h, fmap.adb, fmap.ads, fname.adb, | |
10887 | fname.ads, fname-uf.adb, fname-uf.ads, freeze.adb, | |
10888 | freeze.ads, frontend.adb, g-awk.adb, g-awk.ads, | |
10889 | g-busora.adb, g-busora.ads, g-busorg.adb, g-busorg.ads, | |
10890 | g-casuti.adb, g-casuti.ads, g-catiio.adb, g-catiio.ads, | |
10891 | g-cgi.adb, g-cgi.ads, g-cgicoo.adb, g-cgicoo.ads, | |
10892 | g-cgideb.adb, g-cgideb.ads, g-comlin.adb, g-comlin.ads, | |
10893 | g-crc32.adb, g-crc32.ads, g-debpoo.adb, g-debpoo.ads, | |
10894 | g-debuti.adb, g-debuti.ads, g-diopit.adb, g-diopit.ads, | |
10895 | g-dirope.adb, g-dirope.ads, g-dyntab.adb, g-dyntab.ads, | |
10896 | g-except.ads, g-exctra.adb, g-exctra.ads, g-expect.adb, | |
10897 | g-expect.ads, g-hesora.adb, g-hesora.ads, g-hesorg.adb, | |
10898 | g-hesorg.ads, g-htable.adb, g-htable.ads, gigi.h, | |
10899 | g-io.adb, g-io.ads, g-io_aux.adb, g-io_aux.ads, | |
10900 | g-locfil.adb, g-locfil.ads, g-md5.adb, g-md5.ads, | |
10901 | gmem.c, gnat1drv.adb, gnatbind.adb, gnatchop.adb, | |
10902 | gnatcmd.adb, gnatfind.adb, gnatkr.adb, gnatlbr.adb, | |
10903 | gnatlink.adb, gnatls.adb, gnatmake.adb, gnatmem.adb, | |
10904 | gnatname.adb, gnatprep.adb, gnatprep.ads, gnatpsta.adb, | |
10905 | gnatxref.adb, g-os_lib.adb, g-os_lib.ads, g-regexp.adb, | |
10906 | g-regexp.ads, g-regist.adb, g-regist.ads, g-regpat.adb, | |
10907 | g-regpat.ads, g-soccon.ads, g-socket.adb, g-socket.ads, | |
10908 | g-socthi.adb, g-socthi.ads, g-soliop.ads, g-souinf.ads, | |
10909 | g-speche.adb, g-speche.ads, g-spipat.adb, g-spipat.ads, | |
10910 | g-spitbo.adb, g-spitbo.ads, g-sptabo.ads, g-sptain.ads, | |
10911 | g-sptavs.ads, g-table.adb, g-table.ads, g-tasloc.adb, | |
10912 | g-tasloc.ads, g-thread.adb, g-thread.ads, g-traceb.adb, | |
10913 | g-traceb.ads, g-trasym.adb, g-trasym.ads, hostparm.ads, | |
10914 | i-c.ads, i-cobol.adb, i-cpp.adb, i-cstrea.ads, | |
10915 | i-cstrin.adb, i-cstrin.ads, impunit.adb, init.c, | |
10916 | inline.adb, interfac.ads, i-pacdec.ads, itypes.adb, | |
10917 | itypes.ads, i-vxwork.ads, lang.opt, lang-specs.h, | |
10918 | layout.adb, lib.adb, lib.ads, lib-list.adb, | |
10919 | lib-load.adb, lib-load.ads, lib-sort.adb, lib-util.adb, | |
10920 | lib-writ.adb, lib-writ.ads, lib-xref.adb, lib-xref.ads, | |
10921 | link.c, live.adb, make.adb, make.ads, | |
10922 | Makefile.adalib, Makefile.in, Make-lang.in, makeusg.adb, | |
10923 | mdll.adb, mdll-fil.adb, mdll-fil.ads, mdll-utl.adb, | |
10924 | mdll-utl.ads, memroot.adb, memroot.ads, memtrack.adb, | |
10925 | misc.c, mkdir.c, mlib.adb, mlib.ads, | |
10926 | mlib-fil.adb, mlib-fil.ads, mlib-prj.adb, mlib-prj.ads, | |
10927 | mlib-tgt.adb, mlib-tgt.ads, mlib-utl.adb, mlib-utl.ads, | |
10928 | namet.adb, namet.ads, namet.h, nlists.ads, | |
10929 | nlists.h, nmake.adt, opt.adb, opt.ads, | |
10930 | osint.adb, osint.ads, osint-b.adb, osint-c.adb, | |
10931 | par.adb, par-ch10.adb, par-ch11.adb, par-ch2.adb, | |
10932 | par-ch3.adb, par-ch4.adb, par-ch5.adb, par-ch6.adb, | |
10933 | par-ch9.adb, par-endh.adb, par-labl.adb, par-load.adb, | |
10934 | par-prag.adb, par-sync.adb, par-tchk.adb, par-util.adb, | |
10935 | prj.adb, prj.ads, prj-attr.adb, prj-attr.ads, | |
10936 | prj-com.adb, prj-com.ads, prj-dect.adb, prj-dect.ads, | |
10937 | prj-env.adb, prj-env.ads, prj-ext.adb, prj-ext.ads, | |
10938 | prj-makr.adb, prj-makr.ads, prj-nmsc.adb, prj-nmsc.ads, | |
10939 | prj-pars.adb, prj-pars.ads, prj-part.adb, prj-part.ads, | |
10940 | prj-pp.adb, prj-pp.ads, prj-proc.adb, prj-proc.ads, | |
10941 | prj-strt.adb, prj-strt.ads, prj-tree.adb, prj-tree.ads, | |
10942 | prj-util.adb, prj-util.ads, raise.c, raise.h, | |
10943 | repinfo.adb, repinfo.h, restrict.adb, restrict.ads, | |
10944 | rident.ads, rtsfind.adb, rtsfind.ads, s-addima.ads, | |
10945 | s-arit64.adb, s-assert.adb, s-assert.ads, s-atacco.adb, | |
10946 | s-atacco.ads, s-auxdec.adb, s-auxdec.ads, s-bitops.adb, | |
10947 | scans.ads, scn.adb, scn.ads, s-crc32.adb, | |
10948 | s-crc32.ads, s-direio.adb, sem.adb, sem.ads, | |
10949 | sem_aggr.adb, sem_attr.adb, sem_attr.ads, sem_case.adb, | |
10950 | sem_case.ads, sem_cat.adb, sem_cat.ads, sem_ch10.adb, | |
10951 | sem_ch11.adb, sem_ch12.adb, sem_ch12.ads, sem_ch13.adb, | |
10952 | sem_ch13.ads, sem_ch3.adb, sem_ch3.ads, sem_ch4.adb, | |
10953 | sem_ch5.adb, sem_ch5.ads, sem_ch6.adb, sem_ch6.ads, | |
10954 | sem_ch7.adb, sem_ch7.ads, sem_ch8.adb, sem_ch8.ads, | |
10955 | sem_ch9.adb, sem_disp.adb, sem_disp.ads, sem_dist.adb, | |
10956 | sem_elab.adb, sem_eval.adb, sem_eval.ads, sem_intr.adb, | |
10957 | sem_maps.adb, sem_mech.adb, sem_prag.adb, sem_prag.ads, | |
10958 | sem_res.adb, sem_res.ads, sem_type.adb, sem_type.ads, | |
10959 | sem_util.adb, sem_util.ads, sem_warn.adb, s-errrep.adb, | |
10960 | s-errrep.ads, s-exctab.adb, s-exctab.ads, s-exnint.ads, | |
10961 | s-exnllf.ads, s-exnlli.ads, s-expint.ads, s-explli.ads, | |
10962 | s-expuns.ads, s-fatflt.ads, s-fatgen.adb, s-fatgen.ads, | |
10963 | s-fatlfl.ads, s-fatllf.ads, s-fatsfl.ads, s-fileio.adb, | |
10964 | s-fileio.ads, s-finimp.adb, s-finimp.ads, s-finroo.adb, | |
10965 | s-finroo.ads, sfn_scan.adb, s-gloloc.adb, s-gloloc.ads, | |
10966 | s-imgdec.adb, s-imgenu.adb, s-imgrea.adb, s-imgwch.adb, | |
10967 | sinfo.adb, sinfo.ads, s-inmaop.ads, sinput.adb, | |
10968 | sinput.ads, sinput-d.adb, sinput-l.adb, sinput-l.ads, | |
10969 | sinput-p.adb, sinput-p.ads, s-interr.adb, s-interr.ads, | |
10970 | s-intman.ads, s-maccod.ads, s-mastop.adb, s-mastop.ads, | |
10971 | s-memory.adb, s-memory.ads, snames.adb, snames.ads, | |
10972 | snames.h, s-osprim.ads, s-parame.ads, s-parint.ads, | |
10973 | s-pooloc.adb, s-pooloc.ads, s-poosiz.adb, sprint.adb, | |
10974 | s-proinf.ads, s-scaval.ads, s-secsta.adb, s-secsta.ads, | |
10975 | s-sequio.adb, s-shasto.adb, s-shasto.ads, s-soflin.ads, | |
10976 | s-stache.adb, s-stache.ads, s-stalib.adb, s-stalib.ads, | |
10977 | s-stoele.ads, s-stopoo.ads, s-stratt.adb, s-stratt.ads, | |
10978 | s-strops.adb, s-strops.ads, s-taasde.adb, s-taasde.ads, | |
10979 | s-tadeca.adb, s-tadeca.ads, s-tadert.adb, s-tadert.ads, | |
10980 | s-taenca.adb, s-taenca.ads, s-taprob.adb, s-taprob.ads, | |
10981 | s-taprop.ads, s-tarest.adb, s-tarest.ads, s-tasdeb.adb, | |
10982 | s-tasdeb.ads, s-tasinf.adb, s-tasinf.ads, s-tasini.adb, | |
10983 | s-tasini.ads, s-taskin.adb, s-taskin.ads, s-tasque.adb, | |
10984 | s-tasque.ads, s-tasren.adb, s-tasren.ads, s-tasres.ads, | |
10985 | s-tassta.adb, s-tassta.ads, s-tasuti.adb, s-tasuti.ads, | |
10986 | s-tataat.adb, s-tataat.ads, s-tpinop.adb, s-tpinop.ads, | |
10987 | s-tpoben.adb, s-tpoben.ads, s-tpobop.adb, s-tpobop.ads, | |
10988 | s-tposen.adb, s-tposen.ads, s-traceb.adb, s-traceb.ads, | |
10989 | stringt.adb, stringt.ads, stringt.h, style.ads, | |
10990 | stylesw.adb, stylesw.ads, s-unstyp.ads, s-vaflop.ads, | |
10991 | s-valrea.adb, s-valuti.adb, s-vercon.adb, s-vmexta.adb, | |
10992 | s-wchcnv.ads, s-wchcon.ads, s-widcha.adb, switch.adb, | |
10993 | switch.ads, switch-b.adb, switch-c.adb, switch-m.adb, | |
10994 | s-wwdcha.adb, s-wwdwch.adb, sysdep.c, system.ads, | |
10995 | table.adb, table.ads, targparm.adb, targparm.ads, | |
10996 | targtyps.c, tbuild.adb, tbuild.ads, tracebak.c, | |
10997 | trans.c, tree_io.adb, treepr.adb, treeprs.adt, | |
10998 | ttypes.ads, types.ads, types.h, uintp.adb, | |
10999 | uintp.ads, uintp.h, uname.adb, urealp.adb, | |
11000 | urealp.ads, urealp.h, usage.adb, utils2.c, | |
11001 | utils.c, validsw.adb, validsw.ads, widechar.adb, | |
11002 | xeinfo.adb, xnmake.adb, xref_lib.adb, xref_lib.ads, | |
11003 | xr_tabls.adb, xr_tabls.ads, xtreeprs.adb, xsnames.adb, | |
11004 | einfo.h, sinfo.h, treeprs.ads, nmake.ads, nmake.adb, | |
11005 | gnatvsn.ads: Merge with ACT tree. | |
11006 | ||
11007 | * gnatvsn.adb: Rewritten in a simpler and more efficient way. | |
11008 | ||
97ae108d MM |
11009 | 2003-10-20 Mark Mitchell <mark@codesourcery.com> |
11010 | ||
de696511 MM |
11011 | * Make-lang.in (gnat_ug_unx.info): Add dependency on stmp-docobjdir. |
11012 | (gnat_ug_vmx.info): Likewise. | |
11013 | (gnat_ug_vxw.info): Likewise. | |
11014 | (gnat_ug_wnt.info): Likewise. | |
11015 | (gnat_rm.info): Likewise. | |
11016 | (gnat-style.info): Likewise. | |
11017 | ||
97ae108d MM |
11018 | * Make-lang.in (ada.install-info): Remove target. |
11019 | (info): New target. | |
11020 | (install-info): Likewise. | |
11021 | (gnat_ug_unx.info): Simplify rule. | |
11022 | (gnat_ug_vmx.info): Likewise. | |
11023 | (gnat_ug_vxw.info): Likewise. | |
11024 | (gnat_ug_wnt.info): Likewise. | |
11025 | (gnat_rm.info): Likewise. | |
11026 | (gnat-style.info): Likewise. | |
11027 | ||
43aba518 NN |
11028 | 2003-10-14 Nathanael Nerode <neroden@gcc.gnu.org> |
11029 | ||
11030 | * Make-lang.in: Replace uses of $(target_alias) with | |
11031 | $(target_noncanonical). | |
11032 | * ada/Makefile.in: Remove unused mention of $(target_alias). | |
11033 | ||
62b81e45 MM |
11034 | 2003-10-06 Mark Mitchell <mark@codesourcery.com> |
11035 | ||
11036 | * Make-lang.in (ada.info): Replace with ... | |
11037 | (info): ... this. | |
11038 | (ada.dvi): Replace with ... | |
11039 | (dvi): ... this. | |
11040 | ||
783be936 ZW |
11041 | 2003-09-29 Zack Weinberg <zack@codesourcery.com> |
11042 | ||
11043 | * trans.c (gigi): Use REAL_ARITHMETIC, not REAL_VALUE_ATOF, to | |
11044 | initialize dconstp5 and dconstmp5. | |
11045 | ||
177560b2 RH |
11046 | 2003-09-28 Richard Henderson <rth@redhat.com> |
11047 | ||
11048 | * trans.c (tree_transform): Update call to expand_asm_operands. | |
11049 | ||
f31686a3 RH |
11050 | 2003-09-21 Richard Henderson <rth@redhat.com> |
11051 | ||
11052 | * trans.c, utils.c: Revert. | |
11053 | ||
7e2af53a RH |
11054 | 2003-09-21 Richard Henderson <rth@redhat.com> |
11055 | ||
11056 | * trans.c, utils.c: Update for DECL_SOURCE_LOCATION rename and | |
11057 | change to const. | |
11058 | ||
5f1e32fa MM |
11059 | 2003-09-04 Michael Matz <matz@suse.de> |
11060 | ||
11061 | * misc.c: Include "target.h". | |
11062 | * Make-lang.in (misc.o): Add dependency on target.h. | |
11063 | ||
61f71b34 DD |
11064 | 2003-09-03 DJ Delorie <dj@redhat.com> |
11065 | ||
11066 | * misc.c (default_pass_by_ref): Convert to calls.return_in_memory | |
11067 | hook. | |
11068 | ||
2ed26f6b ZW |
11069 | 2003-08-30 Zack Weinberg <zack@codesourcery.com> |
11070 | ||
11071 | * Makefile.in: Update substitutions to match changes to | |
11072 | configure. Use include directives instead of @-insertions | |
11073 | to read in host and target fragments. Add a rule to | |
11074 | regenerate ada/Makefile. | |
11075 | ||
b2e608ca NB |
11076 | 2003-07-18 Neil Booth <neil@daikokuya.co.uk> |
11077 | ||
11078 | * lang-options.h: Remove. | |
11079 | * lang.opt: Add help text. | |
11080 | ||
0cea056b NS |
11081 | 2003-07-07 Nathan Sidwell <nathan@codesourcery.com> |
11082 | ||
11083 | * trans.c (build_unit_elab, set_lineno): Adjust emit_line_note | |
11084 | calls. | |
11085 | ||
cb66e385 NB |
11086 | 2003-07-06 Neil Booth <neil@daikokuya.co.uk> |
11087 | ||
11088 | * misc.c (gnat_handle_option): Don't handle filenames. | |
11089 | ||
8c90b13a L |
11090 | 2003-07-04 H.J. Lu <hongjiu.lu@intel.com> |
11091 | ||
11092 | * Make-lang.in: Replace PWD with PWD_COMMAND. | |
11093 | * Makefile.adalib: Likewise. | |
11094 | * Makefile.in: Likewise. | |
11095 | ||
9c286213 MK |
11096 | 2003-07-04 Matt Kraai <kraai@alumni.cmu.edu> |
11097 | ||
11098 | * misc.c (gnat_argv): Revert last change. | |
11099 | (gnat_handle_option, gnat_init_options): Copy arguments. | |
11100 | ||
b9add449 NB |
11101 | 2003-07-03 Neil Booth <neil@daikokuya.co.uk> |
11102 | ||
9c286213 | 11103 | * misc.c (gnat_argv): Make const. |
b9add449 | 11104 | |
836d77a9 NB |
11105 | 2003-07-02 Neil Booth <neil@daikokuya.co.uk> |
11106 | ||
11107 | * misc.c (save_argc, save_argv): Keep non-static! | |
11108 | ||
b86f6cd9 NB |
11109 | 2003-07-02 Neil Booth <neil@daikokuya.co.uk> |
11110 | ||
11111 | * misc.c (save_argc, save_argv): Make static. | |
11112 | (gnat_init_options): New prototype. | |
11113 | (gnat_init_options): Update. | |
11114 | ||
6344b1f1 MK |
11115 | 2003-07-01 Matt Kraai <kraai@alumni.cmu.edu> |
11116 | ||
11117 | * gnat_ug.texi: Remove unlikely characters from @vars. | |
11118 | * gnat_ug_vms.texi: Regenerate. | |
11119 | ||
2e040219 NS |
11120 | 2003-06-27 Nathan Sidwell <nathan@codesourcery.com> |
11121 | ||
11122 | * misc.c (record_code_position): Adjust emit_note call. | |
11123 | ||
9eee5e72 NB |
11124 | 2003-06-26 Neil Booth <neil@daikokuya.co.uk> |
11125 | ||
11126 | * misc.c (gnat_handle_option): Don't check for missing arguments. | |
11127 | ||
1f9cc6db NS |
11128 | 2003-06-20 Nathan Sidwell <nathan@codesourcery.com> |
11129 | ||
11130 | * utils.c (end_subprog_body): Adjust expand_function_end call. | |
11131 | ||
23d6baa3 MK |
11132 | 2003-06-16 Matt Kraai <kraai@alumni.cmu.edu> |
11133 | ||
11134 | * bindgen.adb (Gen_Main_Ada, Gen_Main_C): Do not test | |
11135 | Bind_Main_Program. | |
11136 | ||
be43ab4e NB |
11137 | 2003-06-15 Neil Booth <neil@daikokuya.co.uk> |
11138 | ||
11139 | * lang.opt: Declare Ada. | |
11140 | * misc.c (gnat_init_options): Update. | |
11141 | ||
ee6b0296 NS |
11142 | 2003-06-14 Nathan Sidwell <nathan@codesourcery.com> |
11143 | ||
11144 | * utils.c (begin_subprog_body): Adjust init_function_start call. | |
11145 | ||
d7b42618 NB |
11146 | 2003-06-14 Neil Booth <neil@daikokuya.co.uk> |
11147 | ||
11148 | * Make-lang.in: Update to use options.c and options.h. | |
11149 | * misc.c: Include options.h not aoptions.h. | |
11150 | (gnat_handle_option): Abort on unrecognized switch. | |
11151 | (gnat_init_options): Request Ada switches. | |
11152 | ||
57eb6503 NB |
11153 | 2003-06-14 Neil Booth <neil@daikokuya.co.uk> |
11154 | ||
11155 | * lang.opt: Add -Wall. | |
11156 | * misc.c (gnat_handle_option): Handle it. | |
11157 | ||
70fd6569 NB |
11158 | 2003-06-12 Neil Booth <neil@daikokuya.co.uk> |
11159 | ||
11160 | * misc.c (gnat_handle_option): Fix warnings. | |
11161 | ||
8cdea5a1 MK |
11162 | 2003-06-11 Matt Kraai <kraai@alumni.cmu.edu> |
11163 | ||
11164 | * Make-lang.in (gnatbind): Remove $(LIBIBERTY). | |
11165 | ||
3c900cb5 NB |
11166 | 2003-06-11 Neil Booth <neil@daikokuya.co.uk> |
11167 | ||
11168 | * Make-lang.in: Update to handle command-line options. | |
11169 | * lang.opt: New file. | |
11170 | * misc.c: Include aoptions.h. | |
11171 | (cl_options_count, cl_options): Remove. | |
11172 | (gnat_handle_option): New. | |
11173 | (gnat_decode_option): Remove. | |
11174 | (LANG_HOOKS_DECODE_OPTION): Remove. | |
11175 | (LANG_HOOKS_HANDLE_OPTION): Override. | |
11176 | ||
e8face4c NN |
11177 | 2003-06-10 Nathanael Nerode <neroden@gcc.gnu.org> |
11178 | ||
11179 | * init.c, misc.c, trans.c, utils.c: Remove dead code. | |
11180 | ||
4665e56c NN |
11181 | 2003-06-09 Nathanael Nerode <neroden@gcc.gnu.org> |
11182 | ||
11183 | * Makefile.in: Replace "host_canonical" with "host" for autoconf | |
11184 | substitution. | |
11185 | ||
a165c302 NB |
11186 | 2003-06-08 Neil Booth <neil@daikokuya.co.uk> |
11187 | ||
11188 | * Make-lang.in: Update. | |
11189 | * misc.c: Include opts.h. Define cl_options_count and cl_options. | |
11190 | ||
2772ef3e NB |
11191 | 2003-06-07 Neil Booth <neil@daikokuya.co.uk> |
11192 | ||
11193 | * misc.c (gnat_init_options): Update. | |
11194 | ||
d8277a55 MK |
11195 | 2003-06-05 Matt Kraai <kraai@alumni.cmu.edu> |
11196 | ||
11197 | * Make-lang.in (ada/b_gnatb.o-warn): Remove. | |
11198 | * bindgen.adb (Gen_Main_C): Mark ensure_reference with | |
11199 | __attribute__ ((__unused__)). | |
11200 | ||
602a82f3 | 11201 | 2003-06-05 Jan Hubicka <jh@suse.cz> |
8f231b5d JH |
11202 | |
11203 | * Make-lang.in: Add support for stageprofile and stagefeedback | |
11204 | ||
3aa07c6d MK |
11205 | 2003-06-05 Matt Kraai <kraai@alumni.cmu.edu> |
11206 | ||
11207 | * bindgen.adb (Gen_Adafinal_C, Gen_Adainit_C, Gen_Elab_Defs_C) | |
11208 | (Gen_Main_C, Gen_Output_File_C): Generate ISO C. | |
11209 | ||
f1093866 MK |
11210 | 2003-06-04 Matt Kraai <kraai@alumni.cmu.edu> |
11211 | ||
11212 | * gnat_ug.texi (The GNAT Run-Time Library Builder gnatlbr): | |
11213 | Remove non-VMS directive. | |
11214 | (Switches for gnatlbr, Optimization Levels): Remove non-VMS | |
11215 | alternatives. | |
11216 | (Examples of gnatls Usage): Remove VMS alternative. | |
dee2df72 OH |
11217 | |
11218 | 2003-06-04 Olivier Hainque <hainque@act-europe.fr> | |
11219 | ||
2ed26f6b ZW |
11220 | PR ada/9953: |
11221 | * 5hsystem.ads: Remove pragma Linker_Option for pthreads library, | |
11222 | and turn ZCX_By_Default back to False since the underlying support | |
11223 | is not quite there yet. | |
dee2df72 | 11224 | |
80eaf415 AJ |
11225 | 2003-06-01 Andreas Jaeger <aj@suse.de> |
11226 | ||
11227 | * utils.c (finish_record_type): Remove usages of ROUND_TYPE_SIZE | |
11228 | and ROUND_TYPE_SIZE_UNIT. | |
11229 | ||
36f9020c GB |
11230 | 2003-05-22 Geert Bosch <bosch@gnat.com> |
11231 | ||
11232 | * gnat_rm.texi : Remove reference to Ada Core Technologies. | |
11233 | ||
e7b5f0c9 NS |
11234 | 2003-05-03 Nathan Sidwell <nathan@codesourcery.com> |
11235 | ||
11236 | * trans.c (tree_transform): Use location_t and input_location | |
11237 | directly. | |
11238 | (build_unit_elab): Likewise. | |
11239 | * utils.c (create_label_decl): Likewise. | |
11240 | ||
d479d37f NS |
11241 | 2003-05-01 Nathan Sidwell <nathan@codesourcery.com> |
11242 | ||
561712fe NS |
11243 | * trans.c (tree_transform, build_unit_elab, |
11244 | set_lineno): Rename lineno to input_line. | |
d479d37f NS |
11245 | * utils.c (pushdecl, create_label_decl, begin_subprog_body, |
11246 | end_subprog_body): Likewise. | |
11247 | * utils2.c (build_call_raise): Likewise. | |
11248 | ||
4f9335cd LG |
11249 | 2003-05-01 Laurent Guerby <guerby@acm.org> |
11250 | ||
2ed26f6b ZW |
11251 | PR ada/10546 |
11252 | * 5iosinte.ads: Increase pthread_cond_t size to match recent | |
11253 | LinuxThread and NPTL version, merge from ACT. | |
80eaf415 | 11254 | |
0864034e ZW |
11255 | 2003-04-28 Zack Weinberg <zack@codesourcery.com> |
11256 | ||
11257 | * utils.c (convert): No need to clear TREE_CST_RTL. | |
11258 | ||
bcea76b6 GB |
11259 | 2003-04-23 Geert Bosch <bosch@gnat.com> |
11260 | ||
11261 | * 1aexcept.adb, 1aexcept.ads, 1ic.ads, 1ssecsta.adb, | |
11262 | 1ssecsta.ads, 31soccon.ads, 31soliop.ads, 3asoccon.ads, | |
11263 | 3bsoccon.ads, 3gsoccon.ads, 3hsoccon.ads, 3ssoccon.ads, | |
11264 | 3ssoliop.ads, 3wsoccon.ads, 3wsocthi.adb, 3wsocthi.ads, | |
11265 | 3wsoliop.ads, 41intnam.ads, 42intnam.ads, 4aintnam.ads, | |
11266 | 4cintnam.ads, 4dintnam.ads, 4gintnam.ads, 4hexcpol.adb, | |
11267 | 4hintnam.ads, 4lintnam.ads, 4mintnam.ads, 4nintnam.ads, | |
11268 | 4ointnam.ads, 4onumaux.ads, 4pintnam.ads, 4rintnam.ads, | |
11269 | 4sintnam.ads, 4uintnam.ads, 4vcaldel.adb, 4vcalend.adb, | |
11270 | 4vcalend.ads, 4vintnam.ads, 4wcalend.adb, 4wexcpol.adb, | |
11271 | 4wintnam.ads, 4zintnam.ads, 4znumaux.ads, 4zsytaco.adb, | |
11272 | 4zsytaco.ads, 51osinte.adb, 51osinte.ads, 52osinte.adb, | |
11273 | 52osinte.ads, 52system.ads, 53osinte.ads, 54osinte.ads, | |
11274 | 5amastop.adb, 5aosinte.adb, 5aosinte.ads, 5asystem.ads, | |
11275 | 5ataprop.adb, 5atasinf.ads, 5ataspri.ads, 5atpopsp.adb, | |
11276 | 5avxwork.ads, 5bosinte.adb, 5bosinte.ads, 5bsystem.ads, | |
11277 | 5cosinte.ads, 5dosinte.ads, 5esystem.ads, 5etpopse.adb, | |
11278 | 5fintman.adb, 5fosinte.ads, 5fsystem.ads, 5ftaprop.adb, | |
11279 | 5ftasinf.ads, 5ginterr.adb, 5gintman.adb, 5gmastop.adb, | |
11280 | 5gosinte.ads, 5gproinf.adb, 5gproinf.ads, 5gsystem.ads, | |
11281 | 5gtaprop.adb, 5gtasinf.adb, 5gtasinf.ads, 5gtpgetc.adb, | |
11282 | 5hosinte.adb, 5hosinte.ads, 5hparame.ads, 5hsystem.ads, | |
11283 | 5htaprop.adb, 5htaspri.ads, 5htraceb.adb, 5iosinte.adb, | |
11284 | 5iosinte.ads, 5itaprop.adb, 5itaspri.ads, 5ksystem.ads, | |
11285 | 5kvxwork.ads, 5lintman.adb, 5lml-tgt.adb, 5losinte.ads, | |
11286 | 5lsystem.ads, 5mosinte.ads, 5mvxwork.ads, 5ninmaop.adb, | |
11287 | 5nintman.adb, 5nosinte.ads, 5ntaprop.adb, 5ntaspri.ads, | |
11288 | 5ointerr.adb, 5omastop.adb, 5oosinte.adb, 5oosinte.ads, | |
11289 | 5oosprim.adb, 5oparame.adb, 5osystem.ads, 5otaprop.adb, | |
11290 | 5otaspri.ads, 5posinte.ads, 5posprim.adb, 5pvxwork.ads, | |
11291 | 5qosinte.adb, 5qosinte.ads, 5qstache.adb, 5qtaprop.adb, | |
11292 | 5qtaspri.ads, 5rosinte.adb, 5rosinte.ads, 5rparame.adb, | |
11293 | 5sintman.adb, 5sosinte.adb, 5sosinte.ads, 5sparame.adb, | |
11294 | 5ssystem.ads, 5staprop.adb, 5stasinf.adb, 5stasinf.ads, | |
11295 | 5staspri.ads, 5stpopse.adb, 5svxwork.ads, 5tosinte.ads, | |
11296 | 5uintman.adb, 5uosinte.ads, 5vasthan.adb, 5vinmaop.adb, | |
11297 | 5vinterr.adb, 5vintman.adb, 5vintman.ads, 5vmastop.adb, | |
11298 | 5vosinte.adb, 5vosinte.ads, 5vosprim.adb, 5vosprim.ads, | |
11299 | 5vparame.ads, 5vsystem.ads, 5vtaprop.adb, 5vtaspri.ads, | |
11300 | 5vtpopde.adb, 5vtpopde.ads, 5vvaflop.adb, 5wgloloc.adb, | |
11301 | 5wintman.adb, 5wmemory.adb, 5wosinte.ads, 5wosprim.adb, | |
11302 | 5wsystem.ads, 5wtaprop.adb, 5wtaspri.ads, 5ysystem.ads, | |
11303 | 5zinterr.adb, 5zintman.adb, 5zosinte.adb, 5zosinte.ads, | |
11304 | 5zosprim.adb, 5zsystem.ads, 5ztaprop.adb, 6vcpp.adb, | |
11305 | 6vcstrea.adb, 6vinterf.ads, 7sinmaop.adb, 7sintman.adb, | |
11306 | 7sosinte.adb, 7sosprim.adb, 7staprop.adb, 7staspri.ads, | |
11307 | 7stpopsp.adb, 7straceb.adb, 86numaux.adb, 86numaux.ads, | |
11308 | 9drpc.adb, a-astaco.adb, a-astaco.ads, a-caldel.adb, | |
11309 | a-caldel.ads, a-calend.adb, a-calend.ads, a-chahan.adb, | |
11310 | a-chahan.ads, a-charac.ads, a-chlat1.ads, a-chlat9.ads, | |
11311 | a-colien.adb, a-colien.ads, a-colire.adb, a-colire.ads, | |
11312 | a-comlin.adb, a-comlin.ads, a-cwila1.ads, a-cwila9.ads, | |
11313 | a-decima.adb, a-decima.ads, a-diocst.adb, a-diocst.ads, | |
11314 | a-direio.adb, a-direio.ads, a-dynpri.adb, a-dynpri.ads, | |
11315 | a-einuoc.adb, a-einuoc.ads, a-except.adb, a-except.ads, | |
11316 | a-excpol.adb, a-exctra.adb, a-exctra.ads, a-filico.adb, | |
11317 | a-filico.ads, a-finali.adb, a-finali.ads, a-flteio.ads, | |
11318 | a-fwteio.ads, a-inteio.ads, a-interr.adb, a-interr.ads, | |
11319 | a-intnam.ads, a-intsig.adb, a-intsig.ads, a-ioexce.ads, | |
11320 | a-iwteio.ads, a-lfteio.ads, a-lfwtio.ads, a-liteio.ads, | |
11321 | a-liwtio.ads, a-llftio.ads, a-llfwti.ads, a-llitio.ads, | |
11322 | a-lliwti.ads, a-ncelfu.ads, a-ngcefu.adb, a-ngcefu.ads, | |
11323 | a-ngcoty.adb, a-ngcoty.ads, a-ngelfu.adb, a-ngelfu.ads, | |
11324 | a-nlcefu.ads, a-nlcoty.ads, a-nlelfu.ads, a-nllcef.ads, | |
11325 | a-nllcty.ads, a-nllefu.ads, a-nscefu.ads, a-nscoty.ads, | |
11326 | a-nselfu.ads, a-nucoty.ads, a-nudira.adb, a-nudira.ads, | |
11327 | a-nuelfu.ads, a-nuflra.adb, a-nuflra.ads, a-numaux.ads, | |
11328 | a-numeri.ads, a-reatim.adb, a-reatim.ads, a-retide.adb, | |
11329 | a-retide.ads, a-sequio.adb, a-sequio.ads, a-sfteio.ads, | |
11330 | a-sfwtio.ads, a-siocst.adb, a-siocst.ads, a-siteio.ads, | |
11331 | a-siwtio.ads, a-ssicst.adb, a-ssicst.ads, a-ssitio.ads, | |
11332 | a-ssiwti.ads, a-stmaco.ads, a-storio.adb, a-storio.ads, | |
11333 | a-strbou.adb, a-strbou.ads, a-stream.ads, a-strfix.adb, | |
11334 | a-strfix.ads, a-string.ads, a-strmap.adb, a-strmap.ads, | |
11335 | a-strsea.adb, a-strsea.ads, a-strunb.adb, a-strunb.ads, | |
11336 | a-ststio.adb, a-ststio.ads, a-stunau.adb, a-stunau.ads, | |
11337 | a-stwibo.adb, a-stwibo.ads, a-stwifi.adb, a-stwifi.ads, | |
11338 | a-stwima.adb, a-stwima.ads, a-stwise.adb, a-stwise.ads, | |
11339 | a-stwiun.adb, a-stwiun.ads, a-suteio.adb, a-suteio.ads, | |
11340 | a-swmwco.ads, a-swuwti.adb, a-swuwti.ads, a-sytaco.adb, | |
11341 | a-sytaco.ads, a-tags.adb, a-tags.ads, a-tasatt.adb, | |
11342 | a-tasatt.ads, a-taside.adb, a-taside.ads, a-teioed.adb, | |
11343 | a-teioed.ads, a-textio.adb, a-textio.ads, a-ticoau.adb, | |
11344 | a-ticoau.ads, a-ticoio.adb, a-ticoio.ads, a-tideau.adb, | |
11345 | a-tideau.ads, a-tideio.adb, a-tideio.ads, a-tienau.adb, | |
11346 | a-tienau.ads, a-tienio.adb, a-tienio.ads, a-tifiio.adb, | |
11347 | a-tifiio.ads, a-tiflau.adb, a-tiflau.ads, a-tiflio.adb, | |
11348 | a-tiflio.ads, a-tigeau.adb, a-tigeau.ads, a-tiinau.adb, | |
11349 | a-tiinau.ads, a-tiinio.adb, a-tiinio.ads, a-timoau.adb, | |
11350 | a-timoau.ads, a-timoio.adb, a-timoio.ads, a-tiocst.adb, | |
11351 | a-tiocst.ads, a-titest.adb, a-titest.ads, a-unccon.ads, | |
11352 | a-uncdea.ads, a-witeio.adb, a-witeio.ads, a-wtcoau.adb, | |
11353 | a-wtcoau.ads, a-wtcoio.adb, a-wtcoio.ads, a-wtcstr.adb, | |
11354 | a-wtcstr.ads, a-wtdeau.adb, a-wtdeau.ads, a-wtdeio.adb, | |
11355 | a-wtdeio.ads, a-wtedit.adb, a-wtedit.ads, a-wtenau.adb, | |
11356 | a-wtenau.ads, a-wtenio.adb, a-wtenio.ads, a-wtfiio.adb, | |
11357 | a-wtfiio.ads, a-wtflau.adb, a-wtflau.ads, a-wtflio.adb, | |
11358 | a-wtflio.ads, a-wtgeau.adb, a-wtgeau.ads, a-wtinau.adb, | |
11359 | a-wtinau.ads, a-wtinio.adb, a-wtinio.ads, a-wtmoau.adb, | |
11360 | a-wtmoau.ads, a-wtmoio.adb, a-wtmoio.ads, a-wttest.adb, | |
11361 | a-wttest.ads, ada-tree.h, ada.ads, ada.h, | |
11362 | adadecode.c, adadecode.h, ali-util.adb, ali-util.ads, | |
11363 | ali.adb, ali.ads, alloc.ads, argv.c, | |
11364 | atree.adb, atree.ads, atree.h, aux-io.c, | |
11365 | back_end.adb, back_end.ads, bcheck.adb, bcheck.ads, | |
11366 | binde.adb, binde.ads, binderr.adb, binderr.ads, | |
11367 | bindgen.adb, bindgen.ads, bindusg.adb, bindusg.ads, | |
11368 | butil.adb, butil.ads, cal.c, calendar.ads, | |
11369 | casing.adb, casing.ads, ceinfo.adb, checks.adb, | |
11370 | checks.ads, cio.c, comperr.adb, comperr.ads, | |
11371 | config-lang.in, csets.adb, csets.ads, csinfo.adb, | |
11372 | cstand.adb, cstand.ads, cuintp.c, debug.adb, | |
11373 | debug.ads, debug_a.adb, debug_a.ads, dec-io.adb, | |
11374 | dec-io.ads, dec.ads, deftarg.c, directio.ads, | |
11375 | einfo.adb, einfo.ads, elists.adb, elists.ads, | |
11376 | elists.h, errno.c, errout.adb, errout.ads, | |
11377 | eval_fat.adb, eval_fat.ads, exit.c, exp_aggr.adb, | |
11378 | exp_aggr.ads, exp_attr.adb, exp_attr.ads, exp_ch10.ads, | |
11379 | exp_ch11.adb, exp_ch11.ads, exp_ch12.adb, exp_ch12.ads, | |
11380 | exp_ch13.adb, exp_ch13.ads, exp_ch2.adb, exp_ch2.ads, | |
11381 | exp_ch3.adb, exp_ch3.ads, exp_ch4.adb, exp_ch4.ads, | |
11382 | exp_ch5.adb, exp_ch5.ads, exp_ch6.adb, exp_ch6.ads, | |
11383 | exp_ch7.adb, exp_ch7.ads, exp_ch8.adb, exp_ch8.ads, | |
11384 | exp_ch9.adb, exp_ch9.ads, exp_code.adb, exp_code.ads, | |
11385 | exp_dbug.adb, exp_dbug.ads, exp_disp.adb, exp_disp.ads, | |
11386 | exp_dist.adb, exp_dist.ads, exp_fixd.adb, exp_fixd.ads, | |
11387 | exp_imgv.adb, exp_imgv.ads, exp_intr.adb, exp_intr.ads, | |
11388 | exp_pakd.adb, exp_pakd.ads, exp_prag.adb, exp_prag.ads, | |
11389 | exp_smem.adb, exp_smem.ads, exp_strm.adb, exp_strm.ads, | |
11390 | exp_tss.adb, exp_tss.ads, exp_util.adb, exp_util.ads, | |
11391 | exp_vfpt.adb, exp_vfpt.ads, expander.adb, expander.ads, | |
11392 | fmap.adb, fmap.ads, fname-sf.adb, fname-sf.ads, | |
11393 | fname-uf.adb, fname-uf.ads, fname.adb, fname.ads, | |
11394 | freeze.adb, freeze.ads, frontend.adb, frontend.ads, | |
11395 | g-awk.adb, g-awk.ads, g-busora.adb, g-busora.ads, | |
11396 | g-busorg.adb, g-busorg.ads, g-calend.adb, g-calend.ads, | |
11397 | g-casuti.adb, g-casuti.ads, g-catiio.adb, g-catiio.ads, | |
11398 | g-cgi.adb, g-cgi.ads, g-cgicoo.adb, g-cgicoo.ads, | |
11399 | g-cgideb.adb, g-cgideb.ads, g-comlin.adb, g-comlin.ads, | |
11400 | g-crc32.adb, g-crc32.ads, g-curexc.ads, g-debpoo.adb, | |
11401 | g-debpoo.ads, g-debuti.adb, g-debuti.ads, g-diopit.adb, | |
11402 | g-diopit.ads, g-dirope.adb, g-dirope.ads, g-dyntab.adb, | |
11403 | g-dyntab.ads, g-enblsp.adb, g-except.ads, g-exctra.adb, | |
11404 | g-exctra.ads, g-expect.adb, g-expect.ads, g-flocon.ads, | |
11405 | g-hesora.adb, g-hesora.ads, g-hesorg.adb, g-hesorg.ads, | |
11406 | g-htable.adb, g-htable.ads, g-io.adb, g-io.ads, | |
11407 | g-io_aux.adb, g-io_aux.ads, g-locfil.ads, g-md5.adb, | |
11408 | g-md5.ads, g-moreex.adb, g-moreex.ads, g-os_lib.adb, | |
11409 | g-os_lib.ads, g-regexp.adb, g-regexp.ads, g-regist.ads, | |
11410 | g-regpat.adb, g-regpat.ads, g-soccon.ads, g-socket.adb, | |
11411 | g-socket.ads, g-socthi.adb, g-socthi.ads, g-soliop.ads, | |
11412 | g-souinf.ads, g-speche.adb, g-speche.ads, g-spipat.adb, | |
11413 | g-spipat.ads, g-spitbo.adb, g-spitbo.ads, g-sptabo.ads, | |
11414 | g-sptain.ads, g-sptavs.ads, g-table.adb, g-table.ads, | |
11415 | g-tasloc.adb, g-tasloc.ads, g-thread.adb, g-thread.ads, | |
11416 | g-traceb.adb, g-traceb.ads, g-trasym.adb, g-trasym.ads, | |
11417 | get_targ.adb, get_targ.ads, gnat-style.texi, gnat.ads, | |
11418 | gnat1drv.adb, gnat1drv.ads, gnatbind.adb, gnatbind.ads, | |
11419 | gnatbl.c, gnatchop.adb, gnatcmd.adb, gnatcmd.ads, | |
11420 | gnatdll.adb, gnatfind.adb, gnatkr.adb, gnatkr.ads, | |
11421 | gnatlbr.adb, gnatlink.adb, gnatlink.ads, gnatls.adb, | |
11422 | gnatls.ads, gnatmake.adb, gnatmake.ads, gnatmem.adb, | |
11423 | gnatname.adb, gnatname.ads, gnatprep.adb, gnatprep.ads, | |
11424 | gnatpsta.adb, gnatvsn.adb, gnatvsn.ads, gnatxref.adb, | |
11425 | hlo.adb, hlo.ads, hostparm.ads, i-c.adb, | |
11426 | i-c.ads, i-cexten.ads, i-cobol.adb, i-cobol.ads, | |
11427 | i-cpoint.adb, i-cpoint.ads, i-cpp.adb, i-cpp.ads, | |
11428 | i-cstrea.adb, i-cstrea.ads, i-cstrin.adb, i-cstrin.ads, | |
11429 | i-fortra.adb, i-fortra.ads, i-os2err.ads, i-os2lib.adb, | |
11430 | i-os2lib.ads, i-os2syn.ads, i-os2thr.ads, i-pacdec.adb, | |
11431 | i-pacdec.ads, i-vxwork.ads, impunit.adb, impunit.ads, | |
11432 | inline.adb, inline.ads, interfac.ads, ioexcept.ads, | |
11433 | itypes.adb, itypes.ads, krunch.adb, krunch.ads, | |
11434 | layout.adb, layout.ads, lib-list.adb, lib-load.adb, | |
11435 | lib-load.ads, lib-sort.adb, lib-util.adb, lib-util.ads, | |
11436 | lib-writ.adb, lib-writ.ads, lib-xref.adb, lib-xref.ads, | |
11437 | lib.adb, lib.ads, live.adb, live.ads, | |
11438 | machcode.ads, make.adb, make.ads, makeusg.adb, | |
11439 | makeusg.ads, math_lib.adb, mdll-fil.adb, mdll-fil.ads, | |
11440 | mdll-utl.adb, mdll-utl.ads, mdll.adb, mdll.ads, | |
11441 | memroot.adb, memroot.ads, memtrack.adb, mlib-fil.adb, | |
11442 | mlib-fil.ads, mlib-prj.adb, mlib-prj.ads, mlib-tgt.adb, | |
11443 | mlib-tgt.ads, mlib-utl.adb, mlib-utl.ads, mlib.adb, | |
11444 | mlib.ads, namet.adb, namet.ads, nlists.adb, | |
11445 | nlists.ads, opt.adb, opt.ads, osint-b.adb, | |
11446 | osint-b.ads, osint-c.adb, osint-c.ads, osint-l.adb, | |
11447 | osint-l.ads, osint-m.adb, osint-m.ads, osint.adb, | |
11448 | osint.ads, output.adb, output.ads, par-ch10.adb, | |
11449 | par-ch11.adb, par-ch12.adb, par-ch13.adb, par-ch2.adb, | |
11450 | par-ch3.adb, par-ch4.adb, par-ch5.adb, par-ch6.adb, | |
11451 | par-ch7.adb, par-ch8.adb, par-ch9.adb, par-endh.adb, | |
11452 | par-labl.adb, par-load.adb, par-prag.adb, par-sync.adb, | |
11453 | par-tchk.adb, par-util.adb, par.adb, par.ads, | |
11454 | prj-attr.adb, prj-attr.ads, prj-com.adb, prj-com.ads, | |
11455 | prj-dect.adb, prj-dect.ads, prj-env.adb, prj-env.ads, | |
11456 | prj-ext.adb, prj-ext.ads, prj-makr.adb, prj-makr.ads, | |
11457 | prj-nmsc.adb, prj-nmsc.ads, prj-pars.adb, prj-pars.ads, | |
11458 | prj-part.adb, prj-part.ads, prj-pp.adb, prj-pp.ads, | |
11459 | prj-proc.adb, prj-proc.ads, prj-strt.adb, prj-strt.ads, | |
11460 | prj-tree.adb, prj-tree.ads, prj-util.adb, prj-util.ads, | |
11461 | prj.adb, prj.ads, repinfo.adb, repinfo.ads, | |
11462 | restrict.adb, restrict.ads, rident.ads, rtsfind.adb, | |
11463 | rtsfind.ads, s-addima.adb, s-addima.ads, s-arit64.adb, | |
11464 | s-arit64.ads, s-assert.adb, s-assert.ads, s-asthan.adb, | |
11465 | s-asthan.ads, s-atacco.adb, s-atacco.ads, s-auxdec.adb, | |
11466 | s-auxdec.ads, s-bitops.adb, s-bitops.ads, s-chepoo.ads, | |
11467 | s-crc32.adb, s-crc32.ads, s-direio.adb, s-direio.ads, | |
11468 | s-errrep.adb, s-errrep.ads, s-except.ads, s-exctab.adb, | |
11469 | s-exctab.ads, s-exnflt.ads, s-exngen.adb, s-exngen.ads, | |
11470 | s-exnint.ads, s-exnlfl.ads, s-exnlin.ads, s-exnllf.ads, | |
11471 | s-exnlli.ads, s-exnsfl.ads, s-exnsin.ads, s-exnssi.ads, | |
11472 | s-expflt.ads, s-expgen.adb, s-expgen.ads, s-expint.ads, | |
11473 | s-explfl.ads, s-explin.ads, s-expllf.ads, s-explli.ads, | |
11474 | s-expllu.adb, s-expllu.ads, s-expmod.adb, s-expmod.ads, | |
11475 | s-expsfl.ads, s-expsin.ads, s-expssi.ads, s-expuns.adb, | |
11476 | s-expuns.ads, s-fatflt.ads, s-fatgen.adb, s-fatgen.ads, | |
11477 | s-fatlfl.ads, s-fatllf.ads, s-fatsfl.ads, s-ficobl.ads, | |
11478 | s-fileio.adb, s-fileio.ads, s-finimp.adb, s-finimp.ads, | |
11479 | s-finroo.adb, s-finroo.ads, s-fore.adb, s-fore.ads, | |
11480 | s-gloloc.adb, s-gloloc.ads, s-imgbiu.adb, s-imgbiu.ads, | |
11481 | s-imgboo.adb, s-imgboo.ads, s-imgcha.adb, s-imgcha.ads, | |
11482 | s-imgdec.adb, s-imgdec.ads, s-imgenu.adb, s-imgenu.ads, | |
11483 | s-imgint.adb, s-imgint.ads, s-imgllb.adb, s-imgllb.ads, | |
11484 | s-imglld.adb, s-imglld.ads, s-imglli.adb, s-imglli.ads, | |
11485 | s-imgllu.adb, s-imgllu.ads, s-imgllw.adb, s-imgllw.ads, | |
11486 | s-imgrea.adb, s-imgrea.ads, s-imguns.adb, s-imguns.ads, | |
11487 | s-imgwch.adb, s-imgwch.ads, s-imgwiu.adb, s-imgwiu.ads, | |
11488 | s-inmaop.ads, s-interr.adb, s-interr.ads, s-intman.ads, | |
11489 | s-io.adb, s-io.ads, s-maccod.ads, s-mantis.adb, | |
11490 | s-mantis.ads, s-mastop.adb, s-mastop.ads, s-memory.adb, | |
11491 | s-memory.ads, s-osprim.ads, s-pack03.adb, s-pack03.ads, | |
11492 | s-pack05.adb, s-pack05.ads, s-pack06.adb, s-pack06.ads, | |
11493 | s-pack07.adb, s-pack07.ads, s-pack09.adb, s-pack09.ads, | |
11494 | s-pack10.adb, s-pack10.ads, s-pack11.adb, s-pack11.ads, | |
11495 | s-pack12.adb, s-pack12.ads, s-pack13.adb, s-pack13.ads, | |
11496 | s-pack14.adb, s-pack14.ads, s-pack15.adb, s-pack15.ads, | |
11497 | s-pack17.adb, s-pack17.ads, s-pack18.adb, s-pack18.ads, | |
11498 | s-pack19.adb, s-pack19.ads, s-pack20.adb, s-pack20.ads, | |
11499 | s-pack21.adb, s-pack21.ads, s-pack22.adb, s-pack22.ads, | |
11500 | s-pack23.adb, s-pack23.ads, s-pack24.adb, s-pack24.ads, | |
11501 | s-pack25.adb, s-pack25.ads, s-pack26.adb, s-pack26.ads, | |
11502 | s-pack27.adb, s-pack27.ads, s-pack28.adb, s-pack28.ads, | |
11503 | s-pack29.adb, s-pack29.ads, s-pack30.adb, s-pack30.ads, | |
11504 | s-pack31.adb, s-pack31.ads, s-pack33.adb, s-pack33.ads, | |
11505 | s-pack34.adb, s-pack34.ads, s-pack35.adb, s-pack35.ads, | |
11506 | s-pack36.adb, s-pack36.ads, s-pack37.adb, s-pack37.ads, | |
11507 | s-pack38.adb, s-pack38.ads, s-pack39.adb, s-pack39.ads, | |
11508 | s-pack40.adb, s-pack40.ads, s-pack41.adb, s-pack41.ads, | |
11509 | s-pack42.adb, s-pack42.ads, s-pack43.adb, s-pack43.ads, | |
11510 | s-pack44.adb, s-pack44.ads, s-pack45.adb, s-pack45.ads, | |
11511 | s-pack46.adb, s-pack46.ads, s-pack47.adb, s-pack47.ads, | |
11512 | s-pack48.adb, s-pack48.ads, s-pack49.adb, s-pack49.ads, | |
11513 | s-pack50.adb, s-pack50.ads, s-pack51.adb, s-pack51.ads, | |
11514 | s-pack52.adb, s-pack52.ads, s-pack53.adb, s-pack53.ads, | |
11515 | s-pack54.adb, s-pack54.ads, s-pack55.adb, s-pack55.ads, | |
11516 | s-pack56.adb, s-pack56.ads, s-pack57.adb, s-pack57.ads, | |
11517 | s-pack58.adb, s-pack58.ads, s-pack59.adb, s-pack59.ads, | |
11518 | s-pack60.adb, s-pack60.ads, s-pack61.adb, s-pack61.ads, | |
11519 | s-pack62.adb, s-pack62.ads, s-pack63.adb, s-pack63.ads, | |
11520 | s-parame.adb, s-parame.ads, s-parint.adb, s-parint.ads, | |
11521 | s-pooglo.adb, s-pooglo.ads, s-pooloc.adb, s-pooloc.ads, | |
11522 | s-poosiz.adb, s-poosiz.ads, s-powtab.ads, s-proinf.adb, | |
11523 | s-proinf.ads, s-rpc.adb, s-rpc.ads, s-scaval.ads, | |
11524 | s-secsta.adb, s-secsta.ads, s-sequio.adb, s-sequio.ads, | |
11525 | s-shasto.adb, s-shasto.ads, s-soflin.adb, s-soflin.ads, | |
11526 | s-sopco3.adb, s-sopco3.ads, s-sopco4.adb, s-sopco4.ads, | |
11527 | s-sopco5.adb, s-sopco5.ads, s-stache.adb, s-stache.ads, | |
11528 | s-stalib.adb, s-stalib.ads, s-stoele.adb, s-stoele.ads, | |
11529 | s-stopoo.ads, s-stratt.adb, s-stratt.ads, s-strops.adb, | |
11530 | s-strops.ads, s-taasde.adb, s-taasde.ads, s-tadeca.adb, | |
11531 | s-tadeca.ads, s-tadert.adb, s-tadert.ads, s-taenca.adb, | |
11532 | s-taenca.ads, s-taprob.adb, s-taprob.ads, s-taprop.ads, | |
11533 | s-tarest.adb, s-tarest.ads, s-tasdeb.adb, s-tasdeb.ads, | |
11534 | s-tasinf.adb, s-tasinf.ads, s-tasini.adb, s-tasini.ads, | |
11535 | s-taskin.adb, s-taskin.ads, s-tasque.adb, s-tasque.ads, | |
11536 | s-tasren.adb, s-tasren.ads, s-tasres.ads, s-tassta.adb, | |
11537 | s-tassta.ads, s-tasuti.adb, s-tasuti.ads, s-tataat.adb, | |
11538 | s-tataat.ads, s-tpinop.adb, s-tpinop.ads, s-tpoben.adb, | |
11539 | s-tpoben.ads, s-tpobop.adb, s-tpobop.ads, s-tposen.adb, | |
11540 | s-tposen.ads, s-traceb.adb, s-traceb.ads, s-traces.adb, | |
11541 | s-traces.ads, s-tratas.adb, s-tratas.ads, s-unstyp.ads, | |
11542 | s-vaflop.adb, s-vaflop.ads, s-valboo.adb, s-valboo.ads, | |
11543 | s-valcha.adb, s-valcha.ads, s-valdec.adb, s-valdec.ads, | |
11544 | s-valenu.adb, s-valenu.ads, s-valint.adb, s-valint.ads, | |
11545 | s-vallld.adb, s-vallld.ads, s-vallli.adb, s-vallli.ads, | |
11546 | s-valllu.adb, s-valllu.ads, s-valrea.adb, s-valrea.ads, | |
11547 | s-valuns.adb, s-valuns.ads, s-valuti.adb, s-valuti.ads, | |
11548 | s-valwch.adb, s-valwch.ads, s-vercon.adb, s-vercon.ads, | |
11549 | s-vmexta.adb, s-vmexta.ads, s-wchcnv.adb, s-wchcnv.ads, | |
11550 | s-wchcon.ads, s-wchjis.adb, s-wchjis.ads, s-wchstw.adb, | |
11551 | s-wchstw.ads, s-wchwts.adb, s-wchwts.ads, s-widboo.adb, | |
11552 | s-widboo.ads, s-widcha.adb, s-widcha.ads, s-widenu.adb, | |
11553 | s-widenu.ads, s-widlli.adb, s-widlli.ads, s-widllu.adb, | |
11554 | s-widllu.ads, s-widwch.adb, s-widwch.ads, s-wwdcha.adb, | |
11555 | s-wwdcha.ads, s-wwdenu.adb, s-wwdenu.ads, s-wwdwch.adb, | |
11556 | s-wwdwch.ads, scans.adb, scans.ads, scn-nlit.adb, | |
11557 | scn-slit.adb, scn.adb, scn.ads, sdefault.ads, | |
11558 | sem.adb, sem.ads, sem_aggr.adb, sem_aggr.ads, | |
11559 | sem_attr.adb, sem_attr.ads, sem_case.adb, sem_case.ads, | |
11560 | sem_cat.adb, sem_cat.ads, sem_ch10.adb, sem_ch10.ads, | |
11561 | sem_ch11.adb, sem_ch11.ads, sem_ch12.adb, sem_ch12.ads, | |
11562 | sem_ch13.adb, sem_ch13.ads, sem_ch2.adb, sem_ch2.ads, | |
11563 | sem_ch3.adb, sem_ch3.ads, sem_ch4.adb, sem_ch4.ads, | |
11564 | sem_ch5.adb, sem_ch5.ads, sem_ch6.adb, sem_ch6.ads, | |
11565 | sem_ch7.adb, sem_ch7.ads, sem_ch8.adb, sem_ch8.ads, | |
11566 | sem_ch9.adb, sem_ch9.ads, sem_disp.adb, sem_disp.ads, | |
11567 | sem_dist.adb, sem_dist.ads, sem_elab.adb, sem_elab.ads, | |
11568 | sem_elim.adb, sem_elim.ads, sem_eval.adb, sem_eval.ads, | |
11569 | sem_intr.adb, sem_intr.ads, sem_maps.adb, sem_maps.ads, | |
11570 | sem_mech.adb, sem_mech.ads, sem_prag.adb, sem_prag.ads, | |
11571 | sem_res.adb, sem_res.ads, sem_smem.adb, sem_smem.ads, | |
11572 | sem_type.adb, sem_type.ads, sem_util.adb, sem_util.ads, | |
11573 | sem_vfpt.adb, sem_vfpt.ads, sem_warn.adb, sem_warn.ads, | |
11574 | sequenio.ads, sfn_scan.adb, sfn_scan.ads, sinfo-cn.adb, | |
11575 | sinfo-cn.ads, sinfo.adb, sinfo.ads, sinput-d.adb, | |
11576 | sinput-d.ads, sinput-l.adb, sinput-l.ads, sinput-p.adb, | |
11577 | sinput-p.ads, sinput.adb, sinput.ads, snames.adb, | |
11578 | snames.ads, sprint.adb, sprint.ads, stand.adb, | |
11579 | stand.ads, stringt.adb, stringt.ads, style.adb, | |
11580 | style.ads, stylesw.adb, stylesw.ads, switch-b.adb, | |
11581 | switch-b.ads, switch-c.adb, switch-c.ads, switch-m.adb, | |
11582 | switch-m.ads, switch.adb, switch.ads, system.ads, | |
11583 | table.adb, table.ads, targparm.adb, targparm.ads, | |
11584 | tbuild.adb, tbuild.ads, text_io.ads, trans.c, | |
11585 | tree_gen.adb, tree_gen.ads, tree_in.adb, tree_in.ads, | |
11586 | tree_io.adb, tree_io.ads, treepr.adb, treepr.ads, | |
11587 | ttypef.ads, ttypes.ads, types.adb, types.ads, | |
11588 | uintp.adb, uintp.ads, uname.adb, uname.ads, | |
11589 | unchconv.ads, unchdeal.ads, urealp.adb, urealp.ads, | |
11590 | usage.adb, usage.ads, validsw.adb, validsw.ads, | |
11591 | widechar.adb, widechar.ads, xeinfo.adb, xnmake.adb, | |
11592 | xr_tabls.adb, xr_tabls.ads, xref_lib.adb, xref_lib.ads, | |
11593 | xsinfo.adb, xsnames.adb, xtreeprs.adb : Merge header, | |
11594 | formatting and other trivial changes from ACT. | |
11595 | ||
dcf92453 ZW |
11596 | 2003-04-12 Zack Weinberg <zack@codesourcery.com> |
11597 | ||
11598 | * gigi.h, utils2.c (build_constructor): | |
11599 | Rename gnat_build_constructor. Use build_constructor. | |
11600 | * decl.c (gnat_to_gnu_entity) | |
11601 | * trans.c (tree_transform, pos_to_constructor, extract_values) | |
11602 | * ada/utils.c (build_template, convert_to_fat_pointer, convert) | |
11603 | (unchecked_convert) | |
11604 | * ada/utils2.c (build_binary_op, build_call_raise, build_allocator) | |
11605 | (fill_vms_descriptor): | |
11606 | Update to match. | |
11607 | ||
d78e771d ZW |
11608 | 2003-04-06 Zack Weinberg <zack@codesourcery.com> |
11609 | ||
11610 | * ada-tree.def: Make fourth element for GNAT_LOOP_ID zero. | |
11611 | * misc.c (gnat_tree_size): New function. | |
11612 | (LANG_HOOKS_TREE_SIZE): Override. | |
11613 | ||
78d55cc8 JM |
11614 | 2003-04-03 Jason Merrill <jason@redhat.com> |
11615 | ||
11616 | * misc.c (gnat_adjust_rli): #if 0. | |
11617 | ||
b174e2d4 GB |
11618 | 2003-03-31 Geert Bosch <bosch@gnat.com> |
11619 | ||
11620 | PR ada/10020 | |
11621 | * link.c : Fix misspelled "const" keyword | |
11622 | ||
f29a2bd1 MM |
11623 | 2003-03-23 Mark Mitchell <mark@codesourcery.com> |
11624 | ||
11625 | PR c++/7086 | |
11626 | * utils2.c: Adjust calls to put_var_into_stack. | |
11627 | ||
08e247b1 NN |
11628 | 2003-03-12 Nathanael Nerode <neroden@gcc.gnu.org> |
11629 | ||
11630 | * Make-lang.in, Makefile.in, config-lang.in: GCC, not GNU CC. | |
11631 | ||
4bfec483 NB |
11632 | 2003-03-08 Neil Booth <neil@daikokuya.co.uk> |
11633 | ||
11634 | * misc.c (gnat_init): Update for new prototype. | |
11635 | ||
3d713bb8 GB |
11636 | 2003-03-05 Olivier Hainque <hainque@gnat.com> |
11637 | ||
11638 | ada/9961 | |
78d55cc8 JM |
11639 | * raise.c (__gnat_Unwind_RaiseException): Add prototype to avoid |
11640 | warning, and fix return type for the IN_RTS && !SJLJ case. | |
3d713bb8 | 11641 | |
8b89fcdf TT |
11642 | 2003-03-04 Tom Tromey <tromey@redhat.com> |
11643 | ||
11644 | * Make-lang.in (ada.tags): New target. | |
11645 | ||
3d713bb8 | 11646 | 2003-03-04 Olivier Hainque <hainque@act-europe.fr> |
23cae84f OH |
11647 | |
11648 | ada/9911 | |
11649 | * a-except.adb (Unwind_RaiseException): Import a GNAT specific | |
11650 | wrapper, which name remains constant whatever underlying GCC | |
11651 | scheme. | |
11652 | ||
11653 | * raise.c (__gnat_Unwind_RaiseException): New wrappers, providing | |
11654 | the stable interface needed for a-except. | |
11655 | ||
f4ae98be AJ |
11656 | 2003-03-02 Andreas Jaeger <aj@suse.de> |
11657 | ||
11658 | * gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi, | |
11659 | gnat_ug_wnt.texi: Regenerate. | |
11660 | ||
5348742b LG |
11661 | 2003-03-02 Laurent Guerby <guerby@acm.org> |
11662 | ||
f4ae98be | 11663 | * Makefile.in (install-gnatlib): Match previous change there |
5348742b | 11664 | so it works. |
f4ae98be | 11665 | |
8c108db2 AS |
11666 | 2003-02-28 Andreas Schwab <schwab@suse.de> |
11667 | ||
11668 | * Make-lang.in (install-gnatlib): Change to ada directory before | |
11669 | running make instead of using ada/Makefile directly. | |
11670 | ||
601d71bc BE |
11671 | 2003-02-18 Ben Elliston <bje@redhat.com> |
11672 | ||
11673 | Part of fix for PR ada/9406 | |
11674 | * gnat_ug.texi (Binder output file): Grammar fix. | |
11675 | ||
bf7c02dd BE |
11676 | 2003-02-18 Ben Elliston <bje@redhat.com> |
11677 | ||
11678 | PR other/7350 | |
11679 | * 5qtaprop.adb (Sleep): Fix typo in comment. | |
11680 | ||
b3a8389d JM |
11681 | 2003-02-04 Joseph S. Myers <jsm@polyomino.org.uk> |
11682 | ||
11683 | * gnat_rm.texi, gnat_ug.texi: Update to GFDL 1.2. | |
11684 | * gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi, | |
11685 | gnat_ug_wnt.texi: Regenerate. | |
11686 | ||
5da14cb5 CC |
11687 | 2003-02-03 Christian Cornelssen <ccorn@cs.tu-berlin.de> |
11688 | ||
11689 | * Make-lang.in (ada.install-info): Let $(DESTDIR)$(infodir) | |
11690 | be created if necessary. | |
11691 | (ada.install-common): Let $(DESTDIR)$(bindir) be created | |
11692 | if necessary. Remove erroneous and redundant gnatchop | |
11693 | installation commands. Test for gnatdll before attempting | |
11694 | to install it. | |
11695 | (ada.uninstall): Also uninstall gnatfind, gnatxref, gnatlbr, | |
11696 | and gnatdll from all plausible locations. | |
11697 | ||
271bd540 RS |
11698 | 2003-02-01 Richard Sandiford <rsandifo@redhat.com> |
11699 | ||
11700 | * utils2.c (build_unary_op): Don't check flag_volatile. | |
11701 | * gnat_ug.texi: Remove -fvolatile from example. | |
11702 | * gnat_ug_vxw.texi: Likewise. | |
11703 | ||
c1cc6a51 LG |
11704 | 2003-01-29 Laurent Guerby <guerby@acm.org> |
11705 | ||
d78e771d ZW |
11706 | PR ada/8344 |
11707 | * final.c: rename to adafinal.c to avoid file name conflicts with gcc file. | |
11708 | * Makefile.in: match previous change. | |
11709 | * Make-lang.in: match previous change. | |
c1cc6a51 | 11710 | |
c4039eb0 JS |
11711 | 2003-01-29 Joel Sherrill <joel@OARcorp.com> |
11712 | ||
11713 | * 5rosinte.ads: Add SIGXCPU. | |
11714 | * 5rtpopsp.adb: New file. | |
11715 | * Make-lang.in: Do not build gnatpsta and gnatpsys when cross. | |
11716 | * Makefile.in: Recognize more RTEMS targets and add the RTEMS | |
11717 | specific file 5rtpopsp.adb. | |
11718 | * adaint.h: Add include of <stdio.h> when target is RTEMS. This | |
11719 | is likely needed for all newlib targets. | |
11720 | * init.c: Add RTEMS specific version of __gnat_initialize(). | |
11721 | ||
00d29f7d RO |
11722 | 2003-01-28 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
11723 | ||
11724 | * adaint.c, adaint.h, gmem.c, init.c: Update copyright year. | |
11725 | ||
437026ef RO |
11726 | 2003-01-27 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
11727 | ||
11728 | * init.c (__gnat_error_handler): Make msg const. | |
11729 | ||
11730 | * gmem.c (convert_addresses): Move declaration ... | |
11731 | * adaint.h: ... here. | |
11732 | * adaint.c (convert_addresses): Adapt addrs type to match | |
11733 | prototype. | |
11734 | ||
11735 | * adaint.c (__gnat_try_lock): Cast pid_t to long, adapt format. | |
11736 | ||
e12825cd AS |
11737 | 2003-01-24 Andreas Schwab <schwab@suse.de> |
11738 | ||
11739 | * ada-tree.h (SET_TYPE_DIGITS_VALUE): Add intermediate cast to | |
11740 | size_t to avoid warning. | |
11741 | ||
a8729406 ZW |
11742 | 2003-01-21 Zack Weinberg <zack@codesourcery.com> |
11743 | ||
b09b91b9 | 11744 | * Make-lang.in: Disable -Werror for tracebak.c and b_gnatb.c. |
a8729406 | 11745 | |
17211ab5 GK |
11746 | 2003-01-09 Geoffrey Keating <geoffk@apple.com> |
11747 | ||
11748 | * gnat_rm.texi: Remove RCS version number. | |
11749 | ||
11750 | * ada-tree.h (union lang_tree_node): Add chain_next option. | |
11751 | ||
1d27195c CC |
11752 | 2003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de> |
11753 | ||
11754 | * Make-lang.in (ada.install-info, ada.install-common, | |
11755 | ada.uninstall): Prepend $(DESTDIR) to the destination | |
11756 | directory in all (un)installation commands. | |
11757 | * Makefile.in (install-gnatlib, install-rts): Ditto. | |
11758 | ||
bdefb2ab JM |
11759 | 2002-12-28 Joseph S. Myers <jsm@polyomino.org.uk> |
11760 | ||
11761 | * gnat_rm.texi, gnat_ug.texi: Use @copying. | |
11762 | * gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi, | |
11763 | gnat_ug_wnt.texi: Regenerate. | |
11764 | ||
46d40353 JM |
11765 | 2002-12-23 Joseph S. Myers <jsm@polyomino.org.uk> |
11766 | ||
11767 | * gnat_rm.texi: Include gcc-common.texi. Use GCC version number | |
11768 | only. | |
11769 | * Make-lang.in ($(srcdir)/ada/gnat_ug_unx.info, | |
11770 | $(srcdir)/ada/gnat_ug_vms.info, $(srcdir)/ada/gnat_ug_vxw.info, | |
11771 | $(srcdir)/ada/gnat_ug_wnt.info, $(srcdir)/ada/gnat_rm.info, | |
11772 | ada/gnat_ug_unx.dvi, ada/gnat_ug_vms.dvi, ada/gnat_ug_vxw.dvi, | |
11773 | ada/gnat_ug_wnt.dvi, ada/gnat_rm.dvi): Depend on | |
11774 | $(srcdir)/doc/include/gcc-common.texi. | |
11775 | ||
d2f97d3e GB |
11776 | 2002-12-15 Geert Bosch <bosch@gnat.com> |
11777 | ||
11778 | * sem_ch6.adb (Analyze_Subprogram_Body): Fix typo and formatting | |
11779 | ||
93a81b02 GB |
11780 | 2002-12-14 Geert Bosch <bosch@gnat.com> |
11781 | ||
4977bab6 ZW |
11782 | * sem_ch6.adb (Analyze_Subprogram_Body): Recognize additional |
11783 | case of a body created for a Renaming_As_Body, on which | |
11784 | conformance checks are not performed. Fixes PR ada/5690. | |
11785 | ||
11786 | 2002-11-30 Zack Weinberg <zack@codesourcery.com> | |
11787 | ||
11788 | * cuintp.c, decl.c, deftarg.c, misc.c, targtyps.c, trans.c, | |
11789 | utils.c, utils2.c: Include coretypes.h and tm.h, and system.h when | |
11790 | not already included. | |
11791 | * Make-lang.in: Update dependencies. | |
93a81b02 | 11792 | |
dfc15546 NN |
11793 | 2002-11-18 Nathanael Nerode <neroden@gcc.gnu.org> |
11794 | * adaint.c (__gnat_tmp_name): Better, but good enough for now, | |
4977bab6 | 11795 | solution to buffer overflow bug on GNU/Linux. |
dfc15546 | 11796 | |
8b54424d NN |
11797 | 2002-11-14 Nathanael Nerode <neroden@gcc.gnu.org> |
11798 | Closes PR ada/5856 and PR ada/6919 ! | |
11799 | * bindgen.adb: Remove all references to Public_Version. | |
11800 | * comperr.adb: Remove all references to Public_Version and | |
11801 | GNATPRO_Version; correct bug reporting instructions. | |
11802 | * comperr.ads: Change to match bug box. | |
11803 | * gnatvsn.ads: Remove all references to Public version and | |
11804 | GNATPRO version. | |
11805 | ||
cc41268d | 11806 | 2002-11-13 Nathanael Nerode <neroden@gcc.gnu.org> |
1a083c0e NN |
11807 | PR ada/6919 |
11808 | * adaint.c (__gnat_tmp_name): Remove buffer overflow bug on | |
11809 | GNU/Linux. | |
11810 | ||
cc41268d NN |
11811 | PR ada/6558 |
11812 | * config-lang.in: Remove diff_excludes. | |
11813 | ||
1c7b0712 GS |
11814 | 2002-11-05 Graham Stott <graham.stott@btinternet.com> |
11815 | PR ada/8358 | |
11816 | * trans.c (gnu_pending_elaboration_lists): New GC root. | |
4977bab6 | 11817 | (build_unit_elab): Use.. |
1c7b0712 | 11818 | |
1c4048ca GB |
11819 | 2002-10-30 Geert Bosch <bosch@gnat.com> |
11820 | PR ada/6558 | |
11821 | * misc.c : Include optabs.h | |
11822 | ||
11823 | * Make-lang.in (misc.o): Add dependency on optabs.h | |
11824 | ||
f0d96f9c | 11825 | 2002-10-29 Geert Bosch <bosch@gnat.com> |
4977bab6 | 11826 | PR ada/6558 |
f0d96f9c GB |
11827 | * Make-lang.in (gnatbind): Depend on CONFIG_H |
11828 | ||
a7512dec | 11829 | 2002-10-29 Geert bosch <bosch@gnat.com> |
4977bab6 ZW |
11830 | PR ada/6558 |
11831 | * misc.c: Unrevert misc.c (1.13) | |
a7512dec | 11832 | |
c6362f4f NN |
11833 | 2002-10-28 Nathanael Nerode <neroden@gcc.gnu.org> |
11834 | ||
11835 | * a-chlat9.ads a-cwila9.ads a-dynpri.adb a-retide.adb: Update | |
11836 | maintainership comments. | |
11837 | ||
11838 | 2002-09-25 Nathanael Nerode <neroden@gcc.gnu.org> | |
91ed4b19 | 11839 | PR ada/5904 |
4977bab6 ZW |
11840 | * 5ataprop.adb 5atpopsp.adb 5bosinte.adb 5ftaprop.adb |
11841 | 5gtaprop.adb 5htaprop.adb 5rosinte.ads 5staprop.adb | |
11842 | 5stpopse.adb 5vtaspri.ads 5zintman.adb 5ztaprop.adb | |
11843 | 7staprop.adb: Correct statements in comments about | |
91ed4b19 NN |
11844 | maintainership of GNAT. |
11845 | ||
1f02b6af | 11846 | PR ada/5904 |
4977bab6 ZW |
11847 | * 1ssecsta.adb 1ssecsta.ads adadecode.c adadecode.h aux-io.c |
11848 | gnatname.adb gnatname.ads mkdir.c osint-b.adb osint-b.ads | |
11849 | osint-c.adb osint-c.ads osint-l.adb osint-l.ads osint-m.adb | |
11850 | osint-m.ads prj-makr.adb prj-makr.ads prj-pp.adb prj-pp.ads | |
11851 | s-atacco.ads s-traceb.adb s-traceb.ads s-traces.adb | |
11852 | s-traces.ads s-tratas.adb s-tratas.ads sinput-d.adb | |
11853 | sinput-d.ads switch-b.adb switch-b.ads switch-c.adb | |
1f02b6af NN |
11854 | switch-c.ads switch-m.adb switch-m.ads: Correct statements in |
11855 | comments about maintainership of GNAT. | |
11856 | ||
71ff80dc | 11857 | PR ada/6919 (forward port of patch for PR ada/5904) |
4977bab6 ZW |
11858 | * 1aexcept.adb 1aexcept.ads 41intnam.ads 42intnam.ads |
11859 | 4aintnam.ads 4cintnam.ads 4dintnam.ads 4hexcpol.adb | |
11860 | 4lintnam.ads 4mintnam.ads 4nintnam.ads 4onumaux.ads | |
11861 | 4pintnam.ads 4rintnam.ads 4sintnam.ads 4uintnam.ads | |
11862 | 4vcalend.adb 4vintnam.ads 4wcalend.adb 4wexcpol.adb | |
11863 | 4wintnam.ads 4zintnam.ads 4znumaux.ads 4zsytaco.adb | |
11864 | 4zsytaco.ads 51osinte.adb 51osinte.ads 52osinte.adb | |
11865 | 52osinte.ads 52system.ads 53osinte.ads 5aosinte.ads | |
11866 | 5asystem.ads 5atasinf.ads 5ataspri.ads 5avxwork.ads | |
11867 | 5bosinte.ads 5bsystem.ads 5cosinte.ads 5dosinte.ads | |
11868 | 5esystem.ads 5fosinte.ads 5fsystem.ads 5ftasinf.ads | |
11869 | 5ginterr.adb 5gmastop.adb 5gosinte.ads 5gproinf.adb | |
11870 | 5gproinf.ads 5gsystem.ads 5gtasinf.adb 5gtasinf.ads | |
11871 | 5gtpgetc.adb 5hparame.ads 5hsystem.ads 5htaspri.ads | |
11872 | 5iosinte.ads 5itaspri.ads 5ksystem.ads 5kvxwork.ads | |
11873 | 5losinte.ads 5lsystem.ads 5mosinte.ads 5mvxwork.ads | |
11874 | 5ninmaop.adb 5nintman.adb 5nosinte.ads 5ntaspri.ads | |
11875 | 5oosprim.adb 5oparame.adb 5osystem.ads 5posinte.ads | |
11876 | 5posprim.adb 5pvxwork.ads 5rosinte.ads 5rparame.adb | |
11877 | 5sintman.adb 5sosinte.ads 5sparame.adb 5ssystem.ads | |
11878 | 5stasinf.adb 5stasinf.ads 5staspri.ads 5svxwork.ads | |
11879 | 5tosinte.ads 5uosinte.ads 5vasthan.adb 5vinterr.adb | |
11880 | 5vintman.ads 5vosinte.ads 5vosprim.adb 5vosprim.ads | |
11881 | 5vparame.ads 5vsystem.ads 5vtaspri.ads 5vtpopde.adb | |
11882 | 5vtpopde.ads 5vvaflop.adb 5wintman.adb 5wmemory.adb | |
11883 | 5wosinte.ads 5wosprim.adb 5wsystem.ads 5wtaprop.adb | |
11884 | 5wtaspri.ads 5ysystem.ads 5zinterr.adb 5zosinte.adb | |
11885 | 5zosinte.ads 5zosprim.adb 5zsystem.ads 6vcpp.adb 6vcstrea.adb | |
11886 | 7sosprim.adb 86numaux.adb 86numaux.ads 9drpc.adb a-astaco.adb | |
11887 | a-caldel.ads a-calend.adb a-calend.ads a-chahan.adb | |
11888 | a-chahan.ads a-colien.adb a-colien.ads a-colire.adb | |
11889 | a-colire.ads a-comlin.adb a-comlin.ads a-cwila1.ads | |
11890 | a-decima.adb a-decima.ads a-diocst.adb a-diocst.ads | |
11891 | a-direio.adb a-direio.ads a-einuoc.adb a-einuoc.ads | |
11892 | a-except.adb a-except.ads a-excpol.adb a-exctra.adb | |
11893 | a-exctra.ads a-filico.adb a-filico.ads a-finali.adb | |
11894 | a-finali.ads a-interr.ads a-intsig.adb a-intsig.ads | |
11895 | a-ngcefu.adb a-ngcoty.adb a-ngcoty.ads a-ngelfu.adb | |
11896 | a-nudira.adb a-nudira.ads a-nuflra.adb a-nuflra.ads | |
11897 | a-numaux.ads a-reatim.ads a-retide.ads a-sequio.adb | |
11898 | a-sequio.ads a-siocst.adb a-siocst.ads a-ssicst.adb | |
11899 | a-ssicst.ads a-stmaco.ads a-storio.adb a-strbou.adb | |
11900 | a-strbou.ads a-stream.ads a-strfix.adb a-strfix.ads | |
11901 | a-strmap.adb a-strmap.ads a-strsea.adb a-strsea.ads | |
11902 | a-strunb.adb a-strunb.ads a-ststio.adb a-ststio.ads | |
11903 | a-stunau.adb a-stunau.ads a-stwibo.adb a-stwibo.ads | |
11904 | a-stwifi.adb a-stwima.adb a-stwima.ads a-stwise.adb | |
11905 | a-stwise.ads a-stwiun.adb a-stwiun.ads a-suteio.adb | |
11906 | a-suteio.ads a-swmwco.ads a-swuwti.adb a-swuwti.ads | |
11907 | a-sytaco.adb a-sytaco.ads a-tags.adb a-tags.ads a-tasatt.ads | |
11908 | a-taside.adb a-taside.ads a-teioed.adb a-teioed.ads | |
11909 | a-textio.adb a-textio.ads a-ticoau.adb a-ticoau.ads | |
11910 | a-ticoio.adb a-ticoio.ads a-tideau.adb a-tideau.ads | |
11911 | a-tideio.adb a-tideio.ads a-tienau.adb a-tienau.ads | |
11912 | a-tienio.adb a-tienio.ads a-tifiio.adb a-tifiio.ads | |
11913 | a-tiflau.adb a-tiflau.ads a-tiflio.adb a-tiflio.ads | |
11914 | a-tigeau.adb a-tigeau.ads a-tiinau.adb a-tiinau.ads | |
11915 | a-tiinio.adb a-tiinio.ads a-timoau.adb a-timoau.ads | |
11916 | a-timoio.adb a-timoio.ads a-tiocst.adb a-tiocst.ads | |
11917 | a-titest.adb a-witeio.adb a-witeio.ads a-wtcoau.adb | |
11918 | a-wtcoau.ads a-wtcoio.adb a-wtcstr.adb a-wtcstr.ads | |
11919 | a-wtdeau.adb a-wtdeau.ads a-wtdeio.adb a-wtdeio.ads | |
11920 | a-wtedit.adb a-wtedit.ads a-wtenau.adb a-wtenau.ads | |
11921 | a-wtenio.adb a-wtenio.ads a-wtfiio.adb a-wtfiio.ads | |
11922 | a-wtflau.adb a-wtflau.ads a-wtflio.adb a-wtflio.ads | |
11923 | a-wtgeau.adb a-wtgeau.ads a-wtinau.adb a-wtinau.ads | |
11924 | a-wtinio.adb a-wtmoau.adb a-wtmoau.ads a-wtmoio.adb | |
11925 | a-wtmoio.ads a-wttest.adb ada-tree.def ada-tree.h ada.h | |
11926 | adaint.c adaint.h ali-util.adb ali-util.ads ali.adb ali.ads | |
11927 | alloc.ads argv.c atree.adb atree.ads atree.h back_end.adb | |
11928 | back_end.ads bcheck.adb bcheck.ads binde.adb binde.ads | |
11929 | binderr.adb binderr.ads bindgen.adb bindgen.ads bindusg.adb | |
11930 | bindusg.ads butil.adb butil.ads cal.c casing.adb casing.ads | |
11931 | ceinfo.adb checks.adb checks.ads cio.c comperr.adb comperr.ads | |
11932 | csets.adb csets.ads csinfo.adb cstand.adb cstand.ads | |
11933 | cstreams.c cuintp.c debug.adb debug.ads debug_a.adb | |
11934 | debug_a.ads dec-io.adb dec-io.ads dec.ads decl.c deftarg.c | |
11935 | einfo.adb einfo.ads einfo.h elists.adb elists.ads elists.h | |
11936 | errno.c errout.adb errout.ads eval_fat.adb eval_fat.ads exit.c | |
11937 | exp_aggr.adb exp_aggr.ads exp_attr.adb exp_attr.ads | |
11938 | exp_ch10.ads exp_ch11.adb exp_ch11.ads exp_ch12.adb | |
11939 | exp_ch12.ads exp_ch13.adb exp_ch13.ads exp_ch2.adb exp_ch2.ads | |
11940 | exp_ch3.adb exp_ch3.ads exp_ch4.adb exp_ch4.ads exp_ch5.adb | |
11941 | exp_ch5.ads exp_ch6.adb exp_ch6.ads exp_ch7.adb exp_ch7.ads | |
11942 | exp_ch8.adb exp_ch8.ads exp_ch9.adb exp_ch9.ads exp_code.adb | |
11943 | exp_code.ads exp_dbug.adb exp_dbug.ads exp_disp.adb | |
11944 | exp_disp.ads exp_dist.adb exp_dist.ads exp_fixd.adb | |
11945 | exp_fixd.ads exp_imgv.adb exp_imgv.ads exp_intr.adb | |
11946 | exp_intr.ads exp_pakd.adb exp_pakd.ads exp_prag.adb | |
11947 | exp_prag.ads exp_smem.adb exp_smem.ads exp_strm.adb | |
11948 | exp_strm.ads exp_tss.adb exp_tss.ads exp_util.adb exp_util.ads | |
11949 | exp_vfpt.adb exp_vfpt.ads expander.adb expander.ads fe.h | |
11950 | final.c fmap.adb fmap.ads fname-sf.adb fname-sf.ads | |
11951 | fname-uf.adb fname-uf.ads fname.adb fname.ads freeze.adb | |
11952 | freeze.ads frontend.adb frontend.ads g-calend.ads g-comlin.adb | |
11953 | g-debpoo.adb g-debpoo.ads g-locfil.adb g-os_lib.ads | |
11954 | g-regist.adb g-regist.ads get_targ.adb get_targ.ads gigi.h | |
11955 | gmem.c gnat1drv.adb gnat1drv.ads gnat_ug.texi gnatbind.adb | |
11956 | gnatbind.ads gnatbl.c gnatcmd.adb gnatcmd.ads gnatdll.adb | |
11957 | gnatfind.adb gnatkr.adb gnatkr.ads gnatlbr.adb gnatlink.adb | |
11958 | gnatlink.ads gnatls.adb gnatls.ads gnatmake.adb gnatmake.ads | |
11959 | gnatmem.adb gnatprep.adb gnatprep.ads gnatpsta.adb gnatvsn.ads | |
11960 | gnatxref.adb hlo.adb hlo.ads hostparm.ads i-c.adb i-cexten.ads | |
11961 | i-cobol.adb i-cobol.ads i-cpoint.adb i-cpoint.ads i-cpp.adb | |
11962 | i-cpp.ads i-cstrea.adb i-cstrea.ads i-cstrin.adb i-cstrin.ads | |
11963 | i-fortra.adb i-os2err.ads i-os2lib.adb i-os2lib.ads | |
11964 | i-os2syn.ads i-os2thr.ads i-pacdec.adb i-pacdec.ads | |
11965 | impunit.adb impunit.ads init.c inline.adb inline.ads io-aux.c | |
11966 | itypes.adb itypes.ads krunch.adb krunch.ads lang-options.h | |
11967 | lang-specs.h layout.adb layout.ads lib-list.adb lib-load.adb | |
11968 | lib-load.ads lib-sort.adb lib-util.adb lib-util.ads | |
11969 | lib-writ.adb lib-writ.ads lib-xref.adb lib-xref.ads lib.adb | |
11970 | lib.ads link.c live.adb live.ads make.adb make.ads makeusg.adb | |
11971 | makeusg.ads math_lib.adb mdll.adb mdll.ads memtrack.adb misc.c | |
11972 | namet.adb namet.ads namet.h nlists.adb nlists.ads nlists.h | |
11973 | nmake.adb nmake.ads nmake.adt opt.adb opt.ads osint.adb | |
11974 | osint.ads output.adb output.ads par-ch10.adb par-ch11.adb | |
11975 | par-ch12.adb par-ch13.adb par-ch2.adb par-ch3.adb par-ch4.adb | |
11976 | par-ch5.adb par-ch6.adb par-ch7.adb par-ch8.adb par-ch9.adb | |
11977 | par-endh.adb par-labl.adb par-load.adb par-prag.adb | |
11978 | par-sync.adb par-tchk.adb par-util.adb par.adb par.ads | |
11979 | prj-attr.adb prj-attr.ads prj-com.adb prj-com.ads prj-dect.adb | |
11980 | prj-dect.ads prj-env.adb prj-env.ads prj-ext.adb prj-ext.ads | |
11981 | prj-nmsc.adb prj-nmsc.ads prj-pars.adb prj-pars.ads | |
11982 | prj-part.adb prj-part.ads prj-proc.adb prj-proc.ads | |
11983 | prj-strt.adb prj-strt.ads prj-tree.adb prj-tree.ads | |
11984 | prj-util.adb prj-util.ads prj.adb prj.ads raise.c raise.h | |
11985 | repinfo.adb repinfo.ads repinfo.h restrict.adb restrict.ads | |
11986 | rident.ads rtsfind.adb rtsfind.ads s-addima.adb s-addima.ads | |
11987 | s-arit64.adb s-arit64.ads s-assert.adb s-assert.ads | |
11988 | s-asthan.adb s-asthan.ads s-atacco.adb s-auxdec.adb | |
11989 | s-auxdec.ads s-bitops.adb s-bitops.ads s-chepoo.ads | |
11990 | s-direio.adb s-direio.ads s-except.ads s-exctab.adb | |
11991 | s-exctab.ads s-exnflt.ads s-exngen.adb s-exngen.ads | |
11992 | s-exnint.ads s-exnlfl.ads s-exnlin.ads s-exnllf.ads | |
11993 | s-exnlli.ads s-exnsfl.ads s-exnsin.ads s-exnssi.ads | |
11994 | s-expflt.ads s-expgen.adb s-expgen.ads s-expint.ads | |
11995 | s-explfl.ads s-explin.ads s-expllf.ads s-explli.ads | |
11996 | s-expllu.adb s-expllu.ads s-expmod.adb s-expmod.ads | |
11997 | s-expsfl.ads s-expsin.ads s-expssi.ads s-expuns.adb | |
11998 | s-expuns.ads s-fatflt.ads s-fatgen.adb s-fatgen.ads | |
11999 | s-fatlfl.ads s-fatllf.ads s-fatsfl.ads s-ficobl.ads | |
12000 | s-fileio.adb s-fileio.ads s-finimp.adb s-finimp.ads | |
12001 | s-finroo.adb s-finroo.ads s-fore.adb s-fore.ads s-imgbiu.adb | |
12002 | s-imgbiu.ads s-imgboo.adb s-imgboo.ads s-imgcha.adb | |
12003 | s-imgcha.ads s-imgdec.adb s-imgdec.ads s-imgenu.adb | |
12004 | s-imgenu.ads s-imgint.adb s-imgint.ads s-imgllb.adb | |
12005 | s-imgllb.ads s-imglld.adb s-imglld.ads s-imglli.adb | |
12006 | s-imglli.ads s-imgllu.adb s-imgllu.ads s-imgllw.adb | |
12007 | s-imgllw.ads s-imgrea.adb s-imgrea.ads s-imguns.adb | |
12008 | s-imguns.ads s-imgwch.adb s-imgwch.ads s-imgwiu.adb | |
12009 | s-imgwiu.ads s-inmaop.ads s-interr.adb s-interr.ads | |
12010 | s-intman.ads s-io.adb s-io.ads s-maccod.ads s-mantis.adb | |
12011 | s-mantis.ads s-memory.adb s-memory.ads s-osprim.ads | |
12012 | s-pack03.adb s-pack03.ads s-pack05.adb s-pack05.ads | |
12013 | s-pack06.adb s-pack06.ads s-pack07.adb s-pack07.ads | |
12014 | s-pack09.adb s-pack09.ads s-pack10.adb s-pack10.ads | |
12015 | s-pack11.adb s-pack11.ads s-pack12.adb s-pack12.ads | |
12016 | s-pack13.adb s-pack13.ads s-pack14.adb s-pack14.ads | |
12017 | s-pack15.adb s-pack15.ads s-pack17.adb s-pack17.ads | |
12018 | s-pack18.adb s-pack18.ads s-pack19.adb s-pack19.ads | |
12019 | s-pack20.adb s-pack20.ads s-pack21.adb s-pack21.ads | |
12020 | s-pack22.adb s-pack22.ads s-pack23.adb s-pack23.ads | |
12021 | s-pack24.adb s-pack24.ads s-pack25.adb s-pack25.ads | |
12022 | s-pack26.adb s-pack26.ads s-pack27.adb s-pack27.ads | |
12023 | s-pack28.adb s-pack28.ads s-pack29.adb s-pack29.ads | |
12024 | s-pack30.adb s-pack30.ads s-pack31.adb s-pack31.ads | |
12025 | s-pack33.adb s-pack33.ads s-pack34.adb s-pack34.ads | |
12026 | s-pack35.adb s-pack35.ads s-pack36.adb s-pack36.ads | |
12027 | s-pack37.adb s-pack37.ads s-pack38.adb s-pack38.ads | |
12028 | s-pack39.adb s-pack39.ads s-pack40.adb s-pack40.ads | |
12029 | s-pack41.adb s-pack41.ads s-pack42.adb s-pack42.ads | |
12030 | s-pack43.adb s-pack43.ads s-pack44.adb s-pack44.ads | |
12031 | s-pack45.adb s-pack45.ads s-pack46.adb s-pack46.ads | |
12032 | s-pack47.adb s-pack47.ads s-pack48.adb s-pack48.ads | |
12033 | s-pack49.adb s-pack49.ads s-pack50.adb s-pack50.ads | |
12034 | s-pack51.adb s-pack51.ads s-pack52.adb s-pack52.ads | |
12035 | s-pack53.adb s-pack53.ads s-pack54.adb s-pack54.ads | |
12036 | s-pack55.adb s-pack55.ads s-pack56.adb s-pack56.ads | |
12037 | s-pack57.adb s-pack57.ads s-pack58.adb s-pack58.ads | |
12038 | s-pack59.adb s-pack59.ads s-pack60.adb s-pack60.ads | |
12039 | s-pack61.adb s-pack61.ads s-pack62.adb s-pack62.ads | |
12040 | s-pack63.adb s-pack63.ads s-parame.adb s-parame.ads | |
12041 | s-parint.adb s-parint.ads s-pooglo.adb s-pooglo.ads | |
12042 | s-pooloc.adb s-pooloc.ads s-poosiz.adb s-poosiz.ads | |
12043 | s-powtab.ads s-proinf.adb s-proinf.ads s-rpc.adb s-rpc.ads | |
12044 | s-scaval.ads s-secsta.adb s-secsta.ads s-sequio.adb | |
12045 | s-sequio.ads s-shasto.adb s-shasto.ads s-soflin.adb | |
12046 | s-soflin.ads s-sopco3.adb s-sopco3.ads s-sopco4.adb | |
12047 | s-sopco4.ads s-sopco5.adb s-sopco5.ads s-stache.adb | |
12048 | s-stache.ads s-stalib.adb s-stalib.ads s-stoele.adb | |
12049 | s-stopoo.ads s-stratt.adb s-stratt.ads s-strops.adb | |
12050 | s-strops.ads s-taprob.ads s-taprop.ads s-tarest.ads | |
12051 | s-tasdeb.adb s-tasdeb.ads s-tasinf.adb s-tasinf.ads | |
12052 | s-tasini.ads s-taskin.ads s-tasren.ads s-tasres.ads | |
12053 | s-tassta.ads s-tpinop.adb s-tpinop.ads s-tpoben.ads | |
12054 | s-tpobop.ads s-unstyp.ads s-vaflop.adb s-vaflop.ads | |
12055 | s-valboo.adb s-valboo.ads s-valcha.adb s-valcha.ads | |
12056 | s-valdec.adb s-valdec.ads s-valenu.adb s-valenu.ads | |
12057 | s-valint.adb s-valint.ads s-vallld.adb s-vallld.ads | |
12058 | s-vallli.adb s-vallli.ads s-valllu.adb s-valllu.ads | |
12059 | s-valrea.adb s-valrea.ads s-valuns.adb s-valuns.ads | |
12060 | s-valuti.adb s-valuti.ads s-valwch.adb s-valwch.ads | |
12061 | s-vercon.adb s-vercon.ads s-vmexta.adb s-vmexta.ads | |
12062 | s-wchcnv.adb s-wchcnv.ads s-wchcon.ads s-wchjis.adb | |
12063 | s-wchjis.ads s-wchstw.adb s-wchstw.ads s-wchwts.adb | |
12064 | s-wchwts.ads s-widboo.adb s-widboo.ads s-widcha.adb | |
12065 | s-widcha.ads s-widenu.adb s-widenu.ads s-widlli.adb | |
12066 | s-widlli.ads s-widllu.adb s-widllu.ads s-widwch.adb | |
12067 | s-widwch.ads s-wwdcha.adb s-wwdcha.ads s-wwdenu.adb | |
12068 | s-wwdenu.ads s-wwdwch.adb s-wwdwch.ads scans.adb scans.ads | |
12069 | scn-nlit.adb scn-slit.adb scn.adb scn.ads sdefault.ads sem.adb | |
12070 | sem.ads sem_aggr.adb sem_aggr.ads sem_attr.adb sem_attr.ads | |
12071 | sem_case.adb sem_case.ads sem_cat.adb sem_cat.ads sem_ch10.adb | |
12072 | sem_ch10.ads sem_ch11.adb sem_ch11.ads sem_ch12.adb | |
12073 | sem_ch12.ads sem_ch13.adb sem_ch13.ads sem_ch2.adb sem_ch2.ads | |
12074 | sem_ch3.adb sem_ch3.ads sem_ch4.adb sem_ch4.ads sem_ch5.adb | |
12075 | sem_ch5.ads sem_ch6.adb sem_ch6.ads sem_ch7.adb sem_ch7.ads | |
12076 | sem_ch8.adb sem_ch8.ads sem_ch9.adb sem_ch9.ads sem_disp.adb | |
12077 | sem_disp.ads sem_dist.adb sem_dist.ads sem_elab.adb | |
12078 | sem_elab.ads sem_elim.adb sem_elim.ads sem_eval.adb | |
12079 | sem_eval.ads sem_intr.adb sem_intr.ads sem_maps.adb | |
12080 | sem_maps.ads sem_mech.adb sem_mech.ads sem_prag.adb | |
12081 | sem_prag.ads sem_res.adb sem_res.ads sem_smem.adb sem_smem.ads | |
12082 | sem_type.adb sem_type.ads sem_util.adb sem_util.ads | |
12083 | sem_vfpt.adb sem_vfpt.ads sem_warn.adb sem_warn.ads | |
12084 | sfn_scan.adb sfn_scan.ads sinfo-cn.adb sinfo-cn.ads sinfo.adb | |
12085 | sinfo.ads sinfo.h sinput-l.adb sinput-l.ads sinput-p.adb | |
12086 | sinput-p.ads sinput.adb sinput.ads snames.adb snames.ads | |
12087 | snames.h sprint.adb sprint.ads stand.adb stand.ads stringt.adb | |
12088 | stringt.ads stringt.h style.adb style.ads stylesw.adb | |
12089 | stylesw.ads switch.adb switch.ads sysdep.c system.ads | |
12090 | table.adb table.ads targparm.adb targparm.ads targtyps.c | |
12091 | tbuild.adb tbuild.ads trans.c tree_gen.adb tree_gen.ads | |
12092 | tree_in.adb tree_in.ads tree_io.adb tree_io.ads treepr.adb | |
12093 | treepr.ads treeprs.ads treeprs.adt ttypef.ads ttypes.ads | |
12094 | types.adb types.ads types.h uintp.adb uintp.ads uintp.h | |
12095 | uname.adb uname.ads urealp.adb urealp.ads urealp.h usage.adb | |
12096 | usage.ads utils.c utils2.c validsw.adb validsw.ads | |
12097 | widechar.adb widechar.ads xeinfo.adb xnmake.adb xr_tabls.adb | |
12098 | xr_tabls.ads xref_lib.adb xref_lib.ads xsinfo.adb xsnames.adb | |
71ff80dc NN |
12099 | xtreeprs.adb: Correct statements in comments about maintainership |
12100 | of GNAT. | |
12101 | ||
b4f94ac1 ZW |
12102 | 2002-09-23 Zack Weinberg <zack@codesourcery.com> |
12103 | ||
12104 | * Make-lang.in (EXTRA_GNATBIND_OBJS): Add version.o. | |
12105 | * Makefile.in (TOOLS_LIBS): Add ../../version.o. | |
12106 | * gnatvsn.ads: Gnat_Version_String is now a function. | |
12107 | * gnatvsn.adb: New file. When asked for Gnat_Version_String, | |
12108 | copy the C version_string into a String and return it. | |
12109 | * gnatcmd.adb, gnatkr.adb, gnatlbr.adb, gnatlink.adb, | |
12110 | gnatls.adb,gnatmake.adb, gnatprep.adb, gnatpsta.adb: | |
12111 | Remove pragma Ident (Gnat_Version_String). If this was the | |
12112 | sole use of package Gnatvsn, remove the with statement too. | |
12113 | * gnat1drv.adb: Tweak -gnatv output. | |
12114 | ||
eaff3bf8 RH |
12115 | 2002-09-17 Richard Henderson <rth@redhat.com> |
12116 | ||
12117 | * trans.c (tree_transform): Use real_ldexp not REAL_VALUE_LDEXP. | |
12118 | * config/dsp16xx/dsp16xx.md (fixuns_trunchfhi2): Use real_2expN. | |
12119 | * config/mips/mips.md (fixuns_truncdfsi2): Likewise. | |
12120 | (fixuns_truncdfdi2, fixuns_truncsfsi2, fixuns_truncsfdi2): Likewise. | |
12121 | * config/m68k/m68k.c (floating_exact_log2): Use real_exponent | |
12122 | and real_2expN instead of a loop. | |
12123 | * doc/tm.texi (REAL_VALUE_LDEXP): Remove. | |
12124 | (REAL_VALUE_RNDZINT, REAL_VALUE_UNSIGNED_RNDZINT): Remove. | |
12125 | ||
d241f75b | 12126 | 2002-08-25 Andre Leis <a.leis@gmx.net> |
f4ae98be | 12127 | David Billinghurst (David.Billinghurst@riotinto.com> |
d241f75b | 12128 | |
f4ae98be | 12129 | * sysdep.c (__gnat_ttyname): include <termios.h> on cygwin |
d241f75b | 12130 | |
4320085a RO |
12131 | 2002-08-13 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
12132 | ||
12133 | * Make-lang.in (gnatbind$(exeext)): Link with $(SYSLIBS). | |
12134 | Remove $(CONFIG_H) dependency. | |
12135 | ||
22aa533e NS |
12136 | 2002-08-08 Nathan Sidwell <nathan@codesourcery.com> |
12137 | ||
12138 | * ada/Make-lang.in (ada.mostlyclean): Remove coverage files. | |
12139 | ||
1dcd444b KG |
12140 | 2002-07-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
12141 | ||
12142 | * adadecode.c (ada_demangle): Use xstrdup in lieu of | |
12143 | xmalloc/strcpy. | |
12144 | * misc.c (gnat_decode_option): Likewise. | |
12145 | ||
7bc7d27b FW |
12146 | 2002-07-15 Florian Weimer <fw@deneb.enyo.de> |
12147 | ||
12148 | * make.adb (Add_Switch): Make Generic_Position a procedure. The | |
12149 | function approach did not work well because of a side effect (the | |
12150 | function call could reallocate the table which was being indexed | |
12151 | using its result). Fixes ada/4851. [RESURRECTED] | |
12152 | ||
6a2dd09a RS |
12153 | 2002-07-01 Roger Sayle <roger@eyesopen.com> |
12154 | ||
12155 | * ada/utils.c (builtin_function): Accept an additional parameter. | |
12156 | ||
c168bbd7 AJ |
12157 | 2002-06-28 Andreas Jaeger <aj@suse.de> |
12158 | ||
12159 | PR ada/7144 | |
12160 | * Makefile.in: Fix typo in comment, patch by Adrian Knoth | |
12161 | <adi@thur.de>. | |
12162 | ||
b41e09a7 KG |
12163 | 2002-06-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
12164 | ||
12165 | * Makefile.in (SHELL): Set to @SHELL@. | |
12166 | ||
62c71f4b KG |
12167 | 2002-06-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
12168 | ||
12169 | * utils.c (init_gigi_decls): Use ARRAY_SIZE in lieu of explicit | |
12170 | array size calculation. | |
12171 | ||
94213cff AJ |
12172 | 2002-06-04 Andreas Jaeger <aj@suse.de> |
12173 | ||
12174 | * Make-lang.in (gnatbind): Readd rule that has been lost in last | |
12175 | patch. | |
12176 | ||
e2500fed GK |
12177 | 2002-06-03 Geoffrey Keating <geoffk@redhat.com> |
12178 | ||
12179 | Merge from pch-branch: | |
12180 | ||
12181 | * config-lang.in (gtfiles): Add ada-tree.h. | |
12182 | * ada-tree.h (SET_TYPE_CI_CO_LIST): New. | |
12183 | (SET_TYPE_MODULUS): New. | |
12184 | (SET_TYPE_INDEX): New. | |
12185 | (SET_TYPE_DIGITS_VALUE): New. | |
12186 | (SET_TYPE_RM_SIZE): New. | |
12187 | (SET_TYPE_UNCONSTRAINED_ARRAY): New. | |
12188 | (SET_TYPE_ADA_SIZE): New. | |
12189 | (SET_TYPE_ACTUAL_BOUNDS): New. | |
12190 | (SET_DECL_CONST_CORRESPONDING_VAR): New. | |
12191 | (SET_DECL_ORIGINAL_FIELD): New. | |
12192 | (TREE_LOOP_ID): Correct typo. | |
12193 | * decl.c: Use new macros. | |
12194 | * utils.c: Include debug.h, use new macros. | |
94213cff | 12195 | * utils2.c: Use new macros. |
e2500fed GK |
12196 | |
12197 | * ada-tree.h: Update all macros for new tree description. | |
12198 | (struct tree_loop_id): New. | |
12199 | (union lang_tree_node): New. | |
12200 | (struct lang_decl): New. | |
12201 | (struct lang_type): New. | |
12202 | * misc.c (gnat_mark_tree): Delete. | |
12203 | (LANG_HOOKS_MARK_TREE): Delete. | |
12204 | * trans.c (tree_transform): No longer any need to cast | |
12205 | for TREE_LOOP_ID. | |
12206 | ||
12207 | * utils.c (struct language_function): New dummy structure. | |
12208 | ||
12209 | * Makefile.in (decl.o): gt-ada-<filename.h> is in objdir, not srcdir. | |
12210 | (misc.o): Likewise. | |
12211 | (utils.o): Likewise; also gtype-ada.h. | |
12212 | * Make-lang.in (gnat1): Add dependency on s-gtype. | |
12213 | (gnatbind): Add dependency on $(CONFIG_H). | |
12214 | * utils.c: Correct last #include. | |
12215 | (stuct e_stack): Remove unnecessary 'static'. | |
12216 | (mark_e_stack): Remove unused prototype. | |
12217 | ||
12218 | * scn-nlit.adb: Remove whitespace after version number to | |
12219 | keep lines under 80 chars. | |
12220 | * snames.adb: Likewise. | |
12221 | * treepr.ads: Likewise. | |
94213cff | 12222 | |
e2500fed GK |
12223 | * Makefile.in (decl.o): Include gt-ada-<filename>.h. |
12224 | (misc.o): Likewise. | |
12225 | (utils.o): Include gt-ada-<filename>.h and gtype-ada.h. | |
12226 | * config-lang.in (gtfiles): New. | |
12227 | * decl.c: Use gengtype for roots. | |
12228 | * gigi.h: Use gengtype for roots. | |
12229 | * trans.c: Use gengtype for roots. | |
12230 | * utils.c: Use gengtype for roots, marking. Include gtype-ada.h. | |
12231 | ||
27e511e0 GDR |
12232 | 2002-06-02 Gabriel Dos Reis <gdr@codesourcery.com> |
12233 | ||
12234 | * misc.c (gnat_init): Adjust setting of internal_error_function. | |
12235 | ||
113dc143 JM |
12236 | 2002-06-01 Joseph S. Myers <jsm28@cam.ac.uk> |
12237 | ||
12238 | * gnat_ug.texi: Use @ifnottex instead of @ifinfo. | |
12239 | * gnat_ug_unx.texi, gnat_ug_vms.texi, gnat_ug_vxw.texi, | |
12240 | gnat_ug_wnt.texi: Regenerate. | |
12241 | ||
5321fb3e FW |
12242 | 2002-05-31 Florian Weimer <fw@deneb.enyo.de> |
12243 | ||
15e6136e FW |
12244 | * 5ntaprop.adb (with System.OS_Primitives): Remove. |
12245 | ||
019310ac FW |
12246 | * cstreams.c (max_path_len): Move from here ... |
12247 | * adaint.c (__gnat_max_path_len): ... to here. | |
12248 | * adaint.c (__gnat_max_path_len): Declare. | |
12249 | * g-dirope.adb (Max_Path): Adjust. | |
12250 | * g-os_lib.adb (Normalize_Pathname.Max_Path): Adjust. | |
94213cff | 12251 | * i-cstrea.ads (max_path_len): Adjust. |
019310ac FW |
12252 | * osint.adb (Get_RTS_Search_Dir.Max_Path): Adjust. |
12253 | * xr_tabls.adb (Dir_Name.Max_Path: Adjust. | |
12254 | ||
5321fb3e FW |
12255 | * Makefile.in, Make-lang.in: Documentation is now built in |
12256 | Make-lang.in. Store Info and generated Texinfo files in the | |
12257 | source directory. | |
12258 | * gnat_ug.texi: Remove CVS keywords, correct version number. | |
12259 | Set file name correctly. | |
12260 | ||
12261 | * gnat_ug_*.texi: Add. | |
12262 | * .cvsignore: Ignore generated Texinfo files. | |
12263 | ||
b1c12c4b ZW |
12264 | 2002-05-30 Zack Weinberg <zack@codesourcery.com> |
12265 | ||
12266 | * ada.h: Add MI guard macro. | |
12267 | (SUBTYPE): Define constants with an anonymous enum, not static | |
12268 | const variables. | |
12269 | (IN): Cast constants to appropriate type before use. | |
12270 | ||
ead33da9 JM |
12271 | 2002-05-26 Joseph S. Myers <jsm28@cam.ac.uk> |
12272 | ||
12273 | * gnatvsn.ads (Gnat_Version_String): Change to "3.2 20020526 | |
12274 | (experimental)". | |
12275 | ||
7d600178 RO |
12276 | 2002-05-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
12277 | ||
12278 | * Make-lang.in (CP, ECHO): Copy from Makefile.in. | |
12279 | (X_ADA_CFLAGS, T_ADA_CFLAGS, X_ADAFLAGS, T_ADAFLAGS): Likewise. | |
12280 | (ALL_ADAFLAGS, FORCE_DEBUG_ADAFLAGS, ADA_CFLAGS): Likewise. | |
12281 | (ALL_ADA_CFLAGS): Likewise. | |
12282 | (ADA_INCLUDES): Likewise. | |
12283 | Adapt for new working dir. | |
12284 | (GNATBIND): Use Makefile.in version. | |
12285 | (.SUFFIXES): Copy from Makefile.in. | |
12286 | (ada-warn): Define. | |
12287 | (.adb.o, .ads.o): Copy from Makefile.in. | |
12288 | Added $(OUTPUT_OPTION). | |
12289 | (GNAT1_C_OBJS): Moved from Makefile.in. | |
12290 | Prefix with ada subdir. | |
12291 | (GNAT_ADA_OBJS, GNAT1_ADA_OBJS, GNAT1_OBJS, GNATBIND_OBJS): Likewise. | |
12292 | (EXTRA_GNAT1_OBJS): Moved from Makefile.in. | |
12293 | Adapt for new working dir. | |
12294 | (EXTRA_GNATBIND_OBJS): Likewise. | |
12295 | (ADA_BACKEND): Moved from Makefile.in. | |
12296 | Renamed to avoid conflict with global BACKEND. | |
12297 | Use that one. | |
12298 | (TARGET_ADA_SRCS): Moved from Makefile.in. | |
12299 | (gnat1$(exeext)): Replaced recursive rule with Makefile.in version. | |
12300 | Use ADA_BACKEND. | |
12301 | (gnatbind$(exeext)): Replaced recursive rule with Makefile.in version. | |
12302 | (ada_extra_files): Moved from Makefile.in. | |
12303 | Prefix with ada subdir. | |
12304 | (ada/b_gnat1.c, ada/b_gnat1.o, ada/b_gnatb.c, ada/b_gnatb.o): Likewise. | |
12305 | (ada/treeprs.ads, ada/einfo.h, ada/sinfo.h, ada/nmake.adb): Likewise. | |
12306 | (ada/nmake.ads): Likewise. | |
12307 | (update-sources): Moved from Makefile.in. | |
12308 | Prefix with ada subdir. | |
12309 | (ada/sdefault.adb, ada/stamp-sdefault, ada/sdefault.o): Likewise. | |
12310 | (ADA_TREE_H): Likewise. | |
12311 | (ada/a-except.o, ada/s-assert.o, ada/s-memory.o): Likewise. | |
12312 | (ada/memtrack.o): Likewise. | |
12313 | (ada/adadecode.o): Likewise. | |
12314 | Update dependencies. | |
12315 | (ada/adaint.o): New. | |
12316 | (ada/argv.o): Moved from Makefile.in. | |
12317 | Prefix with ada subdir. | |
94213cff | 12318 | Update dependencies. |
7d600178 RO |
12319 | (ada/cstreams.o, ada/exit.o, ada/final.o, ada/link.o): Likewise. |
12320 | (ada/cio.o, ada/init.o, ada/raise.o, ada/tracebak.o): Likewise. | |
12321 | (ada/cuintp.o, ada/decl.o, ada/misc.o): Moved from Makefile.in. | |
12322 | Prefix with ada subdir. | |
12323 | (ada/targtyps.o, ada/trans.o, ada/utils.o, ada/utils2.o): Likewise. | |
12324 | (GNAT DEPENDENCIES): Regenerate. | |
12325 | * Makefile.in (MACHMODE_H, RTL_H, TREE_H): Removed, provided by | |
12326 | toplevel Makefile.in. | |
12327 | (EXTRA_GNAT1_OBJS, EXTRA_GNATBIND_OBJS): Removed. | |
12328 | (TARGET_ADA_SRCS): Removed. | |
12329 | (GNAT1_C_OBJS, GNAT_ADA_OBJS, GNAT1_ADA_OBJS, GNAT1_OBJS): Likewise. | |
12330 | (GNATBIND_OBJS): Likewise. | |
12331 | (ADA_INCLUDE_DIR, ADA_RTL_OBJ_DIR): Moved here. | |
12332 | (BACKEND): Removed. | |
12333 | (../gnat1$(exeext), ../gnatbind$(exeext)): Likewise. | |
12334 | (TREE_H): Likewise. | |
12335 | (ada_extra_files): Likewise. | |
12336 | (b_gnat1.c, b_gnat1.o, b_gnatb.c, b_gnatb.o): Likewise. | |
12337 | (treeprs.ads, einfo.h, sinfo.h, nmake.adb, nmake.ads): Likewise. | |
12338 | (update-sources): Likewise. | |
12339 | (sdefault.adb, stamp-sdefault, sdefault.o): Likewise | |
12340 | (ADA_TREE_H): Likewise. | |
12341 | (adadecoce.o): Likewise. | |
12342 | (cuintp.o, decl.o, misc.o, trans.o, utils.o, utils2.o): Likewise. | |
12343 | (GNAT DEPENDENCIES): Likewise. | |
12344 | ||
1e6347d8 RO |
12345 | 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
12346 | ||
12347 | * Makefile.adalib: Allow for PWDCMD to override hardcoded pwd. | |
12348 | * Makefile.in: Likewise. | |
12349 | ||
db80834f RO |
12350 | 2002-05-14 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
12351 | ||
12352 | * Make-lang.in (gnat1$(exeext), gnatbind$(exeext), gnattools): | |
12353 | Restore $(CONFIG_H) and prefix.o dependencies. | |
12354 | (ada.stage[1-4]): Depend on stage?-start. | |
12355 | ||
12356 | * Makefile.in (b_gnatb.c): Depend on interfac.o. | |
12357 | ||
ac293f98 JW |
12358 | 2002-05-02 Jim Wilson <wilson@redhat.com> |
12359 | ||
12360 | * utils.c (finish_record_type): Change record_size to record_type. | |
12361 | ||
b303008e JDA |
12362 | 2001-05-02 John David Anglin <dave@hiauly1.hia.nrc.ca> |
12363 | ||
12364 | * ada/Makefile.in (X_ADA_CFLAGS, T_ADA_CFLAGS): New fragment overrides. | |
12365 | (ALL_ADA_CFLAGS): Define. Replace ADA_CFLAGS with ALL_ADA_CFLAGS in | |
12366 | ALL_ADAFLAGS, MOST_ADAFLAGS, and all compilations using CC. | |
94213cff | 12367 | |
ff45c01e NB |
12368 | 2002-04-25 Neil Booth <neil@daikokuya.demon.co.uk> |
12369 | ||
12370 | * misc.c (gnat_parse_file): Update. | |
12371 | ||
349ae713 NB |
12372 | 2002-04-24 Neil Booth <neil@daikokuya.demon.co.uk> |
12373 | ||
12374 | * misc.c (gnat_init): Don't set lang_attribute_common. | |
12375 | ||
ace133aa JM |
12376 | 2002-04-21 Joseph S. Myers <jsm28@cam.ac.uk> |
12377 | ||
12378 | * gnat_rm.texi: Use @ifnottex instead of @ifinfo. | |
12379 | ||
5c558dd9 FW |
12380 | 2002-04-21 Florian Weimer <fw@deneb.enyo.de> |
12381 | ||
b4f94ac1 | 12382 | * gnat_ug.texi: New file. |
88e1739c | 12383 | |
5c558dd9 FW |
12384 | * gnat_rm.texi: Do not include texiplus.texi. Include fdl.texi |
12385 | instead of gfdl.texi | |
12386 | ||
12387 | * xgnatug.adb, ug_words: New files. | |
12388 | ||
12389 | * Makefile.in (doc, dvi): New targets. Build gnat_ug_*, | |
b4f94ac1 | 12390 | gnat_rm and gnat-style manuals. |
5c558dd9 | 12391 | |
7a228918 NB |
12392 | 2002-04-18 Neil Booth <neil@daikokuya.demon.co.uk> |
12393 | ||
12394 | * gigi.h (incomplete_type_error): Remove. | |
12395 | * utils.c (incomplete_type_error): Remove. | |
12396 | ||
b2123dc0 MM |
12397 | 2002-04-16 Mark Mitchell <mark@codesourcery.com> |
12398 | ||
12399 | * trans.c (tree_transform): Add has_scope argument to | |
12400 | expand_start_stmt_expr. | |
12401 | ||
78ef5b89 NB |
12402 | 2002-04-04 Neil Booth <neil@daikokuya.demon.co.uk> |
12403 | ||
12404 | * gigi.h (truthvalue_conversion): Rename. | |
12405 | * misc.c (LANG_HOOKS_TRUTHVALUE_CONVERSION): Redefine. | |
12406 | * trans.c (tree_transform): Update. | |
12407 | * utils2.c (truthvalue_conversion): Rename, update. | |
12408 | (build_binary_op, build_unary_op): Update. | |
12409 | ||
a71742a8 LG |
12410 | 2002-04-04 Laurent Guerby <guerby@acm.org> |
12411 | ||
12412 | * make.adb: Implement -margs, remove restriction about file name placement. | |
12413 | * makeusg.adb: Documentation update. | |
12414 | * Makefile.in (TOOLS_FLAGS_TO_PASS): Add VPATH=$(fsrcdir). | |
12415 | * Makefile.in (gnattools3): Comment out, gnatmem does not build without libaddr2line. | |
12416 | ||
82a4b025 NB |
12417 | 2002-04-04 Neil Booth <neil@daikokuya.demon.co.uk> |
12418 | ||
12419 | * utils.c (create_subprog_decl): Use SET_DECL_ASSEMBLER_NAME. | |
12420 | (builtin_function): Similarly. | |
12421 | ||
dffd7eb6 NB |
12422 | 2002-04-01 Neil Booth <neil@daikokuya.demon.co.uk> |
12423 | ||
12424 | * decl.c (gnat_to_gnu_entity): Update. | |
12425 | * gigi.h (mark_addressable): Rename. | |
12426 | * misc.c (LANG_HOOKS_MARK_ADDRESSABLE): Redefine. | |
12427 | * trans.c (tree_transform): Update. | |
12428 | * utils.c (create_var_decl): Update. | |
12429 | * util2.c (build_binary_op, build_unary_op, | |
12430 | fill_vms_descriptor): Update. | |
12431 | (mark_addressable): Rename, update. | |
12432 | ||
ceef8ce4 NB |
12433 | 2002-04-01 Neil Booth <neil@daikokuya.demon.co.uk> |
12434 | ||
12435 | * gigi.h (unsigned_type, signed_type, signed_or_unsigned_type): | |
12436 | Rename. | |
12437 | * misc.c (LANG_HOOKS_SIGNED_TYPE, LANG_HOOKS_UNSIGNED_TYPE, | |
12438 | LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE): New. | |
12439 | * trans.c (tree_transform, convert_with_check): Update. | |
12440 | * utils.c (unsigned_type, signed_type, signed_or_unsigned_type): | |
12441 | Rename. | |
12442 | ||
48a7a235 NB |
12443 | 2002-03-31 Neil Booth <neil@daikokuya.demon.co.uk> |
12444 | ||
12445 | * gigi.h (finish_incomplete_decl): Rename. | |
12446 | * misc.c (LANG_HOOKS_FINISH_INCOMPLETE_DECL): Redefine. | |
12447 | * utils.c (gnat_init_decl_processing): Don't set hook. | |
12448 | (finish_incomplete_decl): Rename. | |
12449 | ||
1d5af871 AS |
12450 | 2002-03-29 Andreas Schwab <schwab@suse.de> |
12451 | ||
12452 | * Makefile.in: Pass VPATH=$(fsrcdir) when calling make in rts | |
12453 | directory. | |
12454 | ||
8cbb664e MG |
12455 | 2001-03-28 Robert Dewar <dewar@gnat.com> |
12456 | ||
12457 | * checks.ads: | |
12458 | (Remove_Checks): New procedure | |
12459 | ||
12460 | * checks.adb: | |
12461 | (Remove_Checks): New procedure | |
12462 | ||
12463 | * exp_util.adb: | |
12464 | Use new Duplicate_Subexpr functions | |
12465 | (Duplicate_Subexpr_No_Checks): New procedure | |
12466 | (Duplicate_Subexpr_No_Checks_Orig): New procedure | |
12467 | (Duplicate_Subexpr): Restore original form (checks duplicated) | |
12468 | (Duplicate_Subexpr): Call Remove_Checks | |
12469 | ||
82a4b025 | 12470 | * exp_util.ads: |
8cbb664e MG |
12471 | (Duplicate_Subexpr_No_Checks): New procedure |
12472 | (Duplicate_Subexpr_No_Checks_Orig): New procedure | |
12473 | Add 2002 to copyright notice | |
12474 | ||
12475 | * sem_util.adb: Use new Duplicate_Subexpr functions | |
12476 | ||
82a4b025 | 12477 | * sem_eval.adb: |
8cbb664e MG |
12478 | (Eval_Indexed_Component): This is the place to call |
12479 | Constant_Array_Ref and to replace the value. We simply merge | |
12480 | the code of this function in here, since it is now no longer | |
12481 | used elsewhere. This fixes the problem of the back end not | |
12482 | realizing we were clever enough to see that this was | |
12483 | constant. | |
12484 | (Expr_Val): Remove call to Constant_Array_Ref | |
12485 | (Expr_Rep_Val): Remove call to Constant_Array_Ref | |
12486 | Minor reformatting | |
12487 | (Constant_Array_Ref): Deal with string literals (patch | |
12488 | suggested by Zack Weinberg on the gcc list) | |
12489 | ||
12490 | 2001-03-28 Ed Schonberg <schonber@gnat.com> | |
12491 | ||
82a4b025 | 12492 | * exp_util.adb: Duplicate_Subexpr_No_Checks_Orig => |
8cbb664e MG |
12493 | Duplicate_Subexpr_Move_Checks. |
12494 | ||
82a4b025 | 12495 | * exp_util.ads: Duplicate_Subexpr_No_Checks_Orig => |
8cbb664e MG |
12496 | Duplicate_Subexpr_Move_Checks. |
12497 | ||
82a4b025 NB |
12498 | * sem_eval.adb: (Constant_Array_Ref): Verify that constant |
12499 | value of array exists before retrieving it (it may a private | |
8cbb664e MG |
12500 | protected component in a function). |
12501 | ||
792c4e74 GB |
12502 | 2002-03-28 Geert Bosch <bosch@gnat.com> |
12503 | ||
12504 | * prj-pp.adb : New file. | |
12505 | ||
12506 | * prj-pp.ads : New file. | |
12507 | ||
915e8bad AJ |
12508 | 2002-03-28 Andreas Jaeger <aj@suse.de> |
12509 | ||
12510 | * Makefile.in (stamp-sdefault): Fix path for Makefile. | |
12511 | ||
0840811c NB |
12512 | 2002-03-28 Neil Booth <neil@daikokuya.demon.co.uk> |
12513 | ||
12514 | * misc.c (gnat_expand_expr): Move prototype. | |
12515 | ||
7ffb4fd2 NB |
12516 | 2002-03-27 Neil Booth <neil@daikokuya.demon.co.uk> |
12517 | ||
12518 | * misc.c (insert_default_attributes): Remove. | |
12519 | ||
c9d892a8 NB |
12520 | 2002-03-27 Neil Booth <neil@daikokuya.demon.co.uk> |
12521 | ||
12522 | * misc.c (LANG_HOOKS_EXPAND_EXPR): Redefine. | |
12523 | (gnat_init): Don't set hook. | |
12524 | (gnat_expand_expr): Fix prototype. | |
12525 | ||
31c816cf NB |
12526 | 2002-03-27 Neil Booth <neil@daikokuya.demon.co.uk> |
12527 | ||
12528 | * misc.c (ggc_p): Remove. | |
12529 | ||
ef83161c GB |
12530 | 2002-03-27 Geert Bosch <bosch@gnat.com> |
12531 | ||
12532 | * prj-makr.ads, prj-makr.adb : New files. | |
12533 | ||
4f0ade92 NB |
12534 | 2002-03-26 Neil Booth <neil@daikokuya.demon.co.uk> |
12535 | ||
12536 | * misc.c (LANG_HOOKS_MARK_TREE): Redefine. | |
12537 | (lang_mark_tree): Make static, rename. | |
12538 | ||
c88770e9 NB |
12539 | 2002-03-25 Neil Booth <neil@daikokuya.demon.co.uk> |
12540 | ||
12541 | * misc.c (maybe_build_cleanup): Remove. | |
12542 | ||
05671968 NB |
12543 | 2002-03-24 Neil Booth <neil@daikokuya.demon.co.uk> |
12544 | ||
12545 | * gigi.h (yyparse): Remove. | |
12546 | ||
ad42149c FW |
12547 | 2002-03-23 Florian Weimer <fw@deneb.enyo.de> |
12548 | ||
82a4b025 | 12549 | * gnat_rm.texi: Sync with ACT version. |
b4f94ac1 | 12550 | (From Ben Brosgol <brosgol@gnat.com>) |
ad42149c | 12551 | |
7afff7cf NB |
12552 | 2002-03-20 Neil Booth <neil@daikokuya.demon.co.uk> |
12553 | ||
12554 | * misc.c (LANG_HOOKS_DECL_PRINTABLE_NAME): Redefine. | |
12555 | (gnat_init): Remove old hook. | |
12556 | ||
52dabb6c NB |
12557 | 2002-03-17 Neil Booth <neil@daikokuya.demon.co.uk> |
12558 | ||
12559 | * misc.c (LANG_HOOKS_PARSE_FILE): Redefine. | |
12560 | (yyparse): Rename gnat_parse_file. | |
12561 | ||
6cbcc541 GK |
12562 | 2002-03-14 Geoffrey Keating <geoffk@redhat.com> |
12563 | ||
12564 | Delete all lines containing "$Revision:". | |
12565 | * xeinfo.adb: Don't look for revision numbers. | |
12566 | * xnmake.adb: Likewise. | |
12567 | * xsinfo.adb: Likewise. | |
12568 | * xsnames.adb: Likewise. | |
12569 | * xtreeprs.adb: Likewise. | |
12570 | ||
2f9834e8 KG |
12571 | 2002-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
12572 | ||
12573 | * misc.c (gnat_tree_code_type, gnat_tree_code_length, | |
12574 | gnat_tree_code_name): Delete. | |
12575 | (tree_code_type, tree_code_length, tree_code_name): Define. | |
12576 | (gnat_init): Don't try to copy into the various tree_code | |
12577 | arrays. | |
12578 | ||
63adb4ff RH |
12579 | 2002-03-11 Richard Henderson <rth@redhat.com> |
12580 | ||
12581 | * Makefile.in (.NOTPARALLEL): Add fake tag. | |
12582 | ||
43ff4547 GB |
12583 | 2002-03-07 Geert Bosch <bosch@gnat.com> |
12584 | ||
82a4b025 NB |
12585 | * adadecode.c, adadecode.h, aux-io.c, s-traces.adb, s-traces.ads, |
12586 | s-tratas.adb, s-tratas.ads, sinput-d.adb, sinput-d.ads, | |
12587 | switch-b.adb, switch-b.ads, switch-c.adb, switch-c.ads, | |
43ff4547 GB |
12588 | switch-m.adb, switch-m.ads : New files. |
12589 | ||
07fc65c4 GB |
12590 | 2002-03-07 Geert Bosch <bosch@gnat.com> |
12591 | ||
12592 | * 41intnam.ads, 42intnam.ads, 4aintnam.ads, 4cintnam.ads, | |
12593 | 4dintnam.ads, 4gintnam.ads, 4hintnam.ads, 4lintnam.ads, | |
12594 | 4mintnam.ads, 4pintnam.ads, 4rintnam.ads, 4sintnam.ads, | |
12595 | 4uintnam.ads, 4vcalend.adb, 4zintnam.ads, 52system.ads, | |
12596 | 5amastop.adb, 5asystem.ads, 5ataprop.adb, 5atpopsp.adb, | |
12597 | 5avxwork.ads, 5bosinte.adb, 5bsystem.ads, 5esystem.ads, | |
12598 | 5fsystem.ads, 5ftaprop.adb, 5ginterr.adb, 5gmastop.adb, | |
12599 | 5gsystem.ads, 5gtaprop.adb, 5gtasinf.adb, 5gtasinf.ads, | |
12600 | 5hparame.ads, 5hsystem.ads, 5htaprop.adb, 5htraceb.adb, | |
12601 | 5itaprop.adb, 5ksystem.ads, 5kvxwork.ads, 5lintman.adb, | |
12602 | 5lsystem.ads, 5mvxwork.ads, 5ninmaop.adb, 5nosinte.ads, | |
12603 | 5ntaprop.adb, 5ointerr.adb, 5omastop.adb, 5oosinte.adb, | |
12604 | 5osystem.ads, 5otaprop.adb, 5otaspri.ads, 5pvxwork.ads, | |
12605 | 5qtaprop.adb, 5sintman.adb, 5ssystem.ads, 5staprop.adb, | |
12606 | 5stpopse.adb, 5svxwork.ads, 5tosinte.ads, 5uintman.adb, | |
12607 | 5vasthan.adb, 5vinmaop.adb, 5vinterr.adb, 5vintman.adb, | |
12608 | 5vmastop.adb, 5vparame.ads, 5vsystem.ads, 5vtaprop.adb, | |
12609 | 5vtpopde.adb, 5wmemory.adb, 5wsystem.ads, 5wtaprop.adb, | |
12610 | 5ysystem.ads, 5zinterr.adb, 5zintman.adb, 5zosinte.adb, | |
12611 | 5zosinte.ads, 5zsystem.ads, 5ztaprop.adb, 6vcpp.adb, 6vcstrea.adb, | |
12612 | 7sintman.adb, 7staprop.adb, 7stpopsp.adb, 9drpc.adb, | |
12613 | Make-lang.in, Makefile.in, a-caldel.adb, a-comlin.ads, | |
12614 | a-dynpri.adb, a-except.adb, a-except.ads, a-finali.adb, | |
12615 | a-ncelfu.ads, a-reatim.adb, a-retide.adb, a-stream.ads, | |
12616 | a-ststio.adb, a-ststio.ads, a-stwifi.adb, a-tags.adb, a-tasatt.adb, | |
12617 | a-textio.adb, a-tideau.adb, a-tiflau.adb, a-tigeau.adb, | |
12618 | a-tigeau.ads, a-tiinau.adb, a-timoau.adb, a-witeio.adb, | |
12619 | a-wtdeau.adb, a-wtenau.adb, a-wtflau.adb, a-wtgeau.adb, | |
12620 | a-wtgeau.ads, a-wtinau.adb, a-wtmoau.adb, ada-tree.def, ada-tree.h, | |
12621 | adaint.c, adaint.h, ali-util.adb, ali.adb, ali.ads, atree.adb, | |
12622 | atree.ads, atree.h, back_end.adb, bcheck.adb, bindgen.adb, | |
12623 | bindusg.adb, checks.adb, comperr.adb, config-lang.in, csets.adb, | |
12624 | csets.ads, cstand.adb, cstreams.c, debug.adb, debug.ads, decl.c, | |
12625 | einfo.adb, einfo.ads, einfo.h, elists.h, errout.adb, errout.ads, | |
12626 | eval_fat.adb, exp_aggr.adb, exp_attr.adb, exp_ch11.adb, | |
12627 | exp_ch12.adb, exp_ch13.adb, exp_ch2.adb, exp_ch3.adb, exp_ch3.ads, | |
12628 | exp_ch4.adb, exp_ch5.adb, exp_ch6.adb, exp_ch7.adb, exp_ch7.ads, | |
12629 | exp_ch9.adb, exp_ch9.ads, exp_dbug.adb, exp_dbug.ads, exp_disp.ads, | |
12630 | exp_dist.adb, exp_fixd.adb, exp_intr.adb, exp_pakd.adb, | |
12631 | exp_prag.adb, exp_strm.adb, exp_util.adb, exp_util.ads, | |
12632 | expander.adb, expect.c, fe.h, fmap.adb, fmap.ads, fname-uf.adb, | |
12633 | freeze.adb, frontend.adb, g-awk.adb, g-cgideb.adb, g-comlin.adb, | |
12634 | g-comlin.ads, g-debpoo.adb, g-dirope.adb, g-dirope.ads, | |
12635 | g-dyntab.adb, g-expect.adb, g-expect.ads, g-io.ads, g-io_aux.adb, | |
12636 | g-io_aux.ads, g-locfil.adb, g-locfil.ads, g-os_lib.adb, | |
12637 | g-os_lib.ads, g-regexp.adb, g-regpat.adb, g-socket.adb, | |
12638 | g-socket.ads, g-spipat.adb, g-table.adb, g-trasym.adb, | |
12639 | g-trasym.ads, gigi.h, gmem.c, gnat1drv.adb, gnatbind.adb, gnatbl.c, | |
12640 | gnatchop.adb, gnatcmd.adb, gnatdll.adb, gnatfind.adb, gnatlbr.adb, | |
12641 | gnatlink.adb, gnatls.adb, gnatmem.adb, gnatprep.adb, gnatvsn.ads, | |
12642 | gnatxref.adb, hlo.adb, hostparm.ads, i-cobol.adb, i-cpp.adb, | |
12643 | i-cstrea.ads, i-cstrin.adb, i-pacdec.adb, i-vxwork.ads, | |
12644 | impunit.adb, init.c, inline.adb, io-aux.c, layout.adb, lib-load.adb, | |
12645 | lib-util.adb, lib-writ.adb, lib-writ.ads, lib-xref.adb, | |
12646 | lib-xref.ads, lib.adb, lib.ads, make.adb, makeusg.adb, mdll.adb, | |
12647 | memroot.adb, misc.c, mlib-tgt.adb, mlib-utl.adb, mlib-utl.ads, | |
12648 | mlib.adb, namet.adb, namet.ads, namet.h, nlists.h, nmake.adb, | |
12649 | nmake.ads, nmake.adt, opt.adb, opt.ads, osint.adb, osint.ads, | |
12650 | output.adb, output.ads, par-ch2.adb, par-ch3.adb, par-ch5.adb, | |
12651 | par-prag.adb, par-tchk.adb, par-util.adb, par.adb, prj-attr.adb, | |
12652 | prj-dect.adb, prj-env.adb, prj-env.ads, prj-nmsc.adb, prj-part.adb, | |
12653 | prj-proc.adb, prj-strt.adb, prj-tree.adb, prj-tree.ads, prj.adb, | |
12654 | prj.ads, raise.c, raise.h, repinfo.adb, restrict.adb, restrict.ads, | |
12655 | rident.ads, rtsfind.adb, rtsfind.ads, s-arit64.adb, s-asthan.adb, | |
12656 | s-atacco.adb, s-atacco.ads, s-auxdec.adb, s-crc32.adb, s-crc32.ads, | |
12657 | s-direio.adb, s-fatgen.adb, s-fileio.adb, s-finimp.adb, | |
12658 | s-gloloc.adb, s-gloloc.ads, s-interr.adb, s-mastop.adb, | |
12659 | s-mastop.ads, s-memory.adb, s-parame.ads, s-parint.adb, | |
12660 | s-pooglo.adb, s-pooloc.adb, s-rpc.adb, s-secsta.adb, s-sequio.adb, | |
12661 | s-shasto.adb, s-soflin.adb, s-soflin.ads, s-stache.adb, | |
12662 | s-taasde.adb, s-taasde.ads, s-tadeca.adb, s-tadeca.ads, | |
12663 | s-tadert.adb, s-tadert.ads, s-taenca.adb, s-taenca.ads, | |
12664 | s-taprob.adb, s-taprop.ads, s-tarest.adb, s-tasdeb.adb, | |
12665 | s-tasini.adb, s-tasini.ads, s-taskin.adb, s-taskin.ads, | |
12666 | s-tasque.adb, s-tasque.ads, s-tasren.adb, s-tasren.ads, | |
12667 | s-tassta.adb, s-tasuti.adb, s-tasuti.ads, s-tataat.adb, | |
12668 | s-tataat.ads, s-tpoben.adb, s-tpoben.ads, s-tpobop.adb, | |
12669 | s-tposen.adb, s-tposen.ads, s-traceb.adb, s-traceb.ads, | |
12670 | s-unstyp.ads, s-widenu.adb, scn-nlit.adb, scn.adb, sem.adb, | |
12671 | sem_aggr.adb, sem_attr.adb, sem_attr.ads, sem_case.adb, | |
12672 | sem_ch10.adb, sem_ch11.adb, sem_ch11.ads, sem_ch12.adb, | |
12673 | sem_ch13.adb, sem_ch13.ads, sem_ch2.adb, sem_ch3.adb, sem_ch3.ads, | |
12674 | sem_ch4.adb, sem_ch5.adb, sem_ch6.adb, sem_ch6.ads, sem_ch7.adb, | |
12675 | sem_ch8.adb, sem_ch8.ads, sem_ch9.adb, sem_disp.adb, sem_dist.adb, | |
12676 | sem_elab.adb, sem_elim.adb, sem_elim.ads, sem_eval.adb, | |
12677 | sem_intr.adb, sem_mech.adb, sem_prag.adb, sem_res.adb, | |
12678 | sem_type.adb, sem_util.adb, sem_util.ads, sem_vfpt.adb, | |
12679 | sem_warn.adb, sinfo.adb, sinfo.ads, sinfo.h, sinput-l.adb, | |
12680 | sinput-l.ads, sinput.adb, sinput.ads, snames.adb, snames.ads, | |
12681 | snames.h, sprint.adb, sprint.ads, stringt.adb, stringt.ads, | |
12682 | stringt.h, style.adb, switch.adb, switch.ads, sysdep.c, system.ads, | |
12683 | table.adb, targparm.adb, targparm.ads, targtyps.c, tbuild.adb, | |
12684 | tbuild.ads, tracebak.c, trans.c, tree_gen.adb, tree_io.adb, | |
12685 | treepr.adb, treepr.ads, treeprs.ads, treeprs.adt, ttypes.ads, | |
12686 | types.adb, types.ads, types.h, uintp.ads, urealp.ads, usage.adb, | |
12687 | utils.c, utils2.c, validsw.adb, xnmake.adb, xr_tabls.adb, | |
12688 | xr_tabls.ads, xref_lib.adb, xref_lib.ads : Merge in ACT changes. | |
12689 | ||
12690 | * 1ssecsta.adb, 1ssecsta.ads, a-chlat9.ads, a-cwila9.ads, | |
12691 | g-enblsp.adb, g-md5.adb, g-md5.ads, gnatname.adb, gnatname.ads, | |
12692 | mkdir.c, osint-b.adb, osint-b.ads, osint-c.adb, osint-c.ads, | |
12693 | osint-l.adb, osint-l.ads, osint-m.adb, osint-m.ads : New files | |
12694 | ||
12695 | * 3lsoccon.ads, 5qparame.ads, 5qvxwork.ads, 5smastop.adb, | |
12696 | 5zparame.ads, gnatmain.adb, gnatmain.ads, gnatpsys.adb : Removed | |
12697 | ||
12698 | * mdllfile.adb, mdllfile.ads, mdlltool.adb, mdlltool.ads : Renamed | |
12699 | to mdll-fil.ad[bs] and mdll-util.ad[bs] | |
12700 | ||
12701 | * mdll-fil.adb, mdll-fil.ads, mdll-utl.adb, mdll-utl.ads : Renamed | |
12702 | from mdllfile.ad[bs] and mdlltool.ad[bs] | |
12703 | ||
ca7558fc KG |
12704 | 2002-03-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
12705 | ||
12706 | * utils.c (init_gnat_to_gnu, init_gigi_decls): Use ARRAY_SIZE in | |
12707 | lieu of explicit sizeof/sizeof. | |
12708 | ||
63e1b1c4 NB |
12709 | 2002-02-28 Neil Booth <neil@daikokuya.demon.co.uk> |
12710 | ||
12711 | * misc.c (copy_lang_decl): Remove. | |
12712 | ||
f458d1d5 ZW |
12713 | 2002-02-27 Zack Weinberg <zack@codesourcery.com> |
12714 | ||
12715 | * misc.c: Delete traditional-mode-related code copied from the | |
12716 | C front end but not used, or used only to permit the compiler | |
12717 | to link. | |
12718 | ||
21e09952 RH |
12719 | 2002-02-07 Richard Henderson <rth@redhat.com> |
12720 | ||
12721 | * adaint.c (__gnat_to_gm_time): First arg is int, not time_t. | |
12722 | * adaint.h (__gnat_to_gm_time): Update prototype. | |
12723 | ||
ead39bdf | 12724 | 2002-01-30 Richard Henderson <rth@redhat.com> |
e803a64b RH |
12725 | |
12726 | * trans.c (tree_transform) [N_Loop_Statement]: Use | |
12727 | expand_exit_loop_top_cond. | |
12728 | ||
72ac12bf RH |
12729 | 2001-12-23 Richard Henderson <rth@redhat.com> |
12730 | ||
12731 | * utils.c (end_subprog_body): Push GC context around | |
12732 | rest_of_compilation for nested functions. | |
12733 | ||
14aacce7 RH |
12734 | 2001-12-23 Richard Henderson <rth@redhat.com> |
12735 | ||
12736 | * 5nosinte.ads: Get definition of "int" from Interfaces.C. | |
12737 | ||
b3d45d87 FW |
12738 | 2001-12-23 Florian Weimer <fw@deneb.enyo.de> |
12739 | ||
ece2d1b8 FW |
12740 | * gnat-style.texi (Declarations and Types): Remove ancient style |
12741 | rule which was mandated by code generation issues. | |
82a4b025 | 12742 | |
b3d45d87 FW |
12743 | * gnat-style.texi (header): Add @dircategory, @direntry. |
12744 | (title page): Remove date. | |
12745 | (general) Add @./@: where approriate, and two spaces after the | |
12746 | full stop at the end of a sentence. Use @samp markup when | |
12747 | referring concrete lexical entities (keywords, attribute names | |
12748 | etc.), and @syntax for ARM grammar elements. Use @r for English | |
12749 | text in comments. Use @emph for emphasis. Change "if-statements" | |
12750 | etc. to "if statements" (without @samp). Break long lines. Make | |
12751 | casing of section names consistent. | |
12752 | (Identifiers): Use @samp markup for variable names. | |
12753 | (Comments): Use @samp markup for comment characters. Line-end | |
12754 | comments may follow any Ada code, not just statements. Fix | |
12755 | misspelling of "Integer" as "integer". | |
12756 | (Loop statements): Do not use variable name "I", use "J". | |
12757 | (Subprogram Declarations): Document alignment. | |
12758 | (Subprogram Bodies, Block statements): Document empty line before | |
12759 | "begin". | |
12760 | ||
7a73ad55 FW |
12761 | 2001-12-22 Florian Weimer <fw@deneb.enyo.de> |
12762 | ||
12763 | * make.adb (Add_Switch): Make Generic_Position a procedure. The | |
12764 | function approach did not work well because of a side effect (the | |
12765 | function call could reallocate the table which was being indexed | |
12766 | using its result). Fixes ada/4851. | |
12767 | ||
17c5c8a5 GB |
12768 | 2001-12-19 Robert Dewar <dewar@gnat.com> |
12769 | ||
12770 | * bindgen.adb: Minor reformatting | |
82a4b025 | 12771 | |
17c5c8a5 | 12772 | * cstand.adb: Minor reformatting |
82a4b025 | 12773 | |
17c5c8a5 GB |
12774 | * fmap.adb: Minor reformatting |
12775 | Change name from Add for Add_To_File_Map (Add is much too generic) | |
12776 | Change Path_Name_Of to Mapped_Path_Name | |
12777 | Change File_Name_Of to Mapped_File_Name | |
12778 | Fix copyright dates in header | |
82a4b025 | 12779 | |
17c5c8a5 GB |
12780 | * fmap.ads: |
12781 | Change name from Add for Add_To_File_Map (Add is much too generic) | |
12782 | Change Path_Name_Of to Mapped_Path_Name | |
12783 | Change File_Name_Of to Mapped_File_Name | |
12784 | Fix copyright dates in header | |
82a4b025 | 12785 | |
17c5c8a5 GB |
12786 | * fname-uf.adb: Minor reformatting. New names of stuff in Fmap. |
12787 | Add use clause for Fmap. | |
82a4b025 | 12788 | |
17c5c8a5 | 12789 | * make.adb: Minor reformatting |
82a4b025 | 12790 | |
17c5c8a5 GB |
12791 | * osint.adb: Minor reformatting. Change of names in Fmap. |
12792 | Add use clause for Fmap. | |
82a4b025 | 12793 | |
17c5c8a5 | 12794 | * prj-env.adb: Minor reformatting |
82a4b025 | 12795 | |
17c5c8a5 | 12796 | * prj-env.ads: Minor reformatting |
82a4b025 | 12797 | |
07fc65c4 GB |
12798 | * switch.adb: Minor reformatting. Do proper raise of Bad_Switch if |
12799 | error found (there were odd exceptions to this general rule in | |
17c5c8a5 | 12800 | -gnatec/-gnatem processing) |
82a4b025 | 12801 | |
17c5c8a5 GB |
12802 | 2001-12-19 Olivier Hainque <hainque@gnat.com> |
12803 | ||
07fc65c4 GB |
12804 | * raise.c (__gnat_eh_personality): Exception handling personality |
12805 | routine for Ada. Still in rough state, inspired from the C++ version | |
17c5c8a5 | 12806 | and still containing a bunch of debugging artifacts. |
07fc65c4 | 12807 | (parse_lsda_header, get_ttype_entry): Local (static) helpers, also |
17c5c8a5 | 12808 | inspired from the C++ library. |
82a4b025 | 12809 | |
07fc65c4 | 12810 | * raise.c (eh_personality): Add comments. Part of work for the GCC 3 |
17c5c8a5 | 12811 | exception handling integration. |
82a4b025 | 12812 | |
17c5c8a5 GB |
12813 | 2001-12-19 Arnaud Charlet <charlet@gnat.com> |
12814 | ||
12815 | * Makefile.in: Remove use of 5smastop.adb which is obsolete. | |
12816 | (HIE_SOURCES): Add s-secsta.ad{s,b}. | |
12817 | (HIE_OBJS): Add s-fat*.o | |
07fc65c4 | 12818 | (RAVEN_SOURCES): Remove files that are no longer required. Add |
17c5c8a5 GB |
12819 | interrupt handling files. |
12820 | (RAVEN_MOD): Removed, no longer needed. | |
82a4b025 | 12821 | |
17c5c8a5 GB |
12822 | 2001-12-19 Robert Dewar <dewar@gnat.com> |
12823 | ||
12824 | * a-ngelfu.adb: Remove ??? comment for inappropriate Inline_Always | |
12825 | Add 2001 to copyright date | |
82a4b025 | 12826 | |
07fc65c4 | 12827 | * g-regpat.adb: Change pragma Inline_Always to Inline. There is no |
17c5c8a5 | 12828 | need to force universal inlining for these cases. |
82a4b025 | 12829 | |
17c5c8a5 GB |
12830 | 2001-12-19 Arnaud Charlet <charlet@gnat.com> |
12831 | ||
07fc65c4 | 12832 | * s-taprob.adb: Minor clean ups so that this unit can be used in |
17c5c8a5 | 12833 | Ravenscar HI. |
82a4b025 | 12834 | |
17c5c8a5 GB |
12835 | * exp_ch7.adb: Allow use of secondary stack in HI mode. |
12836 | Disallow it when pragma Restrictions (No_Secondary_Stack) is specified. | |
82a4b025 | 12837 | |
17c5c8a5 GB |
12838 | 2001-12-19 Vincent Celier <celier@gnat.com> |
12839 | ||
07fc65c4 | 12840 | * prj-tree.ads (Project_Node_Record): Add comments for components |
17c5c8a5 | 12841 | Pkg_Id and Case_Insensitive. |
82a4b025 | 12842 | |
17c5c8a5 GB |
12843 | 2001-12-19 Pascal Obry <obry@gnat.com> |
12844 | ||
12845 | * g-socket.adb: Minor reformatting. Found while reading code. | |
82a4b025 | 12846 | |
17c5c8a5 GB |
12847 | 2001-12-19 Robert Dewar <dewar@gnat.com> |
12848 | ||
12849 | * prj-tree.ads: Minor reformatting | |
12850 | ||
38be19f6 JM |
12851 | 2001-12-20 Joseph S. Myers <jsm28@cam.ac.uk> |
12852 | ||
12853 | * config-lang.in (diff_excludes): Remove. | |
12854 | ||
6510f4c9 GB |
12855 | 2001-12-17 Ed Schonberg <schonber@gnat.com> |
12856 | ||
07fc65c4 GB |
12857 | * sem_res.adb (Resolve_Selected_Component): do not generate a |
12858 | discriminant check if the selected component is a component of | |
6510f4c9 GB |
12859 | the argument of an initialization procedure. |
12860 | ||
07fc65c4 GB |
12861 | * trans.c (tree_transform, case of arithmetic operators): If result |
12862 | type is private, the gnu_type is the base type of the full view, | |
6510f4c9 | 12863 | given that the full view itself may be a subtype. |
82a4b025 | 12864 | |
6510f4c9 GB |
12865 | 2001-12-17 Robert Dewar <dewar@gnat.com> |
12866 | ||
12867 | * sem_res.adb: Minor reformatting | |
82a4b025 | 12868 | |
07fc65c4 GB |
12869 | * trans.c (tree_transform, case N_Real_Literal): Add missing third |
12870 | parameter in call to Machine (unknown horrible effects from this | |
6510f4c9 | 12871 | omission). |
82a4b025 | 12872 | |
6510f4c9 GB |
12873 | * urealp.h: Add definition of Round_Even for call to Machine |
12874 | Add third parameter for Machine | |
82a4b025 | 12875 | |
6510f4c9 GB |
12876 | 2001-12-17 Ed Schonberg <schonber@gnat.com> |
12877 | ||
07fc65c4 | 12878 | * sem_warn.adb (Check_One_Unit): Suppress warnings completely on |
6510f4c9 | 12879 | predefined units in No_Run_Time mode. |
82a4b025 | 12880 | |
6510f4c9 GB |
12881 | 2001-12-17 Richard Kenner <kenner@gnat.com> |
12882 | ||
12883 | * misc.c (insn-codes.h): Now include. | |
82a4b025 | 12884 | |
6510f4c9 GB |
12885 | 2001-12-17 Olivier Hainque <hainque@gnat.com> |
12886 | ||
07fc65c4 | 12887 | * a-except.adb: Preparation work for future integration of the GCC 3 |
6510f4c9 GB |
12888 | exception handling mechanism |
12889 | (Notify_Handled_Exception, Notify_Unhandled_Exception): New routines | |
12890 | to factorize previous code sequences and make them externally callable, | |
12891 | e.g. for the Ada personality routine when the GCC 3 mechanism is used. | |
12892 | (Propagate_Exception, Raise_Current_Excep, Raise_From_Signal_Handler): | |
12893 | Use the new notification routines. | |
82a4b025 | 12894 | |
6510f4c9 GB |
12895 | 2001-12-17 Emmanuel Briot <briot@gnat.com> |
12896 | ||
12897 | * prj-tree.ads (First_Choice_Of): Document the when others case | |
82a4b025 | 12898 | |
6510f4c9 GB |
12899 | 2001-12-17 Arnaud Charlet <charlet@gnat.com> |
12900 | ||
07fc65c4 | 12901 | * bindgen.adb (Gen_Ada_Init_*): Set priority of environment task in |
6510f4c9 | 12902 | HI-E mode, in order to support Ravenscar profile properly. |
82a4b025 | 12903 | |
07fc65c4 | 12904 | * cstand.adb (Create_Standard): Duration is a 32 bit type in HI-E |
6510f4c9 | 12905 | mode on 32 bits targets. |
82a4b025 | 12906 | |
6510f4c9 GB |
12907 | 2001-12-17 Vincent Celier <celier@gnat.com> |
12908 | ||
12909 | * fmap.adb: Initial version. | |
82a4b025 | 12910 | |
6510f4c9 | 12911 | * fmap.ads: Initial version. |
82a4b025 | 12912 | |
6510f4c9 GB |
12913 | * fname-uf.adb (Get_File_Name): Use mapping if unit name mapped. |
12914 | If search is successfully done, add to mapping. | |
82a4b025 | 12915 | |
6510f4c9 | 12916 | * frontend.adb: Initialize the mapping if a -gnatem switch was used. |
82a4b025 | 12917 | |
6510f4c9 GB |
12918 | * make.adb: |
12919 | (Gnatmake): Add new local variable Mapping_File_Name. | |
12920 | Create mapping file when using project file(s). | |
12921 | Delete mapping file before exiting. | |
82a4b025 | 12922 | |
6510f4c9 | 12923 | * opt.ads (Mapping_File_Name): New variable |
82a4b025 | 12924 | |
6510f4c9 | 12925 | * osint.adb (Find_File): Use path name found in mapping, if any. |
82a4b025 | 12926 | |
6510f4c9 | 12927 | * prj-env.adb (Create_Mapping_File): New procedure |
82a4b025 | 12928 | |
6510f4c9 | 12929 | * prj-env.ads (Create_Mapping_File): New procedure. |
82a4b025 | 12930 | |
07fc65c4 | 12931 | * switch.adb (Scan_Front_End_Switches): Add processing for -gnatem |
6510f4c9 | 12932 | (Mapping_File) |
82a4b025 | 12933 | |
6510f4c9 | 12934 | * usage.adb: Add entry for new switch -gnatem. |
82a4b025 | 12935 | |
6510f4c9 | 12936 | * Makefile.in: Add dependencies for fmap.o. |
82a4b025 | 12937 | |
6510f4c9 GB |
12938 | 2001-12-17 Ed Schonberg <schonber@gnat.com> |
12939 | ||
07fc65c4 | 12940 | * sem_ch10.adb (Analyze_With_Clause): Retrieve proper entity when unit |
6510f4c9 GB |
12941 | is a package instantiation rewritten as a package body. |
12942 | (Install_Withed_Unit): Undo previous change, now redundant. | |
82a4b025 | 12943 | |
6510f4c9 GB |
12944 | 2001-12-17 Gary Dismukes <dismukes@gnat.com> |
12945 | ||
12946 | * layout.adb: | |
12947 | (Compute_Length): Move conversion to Unsigned to callers. | |
12948 | (Get_Max_Size): Convert Len expression to Unsigned after calls to | |
12949 | Compute_Length and Determine_Range. | |
12950 | (Layout_Array_Type): Convert Len expression to Unsigned after calls to | |
12951 | Compute_Length and Determine_Range. | |
12952 | Above changes fix problem with length computation for supernull arrays | |
07fc65c4 | 12953 | where Max (Len, 0) wasn't getting applied due to the Unsigned |
6510f4c9 | 12954 | conversion used by Compute_Length. |
82a4b025 | 12955 | |
6510f4c9 GB |
12956 | 2001-12-17 Arnaud Charlet <charlet@gnat.com> |
12957 | ||
12958 | * rtsfind.ads: | |
12959 | (OK_To_Use_In_No_Run_Time_Mode): Allow Ada.Exceptions and | |
12960 | System.Secondary_Stack. | |
12961 | (OK_To_Use_In_Ravenscar_Mode): New table needed to implement Ravenscar | |
12962 | in HI-E mode. | |
12963 | Remove unused entity RE_Exception_Data. | |
82a4b025 | 12964 | |
6510f4c9 | 12965 | * rtsfind.adb (RTE): Allow Ravenscar Profile in HI mode. |
82a4b025 | 12966 | |
6510f4c9 GB |
12967 | * rident.ads (No_Secondary_Stack): New restriction. |
12968 | ||
3a77b68d GB |
12969 | 2001-12-17 Joel Brobecker <brobecke@gnat.com> |
12970 | ||
07fc65c4 | 12971 | * gnat_rm.texi: Fix minor typos. Found while reading the section |
3a77b68d GB |
12972 | regarding "Bit_Order Clauses" that was sent to a customer. |
12973 | Very interesting documentation! | |
82a4b025 | 12974 | |
3a77b68d GB |
12975 | 2001-12-17 Robert Dewar <dewar@gnat.com> |
12976 | ||
07fc65c4 GB |
12977 | * sem_case.adb (Choice_Image): Avoid creating improper character |
12978 | literal names by using the routine Set_Character_Literal_Name. This | |
3a77b68d | 12979 | fixes bombs in certain error message cases. |
82a4b025 | 12980 | |
3a77b68d GB |
12981 | 2001-12-17 Arnaud Charlet <charlet@gnat.com> |
12982 | ||
12983 | * a-reatim.adb: Minor reformatting. | |
82a4b025 | 12984 | |
3a77b68d GB |
12985 | 2001-12-17 Ed Schonberg <schonber@gnat.com> |
12986 | ||
07fc65c4 GB |
12987 | * sem_ch12.adb (Validate_Derived_Type_Instance): Handle properly the |
12988 | case where the formal is an extension of another formal in the current | |
3a77b68d | 12989 | unit or in a parent generic unit. |
82a4b025 | 12990 | |
3a77b68d GB |
12991 | 2001-12-17 Arnaud Charlet <charlet@gnat.com> |
12992 | ||
07fc65c4 | 12993 | * s-tposen.adb: Update comments. Minor reformatting. |
3a77b68d | 12994 | Minor code clean up. |
82a4b025 | 12995 | |
3a77b68d | 12996 | * s-tarest.adb: Update comments. Minor code reorganization. |
82a4b025 | 12997 | |
3a77b68d GB |
12998 | 2001-12-17 Gary Dismukes <dismukes@gnat.com> |
12999 | ||
07fc65c4 | 13000 | * exp_attr.adb (Attribute_Tag): Suppress expansion of <type_name>'Tag |
3a77b68d | 13001 | when Java_VM. |
82a4b025 | 13002 | |
3a77b68d GB |
13003 | 2001-12-17 Robert Dewar <dewar@gnat.com> |
13004 | ||
13005 | * exp_attr.adb: Minor reformatting | |
82a4b025 | 13006 | |
3a77b68d GB |
13007 | 2001-12-17 Ed Schonberg <schonber@gnat.com> |
13008 | ||
07fc65c4 | 13009 | * sem_ch3.adb (Build_Derived_Private_Type): Refine check to handle |
3a77b68d GB |
13010 | derivations nested within a child unit: verify that the parent |
13011 | type is declared in an outer scope. | |
82a4b025 | 13012 | |
3a77b68d GB |
13013 | 2001-12-17 Robert Dewar <dewar@gnat.com> |
13014 | ||
13015 | * sem_ch12.adb: Minor reformatting | |
82a4b025 | 13016 | |
3a77b68d GB |
13017 | 2001-12-17 Ed Schonberg <schonber@gnat.com> |
13018 | ||
07fc65c4 GB |
13019 | * sem_warn.adb (Check_One_Unit): In No_Run_Time mode, do not post |
13020 | warning if current unit is a predefined one, from which bodies may | |
3a77b68d | 13021 | have been deleted. |
82a4b025 | 13022 | |
3a77b68d GB |
13023 | 2001-12-17 Robert Dewar <dewar@gnat.com> |
13024 | ||
13025 | * eval_fat.ads: Add comment that Round_Even is referenced in Ada code | |
13026 | Fix header format. Add 2001 to copyright date. | |
82a4b025 | 13027 | |
07fc65c4 | 13028 | * exp_dbug.adb (Get_Encoded_Name): Fix out of bounds reference, |
3a77b68d GB |
13029 | which caused CE during compilation if checks were enabled. |
13030 | ||
79503fdd GB |
13031 | 2001-12-17 Vincent Celier <celier@gnat.com> |
13032 | ||
13033 | * make.adb: | |
13034 | (Switches_Of): New function | |
13035 | (Test_If_Relative_Path): New procedure | |
13036 | (Add_Switches): Use new function Switches_Of | |
13037 | (Collect_Arguments_And_Compile): Use new function Switches_Of. | |
13038 | When using a project file, test if there are any relative | |
13039 | search path. Fail if there are any. | |
07fc65c4 GB |
13040 | (Gnatmake): Only add switches for the primary directory when not using |
13041 | a project file. When using a project file, change directory to the | |
13042 | object directory of the main project file. When using a project file, | |
13043 | test if there are any relative search path. Fail if there are any. | |
13044 | When using a project file, fail if specified executable is relative | |
13045 | path with directory information, and prepend executable, if not | |
13046 | specified as an absolute path, with the exec directory. Make sure | |
79503fdd | 13047 | that only one -o switch is transmitted to the linker. |
82a4b025 | 13048 | |
79503fdd | 13049 | * prj-attr.adb (Initialization_Data): Add project attribute Exec_Dir |
82a4b025 | 13050 | |
79503fdd GB |
13051 | * prj-nmsc.adb: |
13052 | (Ada_Check): Get Spec_Suffix_Loc and Impl_Suffix_Loc, | |
13053 | when using a non standard naming scheme. | |
13054 | (Check_Ada_Naming_Scheme): Make sure that error messages | |
13055 | do not raise exceptions. | |
13056 | (Is_Illegal_Append): Return True if there is no dot in the suffix. | |
13057 | (Language_Independent_Check): Check the exec directory. | |
82a4b025 | 13058 | |
79503fdd | 13059 | * prj.adb (Project_Empty): Add new component Exec_Directory |
82a4b025 | 13060 | |
79503fdd GB |
13061 | * prj.ads: |
13062 | (Default_Ada_Spec_Suffix, Default_Ada_Impl_Suffix): Add defaults. | |
13063 | (Project_Data): Add component Exec_Directory | |
82a4b025 | 13064 | |
79503fdd | 13065 | * snames.adb: Updated to match snames.ads revision 1.215 |
82a4b025 | 13066 | |
79503fdd | 13067 | * snames.ads: Added Exec_Dir |
82a4b025 | 13068 | |
79503fdd GB |
13069 | 2001-12-17 Robert Dewar <dewar@gnat.com> |
13070 | ||
13071 | * make.adb: Minor reformatting | |
82a4b025 | 13072 | |
79503fdd | 13073 | * prj-nmsc.adb: Minor reformatting |
82a4b025 | 13074 | |
79503fdd | 13075 | * snames.adb: Updated to match snames.ads |
82a4b025 | 13076 | |
79503fdd GB |
13077 | * snames.ads: Alphebetize entries for project file |
13078 | ||
13079 | 2001-12-17 Ed Schonberg <schonber@gnat.com> | |
13080 | ||
07fc65c4 | 13081 | * trans.c (process_freeze_entity): Do nothing if the entity is a |
79503fdd | 13082 | subprogram that was already elaborated. |
82a4b025 | 13083 | |
79503fdd | 13084 | 2001-12-17 Richard Kenner <kenner@gnat.com> |
82a4b025 | 13085 | |
07fc65c4 | 13086 | * decl.c (gnat_to_gnu_entity, object): Do not back-annotate Alignment |
79503fdd GB |
13087 | and Esize if object is referenced via pointer. |
13088 | ||
855ff2e1 GB |
13089 | 2001-12-17 Ed Schonberg <schonber@gnat.com> |
13090 | ||
07fc65c4 | 13091 | * sem_ch3.adb (Analyze_Variant_Part): check that type of discriminant |
855ff2e1 | 13092 | is discrete before analyzing choices. |
82a4b025 | 13093 | |
855ff2e1 GB |
13094 | 2001-12-17 Joel Brobecker <brobecke@gnat.com> |
13095 | ||
07fc65c4 GB |
13096 | * bindgen.adb (Gen_Output_File_Ada): Generate a new C-like string |
13097 | containing the name of the Ada Main Program. This string is mainly | |
855ff2e1 GB |
13098 | intended for the debugger. |
13099 | (Gen_Output_File_C): Do the equivalent change when generating a C file. | |
82a4b025 | 13100 | |
855ff2e1 GB |
13101 | 2001-12-17 Robert Dewar <dewar@gnat.com> |
13102 | ||
13103 | * ali.adb: Set new Dummy_Entry field in dependency entry | |
82a4b025 | 13104 | |
855ff2e1 | 13105 | * ali.ads: Add Dummy_Entry field to source dependency table |
82a4b025 | 13106 | |
855ff2e1 | 13107 | * bcheck.adb (Check_Consistency): Ignore dummy D lines |
82a4b025 | 13108 | |
855ff2e1 | 13109 | * lib-writ.adb (Writ_ALI): Write dummy D lines for missing source files |
82a4b025 | 13110 | |
855ff2e1 | 13111 | * lib-writ.ads: Document dummy D lines for missing files. |
82a4b025 | 13112 | |
855ff2e1 GB |
13113 | * types.ads: (Dummy_Time_Stamp): New value for non-existant files |
13114 | ||
c1c22e7a GB |
13115 | 2001-12-17 Robert Dewar <dewar@gnat.com> |
13116 | ||
13117 | * ali.adb: Type reference does not reset current file. | |
82a4b025 | 13118 | |
c1c22e7a | 13119 | * ali.adb: Recognize and scan renaming reference |
82a4b025 | 13120 | |
c1c22e7a | 13121 | * ali.ads: Add spec for storing renaming references. |
82a4b025 | 13122 | |
c1c22e7a | 13123 | * lib-xref.ads: Add documentation for handling of renaming references |
82a4b025 | 13124 | |
c1c22e7a | 13125 | * lib-xref.adb: Implement output of renaming reference. |
82a4b025 | 13126 | |
c1c22e7a GB |
13127 | * checks.adb: |
13128 | (Determine_Range): Document local variables | |
13129 | (Determine_Range): Make sure Hbound is initialized. It looks as though | |
13130 | there could be a real problem here with an uninitialized reference | |
13131 | to Hbound, but no actual example of failure has been found. | |
82a4b025 | 13132 | |
c1c22e7a GB |
13133 | 2001-12-17 Laurent Pautet <pautet@gnat.com> |
13134 | ||
13135 | * g-socket.ads: | |
13136 | Fix comment of Shutdown_Socket and Close_Socket. These functions | |
13137 | should not fail silently because if they are called twice, this | |
13138 | probably means that there is a race condition in the user program. | |
13139 | Anyway, this behaviour is consistent with the rest of this unit. | |
13140 | When an error occurs, an exception is raised with the error message | |
13141 | as exception message. | |
13142 | ||
7eb7bb07 RD |
13143 | 2001-12-17 Robert Dewar <dewar@gnat.com> |
13144 | ||
07fc65c4 | 13145 | * frontend.adb: Move call to Check_Unused_Withs from Frontend, so |
7eb7bb07 | 13146 | that it happens before modification of Sloc values for -gnatD. |
82a4b025 | 13147 | |
07fc65c4 | 13148 | * gnat1drv.adb: Move call to Check_Unused_Withs to Frontend, |
7eb7bb07 | 13149 | so that it happens before modification of Sloc values for -gnatD. |
82a4b025 | 13150 | |
7eb7bb07 RD |
13151 | * switch.adb: Minor reformatting |
13152 | ||
b6434700 RH |
13153 | 2001-12-15 Richard Henderson <rth@redhat.com> |
13154 | ||
13155 | * sem_ch7.adb: Wrap comment. | |
13156 | ||
44d6a706 JM |
13157 | 2001-12-16 Joseph S. Myers <jsm28@cam.ac.uk> |
13158 | ||
13159 | * 5ataprop.adb, 5atpopsp.adb, 5ftaprop.adb, 5gmastop.adb, | |
13160 | 5gtaprop.adb, 5htaprop.adb, 5itaprop.adb, 5lintman.adb, | |
13161 | 5omastop.adb, 5oosinte.adb, 5otaprop.adb, 5staprop.adb, | |
13162 | 5vinterr.adb, 5vtaprop.adb, 5vtpopde.adb, 5wintman.adb, | |
13163 | 5wtaprop.adb, 5zinterr.adb, 5ztaprop.adb, 6vcstrea.adb, | |
13164 | 7sintman.adb, 7staprop.adb, 9drpc.adb, ChangeLog, Makefile.in, | |
13165 | a-except.adb, a-tags.ads, a-tasatt.adb, a-teioed.adb, | |
13166 | a-textio.ads, a-witeio.ads, a-wtedit.adb, ali.ads, comperr.adb, | |
13167 | cstand.adb, einfo.ads, errout.adb, exp_ch11.adb, exp_ch2.adb, | |
13168 | exp_ch3.adb, exp_ch4.adb, exp_ch5.adb, exp_ch6.adb, exp_ch9.adb, | |
13169 | exp_util.adb, exp_util.ads, fname-uf.adb, g-cgi.ads, g-exctra.ads, | |
13170 | g-expect.ads, g-regist.adb, g-spipat.adb, gnatchop.adb, | |
13171 | gnatlink.adb, gnatls.adb, gnatmain.adb, gnatmem.adb, init.c, | |
13172 | make.adb, make.ads, mdlltool.adb, nlists.ads, osint.ads, | |
13173 | par-ch3.adb, par-ch4.adb, par-ch5.adb, par-ch6.adb, par.adb, | |
13174 | repinfo.adb, s-fatflt.ads, s-fatlfl.ads, s-fatllf.ads, | |
13175 | s-fatsfl.ads, s-finimp.adb, s-finimp.ads, s-interr.adb, | |
13176 | s-secsta.ads, s-shasto.ads, s-stalib.adb, s-stalib.ads, | |
13177 | s-tarest.ads, s-tasdeb.adb, s-tassta.adb, s-tassta.ads, | |
13178 | s-vaflop.ads, scans.ads, scn.adb, sem.ads, sem_aggr.adb, | |
13179 | sem_attr.adb, sem_case.ads, sem_ch10.adb, sem_ch12.adb, | |
13180 | sem_ch13.adb, sem_ch3.adb, sem_ch3.ads, sem_ch5.adb, sem_ch7.adb, | |
13181 | sem_ch8.adb, sem_ch8.ads, sem_type.adb, sem_util.ads, sinfo.ads, | |
13182 | sprint.adb, tbuild.ads, types.ads, utils.c, xeinfo.adb: Fix | |
13183 | spelling errors. | |
13184 | ||
226ada7a GB |
13185 | 2001-12-14 Vincent Celier <celier@gnat.com> |
13186 | ||
07fc65c4 | 13187 | * osint.adb(Create_Debug_File): When an object file is specified, |
226ada7a | 13188 | put the .dg file in the same directory as the object file. |
82a4b025 | 13189 | |
226ada7a GB |
13190 | 2001-12-14 Robert Dewar <dewar@gnat.com> |
13191 | ||
13192 | * osint.adb: Minor reformatting | |
82a4b025 | 13193 | |
07fc65c4 | 13194 | * lib-xref.adb (Output_Instantiation): New procedure to generate |
226ada7a | 13195 | instantiation references. |
82a4b025 | 13196 | |
226ada7a | 13197 | * lib-xref.ads: Add documentation of handling of generic references. |
82a4b025 | 13198 | |
07fc65c4 | 13199 | * ali.adb (Read_Instantiation_Ref): New procedure to read |
226ada7a | 13200 | instantiation references |
82a4b025 | 13201 | |
226ada7a | 13202 | * ali.ads: Add spec for storing instantiation references |
82a4b025 | 13203 | |
226ada7a | 13204 | * bindusg.adb: Minor reformatting |
82a4b025 | 13205 | |
226ada7a | 13206 | * switch.adb: Add entry for Latin-5 (Cyrillic ISO-8859-5) |
82a4b025 | 13207 | |
226ada7a | 13208 | * usage.adb: Add entry for Latin-5 (Cyrillic ISO-8859-5) |
82a4b025 | 13209 | |
226ada7a | 13210 | * gnatcmd.adb: Add entry for Latin-5 (Cyrillic ISO-8859-5) |
82a4b025 | 13211 | |
226ada7a | 13212 | * csets.adb: Add entry for Latin-5 (Cyrillic ISO-8859-5) |
82a4b025 | 13213 | |
226ada7a GB |
13214 | * csets.ads: |
13215 | Fix header format | |
13216 | Add 2001 to copyright date | |
13217 | Add entry for Latin-5 (Cyrillic ISO-8859-5) | |
82a4b025 | 13218 | |
226ada7a GB |
13219 | 2001-12-14 Matt Gingell <gingell@gnat.com> |
13220 | ||
07fc65c4 | 13221 | * adaint.c: mktemp is a macro on Lynx and can not be used as an |
226ada7a | 13222 | expression. |
82a4b025 | 13223 | |
226ada7a GB |
13224 | 2001-12-14 Richard Kenner <kenner@gnat.com> |
13225 | ||
07fc65c4 | 13226 | * misc.c (gnat_expand_constant): Do not strip UNCHECKED_CONVERT_EXPR |
226ada7a | 13227 | if operand is CONSTRUCTOR. |
82a4b025 | 13228 | |
226ada7a GB |
13229 | 2001-12-14 Ed Schonberg <schonber@gnat.com> |
13230 | ||
07fc65c4 GB |
13231 | * trans.c (tree_transform, case N_Assignment_Statement): Set lineno |
13232 | before emiting check on right-hand side, so that exception information | |
226ada7a GB |
13233 | is correct. |
13234 | ||
13235 | 2001-12-14 Richard Kenner <kenner@gnat.com> | |
82a4b025 | 13236 | |
07fc65c4 | 13237 | * utils.c (create_var_decl): Throw away initializing expression |
226ada7a | 13238 | if just annotating types and non-constant. |
82a4b025 | 13239 | |
226ada7a GB |
13240 | 2001-12-14 Vincent Celier <celier@gnat.com> |
13241 | ||
13242 | * prj-nmsc.adb: (Ada_Check): Migrate drom Ada_Default_... to | |
13243 | Default_Ada_... | |
82a4b025 | 13244 | |
07fc65c4 | 13245 | * prj.adb: (Ada_Default_Spec_Suffix, Ada_Default_Impl_Suffix): |
226ada7a GB |
13246 | Remove functions. |
13247 | (Default_Ada_Spec_Suffix, Default_Ada_Impl_Suffix): Move to spec. | |
82a4b025 | 13248 | |
07fc65c4 | 13249 | * prj.ads: (Ada_Default_Spec_Suffix, Ada_Default_Impl_Suffix): |
226ada7a GB |
13250 | Remove functions. |
13251 | (Default_Ada_Spec_Suffix, Default_Ada_Impl_Suffix): Move from body. | |
13252 | ||
9b94bf9e JM |
13253 | 2001-12-16 Joseph S. Myers <jsm28@cam.ac.uk> |
13254 | ||
13255 | * ChangeLog: Remove piece of diff output. | |
13256 | ||
449d2be3 GB |
13257 | 2001-12-14 Geert Bosch <bosch@gnat.com> |
13258 | ||
13259 | * config-lang.in: Update copyright notice | |
13260 | ||
13261 | * layout.adb: Remove commented out code. | |
13262 | ||
13263 | * mdllfile.ads: Update copyright notice. Fix header format. | |
13264 | ||
13265 | * sem_case.ads: Likewise. | |
13266 | ||
13267 | * sem_ch3.adb: Minor reformatting. | |
13268 | ||
e5bd5cb4 GB |
13269 | 2001-12-12 Geert Bosch <bosch@gnat.com> |
13270 | ||
13271 | * freeze.ads: Update copyright date. | |
13272 | ||
13273 | * g-comlin.ads: Minor reformatting. | |
13274 | ||
13275 | * gnat-style.texi: Fix typo. | |
13276 | ||
b468d8ec GB |
13277 | 2001-12-12 Geert Bosch <bosch@gnat.com> |
13278 | ||
13279 | * einfo.h: Regenerate. | |
13280 | ||
ed7da216 GB |
13281 | 2001-12-12 Ed Schonberg <schonber@gnat.com> |
13282 | ||
07fc65c4 | 13283 | * sem_ch12.adb (Save_Entity_Descendant): Use syntactic field names |
ed7da216 | 13284 | on known node types, rather than untyped fields. Further cleanups. |
82a4b025 | 13285 | |
ed7da216 GB |
13286 | 2001-12-12 Robert Dewar <dewar@gnat.com> |
13287 | ||
13288 | * sem_ch12.adb: | |
13289 | (Save_Entity_Descendant): Minor comment update. | |
13290 | (Copy_Generic_Node): Deal with incorrect reference to Associated_Node | |
07fc65c4 | 13291 | of an N_Attribute_Reference node. As per note below, this does not |
ed7da216 | 13292 | eliminate need for Associated_Node in attribute ref nodes. |
07fc65c4 | 13293 | (Associated_Node): Documentation explicitly mentions attribute |
ed7da216 | 13294 | reference nodes, since this field is used in such nodes. |
82a4b025 | 13295 | |
ed7da216 GB |
13296 | * sem_ch12.adb (Associated_Node): Minor documentation cleanup. |
13297 | ||
de76a39c GB |
13298 | 2001-12-12 Robert Dewar <dewar@gnat.com> |
13299 | ||
13300 | * s-stalib.adb: Add more comments on with statements being needed | |
82a4b025 | 13301 | |
de76a39c | 13302 | * par-ch12.adb: Minor reformatting |
82a4b025 | 13303 | |
de76a39c | 13304 | * prj-dect.ads: Fix copyright header |
82a4b025 | 13305 | |
07fc65c4 | 13306 | * s-arit64.adb (Multiply_With_Ovflo_Check): Fix case where both |
de76a39c | 13307 | inputs fit in 32 bits, but the result still overflows. |
82a4b025 | 13308 | |
de76a39c | 13309 | * s-fatgen.ads: Minor comment improvement |
82a4b025 | 13310 | |
de76a39c GB |
13311 | 2001-12-12 Ed Schonberg <schonber@gnat.com> |
13312 | ||
07fc65c4 GB |
13313 | * sem_ch4.adb (Analyze_Selected_Component): If the prefix is of a |
13314 | formal derived type, look for an inherited component from the full | |
de76a39c | 13315 | view of the parent, if any. |
82a4b025 | 13316 | |
de76a39c GB |
13317 | 2001-12-12 Robert Dewar <dewar@gnat.com> |
13318 | ||
13319 | * checks.ads (Apply_Alignment_Check): New procedure. | |
82a4b025 | 13320 | |
07fc65c4 GB |
13321 | * exp_ch13.adb (Expand_N_Freeze_Entity): Generate dynamic check to |
13322 | ensure that the alignment of objects with address clauses is | |
de76a39c GB |
13323 | appropriate, and raise PE if not. |
13324 | ||
07fc65c4 | 13325 | * exp_util.ads (Must_Be_Aligned): Removed, replaced by |
de76a39c | 13326 | Exp_Pakd.Known_Aligned_Enough |
82a4b025 | 13327 | |
de76a39c GB |
13328 | * mdllfile.ads: Minor reformatting |
13329 | ||
13330 | * mlib-fil.ads: Minor reformatting | |
82a4b025 | 13331 | |
de76a39c GB |
13332 | 2001-12-12 Ed Schonberg <schonber@gnat.com> |
13333 | ||
07fc65c4 GB |
13334 | * exp_ch8.adb (Expand_N_Object_Renaming_Declaration): Extend previous |
13335 | fix to any component reference if enclosing record has non-standard | |
de76a39c | 13336 | representation. |
82a4b025 | 13337 | |
de76a39c GB |
13338 | 2001-12-12 Vincent Celier <celier@gnat.com> |
13339 | ||
07fc65c4 | 13340 | * g-dirope.ads (Find, Wildcard_Iterator): Moved to child package |
de76a39c | 13341 | Iteration |
82a4b025 | 13342 | |
de76a39c GB |
13343 | 2001-12-12 Ed Schonberg <schonber@gnat.com> |
13344 | ||
07fc65c4 | 13345 | * freeze.ads: Make Freeze_Fixed_Point_Type visible, for use in |
de76a39c | 13346 | sem_attr. |
82a4b025 | 13347 | |
de76a39c GB |
13348 | 2001-12-12 Robert Dewar <dewar@gnat.com> |
13349 | ||
13350 | * impunit.adb: Add entry for GNAT.Directory_Operations.Iteration | |
82a4b025 | 13351 | |
de76a39c GB |
13352 | 2001-12-12 Emmanuel Briot <briot@gnat.com> |
13353 | ||
13354 | * g-regexp.adb: Remove all debug code, since it isn't required anymore, | |
13355 | and it adds dependencies to system.io. | |
82a4b025 | 13356 | |
de76a39c GB |
13357 | 2001-12-12 Pascal Obry <obry@gnat.com> |
13358 | ||
07fc65c4 | 13359 | * g-dirope.adb (Expand_Path.Var): Correctly detect end of |
de76a39c GB |
13360 | variable name. |
13361 | ||
0b09835f ES |
13362 | 2001-12-11 Ed Schonberg <schonber@gnat.com> |
13363 | ||
13364 | * sem_ch10.adb (Install_Withed_Unit): If the unit is a generic instance | |
07fc65c4 GB |
13365 | that is the parent of other generics, the instance body replaces the |
13366 | instance node. Retrieve the instance of the spec, which is the one | |
0b09835f ES |
13367 | that is visible in clients and within the body. |
13368 | ||
598c3446 GB |
13369 | 2001-12-11 Vincent Celier <celier@gnat.com> |
13370 | ||
13371 | * gnatmain.adb: Initial version. | |
82a4b025 | 13372 | |
598c3446 | 13373 | * gnatmain.ads: Initial version. |
82a4b025 | 13374 | |
598c3446 | 13375 | * prj-attr.adb (Initialisation_Data): Add package Gnatstub. |
82a4b025 | 13376 | |
598c3446 | 13377 | * snames.adb: Updated to match snames.ads. |
82a4b025 | 13378 | |
598c3446 | 13379 | * snames.ads: Added Gnatstub. |
82a4b025 | 13380 | |
598c3446 GB |
13381 | 2001-12-11 Vincent Celier <celier@gnat.com> |
13382 | ||
07fc65c4 | 13383 | * prj-attr.adb (Initialization_Data): Change name from |
598c3446 | 13384 | Initialisation_Data. |
82a4b025 | 13385 | |
598c3446 GB |
13386 | 2001-12-11 Emmanuel Briot <briot@gnat.com> |
13387 | ||
13388 | * g-regpat.adb (Parse_Literal): Properly handle simple operators ?, | |
13389 | + and * applied to backslashed expressions like \r. | |
82a4b025 | 13390 | |
598c3446 GB |
13391 | 2001-12-11 Vasiliy Fofanov <fofanov@gnat.com> |
13392 | ||
07fc65c4 | 13393 | * g-os_lib.ads: String_List type added, Argument_List type is now |
598c3446 | 13394 | subtype of String_List. |
82a4b025 | 13395 | |
598c3446 GB |
13396 | 2001-12-11 Robert Dewar <dewar@gnat.com> |
13397 | ||
13398 | * g-os_lib.ads: Change copyright to FSF | |
13399 | Add comments for String_List type | |
82a4b025 | 13400 | |
598c3446 GB |
13401 | 2001-12-11 Vincent Celier <celier@gnat.com> |
13402 | ||
07fc65c4 | 13403 | * g-dirope.adb (Expand_Path): Fix bug. (wrong length when adding a |
598c3446 GB |
13404 | string to the buffer). |
13405 | ||
7fb754a1 GB |
13406 | 2001-12-11 Ed Schonberg <schonber@gnat.com> |
13407 | ||
13408 | * freeze.adb: Make Freeze_Fixed_Point_Type visible, for use in | |
13409 | sem_attr. | |
82a4b025 | 13410 | |
7fb754a1 | 13411 | * sem_attr.adb: Simplify previous fix for Address. |
07fc65c4 GB |
13412 | (Set_Bounds): If prefix is a non-frozen fixed-point type, freeze now, |
13413 | to avoid anomalies where the bound of the type appears to raise | |
7fb754a1 GB |
13414 | constraint error. |
13415 | ||
13416 | 2001-12-11 Robert Dewar <dewar@gnat.com> | |
13417 | ||
07fc65c4 | 13418 | * lib-xref.adb (Output_Refs): Make sure pointers are always properly |
7fb754a1 | 13419 | handled. |
82a4b025 | 13420 | |
7fb754a1 GB |
13421 | 2001-12-11 Ed Schonberg <schonber@gnat.com> |
13422 | ||
07fc65c4 | 13423 | * sem_ch12.adb (Analyze_Subprogram_Instantiation): Check for a |
7fb754a1 | 13424 | renamed unit before checking for recursive instantiations. |
82a4b025 | 13425 | |
7fb754a1 GB |
13426 | 2001-12-11 Emmanuel Briot <briot@gnat.com> |
13427 | ||
13428 | * prj.ads: Add comments for some of the fields. | |
13429 | ||
0873bafc GB |
13430 | 2001-12-11 Robert Dewar <dewar@gnat.com> |
13431 | ||
07fc65c4 | 13432 | * lib-xref.adb (Output_Refs): Don't output type references outside |
0873bafc | 13433 | the main unit if they are not otherwise referenced. |
82a4b025 | 13434 | |
0873bafc GB |
13435 | 2001-12-11 Ed Schonberg <schonber@gnat.com> |
13436 | ||
07fc65c4 | 13437 | * sem_attr.adb (Analyze_attribute, case Address and Size): Simplify |
0873bafc | 13438 | code and diagnose additional illegal uses |
82a4b025 | 13439 | |
07fc65c4 | 13440 | * sem_util.adb (Is_Object_Reference): An indexed component is an |
0873bafc | 13441 | object only if the prefix is. |
82a4b025 | 13442 | |
0873bafc GB |
13443 | 2001-12-11 Vincent Celier <celier@gnat.com> |
13444 | ||
13445 | * g-diopit.adb: Initial version. | |
82a4b025 | 13446 | |
0873bafc | 13447 | * g-diopit.ads: Initial version. |
82a4b025 | 13448 | |
0873bafc GB |
13449 | * g-dirope.adb: |
13450 | (Expand_Path): Avoid use of Unbounded_String | |
13451 | (Find, Wildcard_Iterator): Moved to child package Iteration | |
82a4b025 | 13452 | |
0873bafc | 13453 | * Makefile.in: Added g-diopit.o to GNATRTL_NONTASKING_OBJS |
82a4b025 | 13454 | |
7fb754a1 | 13455 | 2001-12-11 Robert Dewar <dewar@gnat.com> |
0873bafc GB |
13456 | |
13457 | * sem_attr.adb: Minor reformatting | |
13458 | ||
d087cd96 GB |
13459 | 2001-12-11 Ed Schonberg <schonber@gnat.com> |
13460 | ||
13461 | * sem_ch3.adb: Clarify some ???. | |
82a4b025 | 13462 | |
d087cd96 GB |
13463 | 2001-12-11 Robert Dewar <dewar@gnat.com> |
13464 | ||
07fc65c4 | 13465 | * exp_util.adb (Must_Be_Aligned): Removed, replaced by |
d087cd96 | 13466 | Exp_Pakd.Known_Aligned_Enough |
82a4b025 | 13467 | |
07fc65c4 | 13468 | * sem_ch13.adb (Check_Address_Alignment): Removed, extended |
d087cd96 GB |
13469 | version is moved to Exp_Ch13. |
13470 | ||
13471 | 2001-12-11 Robert Dewar <dewar@gnat.com> | |
13472 | ||
13473 | * einfo.ads: Minor reformatting | |
82a4b025 | 13474 | |
d087cd96 | 13475 | * exp_ch5.adb: Add comment for previous.change |
82a4b025 | 13476 | |
d087cd96 | 13477 | * ali.adb: New interface for extended typeref stuff. |
82a4b025 | 13478 | |
d087cd96 | 13479 | * ali.ads: New interface for typeref stuff. |
82a4b025 | 13480 | |
d087cd96 | 13481 | * checks.adb (Apply_Alignment_Check): New procedure. |
82a4b025 | 13482 | |
d087cd96 | 13483 | * debug.adb: Add -gnatdM for modified ALI output |
82a4b025 | 13484 | |
d087cd96 | 13485 | * exp_pakd.adb (Known_Aligned_Enough): Replaces Known_Aligned_Enough. |
82a4b025 | 13486 | |
07fc65c4 GB |
13487 | * lib-xref.adb: Extend generation of <..> notation to cover |
13488 | subtype/object types. Note that this is a complete rewrite, | |
13489 | getting rid of the very nasty quadratic algorithm previously | |
d087cd96 | 13490 | used for derived type output. |
82a4b025 | 13491 | |
07fc65c4 GB |
13492 | * lib-xref.ads: Extend description of <..> notation to cover |
13493 | subtype/object types. Uses {..} for these other cases. | |
d087cd96 | 13494 | Also use (..) for pointer types. |
82a4b025 | 13495 | |
d087cd96 | 13496 | * sem_util.adb (Check_Potentially_Blocking_Operation): Slight cleanup. |
82a4b025 | 13497 | |
07fc65c4 | 13498 | * exp_pakd.adb: Minor reformatting. Note that prevous RH should say: |
d087cd96 GB |
13499 | (Known_Aligned_Enough): Replaces Must_Be_Aligned. |
13500 | ||
290986ed GB |
13501 | 2001-12-11 Vincent Celier <celier@gnat.com> |
13502 | ||
13503 | * gnatcmd.adb: | |
13504 | Changed /COMPILE_ONLY to /ACTIONS=COMPILE | |
13505 | Changed /BIND_ONLY to /ACTIONS=BIND | |
13506 | Changed /LINK_ONLY to /ACTIONS=LINK | |
82a4b025 | 13507 | |
290986ed GB |
13508 | 2001-12-11 Ed Schonberg <schonber@gnat.com> |
13509 | ||
13510 | * sem_ch8.adb (Find_Selected_Component): improved search for a | |
13511 | candidate package in case of error. | |
82a4b025 | 13512 | |
290986ed GB |
13513 | * sem_ch12.adb (Inline_Instance_Body): place head of use_clause |
13514 | chain back on scope stack before reinstalling use clauses. | |
82a4b025 | 13515 | |
290986ed GB |
13516 | * exp_ch5.adb (Expand_N_If_Statement): if Constant_Condition_Warnings |
13517 | is enabled, do not kill the code for the condition, to preserve | |
13518 | warning. | |
13519 | ||
84157f51 GB |
13520 | 2001-12-11 Robert Dewar <dewar@gnat.com> |
13521 | ||
07fc65c4 | 13522 | * checks.adb (Insert_Valid_Check): Apply validity check to expression |
84157f51 GB |
13523 | of conversion, not to result of conversion. |
13524 | ||
13525 | 2001-12-11 Ed Schonberg <schonber@gnat.com> | |
82a4b025 | 13526 | |
07fc65c4 GB |
13527 | * sem_ch3.adb (Build_Derived_Record_Type): set Controlled flag |
13528 | before freezing parent. If the declarations are mutually recursive, | |
13529 | an access to the current record type may be frozen before the | |
84157f51 GB |
13530 | derivation is complete. |
13531 | ||
7ffa903f VC |
13532 | 2001-12-05 Vincent Celier <celier@gnat.com> |
13533 | ||
07fc65c4 | 13534 | * gnatcmd.adb: (MAKE): Add new translations: -b /BIND_ONLY, |
7ffa903f | 13535 | -c /COMPILE_ONLY, -l /LINK_ONLY |
82a4b025 | 13536 | |
7ffa903f VC |
13537 | * opt.ads: |
13538 | (Bind_Only): New Flag | |
13539 | (Link_Only): New flag | |
82a4b025 | 13540 | |
07fc65c4 | 13541 | * switch.adb (Scan_Make_Switches): Add processing for -b (Bind_Only) |
7ffa903f | 13542 | and -l (Link_Only) |
82a4b025 | 13543 | |
7ffa903f | 13544 | * makeusg.adb: Add new switches -b and -l. Update Copyright notice. |
82a4b025 | 13545 | |
7ffa903f VC |
13546 | * make.adb: |
13547 | (Do_Compile_Step, Do_Bind_Step, Do_Link_Step): New flags. | |
13548 | (Gnatmake): Set the step flags. Only perform a step if the | |
13549 | corresponding step flag is True. | |
13550 | (Scan_Make_Arg): Reset the bind and link step flags when -u | |
13551 | or -gnatc has been specified. | |
13552 | ||
f91b40db GB |
13553 | 2001-12-05 Ed Schonberg <schonber@gnat.com> |
13554 | ||
07fc65c4 | 13555 | * sem_eval.adb (Eval_Concatenation): If left operand is a null string, |
f91b40db | 13556 | get bounds from right operand. |
82a4b025 | 13557 | |
f91b40db | 13558 | * sem_eval.adb: Minor reformatting |
82a4b025 | 13559 | |
07fc65c4 | 13560 | * exp_util.adb (Make_Literal_Range): use bound of literal rather |
f91b40db | 13561 | than Index'First, its lower bound may be different from 1. |
82a4b025 | 13562 | |
07fc65c4 | 13563 | * exp_util.adb: Undo earlier change, fixes ACVC regressions C48009B |
f91b40db | 13564 | and C48009J |
82a4b025 | 13565 | |
f91b40db GB |
13566 | 2001-12-05 Vincent Celier <celier@gnat.com> |
13567 | ||
13568 | * prj-nmsc.adb Minor reformatting | |
82a4b025 | 13569 | |
07fc65c4 | 13570 | * prj-nmsc.adb (Language_Independent_Check): Reset Library flag if |
f91b40db | 13571 | set and libraries are not supported. |
82a4b025 | 13572 | |
f91b40db GB |
13573 | 2001-12-05 Ed Schonberg <schonber@gnat.com> |
13574 | ||
07fc65c4 GB |
13575 | * sem_ch3.adb (Build_Derived_Private_Type): set Public status of |
13576 | private view explicitly, so the back-end can treat as a global | |
f91b40db GB |
13577 | when appropriate. |
13578 | ||
45d04cbb GB |
13579 | 2001-12-05 Ed Schonberg <schonber@gnat.com> |
13580 | ||
13581 | * sem_ch12.adb (Instantiate_Package_Body): if instance is a compilation | |
13582 | unit, always replace instance node with new body, for ASIS use. | |
13583 | ||
13584 | 2001-12-05 Vincent Celier <celier@gnat.com> | |
82a4b025 | 13585 | |
07fc65c4 GB |
13586 | * prj-nmsc.adb (Language_Independent_Check): Issue a warning if |
13587 | libraries are not supported and both attributes Library_Name and | |
45d04cbb | 13588 | Library_Dir are specified. |
82a4b025 | 13589 | |
07fc65c4 | 13590 | * prj-proc.adb (Expression): Set location of Result to location of |
45d04cbb | 13591 | first term. |
82a4b025 | 13592 | |
45d04cbb GB |
13593 | * Makefile.in: Add mlib.o, mlib-fil.o, mlib-tgt and mlib-utl to GNATLS. |
13594 | (prj-nmsc is now importing MLib.Tgt) | |
82a4b025 | 13595 | |
45d04cbb GB |
13596 | * prj-proc.adb: Put the change indicated above that was forgotten. |
13597 | ||
84436014 RD |
13598 | 2001-12-05 Robert Dewar <dewar@gnat.com> |
13599 | ||
13600 | * Makefile.in: Add dependencies for System.IO for GNAT.Regexp | |
13601 | ||
7ae0dcd8 ES |
13602 | 2001-12-05 Ed Schonberg <schonber@gnat.com> |
13603 | ||
13604 | * sem_ch3.adb (Build_Derived_Concurrent_Type): If derivation imposes a | |
13605 | constraint, introduce explicit subtype declaration and derive from it. | |
82a4b025 | 13606 | |
7ae0dcd8 ES |
13607 | * sem_ch3.adb: Minor reformatting |
13608 | ||
c9a4817d RD |
13609 | 2001-12-05 Robert Dewar <dewar@gnat.com> |
13610 | ||
07fc65c4 | 13611 | * checks.adb (Determine_Range): Increase cache size for checks. |
c9a4817d | 13612 | Minor reformatting |
82a4b025 | 13613 | |
c9a4817d RD |
13614 | * exp_ch6.adb: Minor reformatting |
13615 | (Expand_N_Subprogram_Body): Reset Is_Pure for any subprogram that has | |
13616 | a parameter whose root type is System.Address, since treating such | |
13617 | subprograms as pure in the code generator is almost surely a mistake | |
13618 | that will lead to unexpected results. | |
82a4b025 | 13619 | |
07fc65c4 | 13620 | * exp_util.adb (Remove_Side_Effects): Clean up old ??? comment and |
c9a4817d | 13621 | change handling of conversions. |
82a4b025 | 13622 | |
c9a4817d RD |
13623 | * g-regexp.adb: Use System.IO instead of Ada.Text_IO. |
13624 | ||
2514b839 ES |
13625 | 2001-12-05 Ed Schonberg <schonber@gnat.com> |
13626 | ||
07fc65c4 GB |
13627 | * sem_ch3.adb (Analyze_Object_Declaration): If expression is an |
13628 | aggregate with static wrong size, attach generated Raise node to | |
2514b839 ES |
13629 | declaration. |
13630 | ||
457b6274 RD |
13631 | 2001-12-05 Robert Dewar <dewar@gnat.com> |
13632 | ||
07fc65c4 | 13633 | * sem_attr.adb (Analyze_Attribute): Defend against bad Val attribute. |
457b6274 RD |
13634 | Fixes compilation abandoned bomb in B24009B. |
13635 | ||
19349925 ES |
13636 | 2001-12-05 Ed Schonberg <schonber@gnat.com> |
13637 | ||
13638 | * sem_ch12.adb: | |
13639 | Document use of Associated_Node on Selected_Components. | |
13640 | (Save_Global_Operand_Descendants): Change to Save_Entity_Descendants, | |
13641 | to clarify use of untyped descendant fields. | |
13642 | ||
6663c393 RD |
13643 | 2001-12-05 Robert Dewar <dewar@gnat.com> |
13644 | ||
13645 | * prj-dect.ads: Add ??? comment | |
13646 | Add 2001 to copyright notice (was not done in after all) | |
82a4b025 | 13647 | |
6663c393 | 13648 | * prj-part.adb: Minor reformatting. Reword one awkward error message. |
82a4b025 | 13649 | |
6663c393 | 13650 | * prj.ads: Minor reformatting throughout, and add some ??? comments |
82a4b025 | 13651 | |
6663c393 RD |
13652 | * snames.ads: Minor reformatting |
13653 | ||
d7b2a6af GB |
13654 | 2001-12-05 Geert Bosch <bosch@gnat.com> |
13655 | ||
13656 | * snames.adb: Autoupdate | |
13657 | ||
fbc9a404 VC |
13658 | 2001-12-05 Vincent Celier <celier@gnat.com> |
13659 | ||
13660 | * prj-dect.adb (Parse): Rename parameter Modifying to Extends. | |
82a4b025 | 13661 | |
fbc9a404 | 13662 | * prj-dect.ads (Parse): Rename parameter Modifying to Extends. |
82a4b025 | 13663 | |
fbc9a404 | 13664 | * prj-env.adb: Minor comment changes (modifying -> extends). |
82a4b025 | 13665 | |
fbc9a404 | 13666 | * prj-nmsc.adb: Minor comment changes (modifying -> extends). |
82a4b025 | 13667 | |
07fc65c4 | 13668 | * prj-part.adb (Parse_Single_Project): Change Tok_Modifying to |
fbc9a404 | 13669 | Tok_Extends. |
82a4b025 | 13670 | |
fbc9a404 | 13671 | * prj.adb (Initialize): Change Modifying to Extends. |
82a4b025 | 13672 | |
fbc9a404 | 13673 | * scans.ads (Token_Type): Change Tok_Modifying to Tok_Extends. |
82a4b025 | 13674 | |
fbc9a404 | 13675 | * prj.ads: Minor comment change (Modifying -> extending). |
82a4b025 | 13676 | |
fbc9a404 VC |
13677 | * snames.ads: Change modifying to extends. |
13678 | ||
7cff0b1b RD |
13679 | 2001-12-05 Robert Dewar <dewar@gnat.com> |
13680 | ||
07fc65c4 | 13681 | * sem_warn.adb: Remove stuff for conditionals, we are not going to |
7cff0b1b | 13682 | do this after all. |
82a4b025 | 13683 | |
07fc65c4 | 13684 | * sem_warn.ads: Remove stuff for conditionals, we are not going to |
7cff0b1b RD |
13685 | do this after all. Add 2001 to copyright notice |
13686 | ||
4f56ebb7 GB |
13687 | 2001-12-04 Geert Bosch <bosch@gnat.com> |
13688 | ||
13689 | * einfo.h, sinfo.h, treeprs.ads: Regenerate. | |
13690 | ||
053defdf RD |
13691 | 2001-12-04 Robert Dewar <dewar@gnat.com> |
13692 | ||
07fc65c4 GB |
13693 | * errout.adb (Error_Msg): Ignore attempt to put error msg at junk |
13694 | location if we already have errors. Stops some cases of cascaded | |
053defdf | 13695 | errors. |
82a4b025 | 13696 | |
053defdf RD |
13697 | * errout.adb: Improve comment. |
13698 | ||
f311e166 RD |
13699 | 2001-12-04 Robert Dewar <dewar@gnat.com> |
13700 | ||
13701 | * sem_ch12.adb: | |
13702 | (Analyze_Formal_Type_Definition): Defend against Error. | |
13703 | (Analyze_Formal_Subprogram): Defend against Error. | |
82a4b025 | 13704 | |
07fc65c4 | 13705 | * par-ch12.adb (F_Formal_Type_Declaration): In case of error, |
f311e166 RD |
13706 | remove following semicolon if present. Removes cascaded error. |
13707 | ||
d61bd65a DR |
13708 | 2001-12-04 Douglas B. Rupp <rupp@gnat.com> |
13709 | ||
13710 | * bindgen.adb: | |
13711 | (Gen_Exception_Table_Ada): Write "begin" and then return if Num | |
13712 | exceptions equals 0. | |
13713 | (Gen_Exception_Table_C): Return if Num exceptions equals 0. | |
13714 | Fixes PIWG E tests (which have to be run with -gnatL). | |
13715 | ||
4ba603e2 RD |
13716 | 2001-12-04 Robert Dewar <dewar@gnat.com> |
13717 | ||
13718 | * einfo.ads: Minor reformatting | |
13719 | ||
57568d91 ES |
13720 | 2001-12-04 Ed Schonberg <schonber@gnat.com> |
13721 | ||
07fc65c4 GB |
13722 | * einfo.ads: Block_Node points to the identifier of the block, not to |
13723 | the block node itself, to preserve the link when the block is | |
13724 | rewritten, e.g. within an if-statement with a static condition. | |
82a4b025 | 13725 | |
07fc65c4 | 13726 | * inline.adb (Cleanup_Scopes): recover block statement from block |
57568d91 | 13727 | entity using new meaning of Block_Node. |
82a4b025 | 13728 | |
07fc65c4 | 13729 | * sem_ch5.adb (Analyze_Block_Statement): set Block_Node to point to |
57568d91 ES |
13730 | identifier of block node, rather than to node itself. |
13731 | ||
0815d36a | 13732 | 2001-12-04 Gary Dismukes <dismukes@gnat.com> |
82a4b025 | 13733 | |
0815d36a GD |
13734 | * layout.adb: |
13735 | (Get_Max_Size): Fix "start of processing" comment to say Get_Max_Size. | |
13736 | (Discrimify): Go back to setting the Etypes of the selected component | |
07fc65c4 | 13737 | because the Vname component does not exist at this point and will |
0815d36a GD |
13738 | fail name resolution. Also set Analyzed. |
13739 | Remove with and use of Sem_Res. | |
13740 | ||
edc0f304 AC |
13741 | 2001-12-04 Arnaud Charlet <charlet@gnat.com> |
13742 | ||
13743 | * Makefile.in: (HIE_SOURCES): add s-fat*. | |
13744 | ||
32213142 RD |
13745 | 2001-12-04 Robert Dewar <dewar@gnat.com> |
13746 | ||
13747 | * sem_attr.adb: | |
13748 | (Compile_Time_Known_Attribute): New procedure. | |
13749 | (Eval_Attribute, case Size): Use Compile_Time_Known_Attribute to ensure | |
13750 | proper range check. | |
13751 | ||
c0def2ad ES |
13752 | 2001-12-04 Ed Schonberg <schonber@gnat.com> |
13753 | ||
07fc65c4 | 13754 | * sem_ch7.adb (New_Private_Type): Set Is_Tagged_Type flag before |
c0def2ad ES |
13755 | processing discriminants to diagnose illegal default values. |
13756 | ||
ee0a48c5 ES |
13757 | 2001-12-04 Ed Schonberg <schonber@gnat.com> |
13758 | ||
07fc65c4 GB |
13759 | * sem_attr.adb (Resolve_Attribute): Handle properly an non-classwide |
13760 | access discriminant within a type extension that constrains its | |
ee0a48c5 ES |
13761 | parent discriminants. |
13762 | ||
dd5875a6 ES |
13763 | 2001-12-04 Ed Schonberg <schonber@gnat.com> |
13764 | ||
07fc65c4 | 13765 | * sem_ch3.adb (Find_Type_Of_Subtype_Indic): If subtype indication |
dd5875a6 | 13766 | is malformed, use instance of Any_Id to allow analysis to proceed. |
82a4b025 | 13767 | |
07fc65c4 | 13768 | * par-ch12.adb (P_Formal_Type_Declaration): Propagate Error if |
dd5875a6 ES |
13769 | type definition is illegal. |
13770 | (P_Formal_Derived_Type_Definition): Better recovery when TAGGED is | |
13771 | misplaced. | |
13772 | ||
c2a41e57 ES |
13773 | 2001-12-04 Ed Schonberg <schonber@gnat.com> |
13774 | ||
07fc65c4 | 13775 | * sem_warn.adb (Output_Unreferenced_Messages): Extend previous fix to |
c2a41e57 ES |
13776 | constants. |
13777 | ||
0ae84753 RD |
13778 | 2001-12-04 Robert Dewar <dewar@gnat.com> |
13779 | ||
13780 | * errout.adb: Minor reformatting | |
13781 | ||
63db260e RD |
13782 | 2001-12-04 Robert Dewar <dewar@gnat.com> |
13783 | ||
13784 | * exp_util.adb: Minor reformatting from last change | |
82a4b025 | 13785 | |
07fc65c4 GB |
13786 | * errout.adb (Check_For_Warning): For a Raised_Constraint_Error node |
13787 | which is a rewriting of an expression, traverse the original | |
63db260e RD |
13788 | expression to remove warnings that may have been posted on it. |
13789 | ||
c6d289f4 ES |
13790 | 2001-12-04 Ed Schonberg <schonber@gnat.com> |
13791 | ||
07fc65c4 | 13792 | * exp_util.adb (Must_Be_Aligned): Return false for a component of a |
c6d289f4 ES |
13793 | record that has other packed components. |
13794 | ||
5917e80d DR |
13795 | 2001-12-04 Douglass B. Rupp <rupp@gnat.com> |
13796 | ||
13797 | * adaint.c: Minor cleanups. | |
13798 | ||
2c70f9dd DR |
13799 | 2001-12-04 Douglass B. Rupp <rupp@gnat.com> |
13800 | ||
13801 | * adaint.c: Do not use utime.h on vxworks. | |
13802 | ||
e59b3387 AC |
13803 | 2001-12-04 Arnaud Charlet <charlet@gnat.com> |
13804 | ||
07fc65c4 | 13805 | * Makefile.adalib: Clarify step 3 (use of gnat.adc) as it causes |
e59b3387 AC |
13806 | more confusion than it solves. |
13807 | ||
e288604a GB |
13808 | 2001-12-04 Geert bosch <bosch@gnat.com> |
13809 | ||
13810 | * einfo.h, nmake.adb, nmake.ads, sinfo.h treeprs.ads: Regenerate. | |
13811 | ||
5ac21013 GB |
13812 | 2001-12-04 Geert Bosch <bosch@gnat.com> |
13813 | ||
07fc65c4 | 13814 | * Makefile.in (update-sources): New target. |
5ac21013 GB |
13815 | For use by gcc_release script. |
13816 | ||
7dd5bd5e ES |
13817 | 2001-12-04 Ed Schonberg <schonber@gnat.com> |
13818 | ||
07fc65c4 | 13819 | * sem_prag.adb (Analyze_Pragma, case Validity_Checks): do not treat as |
7dd5bd5e ES |
13820 | a configuration pragma, it is now legal wherever a pragma can appear. |
13821 | ||
a078a589 ZW |
13822 | 2001-12-04 Zack Weinberg <zack@codesourcery.com> |
13823 | ||
13824 | * Makefile.in: Don't set ALL. Delete @cross_defines@, | |
13825 | @cross_overrides@, @build_overrides@ stanzas. INTERNAL_CFLAGS | |
13826 | is now @CROSS@ -DIN_GCC; update comment. | |
13827 | ||
0839863c GB |
13828 | 2001-12-04 Robert Dewar <dewar@gnat.com> |
13829 | ||
13830 | * einfo.adb (Has_Pragma_Pure_Function): New flag. | |
13831 | Fix problem that stopped ceinfo from working | |
82a4b025 | 13832 | |
0839863c | 13833 | * einfo.ads (Has_Pragma_Pure_Function): New flag. |
82a4b025 | 13834 | |
0839863c GB |
13835 | * sem_prag.adb (Pure_Function): Set new flag Has_Pragma_Pure_Function. |
13836 | ||
13837 | 2001-12-04 Douglas B. Rupp <rupp@gnat.com> | |
9678de49 DR |
13838 | |
13839 | * gnatchop.adb: | |
13840 | (File_Time_Stamp): New procedure. | |
13841 | (Preserve_Mode): New boolean. | |
13842 | (Write_Unit): Pass time stamp. | |
13843 | Implement -p switch (preserve time stamps). | |
82a4b025 | 13844 | |
9678de49 | 13845 | * gnatcmd.adb (CHOP): Add translation for -p (/PRESERVE). |
82a4b025 | 13846 | |
9678de49 | 13847 | * gnatchop.adb: Do usage info for -p switch |
82a4b025 | 13848 | |
9678de49 | 13849 | * adaint.h (__gnat_set_file_time_name): New function |
82a4b025 | 13850 | |
9678de49 | 13851 | * adaint.c (__gnat_set_file_time_name): Implement |
82a4b025 | 13852 | |
9678de49 DR |
13853 | * adaint.h: Fix typo |
13854 | ||
3b9a13c4 RD |
13855 | 2001-12-03 Robert Dewar <dewar@gnat.com> |
13856 | ||
667e5c5d | 13857 | * sinfo.ads: Minor reformatting. N_Freeze_Entity node does not |
b4f94ac1 | 13858 | have Associated_Node. |
3b9a13c4 | 13859 | |
767b404e RD |
13860 | 2001-12-03 Robert Dewar <dewar@gnat.com> |
13861 | ||
13862 | * prj-proc.adb: Minor reformatting | |
667e5c5d | 13863 | |
767b404e RD |
13864 | * make.adb: Minor reformatting |
13865 | ||
11ac71ba GB |
13866 | 2001-12-03 Geert Bosch <bosch@gnat.com> |
13867 | ||
667e5c5d | 13868 | * make.adb: Minor reformatting. |
11ac71ba | 13869 | |
ef3d4d6e | 13870 | 2001-12-03 Robert Dewar <dewar@gnat.com> |
b1446533 RD |
13871 | |
13872 | * sem_ch12.adb: Minor reformatting | |
13873 | ||
d6d32b24 ES |
13874 | 2001-12-03 Ed Schonberg <schonber@gnat.com> |
13875 | ||
667e5c5d AJ |
13876 | * sem_ch12.adb (Inline_Instance_Body): Use Save_Scope_Stack and |
13877 | push Standard on the stack before analyzing the instance body, | |
d6d32b24 | 13878 | in order to have a clean visibility environment. |
667e5c5d AJ |
13879 | |
13880 | * sem_ch12.adb (Inline_Instance_Body): Remove redundant code. | |
d6d32b24 | 13881 | |
13f08f03 ES |
13882 | 2001-12-03 Ed Schonberg <schonber@gnat.com> |
13883 | ||
667e5c5d | 13884 | * sem_ch12.adb (Instantiate_Package_Body): Protect against double |
13f08f03 ES |
13885 | instantiation of a body that contains an inlined body. |
13886 | ||
3bd6c100 ES |
13887 | 2001-12-03 Ed Schonberg <schonber@gnat.com> |
13888 | ||
13889 | * sem_ch12.adb: | |
13890 | (Analyze_generic_subprogram_Declaration): Set outer_generic_scope, | |
13891 | to prevent freezing within formal packages. | |
13892 | (Freeze_Subprogram_Body): If body comes from another instance that | |
13893 | appeared before its own body, place freeze node at end of current | |
13894 | declarative part, to prevent a back-end crash. | |
13895 | (Inline_Instance_Body): Handle properly a package instance within | |
13896 | a subprogram instance that is a child unit. | |
13897 | ||
58d07d8f GS |
13898 | 2001-12-01 Graham Stott <grahams@redhat.com> |
13899 | ||
13900 | * Makefile.in (misc.o): Add missing $(srcdir) prefix | |
13901 | and add optabs.h dependency. | |
13902 | ||
13903 | * misc.c: Include optabs.h | |
13904 | (gnat_tree_code_type): Make static and const. | |
13905 | (gnat_tree_code_length): Likewise. | |
13906 | (gnat_tree_code_name): Likewise. | |
13907 | (update_setjmp_buf): Obtain operands mode from insn_data. | |
13908 | ||
c87222f0 RH |
13909 | 2001-11-29 Richard Henderson <rth@redhat.com> |
13910 | ||
13911 | * init.c: Remove obsolete dwarf2 frame.h section. | |
13912 | ||
d3945f0a JM |
13913 | 2001-11-29 Joseph S. Myers <jsm28@cam.ac.uk> |
13914 | ||
13915 | * Make-lang.in (ada.generated-manpages): New dummy target. | |
13916 | ||
9f639397 ES |
13917 | 2001-11-29 Ed Schonberg <schonber@gnat.com> |
13918 | ||
667e5c5d AJ |
13919 | * g-os_lib.adb (Add_To_Command): use explicit loop to move string |
13920 | into Command, an array conversion is illegal here. Uncovered by | |
9f639397 ES |
13921 | ACATS B460005. |
13922 | ||
c835e5c6 GB |
13923 | 2001/11/28 Geert Bosch <bosch@gnat.com> |
13924 | ||
13925 | * init.c: Minor whitespace changes. | |
13926 | ||
49bb4548 DR |
13927 | 2001-11-28 Doug Rupp <rupp@gnat.com> |
13928 | ||
667e5c5d | 13929 | * init.c: (__gnat_install_handler,VMS): Increase size of alternate |
49bb4548 DR |
13930 | signal stack. |
13931 | ||
ea2417e5 ZW |
13932 | 2001-11-28 Zack Weinberg <zack@codesourcery.com> |
13933 | ||
13934 | * misc.c (gnat_expand_constant): Move declaration above | |
13935 | definition of lang_hooks. | |
13936 | (LANG_HOOKS_EXPAND_CONSTANT): Set to gnat_expand_constant. | |
13937 | (gnat_init): lang_expand_constant no longer exists. | |
13938 | ||
13939 | (internal_error_function): Remove #ifdef HAVE_VPRINTF. We | |
13940 | always have vprintf. | |
13941 | (gnat_init): Always call set_internal_error_function. | |
13942 | ||
f8e0aa73 AJ |
13943 | 2001-11-27 Andreas Jaeger <aj@suse.de> |
13944 | ||
13945 | * Makefile.in (stamp-tool_src_dir): Use symbolic link. | |
13946 | ||
d99b0e79 LG |
13947 | 2001-11-27 Laurent Guerby <guerby@acm.org> |
13948 | ||
13949 | * Makefile.in: Regenerate Ada dependencies. | |
13950 | ||
3f0496e5 RH |
13951 | 2001-11-26 Richard Henderson <rth@redhat.com> |
13952 | ||
13953 | * Make-lang.in (gnatbind, gnatmake, gnatbl, gnatchop, gnatcmd, | |
13954 | gnatlink, gnatkr, gnatls, gnatmem, gnatprep, gnatpsta, gnatpsys, | |
13955 | gnatxref, gnatfind, gnatlbr): Depend on CONFIG_H and prefix.o. | |
13956 | ||
92fa4733 LG |
13957 | 2001-11-25 Laurent Guerby <guerby@acm.org> |
13958 | ||
13959 | * sysdep.c (rts_get_*): Fix style. | |
13960 | ||
07626501 LG |
13961 | 2001-11-19 Laurent Guerby <guerby@acm.org> |
13962 | ||
13963 | * Makefile.in (INCLUDES_FOR_SUBDIR): Remove redundant system include | |
13964 | since it is of no apparent use and cause warnings. | |
13965 | ||
22703ccc NB |
13966 | 2001-11-18 Neil Booth <neil@daikokuya.demon.co.uk> |
13967 | ||
13968 | * misc.c (gnat_decode_option, gnat_init_options): Make definitions | |
13969 | static too. | |
13970 | (gnat_init): Don't return NULL. | |
13971 | (finish_parse): Remove. | |
13972 | ||
b0df4321 LG |
13973 | 2001-11-17 Laurent Guerby <guerby@acm.org> |
13974 | ||
13975 | * Make-lang.in (GNATLIBFLAGS): Add -W -Wall. | |
13976 | * gigi.h (init_decl_processing): Rename to gnat_init_decl_processing. | |
13977 | * io-aux.c: Provide K&R prototypes to all functions, reformat code. | |
13978 | * lang-spec.h: Add missing struct field to silence warnings. | |
13979 | * sysdep.c (rts_get_*): Provide K&R prototype. | |
13980 | * sysdep.c (Unlock_Task, Lock_Task): Move to K&R prototype. | |
13981 | * traceback.c (Unlock_Task, Lock_Task): Likewise. | |
13982 | * tracebak.c (__gnat_backtrace): Remove unused variable. | |
13983 | * utils.c (end_subprog_body): Move to K&R style. | |
13984 | ||
d215024f RK |
13985 | Thu Nov 15 18:16:17 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> |
13986 | ||
13987 | * trans.c, utils2.c: Remove PALIGN parameter to get_inner_reference. | |
13988 | ||
f5e99456 NB |
13989 | 2001-11-15 Neil Booth <neil@daikokuya.demon.co.uk> |
13990 | ||
13991 | * misc.c (gnat_init): Change prototype. Include the | |
13992 | functionality of the old init_parse and init_decl_processing. | |
13993 | (gnat_init_decl_processing): New prototype. | |
13994 | (init_parse): Remove. | |
13995 | * utils.c (init_decl_processing): Rename gnat_init_decl_processing. | |
13996 | ||
5d69f816 NB |
13997 | 2001-11-09 Neil Booth <neil@daikokuya.demon.co.uk> |
13998 | ||
13999 | * misc.c (gnat_print_decl, gnat_print_type): Renamed. | |
14000 | (LANG_HOOKS_PRINT_DECL, LANG_HOOKS_PRINT_TYPE): Override. | |
14001 | (print_lang_statistics, lang_print_xnode, print_lang_identifier, | |
14002 | set_yydebug): Remove. | |
14003 | ||
3ac88239 NB |
14004 | 2001-11-09 Neil Booth <neil@daikokuya.demon.co.uk> |
14005 | ||
14006 | * misc.c (LANG_HOOKS_NAME, LANG_HOOKS_IDENTIFIER_SIZE): Override. | |
14007 | (struct lang_hooks): Constify. | |
14008 | (language_string, lang_identify): Remove. | |
14009 | * utils.c (init_decl_processing): Update. | |
14010 | ||
d23c55c2 NB |
14011 | 2001-11-06 Neil Booth <neil@cat.daikokuya.demon.co.uk> |
14012 | ||
14013 | * misc.c: Include langhooks-def.h. | |
14014 | * Makefile.in: Update. | |
14015 | ||
04a1b79c RD |
14016 | 2001-10-30 Robert Dewar <dewar@gnat.com> |
14017 | ||
14018 | * style.adb: | |
14019 | (Check_Identifier): Rewrite circuit to be compatible with use of letters | |
14020 | in the upper half of ASCII. | |
14021 | (Check_Identifier): Minor reformatting | |
14022 | ||
81fa2d39 GB |
14023 | 2001-10-30 Geert Bosch <bosch@gnat.com> |
14024 | ||
f8e0aa73 | 14025 | * (Associated_Node, Set_Associated_Node): Do not check for |
81fa2d39 GB |
14026 | Freeze_Entity. |
14027 | ||
ffc5527f RD |
14028 | 2001-10-30 Robert Dewar <dewar@gnat.com> |
14029 | ||
14030 | * a-reatim.ads: Minor reformatting | |
14031 | ||
865335eb RD |
14032 | 2001-10-30 Robert Dewar <dewar@gnat.com> |
14033 | ||
f8e0aa73 | 14034 | * gnatdll.adb: Minor reformatting throughout. Many ??? added for |
865335eb RD |
14035 | undocumented declarations. |
14036 | ||
5e257178 PO |
14037 | 2001-10-30 Pascal Obry <obry@gnat.com> |
14038 | ||
f8e0aa73 | 14039 | * gnatdll.adb (Parse_Command_Line): handle -g option to be passed |
5e257178 PO |
14040 | to the binder and linker. |
14041 | Minor style fix. | |
f8e0aa73 | 14042 | |
5e257178 PO |
14043 | * mdll.ads: Fix layout. Update copyright notice. |
14044 | ||
14045 | * mdll.adb: Fix layout. Update copyright notice. | |
14046 | ||
1753e0ad RD |
14047 | 2001-10-30 Robert Dewar <dewar@gnat.com> |
14048 | ||
14049 | * usage.adb: Minor fix to output for -gnaty. | |
14050 | ||
84bfdde0 ES |
14051 | 2001-10-30 Ed Schonberg <schonber@gnat.com> |
14052 | ||
f8e0aa73 AJ |
14053 | * a-reatim.ads: Makes Seconds_Count into a 64-bit integer, |
14054 | to accommodate all its possible values. | |
84bfdde0 | 14055 | |
f8e0aa73 | 14056 | * a-reatim.adb (Split): Special-case handling of Time_Span_First |
84bfdde0 ES |
14057 | and of small absolute values of T. |
14058 | ||
c296e5fc RK |
14059 | 2001-10-30 Richard Kenner <kenner@gnat.com> |
14060 | ||
f8e0aa73 AJ |
14061 | * misc.c (gnat_expand_expr, case NULL_EXPR): Remove call to |
14062 | set_mem_attributes since not needed and wrong if RESULT if a REG; | |
c296e5fc RK |
14063 | fixes ACATS failures. |
14064 | ||
07c809df GB |
14065 | 2001-10-30 Geert Bosch <bosch@gnat.com> |
14066 | ||
14067 | * 86numaux.adb, a-tigeau.ads, a-wtgeau.ads, fname-sf.ads, g-traceb.ads, | |
14068 | s-tasdeb.ads, sem_maps.ads: Add 2001 to copyright notice. | |
14069 | ||
54d22416 | 14070 | 2001-10-30 Robert Dewar <dewar@gnat.com> |
f8e0aa73 | 14071 | |
54d22416 | 14072 | * bindusg.adb: Undocument -f switch. |
f8e0aa73 | 14073 | |
54d22416 | 14074 | * gnatcmd.adb: Remove /FULL_ELABORATION. |
f8e0aa73 AJ |
14075 | |
14076 | * opt.ads (Force_RM_Elaboration_Order): Document that this is | |
54d22416 | 14077 | obsolescent. |
f8e0aa73 | 14078 | |
54d22416 | 14079 | * gnatbind.adb: Output new warning for use of obsolescent -f switch. |
f8e0aa73 | 14080 | |
54d22416 RD |
14081 | * gnatbind.adb: Minor update of warning msg. |
14082 | ||
af5cf6f8 VC |
14083 | 2001-10-30 Vincent Celier <celier@gnat.com> |
14084 | ||
f8e0aa73 | 14085 | * gnatcmd.adb (MAKE, BIND, LINK, LIST, FIND, XREF): Add translations |
af5cf6f8 | 14086 | for project file switches (-P (/PROJECT_FILE=), |
f8e0aa73 | 14087 | -X (/EXTERNAL_REFERENCE=) and -vPx (/PROJECT_FILE_VERBOSITY=DEFAULT |
af5cf6f8 VC |
14088 | or MEDIUM or HIGH) |
14089 | ||
984bc4c3 GB |
14090 | 2001-10-30 Geert Bosch <bosch@gnat.com> |
14091 | ||
14092 | * decl.c: Minor whitespace fixes. | |
14093 | ||
5dece937 RK |
14094 | 2001-10-30 Richard Kenner <kenner@gnat.com> |
14095 | ||
14096 | * utils2.c (build_allocator): Test for SIZE overflow in array case too | |
14097 | ||
de4bf6cb GB |
14098 | 2001-10-30 Geert Bosch <bosch@gnat.com> |
14099 | ||
f8e0aa73 | 14100 | * ali-util.adb (Initialize_Checksum): Use out-mode instead of in out. |
de4bf6cb | 14101 | Found due to GCC 3.0 warning of using uninitialized value. |
f8e0aa73 | 14102 | |
de4bf6cb GB |
14103 | * layout.adb: |
14104 | (Get_Max_Size): Use variant record for tracking value/expression. | |
14105 | Makes logic clearer and prevents warnings for uninitialized variables. | |
14106 | (Layout_Array_Type): Use variant record for tracking value/expression. | |
14107 | Makes logic clearer and prevents warnings for uninitialized variables. | |
14108 | ||
f5e44987 RD |
14109 | 2001-10-30 Robert Dewar <dewar@gnat.com> |
14110 | ||
14111 | * lib.adb: Minor reformatting | |
14112 | ||
14113 | * s-taprop.ads: Minor reformatting | |
14114 | ||
45659035 | 14115 | 2001-10-29 Laurent Guerby <guerby@acm.org> |
f8e0aa73 | 14116 | |
45659035 GB |
14117 | * init.c: |
14118 | (Raise_From_Signal_Handler, Propagate_Signal_Exception): Make arg | |
14119 | const. | |
14120 | (_gnat_error_handler): Make MSG const. | |
14121 | ||
14122 | 2001-10-29 Richard Kenner <kenner@gnat.com> | |
14123 | ||
14124 | * sysdep.c: Fix localtime_r problem on LynxOS. | |
14125 | Also remove #elif to avoid warnings. | |
f8e0aa73 AJ |
14126 | |
14127 | * misc.c (yyparse): Don't set up and register jmpbuf; remove decls | |
45659035 | 14128 | used by this. |
f8e0aa73 | 14129 | |
45659035 GB |
14130 | * decl.c (annotate_value): Make SIZE unsigned to avoid warning. |
14131 | ||
638e383e JM |
14132 | 2001-10-28 Joseph S. Myers <jsm28@cam.ac.uk> |
14133 | ||
14134 | * 86numaux.adb, a-tigeau.ads, a-wtgeau.ads, decl.c, exp_ch6.adb, | |
14135 | exp_ch9.adb, exp_util.adb, fname-sf.ads, freeze.ads, g-awk.adb, | |
14136 | g-comlin.ads, g-dirope.adb, g-dyntab.ads, g-socket.ads, | |
14137 | g-table.ads, g-traceb.ads, gnat-style.texi, gnatchop.adb, init.c, | |
14138 | layout.adb, layout.ads, mdllfile.ads, mlib-fil.ads, osint.ads, | |
14139 | s-fatgen.adb, s-imgrea.adb, s-taprop.ads, s-tasdeb.ads, | |
14140 | sem_aggr.adb, sem_attr.adb, sem_case.ads, sem_ch13.adb, | |
14141 | sem_ch3.adb, sem_elab.adb, sem_maps.ads, sem_res.adb, | |
14142 | sem_util.ads, sinfo.ads, sinput.ads, table.adb, table.ads, | |
14143 | types.ads, urealp.adb: Fix spelling errors. | |
14144 | ||
97f6baa0 LG |
14145 | 2001-10-27 Laurent Guerby <guerby@acm.org> |
14146 | ||
14147 | * trans.c (gigi): Fix non determinism leading to bootstrap | |
14148 | comparison failures for debugging information. | |
14149 | ||
46b58b8c FW |
14150 | 2001-10-26 Florian Weimer <fw@deneb.enyo.de> |
14151 | ||
14152 | * gnat_rm.texi: Use @./@: where appropriate. | |
14153 | ||
30151c7b RD |
14154 | 2001-10-26 Robert Dewar <dewar@gnat.com> |
14155 | ||
14156 | * sinfo.adb: Define Associated_Node to overlap Entity field. Cleanup. | |
14157 | ||
c0b1738d RK |
14158 | 2001-10-26 Richard Kenner <kenner@gnat.com> |
14159 | ||
14160 | * gmem.c (__gnat_gmem_read_next): Properly check for EOF | |
14161 | ||
5b09c153 RK |
14162 | 2001-10-26 Richard Kenner <kenner@gnat.com> |
14163 | ||
f8e0aa73 | 14164 | * decl.c (validate_size): Modify message for bad size to avoid |
5b09c153 RK |
14165 | implication that compiler is modifying the size. |
14166 | ||
4d553668 RD |
14167 | 2001-10-26 Robert Dewar <dewar@gnat.com> |
14168 | ||
14169 | * prj-util.adb: Minor reformatting. Fix bad header format. | |
14170 | ||
3e542a58 RD |
14171 | 2001-10-26 Robert Dewar <dewar@gnat.com> |
14172 | ||
14173 | * sinfo.ads: Define Associated_Node to overlap Entity field. Cleanup. | |
f8e0aa73 | 14174 | |
3e542a58 | 14175 | * sinfo.ads: Clarify use of Associated_Node (documentation only). |
f8e0aa73 AJ |
14176 | |
14177 | * sem_ch12.adb: Change Node4 to Associated_Node. Change | |
14178 | Associated_Node to Get_Associated_Node. Put use of Unchecked_Access | |
3e542a58 RD |
14179 | much more narrowly in places where needed. These are cleanups. |
14180 | ||
0bf08bfe JB |
14181 | 2001-10-26 Joel Brobecker <brobecke@gnat.com> |
14182 | ||
14183 | * 5zosinte.ads (null_pthread): new constant. | |
f8e0aa73 | 14184 | |
0bf08bfe JB |
14185 | * 5ztaprop.adb: |
14186 | (Initialize_TCB): Initialize thread ID to null, to be able to verify | |
14187 | later that this field has been set. | |
14188 | (Finalize_TCB): ditto. | |
14189 | (Suspend_Task): Verify that the thread ID is not null before using it. | |
14190 | (Resume_Task): ditto. | |
f8e0aa73 | 14191 | |
0bf08bfe JB |
14192 | * s-tasdeb.adb: |
14193 | (Resume_All_Tasks): Lock the tasks list before using it. | |
14194 | (Suspend_All_Tasks): ditto. | |
14195 | ||
7a3a8c06 RK |
14196 | 2001-10-26 Richard Kenner <kenner@gnat.com> |
14197 | ||
f8e0aa73 | 14198 | * decl.c (gnat_to_gnu_entity, case E_General_Access_Type): |
7a3a8c06 RK |
14199 | Make constant variant of designated type for Is_Access_Constant. |
14200 | Call update_pointer_to with main variant. | |
f8e0aa73 AJ |
14201 | |
14202 | * trans.c (process_freeze_entity, process_type): | |
7a3a8c06 | 14203 | Call update_pointer_to on main variant. |
f8e0aa73 | 14204 | |
7a3a8c06 RK |
14205 | * utils.c (update_pointer_to): Make corresponding variant for NEW_TYPE. |
14206 | If main variant, update all other variants. | |
f8e0aa73 AJ |
14207 | |
14208 | * utils2.c (build_unary_op, case INDIRECT_REF): No longer set | |
7a3a8c06 RK |
14209 | TREE_STATIC. |
14210 | ||
a160babb RD |
14211 | 2001-10-26 Robert Dewar <dewar@gnat.com> |
14212 | ||
14213 | * prj-util.adb: Minor reformatting | |
14214 | ||
b403bd17 RD |
14215 | 2001-10-26 Robert Dewar <dewar@gnat.com> |
14216 | ||
14217 | * prj-util.adb: Minor reformatting | |
14218 | ||
5fc3b4c7 RD |
14219 | 2001-10-26 Robert Dewar <dewar@gnat.com> |
14220 | ||
14221 | * prj-attr.adb: Minor reformatting throughout | |
14222 | ||
8c736034 RD |
14223 | 2001-10-26 Robert Dewar <dewar@gnat.com> |
14224 | ||
14225 | * prj-attr.ads: Minor reformatting | |
14226 | Add ??? comment (this whole spec has almost no comments) | |
14227 | ||
47d5b6ed VC |
14228 | 2001-10-26 Vincent Celier <celier@gnat.com> |
14229 | ||
f8e0aa73 | 14230 | * g-os_lib.adb (Normalize_Pathname): Preserve the double slash |
b4f94ac1 | 14231 | ("//") that precede the drive letter on Interix. |
47d5b6ed | 14232 | |
41af791f GB |
14233 | 2001-10-26 Geert Bosch <bosch@gnat.com> |
14234 | ||
14235 | * gnat_rm.texi: Add GNAT Reference Manual. | |
14236 | ||
ed4a1468 RD |
14237 | 2001-10-25 Robert Dewar <dewar@gnat.com> |
14238 | ||
f8e0aa73 | 14239 | * sem_ch8.adb (Analyze_Package_Renaming): Skip analysis if Name |
b4f94ac1 | 14240 | is Error. Similar change for other renaming cases. |
ed4a1468 | 14241 | |
24377ae4 RD |
14242 | 2001-10-25 Robert Dewar <dewar@gnat.com> |
14243 | ||
14244 | * s-atacco.ads: Add pragma Inline_Always for functions. | |
14245 | Fix header format. Add copyright 2001 | |
14246 | ||
fef3204e ES |
14247 | 2001-10-25 Ed Schonberg <schonber@gnat.com> |
14248 | ||
f8e0aa73 | 14249 | * par-ch3.adb (P_Subtype_Mark_Resync): for an anonymous array |
b4f94ac1 | 14250 | return Error rather than Empty so that analysis can proceed. |
fef3204e | 14251 | |
dfc69d80 ES |
14252 | 2001-10-25 Ed Schonberg <schonber@gnat.com> |
14253 | ||
f8e0aa73 | 14254 | * sem_util.adb (Enter_Name): better handling of cascaded error |
b4f94ac1 | 14255 | messages when a unit appears in its own context. |
dfc69d80 | 14256 | |
5a15af62 ES |
14257 | 2001-10-25 Ed Schonberg <schonber@gnat.com> |
14258 | ||
f8e0aa73 | 14259 | * sem_util.adb (Defining_Entity): in case of error, attach created |
b4f94ac1 | 14260 | entity to specification, so that semantic analysis can proceed. |
5a15af62 | 14261 | |
2b881d53 RD |
14262 | 2001-10-25 Robert Dewar <dewar@gnat.com> |
14263 | ||
f8e0aa73 | 14264 | * sem_util.adb |
b4f94ac1 | 14265 | (Defining_Entity): Deal with Error. |
2b881d53 RD |
14266 | (Process_End_Label): Deal with bad end label for. |
14267 | ||
578053f2 ES |
14268 | 2001-10-25 Ed Schonberg <schonber@gnat.com> |
14269 | ||
f8e0aa73 | 14270 | * sem_elab.adb (Check_A_Call): refine message when call is in an |
578053f2 ES |
14271 | instance but callee is not declared in the generic unit. |
14272 | ||
0597ce0b | 14273 | 2001-10-25 Ed Schonberg <schonber@gnat.com> |
f8e0aa73 AJ |
14274 | |
14275 | * sem_elab.adb (Check_A_Call): check for renaming before finding the | |
0597ce0b ES |
14276 | enclosing unit, which may already be different from the calling unit. |
14277 | ||
3de6e6da GB |
14278 | 2001-10-25 Geert Bosch <bosch@gnat.com> |
14279 | ||
14280 | * 4gintnam.ads: fix header format. | |
14281 | ||
6f311316 ES |
14282 | 2001-10-25 Ed Schonberg <schonber@gnat.com> |
14283 | ||
f8e0aa73 | 14284 | * sem_res.adb (Resolve_Call): if the call is actually an indexing |
b4f94ac1 ZW |
14285 | operation on the result of a parameterless call, perform elaboration |
14286 | check after the node has been properly rewritten. | |
f8e0aa73 AJ |
14287 | |
14288 | * sem_ch12.adb (Copy_Generic_Node): after the proper body has been | |
b4f94ac1 ZW |
14289 | inlined within the generic tree, the defining identifier is not a |
14290 | compilation_unit. | |
6f311316 | 14291 | |
17be0cdf ES |
14292 | 2001-10-25 Ed Schonberg <schonber@gnat.com> |
14293 | ||
f8e0aa73 | 14294 | * sem_res.adb (Resolve): special-case resolution of Null in an |
b4f94ac1 | 14295 | instance or an inlined body to avoid view conflicts. |
f8e0aa73 AJ |
14296 | |
14297 | * sem_ch12.adb (Copy_Generic_Node): for allocators, check for view | |
b4f94ac1 | 14298 | compatibility by retrieving the access type of the generic copy. |
17be0cdf | 14299 | |
ce9e9122 RD |
14300 | 2001-10-25 Robert Dewar <dewar@gnat.com> |
14301 | ||
14302 | * sem_ch3.adb: | |
14303 | (Analyze_Number_Declaration): Handle error expression. | |
14304 | (Signed_Integer_Type_Declaration): Handle error bound. | |
14305 | (Analyze_Subtype_Indication): Handle error range. | |
f8e0aa73 | 14306 | |
ce9e9122 RD |
14307 | * sem_util.adb (Get_Index_Bounds): Check for Error. |
14308 | ||
e12fbc9e RD |
14309 | 2001-10-25 Robert Dewar <dewar@gnat.com> |
14310 | ||
f8e0aa73 | 14311 | * restrict.adb (Set_No_Run_Time_Mode): Set Discard_Names as default |
e12fbc9e RD |
14312 | in no run time mode. |
14313 | ||
52b80488 PO |
14314 | 2001-10-25 Pascal Obry <obry@gnat.com> |
14315 | ||
f8e0aa73 | 14316 | * gnatmem.adb (Read_Next): fix Curs2 value to properly handle quiet |
b4f94ac1 | 14317 | mode case for ALLOC case. |
f8e0aa73 AJ |
14318 | |
14319 | * gnatmem.adb (Read_Next): correctly fix parsing in Quiet mode on | |
b4f94ac1 | 14320 | all platforms. Improvement of last change. |
52b80488 | 14321 | |
316ad9c5 RD |
14322 | 2001-10-25 Robert Dewar <dewar@gnat.com> |
14323 | ||
14324 | * exp_ch4.adb (Expand_N_Allocator): Minor reformatting. | |
14325 | ||
1a7e4df4 GB |
14326 | 2001-10-25 Geert Bosch <bosch@gnat.com> |
14327 | ||
14328 | * osint.adb (Is_Relative): Remove duplicate. | |
14329 | ||
90a9fff2 PO |
14330 | 2001-10-25 Pascal Obry <obry@gnat.com> |
14331 | ||
f8e0aa73 | 14332 | * osint.adb (Read_Default_Search_Dirs): correctly detect relative |
b4f94ac1 | 14333 | pathnames in UNIX and DOS style with drive letter. |
90a9fff2 | 14334 | (Is_Relative): new routine. |
f8e0aa73 | 14335 | |
90a9fff2 | 14336 | * osint.adb: Minor reformatting |
f8e0aa73 AJ |
14337 | |
14338 | * osint.adb (Is_Relative): implementation using | |
b4f94ac1 | 14339 | GNAT.OS_Lib.Is_Absolute_Path. Better fix. |
90a9fff2 | 14340 | |
5c1ba4cc PO |
14341 | 2001-10-25 Pascal Obry <obry@gnat.com> |
14342 | ||
f8e0aa73 | 14343 | * g-dirope.adb (Basename): correctly compute offset between the |
b4f94ac1 | 14344 | original Path and the translated one. |
f8e0aa73 | 14345 | |
5c1ba4cc PO |
14346 | * g-dirope.adb: (Base_Name): add some comments. |
14347 | ||
a7fb206d RD |
14348 | 2001-10-25 Robert Dewar <dewar@gnat.com> |
14349 | ||
f8e0aa73 | 14350 | * exp_imgv.adb (Expand_Image_Attribute): Defend against bad use |
b4f94ac1 | 14351 | in HIE mode, avoids compilation abandoned message |
f8e0aa73 | 14352 | |
a7fb206d | 14353 | * exp_imgv.adb: Correct typo in previous change |
f8e0aa73 | 14354 | |
a7fb206d RD |
14355 | * exp_imgv.adb: Correct typo in previous change (not my day!) |
14356 | ||
e6a7e62e RD |
14357 | 2001-10-25 Robert Dewar <dewar@gnat.com> |
14358 | ||
14359 | * s-tpinop.ads: Add 2001 to copyright notice. Fix header format. | |
14360 | ||
0d2b8e0b | 14361 | 2001-10-25 Pascal Obry <obry@gnat.com> |
75c09e7d | 14362 | |
f8e0aa73 | 14363 | * g-awk.ads: Move all pragma inlines next to the routine |
0d2b8e0b | 14364 | declarations. This is more uniform with other GNAT spec. |
75c09e7d | 14365 | |
0d2b8e0b | 14366 | 2001-10-22 Geert Bosch <bosch@gnat.com> |
d2740a69 GB |
14367 | |
14368 | * Make-lang.in (gnattools, cross-gnattools): Remove gnatmem. | |
14369 | ||
0d2b8e0b | 14370 | 2001-10-19 Geert Bosch <bosch@gnat.com> |
d7ac9bdd GB |
14371 | |
14372 | * Makefile.in (tools, gnattools): Remove gnatmem. | |
14373 | ||
17ed6335 RH |
14374 | 2001-10-17 Richard Henderson <rth@redhat.com> |
14375 | ||
14376 | * Makefile.in (misc.o): Depend on langhooks.h. | |
14377 | * misc.c: Include it. | |
14378 | (LANG_HOOKS_INIT, LANG_HOOKS_INIT_OPTIONS): New. | |
14379 | (LANG_HOOKS_DECODE_OPTION): New. | |
14380 | (lang_hooks): Use LANG_HOOKS_INITIALIZER. | |
14381 | ||
f2436274 FW |
14382 | 2001-10-16 Florian Weimer <fw@deneb.enyo.de> |
14383 | ||
14384 | * trans.c (tree_transform): Adjust to recent change in | |
14385 | expand_asm_operands to implement named asm operands. | |
14386 | ||
b14127e6 ES |
14387 | 2001-10-11 Ed Schonberg <schonber@gnat.com> |
14388 | ||
f8e0aa73 | 14389 | * exp_ch8.adb (Expand_N_Object_Renaming_Declaration): Bugfix in |
b14127e6 ES |
14390 | renaming of discriminant for mutable record type. |
14391 | ||
e70ee92a RD |
14392 | 2001-10-11 Robert Dewar <dewar@gnat.com> |
14393 | ||
14394 | * validsw.adb: Properly save -gnatVn status. | |
14395 | ||
9a5621d7 | 14396 | 2001-10-11 Robert Dewar <dewar@gnat.com> |
f8e0aa73 | 14397 | |
9a5621d7 RD |
14398 | * usage.adb: Add lines for V switch. |
14399 | ||
f8e0aa73 | 14400 | * gnatcmd.adb (COMPILE): Revise translations for -gnatV |
9a5621d7 RD |
14401 | (/VALIDITY_CHECKING). |
14402 | ||
45667f04 ES |
14403 | 2001-10-11 Ed Schonberg <schonber@gnat.com> |
14404 | ||
f8e0aa73 | 14405 | * sem_type.adb (Add_One_Interp): an operator for a type declared in |
45667f04 ES |
14406 | an extension of System is known to be visible. |
14407 | ||
c3de5c4c ES |
14408 | 2001-10-11 Ed Schonberg <schonber@gnat.com> |
14409 | ||
f8e0aa73 | 14410 | * sem_eval.adb (Compare_Fixup): get the bounds of a String_Literal |
c3de5c4c ES |
14411 | properly. Fixes regression on ACATS C34005G. |
14412 | ||
4fa964a6 RD |
14413 | 2001-10-11 Robert Dewar <dewar@gnat.com> |
14414 | ||
f8e0aa73 | 14415 | * sem_ch5.adb (Analyze_Iteration_Scheme): Suppress warning on null |
4fa964a6 RD |
14416 | loop in generic instance, since this is likely not very useful. |
14417 | ||
0868e09c RD |
14418 | 2001-10-11 Robert Dewar <dewar@gnat.com> |
14419 | ||
f8e0aa73 | 14420 | * restrict.adb (Disallow in No_Run_Time_Mode): Properly specialize |
0868e09c | 14421 | the error message for high integrity mode. |
f8e0aa73 AJ |
14422 | |
14423 | * rtsfind.adb (RTE): Give message if we try to find an entity that | |
0868e09c | 14424 | is not available in high integrity mode. |
f8e0aa73 | 14425 | |
0868e09c RD |
14426 | * rtsfind.ads: |
14427 | (OK_To_Use_In_HIE_Mode): New array. | |
14428 | (RTE): May return Empty in high integrity mode. | |
f8e0aa73 AJ |
14429 | |
14430 | * rtsfind.ads (OK_To_Use_In_No_Run_Time_Mode): New name for | |
14431 | OK_To_Use_In_HIE_Mode, now includes System_FAT_xxx. | |
14432 | ||
14433 | * sem_ch6.adb (Analyze_Subprogram_Body): Kill body in predefined | |
14434 | unit if not inlined always and in no runtime mode. Fixes problem | |
0868e09c | 14435 | caused by new Rtsfind changes. |
f8e0aa73 AJ |
14436 | |
14437 | * sem_ch6.adb (Analyze_Subrogram_Body): Do not Check_References if | |
0868e09c | 14438 | body is deleted. |
f8e0aa73 AJ |
14439 | |
14440 | * rtsfind.adb (RTE): Make sure we do not try to load unit after | |
0868e09c RD |
14441 | giving message for entity not available in high integrity mode. |
14442 | ||
934abf9c | 14443 | 2001-10-11 Pascal Obry <obry@gnat.com> |
f8e0aa73 | 14444 | |
934abf9c PO |
14445 | * impunit.adb: Add GNAT.CRC32. |
14446 | ||
3c72bea4 ES |
14447 | 2001-10-11 Ed Schonberg <schonber@gnat.com> |
14448 | ||
f8e0aa73 AJ |
14449 | * exp_fixd.adb (Expand_Multiply_Fixed_By_Fixed_Giving_Fixed): handle |
14450 | properly the case where one universal operand in a non-static | |
3c72bea4 ES |
14451 | exponentiation of a real literal. |
14452 | ||
44d8d2bb ES |
14453 | 2001-10-11 Ed Schonberg <schonber@gnat.com> |
14454 | ||
f8e0aa73 AJ |
14455 | * exp_ch7.adb (Find_Final_List): for a type appearing in a with_type |
14456 | clause, return the gobal finalization list, for lack of anthing else. | |
44d8d2bb | 14457 | |
9e2b9627 ES |
14458 | 2001-10-11 Ed Schonberg <schonber@gnat.com> |
14459 | ||
f8e0aa73 AJ |
14460 | * exp_ch7.adb (Make_Transient_Block): if statement is within |
14461 | exception handler, always use new transient scope to place Clean | |
9e2b9627 ES |
14462 | procedure. |
14463 | ||
cfac6e9f PO |
14464 | 2001-10-11 Pascal Obry <obry@gnat.com> |
14465 | ||
14466 | * Makefile.in: | |
14467 | (GNAT_ADA_OBJS): add g-crc32.o, a-tags.o, a-stream.o | |
14468 | (GNATBIND_OBJS): add g-crc32.o, a-tags.o, a-stream.o | |
14469 | (GNATLS_RTL_OBJS): add g-crc32.o | |
14470 | (GNATMAKE_RTL_OBJS): add g-crc32.o | |
f8e0aa73 | 14471 | |
cfac6e9f PO |
14472 | * ali-util.adb: |
14473 | (CRC_Match): new function. | |
f8e0aa73 | 14474 | (Get_File_Checksum): renamed Get_File_CRC. Use the GNAT.CRC32 unit |
cfac6e9f PO |
14475 | instead of the previous simple checksum algorithm. |
14476 | (Time_Stamp_Mismatch): use CRC_Match for comparison. | |
14477 | (Set_Source_Table): idem. | |
f8e0aa73 | 14478 | |
cfac6e9f | 14479 | * ali-util.ads: |
f8e0aa73 | 14480 | (Get_File_Checksum): renamed Get_File_CRC as now we compute CRC |
cfac6e9f PO |
14481 | instead of simple checksum. |
14482 | (CRC_Match): new function. | |
14483 | (CRC_Error): new constant. | |
f8e0aa73 AJ |
14484 | |
14485 | * ali.adb (Scan_ALI): rename variable Chk to CRC as we are handling | |
14486 | a CRC now and not a simple checksum. A CRC uses lower-case hex | |
cfac6e9f | 14487 | letters, fixes ambiguity in parsing. |
f8e0aa73 AJ |
14488 | |
14489 | * ali.ads (Sdep_Record.Checksum): renamed Sdep_Record.CRC as this | |
cfac6e9f | 14490 | is what this variable will store. |
f8e0aa73 | 14491 | |
cfac6e9f | 14492 | * bcheck.adb: Change reference to chechsum in comments by CRC. |
f8e0aa73 AJ |
14493 | (Check_Consistency): Rename Get_File_Checksum to Get_File_CRC. |
14494 | rename All_Checksum_Match to All_CRC_Match. Change due to API | |
14495 | renaming since now GNAT does not use a simple checksum but a | |
cfac6e9f | 14496 | CRC using GNAT.CRC32. |
f8e0aa73 AJ |
14497 | |
14498 | * gnatls.adb: Rename Checksum to CRC in many places, we use a CRC | |
cfac6e9f | 14499 | now and not anymore a simple checksum. |
f8e0aa73 AJ |
14500 | |
14501 | * lib-load.adb: Use Source_CRC instead of Source_Checksum in many | |
cfac6e9f | 14502 | places. |
f8e0aa73 | 14503 | |
cfac6e9f | 14504 | * lib-writ.adb (Write_ALI): Use Source_CRC instead of Source_Checksum. |
f8e0aa73 | 14505 | |
cfac6e9f PO |
14506 | * scans.adb: |
14507 | (Restore_Scan_State): rename Checksum to CRC. | |
14508 | (Save_Scan_State): idem. | |
f8e0aa73 | 14509 | |
cfac6e9f PO |
14510 | * scans.ads: |
14511 | With GNAT.CRC32. | |
14512 | (Checksum): rename to CRC. | |
14513 | (Saved_Scan_State): Save_Checksum field renamed to Save_CRC | |
f8e0aa73 AJ |
14514 | |
14515 | * scn-nlit.adb: Rename many Accumulate_Checksum to Update (from | |
cfac6e9f | 14516 | GNAT.CRC32). Update copyright notice. |
f8e0aa73 AJ |
14517 | |
14518 | * scn-slit.adb: Rename many Accumulate_Checksum to Update (from | |
cfac6e9f | 14519 | GNAT.CRC32). Update copyright notice. |
f8e0aa73 | 14520 | |
cfac6e9f PO |
14521 | * scn.adb: |
14522 | (Accumulate_Checksum): removed. | |
14523 | (Update): new procedure. Add a wide-character into the CRC. | |
f8e0aa73 | 14524 | |
cfac6e9f PO |
14525 | * sinput-l.adb: |
14526 | (Complete_Source_File_Entry): use CRC32 instead of simple checksum. | |
f8e0aa73 | 14527 | (Load_File): fix initialization of S (change Source_Checksum to |
cfac6e9f | 14528 | Source_CRC) |
f8e0aa73 AJ |
14529 | |
14530 | * sinput-p.adb (Load_Project_File): rename Source_Checksum to | |
cfac6e9f | 14531 | Source_CRC in S initialization. |
f8e0aa73 | 14532 | |
cfac6e9f | 14533 | * sinput.adb (Source_Checksum): renamed to Source_CRC. |
f8e0aa73 | 14534 | |
cfac6e9f PO |
14535 | * sinput.ads (Source_Checksum): renamed to Source_CRC. |
14536 | Update comments for the CRC. | |
f8e0aa73 | 14537 | |
cfac6e9f | 14538 | * types.adb (Hex): Use lowercase for the letter part. |
f8e0aa73 AJ |
14539 | |
14540 | * types.ads (Get_Hex_String): Returns the hexadecimal representation | |
14541 | for a word. This is currently used only for CRC. In previous version, | |
14542 | the checksum was using a representation with all letter being | |
14543 | upper-case. With the new implementation (using CRC) we do not remove | |
14544 | the 32th bit of the CRC, so we can have an upper-case starting letter | |
14545 | in the CRC. This is not possible to parse in Scan_ALI (ali.adb). | |
14546 | It is ambigous since the CRC was optional and could be followed by | |
14547 | options like EB, EE. So now this routines uses lower-case letter for | |
14548 | the hexadecimal representation. Strange enough only lower case letters | |
cfac6e9f | 14549 | where checked in Scan_ALI (even if this was not a possible case). |
f8e0aa73 | 14550 | |
cfac6e9f | 14551 | * gnatvsn.ads (Library_Version): changed to 3.15a. |
f8e0aa73 AJ |
14552 | |
14553 | * s-crc32.ads: Initial version from GNAT.CRC32. This is the version | |
cfac6e9f | 14554 | for the compiler. |
f8e0aa73 AJ |
14555 | |
14556 | * s-crc32.adb: Initial version from GNAT.CRC32. This is the version | |
cfac6e9f | 14557 | for the compiler. |
f8e0aa73 | 14558 | |
cfac6e9f PO |
14559 | * ali-util.adb: Redo previous change to avoid using word CRC everywhere |
14560 | Add 2001 to copyright notice | |
14561 | (Accumulate_Checksum): Modify to use System.CRC32. | |
f8e0aa73 AJ |
14562 | |
14563 | * ali-util.ads: Redo changes of previous revision to continue to use | |
cfac6e9f | 14564 | the word Checksum. Add 2001 to copyright notice. |
f8e0aa73 | 14565 | |
cfac6e9f PO |
14566 | * ali.adb: Undo some of previous changes, not needed. |
14567 | Keep the change for lower case letters in the checksum. | |
f8e0aa73 | 14568 | |
cfac6e9f PO |
14569 | * ali.ads: Undo previous change not needed. |
14570 | ||
14571 | * bcheck.adb: Undo most of previous change, not needed. | |
14572 | But do use Checksums_Match for checksum comparison. | |
f8e0aa73 | 14573 | |
cfac6e9f PO |
14574 | * gnatls.adb: Undo most of previous change, not needed. |
14575 | But do use Checksums_Match for comparing checksums. | |
f8e0aa73 | 14576 | |
cfac6e9f | 14577 | * lib-load.adb: Undo previous change, not needed. |
f8e0aa73 | 14578 | |
cfac6e9f | 14579 | * lib-writ.adb: Undo previous change, not needed. |
f8e0aa73 AJ |
14580 | |
14581 | * lib-writ.ads: Document that checksums use lower case, | |
cfac6e9f | 14582 | not upper case letters. |
f8e0aa73 | 14583 | |
cfac6e9f | 14584 | * scans.adb: Undo previous change, not needed |
f8e0aa73 | 14585 | |
cfac6e9f | 14586 | * scans.ads: Undo previous change, not needed. |
f8e0aa73 | 14587 | |
cfac6e9f | 14588 | * scn-nlit.adb: Undo previous changes, not needed. |
f8e0aa73 | 14589 | |
cfac6e9f | 14590 | * scn-slit.adb: Undo previous change, not needed. Fix header format. |
f8e0aa73 | 14591 | |
cfac6e9f PO |
14592 | * scn.adb: |
14593 | (Accumulate_Checksum): Use System.CRC32. | |
14594 | (Initialize_Checksum): New procedure. | |
14595 | Remove other changes of previous revision. | |
f8e0aa73 | 14596 | |
cfac6e9f | 14597 | * sinput-p.adb: Undo previous change, not needed. |
f8e0aa73 | 14598 | |
cfac6e9f PO |
14599 | * sinput.adb: Undo previous change, not needed. |
14600 | ||
14601 | * sinput-l.adb: Undo previous change, not needed. | |
f8e0aa73 AJ |
14602 | |
14603 | * sinput.ads: Undo previous change, not needed. Keep only comment | |
cfac6e9f | 14604 | on new checksum algorithm |
f8e0aa73 | 14605 | |
cfac6e9f PO |
14606 | * Makefile.in: Add s-crc32 as needed, remove g-crc32. |
14607 | Also remove a-tags and a-stream from GNAT sources. | |
f8e0aa73 | 14608 | |
cfac6e9f | 14609 | * ali.adb (Scan_ALI): fix typo introduce in latest check-in. |
f8e0aa73 | 14610 | |
cfac6e9f PO |
14611 | * Makefile.in (GNATRTL_NONTASKING_OBJS): Add g-crc32.o. |
14612 | ||
4d6d06a5 GB |
14613 | 2001-10-11 Geert Bosch <bosch@gnat.com> |
14614 | ||
14615 | * einfo.h: Regenerate. | |
14616 | ||
14617 | * nmake.ads: Regenerate. | |
14618 | ||
14619 | * nmake.adb: Regenerate. | |
14620 | ||
14621 | * sinfo.h: Regenerate. | |
14622 | ||
14623 | * treeprs.adb: Regenerate. | |
14624 | ||
c97412e2 GB |
14625 | 2001-10-10 Geert Bosch <bosch@gnat.com> |
14626 | ||
14627 | * gnat-style.texi: New file describing coding guidelines for Ada. | |
f8e0aa73 | 14628 | |
b83018ca ES |
14629 | 2001-10-10 Ed Schonberg <schonber@gnat.com> |
14630 | ||
f8e0aa73 | 14631 | * einfo.adb (Write_Entity_Flags): Elaboration_Entity_Required |
b83018ca ES |
14632 | is Flag174. |
14633 | ||
e834fe1f GB |
14634 | 2001-10-10 Geert Bosch <bosch@gnat.com> |
14635 | ||
14636 | * snames.ads: Add new names for project facility. | |
14637 | ||
14638 | * snames.adb: Update to reflect snames.ads changes. | |
14639 | ||
14640 | * snames.h: Update to reflect snames.ads changes. | |
14641 | ||
b30668b7 VC |
14642 | 2001-10-10 Vincent Celier <celier@gnat.com> |
14643 | ||
14644 | * make.adb: | |
14645 | (Add_Switches): reflect the changes for the switches attributes | |
14646 | Default_Switches indexed by the programming language, | |
14647 | Switches indexed by the file name. | |
14648 | (Collect_Arguments_And_Compile): Idem. | |
14649 | Reflect the attribute name changes. | |
f8e0aa73 | 14650 | |
b30668b7 VC |
14651 | * prj-attr.adb: |
14652 | (Initialisation_Data): Change the names of some packages and | |
14653 | attributes. | |
14654 | (Initialize): process case insensitive associative arrays. | |
f8e0aa73 | 14655 | |
b30668b7 VC |
14656 | * prj-attr.ads: |
14657 | (Attribute_Kind): Remove Both, add Case_Insensitive_Associative_Array. | |
f8e0aa73 | 14658 | |
b30668b7 VC |
14659 | * prj-dect.adb: |
14660 | (Parse_Attribute_Declaration): For case insensitive associative | |
14661 | arrays, set the index string to lower case. | |
f8e0aa73 | 14662 | |
b30668b7 VC |
14663 | * prj-env.adb: |
14664 | Reflect the changes of the project attributes. | |
f8e0aa73 | 14665 | |
b30668b7 VC |
14666 | * prj-nmsc.adb: |
14667 | Replace Check_Naming_Scheme by Ada_Check and | |
14668 | Language_Independent_Check. | |
f8e0aa73 | 14669 | |
b30668b7 VC |
14670 | * prj-nmsc.ads: |
14671 | Replaced Check_Naming_Scheme by 2 procedures: | |
14672 | Ada_Check and Language_Independent_Check. | |
f8e0aa73 | 14673 | |
b30668b7 VC |
14674 | * prj-proc.adb: |
14675 | (Process_Declarative_Items): For case-insensitive associative | |
14676 | arrays, set the index string to lower case. | |
14677 | (Recursive_Check): Call Prj.Nmsc.Ada_Check, instead of | |
14678 | Prj.Nmsc.Check_Naming_Scheme. | |
f8e0aa73 | 14679 | |
b30668b7 VC |
14680 | * prj-tree.adb: |
14681 | (Case_Insensitive): New function | |
14682 | (Set_Case_Insensitive): New procedure | |
f8e0aa73 | 14683 | |
b30668b7 VC |
14684 | * prj-tree.ads: |
14685 | (Case_Insensitive): New function | |
14686 | (Set_Case_Insensitive): New procedure | |
14687 | (Project_Node_Record): New flag Case_Insensitive. | |
f8e0aa73 | 14688 | |
b30668b7 VC |
14689 | * prj-util.adb: |
14690 | (Value_Of): new function to get the string value of a single | |
14691 | string variable or attribute. | |
f8e0aa73 | 14692 | |
b30668b7 VC |
14693 | * prj-util.ads: |
14694 | (Value_Of): new function to get the string value of a single | |
14695 | string variable or attribute. | |
f8e0aa73 | 14696 | |
b30668b7 VC |
14697 | * prj.adb: |
14698 | (Ada_Default_Spec_Suffix): New function | |
14699 | (Ada_Default_Impl_Suffix): New function | |
14700 | Change definitions of several constants to reflect | |
14701 | new components of record types. | |
f8e0aa73 | 14702 | |
b30668b7 VC |
14703 | * prj.ads: |
14704 | (Naming_Data): Change several components to reflect new | |
14705 | elements of naming schemes. | |
14706 | (Project_Data): New flags Sources_Present and | |
14707 | Language_Independent_Checked. | |
14708 | (Ada_Default_Spec_Suffix): New function. | |
14709 | (Ada_Default_Impl_Suffix): New function. | |
f8e0aa73 | 14710 | |
b30668b7 VC |
14711 | * snames.ads: |
14712 | Modification of predefined names for project manager: added | |
14713 | Implementation, Specification_Exceptions, Implementation_Exceptions, | |
14714 | Specification_Suffix, Implementation_Suffix, Separate_Suffix, | |
14715 | Default_Switches, _Languages, Builder, Cross_Reference, | |
14716 | Finder. Removed Body_Part, Specification_Append, Body_Append, | |
14717 | Separate_Append, Gnatmake, Gnatxref, Gnatfind, Gnatbind, | |
14718 | Gnatlink. | |
f8e0aa73 | 14719 | |
b30668b7 VC |
14720 | * prj.ads: (Ada_Default_Spec_Suffix, Ada_Default_Impl_Suffix): |
14721 | Add comments. | |
f8e0aa73 | 14722 | |
b30668b7 VC |
14723 | * prj-nmsc.adb (Ada_Check): Test that Separate_Suffix is defaulted, |
14724 | not that it is Nil_Variable_Value. | |
f8e0aa73 | 14725 | |
b30668b7 VC |
14726 | * prj.ads: Add ??? for uncommented declarations |
14727 | ||
662e57b4 ES |
14728 | 2001-10-10 Ed Schonberg <schonber@gnat.com> |
14729 | ||
f8e0aa73 AJ |
14730 | * sem_prag.adb: (Analyze_Pragma, case External): If entity is a |
14731 | constant, do not indicate possible modification, so that gigi can | |
662e57b4 ES |
14732 | treat it as a bona fide constant. |
14733 | ||
72e4357f RD |
14734 | 2001-10-10 Robert Dewar <dewar@gnat.com> |
14735 | ||
14736 | * sem_prag.adb: Add processing for pragma External. | |
f8e0aa73 | 14737 | |
72e4357f | 14738 | * snames.ads: Add entry for pragma External. |
f8e0aa73 | 14739 | |
72e4357f | 14740 | * par-prag.adb: Add pragma External. |
f8e0aa73 | 14741 | |
72e4357f RD |
14742 | * snames.adb: Updated to match snames.ads. |
14743 | ||
7bc1c7df ES |
14744 | 2001-10-10 Ed Schonberg <schonber@gnat.com> |
14745 | ||
14746 | * exp_ch4.adb (Expand_N_Allocator): Generate meaningful names for | |
14747 | a dynamic task if the allocator appears in an indexed assignment | |
14748 | or selected component assignment. | |
f8e0aa73 AJ |
14749 | |
14750 | * exp_util.adb (Build_Task_Array_Image, Build_Task_Record_Image): | |
14751 | For a dynamic task in an assignment statement, use target of | |
7bc1c7df ES |
14752 | assignment to generate meaningful name. |
14753 | ||
c84700e7 ES |
14754 | 2001-10-10 Ed Schonberg <schonber@gnat.com> |
14755 | ||
f8e0aa73 | 14756 | * einfo.adb (Write_Field19_Name): Body_Entity is also defined for |
c84700e7 ES |
14757 | a generic package. |
14758 | ||
14759 | * einfo.ads: Body_Entity is also defined for generic package. | |
14760 | Documentation change only | |
f8e0aa73 AJ |
14761 | |
14762 | * exp_aggr.adb (Build_Array_Aggr_Code): When expanding an | |
14763 | others_choice for a discriminated component initialization, | |
14764 | convert discriminant references into the corresponding discriminals. | |
14765 | ||
14766 | * exp_ch3.adb (Get_Simple_Init_Val): Add qualification to aggregate | |
14767 | only if original type is private and expression has to be wrapped | |
c84700e7 | 14768 | in a conversion. |
f8e0aa73 AJ |
14769 | |
14770 | * checks.adb: | |
14771 | (Apply_Constraint_Check): Do not perform length check | |
c84700e7 | 14772 | if expression is an aggregate with only an others_choice. |
f8e0aa73 | 14773 | (Length_N_Cond): two references to the same in_parameter |
c84700e7 ES |
14774 | (typically the discriminal in an init_proc) denote the same value. |
14775 | Two useful optimization uncovered by bugfixes above. | |
14776 | ||
d8d80dcd RD |
14777 | 2001-10-10 Robert Dewar <dewar@gnat.com> |
14778 | ||
f8e0aa73 | 14779 | * xeinfo.adb: Change int to char in translation of enumeration types. |
d8d80dcd RD |
14780 | This fixes a problem in the C representation of component alignment. |
14781 | Add 2001 to copyright notice | |
14782 | ||
a8fee948 RK |
14783 | 2001-10-10 Richard Kenner <kenner@gnat.com> |
14784 | ||
f8e0aa73 | 14785 | * decl.c: (validate_size): Do check size of object of integral type |
a8fee948 RK |
14786 | if it is a packed array type. |
14787 | ||
c2d7fe59 RK |
14788 | 2001-10-10 Richard Kenner <kenner@gnat.com> |
14789 | ||
f8e0aa73 | 14790 | * decl.c: (gnat_to_gnu_entity, case object): Also materialize |
c2d7fe59 RK |
14791 | VAR_DECL for constant if not Is_Public but -O0. |
14792 | ||
fb75e100 RK |
14793 | 2001-10-10 Richard Kenner <kenner@gnat.com> |
14794 | ||
14795 | * misc.c (struct lang_hooks): Add new initializer to match GCC change. | |
14796 | ||
1724557a GB |
14797 | 2001-10-10 Geert Bosch <bosch@gnat.com> |
14798 | ||
f8e0aa73 | 14799 | * xnmake.adb (XNmake): Fix handling of -s/-b options. No longer |
1724557a GB |
14800 | use '/' as switch character, allowing for absolute file names. |
14801 | ||
9f2f9eb6 JM |
14802 | 2001-10-09 Joseph S. Myers <jsm28@cam.ac.uk> |
14803 | ||
14804 | * 4gintnam.ads, Make-lang.in, Makefile.in, config-lang.in: Update | |
14805 | FSF address. | |
14806 | ||
8fecf41d GB |
14807 | 2001-10-08 Geert Bosch <bosch@gnat.com> |
14808 | ||
14809 | * Makefile.in (treeprs.ads, einfo.h, sinfo.h, nmake.adb, nmake.ads): | |
14810 | Automatically build utilities when files need to be regenerated. | |
14811 | ||
589f1edf GB |
14812 | 2001-10-08 Geert Bosch <bosch@gnat.com> |
14813 | ||
14814 | * xsnames.adb: New utility for updating snames.ads and snames.adb | |
14815 | ||
67f28219 ZW |
14816 | 2001-10-08 Zack Weinberg <zack@codesourcery.com> |
14817 | ||
14818 | * Make-lang.in (ADAFLAGS): Add -W -Wall. | |
14819 | (ADA_FLAGS_TO_PASS): Set ADA_CFLAGS=$(CFLAGS) also. | |
14820 | (gnat1): Also depend on attribs.o. | |
14821 | (gnatlib, gnatlib-shared): Set CC and ADAC in recursive make. | |
14822 | * Makefile.in (X_ADAFLAGS, T_ADAFLAGS): New. | |
14823 | (ADAC): Set to @ADAC@ in stage1, $(CC) later. | |
14824 | (ADAFLAGS): Add -W -Wall. | |
14825 | (ALL_ADAFLAGS, MOST_ADAFLAGS): Add X_ADAFLAGS and T_ADAFLAGS; | |
14826 | take out CFLAGS. | |
14827 | ||
14828 | (.adb.o, .ads.o, a-numaux.o, a-teioed.o, s-interr.o, | |
14829 | s-taskin.o, sdefault.o, s-tasdeb.o, s-vaflop.o, a-except.o, | |
14830 | s-assert.o, s-stalib.o, s-memory.o, memtrack.o, mlib-tgt.o): | |
14831 | Use $(ADAC), not $(CC), as compilation command. | |
14832 | ||
14833 | (gnattools): Depend directly on tools to build, don't use | |
14834 | recursive make. | |
14835 | (gnatlib): Set ADA_CFLAGS=$(GNATLIBCFLAGS) in recursive make. | |
14836 | ||
14837 | * einfo.h, sinfo.h: New files (autogenerated). | |
14838 | ||
295ef2bb RH |
14839 | 2001-10-08 Richard Henderson <rth@redhat.com> |
14840 | ||
14841 | * comperr.adb (Abort_In_Progress): New. | |
14842 | (Compiler_Abort): Use it to prevent recursion. | |
14843 | ||
5c736541 RD |
14844 | 2001-10-08 Robert Dewar <dewar@gnat.com> |
14845 | ||
14846 | * atree.adb: Set Error_Posted in Error node, helps error recovery. | |
67f28219 ZW |
14847 | |
14848 | * par-endh.adb (Output_End_Expected): We should also not test | |
5c736541 | 14849 | Error_Posted on the Error node, since now it is always set. |
67f28219 ZW |
14850 | |
14851 | * cstand.adb (Create_Standard): Set Etype of Error to Any_Type | |
5c736541 | 14852 | to help error recovery. Part of general work on 9407-004. |
67f28219 | 14853 | |
5c736541 | 14854 | * par.adb: Add ??? for misuse of error |
67f28219 | 14855 | |
5c736541 RD |
14856 | * sem_res.adb: |
14857 | (Resolve): Defend against Error, fixes 9407-003. | |
14858 | (Resolve_Discrete_Subtype_Indication): Defend against Error. | |
67f28219 ZW |
14859 | |
14860 | * sinfo.ads (N_Error): Now has Etype field (which will be set | |
5c736541 RD |
14861 | to Any_Type to help error recovery). |
14862 | ||
a153ae15 RK |
14863 | 2001-10-08 Richard Kenner (kenner@gnat.com) |
14864 | ||
14865 | * misc.c (gnat_expand_expr, case UNCHECKED_CONVERT_EXPR): | |
14866 | Consistently set MEM attributes from expression; fixes | |
14867 | bootstrap failure on x86. | |
14868 | ||
743f3c7b GB |
14869 | 2001-10-08 Geert Bosch (bosch@gnat.com) |
14870 | ||
14871 | * 5oosinte.adb: Add 2001 to copyright notice. | |
14872 | ||
210c4ef4 GB |
14873 | 2001-10-08 Geert Bosch (bosch@gnat.com) |
14874 | ||
14875 | * ceinfo.adb: Add utility for consistency checking of einfo.ad[bs]. | |
14876 | ||
14877 | * csinfo.adb: Add utility for consistency checking of sinfo.ad[bs]. | |
14878 | ||
cc712abf JM |
14879 | 2001-10-07 Joseph S. Myers <jsm28@cam.ac.uk> |
14880 | ||
14881 | * 5oosinte.adb: Fix spelling error of "separate" as "seperate". | |
14882 | ||
4c4abc0f GB |
14883 | 2001-10-05 Geert Bosch (bosch@gnat.com) |
14884 | ||
14885 | * adaint.h: Small formatting fix. | |
14886 | ||
7f50e2e3 GB |
14887 | 2001-10-04 Geert Bosch <bosch@gnat.com> |
14888 | ||
14889 | * sysdep.c (__gnat_set_binary_mode, __gnat_set_text_mode): | |
14890 | Arg is int, not FILE *, in dummy version of functions. | |
67f28219 | 14891 | |
7f50e2e3 GB |
14892 | * adaint.h (__gnat_set_binary_mode, __gnat_set_text_mode): |
14893 | Arg is int, not FILE *. | |
14894 | ||
5d1a9698 GB |
14895 | 2001-10-04 Geert Bosch <bosch@gnat.com> |
14896 | ||
14897 | * 3lsoccon.ads: Added file, missed with initial check ins. | |
67f28219 | 14898 | |
5d1a9698 GB |
14899 | * 4lintnam.ads: Fix header format. |
14900 | Change Linux to GNU/Linux. | |
67f28219 | 14901 | |
5d1a9698 GB |
14902 | * 5iosinte.adb: Change Linux to GNU/Linux. |
14903 | ||
14904 | * 5iosinte.ads: Change Linux to GNU/Linux. | |
67f28219 | 14905 | |
5d1a9698 | 14906 | * 5itaprop.adb: Change Linux to GNU/Linux. |
67f28219 | 14907 | |
5d1a9698 GB |
14908 | * 5itaspri.ads: Change Linux to GNU/Linux. |
14909 | Update copyright notice. | |
67f28219 | 14910 | |
5d1a9698 | 14911 | * 5lintman.adb: Change Linux to GNU/Linux. |
67f28219 | 14912 | |
5d1a9698 | 14913 | * 5lml-tgt.adb: Change Linux to GNU/Linux. |
67f28219 | 14914 | |
5d1a9698 | 14915 | * 5losinte.ads: Change Linux to GNU/Linux. |
67f28219 | 14916 | |
5d1a9698 | 14917 | * 5lsystem.ads: Change Linux to GNU/Linux. |
67f28219 | 14918 | |
5d1a9698 | 14919 | * 5qosinte.adb: Change Linux to GNU/Linux. |
67f28219 | 14920 | |
5d1a9698 | 14921 | * 5qosinte.ads: Change Linux to GNU/Linux. |
67f28219 | 14922 | |
5d1a9698 | 14923 | * 5qparame.ads: Change Linux to GNU/Linux. |
67f28219 | 14924 | |
5d1a9698 | 14925 | * 5qtaprop.adb: Change Linux to GNU/Linux. |
67f28219 | 14926 | |
5d1a9698 GB |
14927 | * 5qtaspri.ads: Change Linux to GNU/Linux. |
14928 | Add 2001 to copyright notice. | |
67f28219 | 14929 | |
5d1a9698 GB |
14930 | * 5vintman.ads: Change Linux to GNU/Linux. |
14931 | Fix header format. Add 2001 to copyright notice. | |
67f28219 | 14932 | |
5d1a9698 | 14933 | * g-soccon.ads: Change Linux to GNU/Linux. |
67f28219 | 14934 | |
5d1a9698 GB |
14935 | * g-trasym.ads: Change Linux to GNU/Linux. |
14936 | Add 2001 to copyright notice. | |
67f28219 | 14937 | |
5d1a9698 | 14938 | * memtrack.adb: Change Linux to GNU/Linux. |
67f28219 | 14939 | |
5d1a9698 GB |
14940 | * s-intman.ads: Change Linux to GNU/Linux. |
14941 | Add 2001 to copyright notice. Fix header format. | |
67f28219 | 14942 | |
5d1a9698 | 14943 | * s-stache.adb: Change Linux to GNU/Linux. |
67f28219 | 14944 | |
5d1a9698 | 14945 | * adaint.c: Change Linux to GNU/Linux. |
67f28219 | 14946 | |
5d1a9698 | 14947 | * cio.c: Change Linux to GNU/Linux. |
67f28219 | 14948 | |
5d1a9698 | 14949 | * cstreams.c: Change Linux to GNU/Linux. |
67f28219 | 14950 | |
5d1a9698 | 14951 | * init.c: Change Linux to GNU/Linux. |
67f28219 | 14952 | |
5d1a9698 | 14953 | * gmem.c: Change Linux to GNU/Linux. |
67f28219 | 14954 | |
5d1a9698 GB |
14955 | * tracebak.c: Change Linux to GNU/Linux. |
14956 | ||
14957 | ||
c25ca2d7 GB |
14958 | 2001-10-02 Geert Bosch <bosch@gnat.com> |
14959 | ||
14960 | * misc.c (insert_default_attributes): Add dummy version. |