1 2009-06-26 Eric Botcazou <ebotcazou@adacore.com>
3 * gcc-interface/decl.c (cannot_be_superflat_p): New predicate.
4 (gnat_to_gnu_entity) <E_Array_Subtype>: Use it to build the expression
5 of the upper bound of the index types.
7 2009-06-26 Eric Botcazou <ebotcazou@adacore.com>
9 * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Array_Subtype>: Factor
10 out common predicate. Use the maximum to compute the upper bound of
11 the index type only when it is not wider than sizetype. Perform the
12 comparison in the index type for the generic expression. Use real
13 precision to decide whether to generate special types for debugging
16 2009-06-26 Matthew Gingell <gingell@adacore.com>
18 * adaint.c: Do not use the dummy version of convert_addresses on LynxOS
20 2009-06-26 Vincent Celier <celier@adacore.com>
22 * prj.ads (No_Language_Config): Value of Dependency_Kind is None by
25 2009-06-26 Robert Dewar <dewar@adacore.com>
27 * exp_ch4.adb, gnatcmd.adb, make.adb: Minor reformatting
29 2009-06-26 Eric Botcazou <ebotcazou@adacore.com>
31 * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Array_Type>: Pass
32 correct arguments to create_field_decl. Remove redundant iteration.
33 Rewrite computation of the maximum size.
34 <E_Array_Subtype>: Reorder and simplify handling of special cases.
35 Rewrite computation of the maximum size. Use consistent naming.
36 * gcc-interface/trans.c (Attribute_to_gnu) <Attr_Length>: Swap
37 comparison order for consistency. Use generic integer node to
38 build the operator and fold the result.
40 2009-06-25 Vincent Celier <celier@adacore.com>
42 * vms_data.ads: Minor comment change
44 2009-06-25 Gary Dismukes <dismukes@adacore.com>
46 * exp_ch5.adb (Expand_N_Extended_Return_Statement): Don't build an
47 assignment statement to targeting a caller-provided object when the
48 result type is an interface type.
50 * exp_ch6.adb (Expand_Call): Remove redundant test of
51 Is_Limited_Interface (Is_Inherently_Limited is sufficient).
52 (Is_Build_In_Place_Function): Remove test for Is_Limited_Interface.
54 * sem_aggr.adb (Check_Expr_OK_In_Limited_Aggregate): Add type in call
55 to OK_For_Limited_Init.
57 * sem_aux.adb (Is_Inherently_Limited_Type): Revise limited type
58 condition so that True is returned for all limited interfaces, not
59 just synchronized ones. Ignore components of an interface type when
60 checking for limited components (such a component can be a parent
63 * sem_ch3.ads (OK_For_Limited_Init_In_05): Add type parameter.
64 (OK_For_Limited_Init): Add type parameter.
66 * sem_ch3.adb (Check_Initialization): Add type in call to
68 (OK_For_Limited_Init): Add new type param in call to
69 OK_For_Limited_Init_In_05.
70 (OK_For_Limited_Init_In_05): Permit arbitrary expressions of a
71 nonlimited type when the context type is a limited interface. Add type
74 * sem_ch4.adb (Analyze_Allocator): Add type in call to
77 * sem_ch6.adb (Check_Limited_Return): Add type in call to
80 * sem_ch12.adb (Analyze_Formal_Object_Declaration): Add type in call to
82 (Instantiate_Object): Add type in call to OK_For_Limited_Init.
84 * sem_type.adb (Interface_Present_In_Ancestor): In the case of a
85 class-wide interface, get the base type before applying Etype, in order
86 to account for class-wide subtypes.
88 2009-06-25 Emmanuel Briot <briot@adacore.com>
90 * gnatcmd.adb, prj-proc.adb, make.adb, prj.adb, prj.ads, prj-nmsc.adb,
91 prj-util.adb, prj-env.adb, prj-env.ads: Merge handling of naming_data
92 between gnatmake and gprbuild.
93 (Naming_Data): Removed, no longer used
94 (Naming_Table, Project_Tree_Ref.Namings): Removed, since this is only
95 needed locally in one subprogram, no need to store forever in the
97 (Check_Naming_Scheme, Check_Package_Naming): Merged, since they play
99 (Body_Suffix_Of, Body_Suffix_Id_Of, Register_Default_Naming_Scheme,
100 Same_Naming_Scheme, Set_Body_Suffix, Set_Spec_Suffix, Spec_Suffix_Of,
101 Spec_Suffix_Id_Of): removed, no longer used.
103 2009-06-25 Javier Miranda <miranda@adacore.com>
105 * sem_res.adb (Resolve_Allocator): Skip test requiring exact match of
106 types on qualified expression in calls to imported C++ constructors.
108 * exp_ch4.adb (Expand_Allocator_Expression): Add missing support for
109 imported C++ constructors.
111 2009-06-25 Sergey Rybin <rybin@adacore.com>
113 * vms_data.ads: Add qualifier for new gnatcheck '-t' option.
115 2009-06-25 Vincent Celier <celier@adacore.com>
117 * s-os_lib.adb (Normalize_Pathname.Get_Directory): If directory
118 provided, on Windows change all '/' to '\'.
120 * fmap.ads, fmap.adb (Remove_Forbidden_File_Name): Remove, no longer
121 used. Minor comment changes
123 * prj-nmsc.adb: Do not call Fmap.Add_Forbidden_File_Name or
124 Remove_Forbidden_File_Name.
126 2009-06-25 Quentin Ochem <ochem@adacore.com>
128 * prj.ads (Unit_Index): Now general access type.
130 2009-06-25 Pascal Obry <obry@adacore.com>
132 * a-stwise.adb, a-stzsea.adb: Fix confusion between 'Length and 'Last.
134 2009-06-25 Emmanuel Briot <briot@adacore.com>
136 * fmap.ads, make.adb, prj.adb, prj.ads, prj-nmsc.adb, prj-env.adb,
137 prj-env.ads (Source_Data.Get_Object): Field removed, since it can be
138 computed efficiently from the other fields.
139 (Object_To_Global_Archive): New subprogram
140 (Create_Mapping): Remove unneeded call to Remove_Forbidden_File_Name.
141 (Override_Kind): Fix handling of separates in Ada.
142 (Create_Mapping_File): Remove duplicate code
143 (Naming_Data.Implementation_Exception, Specification_Exception):
144 field removed, since never used.
145 (Naming_Data.Specs, .Bodies): field removed, since this is only
146 used while processing the project and is not needed once the tree
147 is in memory. This brings Naming_Data and Lang_Naming_Data
148 closer (same content now, but different use still).
150 2009-06-25 Pascal Obry <obry@adacore.com>
152 * sem_ch4.adb: Minor reformatting.
154 * a-strsea.adb: Fix confusion between 'Length and 'Last.
156 2009-06-25 Ed Schonberg <schonberg@adacore.com>
158 * exp_attr.adb (Expand_N_Attribute_Reference, case 'Access and
159 Unchecked_Access): If the context is an interface type, and the prefix
160 is of the corresponding class-wide type, do not insert a conversion
161 because the pointer displacement has already taken place, and we must
162 retain the class-wide type in a dispatching context.
164 2009-06-25 Emmanuel Briot <briot@adacore.com>
166 * prj-nmsc.adb, prj-env.adb (Override_Kind): Unset the unit field of
167 the previous source file.
168 (Create_Mapping): Iterate on sources rather than on units.
170 2009-06-25 Emmanuel Briot <briot@adacore.com>
172 * gnatcmd.adb, make.adb, mlib-prj.adb, prj.adb, prj.ads, prj-nmsc.adb,
173 prj-env.adb, prj-env.ads (Slash): removed, no longer used
174 (Source_Data): no longer use Path.Name to point to a locally removed
175 file. Instead we use the field Locally_Removed which is clearer
177 2009-06-25 Arnaud Charlet <charlet@adacore.com>
179 * gcc-interface/Make-lang.in: Remove references to sem_maps.o
181 * sem_maps.adb, sem_maps.ads: Removed, not used.
183 2009-06-25 Ed Falis <falis@adacore.com>
185 * s-vxwext-rtp.ads: Add missing declaration
187 2009-06-25 Matthew Gingell <gingell@adacore.com>
189 * a-stwise.adb, a-stzsea.adb (Count, Index): Avoid local copy on stack,
190 speed up unmapped case.
192 2009-06-25 Vincent Celier <celier@adacore.com>
194 * prj-nmsc.adb (Check): Change error message for illegal abstract
197 2009-06-25 Robert Dewar <dewar@adacore.com>
199 * gnat_ugn.texi: Add note on use of -gnatct for ASIS
201 2009-06-25 Emmanuel Briot <briot@adacore.com>
203 * fmap.ads: Add documentation on mapping files
205 2009-06-25 Robert Dewar <dewar@adacore.com>
207 * exp_ch6.adb, g-socket.ads, g-socket.adb, sem_ch3.adb: Minor
210 2009-06-24 Robert Dewar <dewar@adacore.com>
212 * prj-nmsc.adb, prj-nmsc.ads, prj-proc.adb, prj.adb: Minor reformatting
214 * a-strsea.adb (Count): Avoid local copy on stack, speed up unmapped
218 2009-06-24 Ed Schonberg <schonberg@adacore.com>
220 * sem_ch4.adb (Analyze_One_Call): Check that at least one actual is
221 present when checking whether a call may be interpreted as an indexing
222 of the result of a call.
224 * exp_ch9.adb (Expand_N_Subprogram_Declaration): Place the generated
225 body for a null procedure on the freeze actions for the procedure, so
226 that it will be analyzed at the proper place without premature freezing
229 * sem_ch3.adb (Check_Completion): Code cleanup.
230 Do not diagnose a null procedure without a body, if previous errors
231 have disabled expansion.
233 2009-06-24 Doug Rupp <rupp@adacore.com>
235 * init.c [VMS] Resignal C$_SIGKILL
237 2009-06-24 Ed Falis <falis@adacore.com>
239 * s-vxwext.adb, s-vxwext-kernel.adb: Add s-vxwext body for VxWorks 5
240 Define ERROR in body for VxWorks 6 kernel
242 2009-06-24 Pascal Obry <obry@adacore.com>
244 * g-socket.adb, g-socket.ads: Fix possible unexpected constraint error
245 in [Send/Receive]_Socket.
247 2009-06-24 Emmanuel Briot <briot@adacore.com>
249 * prj-proc.adb, prj-proc.ads, prj.ads, prj-nmsc.adb, prj-nmsc.ads,
250 prj-conf.adb, prj-conf.ads (Allow_Duplicate_Basenames): New parameter
251 to several subprograms.
252 (Source_Data.Other_Part): Removed, since can be computed from the
254 (Other_Part): New subprogram.
256 2009-06-24 Emmanuel Briot <briot@adacore.com>
258 * gnat_ugn.texi, prj-nmsc.adb (Suffix_Matches): A suffix can also match
259 the full base name of the file when the suffix doesn't start with a '.'.
261 2009-06-24 Vincent Celier <celier@adacore.com>
263 * prj-nmsc.adb (Check): A project declared abstract is legal if no
264 attribute Source_Dirs, Source_Files, Source_List_File or Languages is
267 2009-06-24 Robert Dewar <dewar@adacore.com>
269 * clean.adb, gnatcmd.adb, make.adb, mlib-prj.adb,
270 prj-env.adb: Minor reformatting
272 2009-06-24 Ed Falis <falis@adacore.com>
274 * s-taprop-vxworks.adb, s-osinte-vxworks.ads, s-vxwext.ads,
275 s-vxwext-kernel.adb, s-vxwext-kernel.ads, s-vxwext-rtp.adb,
276 s-tasinf-vxworks.ads, gcc-interface/Makefile.in: Add processor affinity
277 support for VxWorks SMP.
279 * gcc-interface/Make-lang.in: Update dependencies
281 2009-06-24 Emmanuel Briot <briot@adacore.com>
283 * gnatcmd.adb, make.adb, mlib-prj.adb, prj.adb, prj.ads, clean.adb,
284 prj-nmsc.adb, prj-env.adb, prj-proc.adb (Units_Table): Removed, since
286 (Source_Data.Lang_Kind): Removed, since it duplicates information
287 already available through Language.Config.
288 (Source_Data.Compile): Removed, since information is already available
289 through the language.
290 (Is_Compilable): New subprogram.
291 (Source_Data.Dependency): Removed, since already available through
293 (Source_Data.Object_Exist, Object_Linked): Removed since available
294 through the language already.
295 (Unit_Data.File_Names): Is now also set in multi_language mode, to
296 bring the two modes closer in the resulting data structures.
297 (Source_Data.Unit): Now a direct pointer to the unit data, rather than
298 just the name that would point into a hash table.
299 (Get_Language_From_Name): New subprogram.
301 2009-06-24 Javier Miranda <miranda@adacore.com>
303 * exp_ch4.adb (Expand_N_Type_Conversion): Handle entities that are
304 visible through limited-with context clauses. In addition, avoid an
305 extra tag check that is not required when the class-wide
306 designated types of the operand and target types are
308 (Tagged_Membership): Handle entities from the limited view.
310 2009-06-24 Emmanuel Briot <briot@adacore.com>
312 * gnatcmd.adb, make.adb, mlib-prj.adb, prj.ads, clean.adb,
313 prj-nmsc.adb, prj-env.adb (File_Name_Data): removed
314 (Spec_Or_Body): now a subtype of Source_Kind, to avoid using two
315 different vocabularies for similar concepts (Impl/Body_Part and
317 (Unit_Data): now points directly to a Source_Id, rather than duplicating
318 some of the information in File_Name_Data. This also saves a bit of
319 memory. However, since we are now using a pointer we need to test
320 for null explicitly in several places of the code
322 2009-06-24 Javier Miranda <miranda@adacore.com>
324 * exp_ch4.adb (Expand_N_Type_Conversion): return immediately
325 from processing the type conversion when the node is
326 replaced by an N_Raise_Program_Error node.
328 2009-06-24 Hristian Kirtchev <kirtchev@adacore.com>
330 * sem_ch6.adb (Designates_From_With_Type): New routine.
331 (Process_Formals): Since anonymous access types are no longer flagged
332 as from with types, traverse the designated type to determine whether
333 it is coming from a limited view.
335 * sem_res.adb: Remove with and use clauses for Sem_Ch10.
336 (Full_Designated_Type): Use Available_View to extract the non-limited /
339 2009-06-24 Robert Dewar <dewar@adacore.com>
341 * exp_ch6.adb: Minor reformatting
343 * layout.adb: Minor reformatting
345 * make.adb: Minor reformatting
347 2009-06-24 Thomas Quinot <quinot@adacore.com>
349 * sem_ch10.adb: Minor code reorganization.
351 2009-06-24 Eric Botcazou <ebotcazou@adacore.com>
353 * ttypes.ads: Minor editing.
355 2009-06-24 Robert Dewar <dewar@adacore.com>
357 * exp_ch6.adb (Expand_Actuals): Use Is_Volatile, not Treat_As_Volatile
358 in deciding to do call-by-copy code.
360 2009-06-24 Vincent Celier <celier@adacore.com>
362 * make.adb (Gnatmake): To decide if an executable should be rebuilt,
363 check if an externally built library file is more current than the
366 2009-06-23 Olivier Hainque <hainque@adacore.com>
368 * gcc-interface/utils.c (handle_vector_size_attribute): Import from
369 c-common.c and populate in gnat_internal_attribute_table.
371 2009-06-23 Ed Schonberg <schonberg@adacore.com>
373 * sem_res.adb (Valid_Conversion, Full_Designated_Type): Use
374 Available_View only when designated type of an anonymous access type
377 2009-06-23 Robert Dewar <dewar@adacore.com>
379 * sem_ch10.adb: Minor reformatting
381 * ali.ads: Mino reformatting.
383 * gnat1drv.adb (Adjust_Global_Switches): New procedure (take care of
384 turning off inlining if ASIS mode active).
386 * switch-c.adb: Remove fiddling with Inspector_Mode and ASIS_Mode
387 This belongs in gnat1drv.adb after switches are scanned.
389 2009-06-23 Hristian Kirtchev <kirtchev@adacore.com>
391 * sem_attr.adb: Add with and use clauses for Sem_Ch10.
392 (Check_Not_Incomplete_Type): Minor reformatting. Retrieve the root type
393 when dealing with class-wide types. Detect a legal shadow entity and
394 retrieve its non-limited view.
396 * sem_ch10.adb (Has_With_Clause): Move the spec and body of the
397 subprogram to top package level from Intall_Limited_Withed_Unit.
398 (Install_Limited_Withed_Unit): Remove spec and body of Has_With_Clause.
399 Add check which prevents the installation of a limited view if the
400 non-limited view is already visible through a with clause.
401 (Is_Legal_Shadow_Entity_In_Body): New routine. Detect a residual, but
402 legal shadow entity which may occur in subprogram formals of anonymous
405 * sem_ch10.ads (Is_Legal_Shadow_Entity_In_Body): New routine.
407 * sem_ch3.adb (Access_Definition): Remove the propagation of flag
408 From_With_Type from the designated type to the generated anonymous
409 access type. Remove associated comment.
411 * sem_res.adb Add with and use clauses for Sem_Ch10.
412 (Full_Designated_Type): Detect a legal shadow entity and retrieve its
413 non-limited view. Since the shadow entity may replace a regular
414 incomplete type, return the available full view.
416 2009-06-23 Ed Schonberg <schonberg@adacore.com>
418 * sem_ch10.adb (Remove_Limited_With_Clause): Clean up code that handles
419 incomplete type declarations. Previous code was potentially quadratic
420 in the number of visible declarations in any package appearing in a
423 2009-06-23 Robert Dewar <dewar@adacore.com>
425 * prj-conf.ads, prj-part.adb, prj-proc.adb, prj-proc.ads, sem_ch8.adb,
426 xref_lib.adb: Minor reformatting
428 2009-06-23 Robert Dewar <dewar@adacore.com>
430 * a-stzhas.adb: Provide dummy body to avoid build problems with old
431 versions which did have a body for this unit.
433 2009-06-23 Vincent Celier <celier@adacore.com>
435 * prj-attr.adb: Attribute names Initial_Required_Switches and
436 Final_Required_Switches changed to Leading_Required_Switches and
437 Trailing_Required_Switches.
439 * prj-nmsc.adb (Process_Compiler): Attribute names
440 Initial_Required_Switches and Final_Required_Switches changed to
441 Leading_Required_Switches and Trailing_Required_Switches.
443 * prj.ads (Language_Config): Component Initial_Required_Switches and
444 Final_Required_Switches changed to Leading_Required_Switches and
445 Trailing_Required_Switches.
447 * snames.ads-tmpl: Remove standard names Initial_Required_Switches and
448 Final_Required_Switches; add standard names Leading_Required_Switches
449 and Trailing_Required_Switches.
451 2009-06-23 Thomas Quinot <quinot@adacore.com>
453 * prj-conf.adb: Minor reformatting
455 * xref_lib.adb: Minor cleanup
457 2009-06-23 Emmanuel Briot <briot@adacore.com>
459 * prj-proc.adb, prj-proc.ads, prj-nmsc.adb, prj-nmsc.ads, prj-conf.adb,
460 prj-conf.ads (Check_Configuration): New parameter
461 Compiler_Driver_Mandatory.
463 2009-06-23 Ed Schonberg <schonberg@adacore.com>
465 * sem_ch10.adb (Analyze_With_Clause): If a subprogram instance in the
466 context of the current unit has an inline pragma, the instance is not
467 rewritten as the declaration of the package wrapper. Handle both
468 possibilities when retrieving the visible subprogram that renames the
469 instantiation itself.
471 2009-06-23 Javier Miranda <miranda@adacore.com>
473 * exp_ch4.adb (Displace_Allocator_Pointer, Expand_N_Allocator): Handle
474 designated types referencing entities from the limited view.
476 2009-06-23 Robert Dewar <dewar@adacore.com>
478 * s-strhas.adb, s-strhas.ads: Restrict to 32-bit modular types
480 * s-imgdec.adb (Set_Decimal_Digits): Fix error of too many digits for
483 * prj-conf.ads: Minor reformatting
485 * prj-conf.adb: Minor reformatting
487 2009-06-23 Vasiliy Fofanov <fofanov@adacore.com>
489 * g-debpoo.adb (Dump_Gnatmem): Output dummy timestamps for allocations
490 to correspond to the log format that gnatmem now expects.
492 2009-06-23 Vincent Celier <celier@adacore.com>
494 * prj-attr.adb: New attributes Initial_Required_Switches,
495 Final_Required_Switches and Object_File_Switches
497 * prj-nmsc.adb (Process_Compiler): Process new attributes
498 Name_Final_Required_Switches, Name_Initial_Required_Switches and
499 Name_Object_File_Switches.
501 * prj.ads (Language_Config): New component
502 Compiler_Initial_Required_Switches (replace Compiler_Required_Switches),
503 Compiler_Final_Required_Switches and Object_File_Switches.
505 * snames.ads-tmpl: New standard names Initial_Required_Switches,
506 Final_Required_Switches and Object_File_Switches
508 2009-06-23 Pascal Obry <obry@adacore.com>
510 * s-strhas.adb, s-strhas.ads: Minor reformatting.
512 2009-06-23 Ed Schonberg <schonberg@adacore.com>
514 * sem_ch10.adb (Install_Limited_Withed_Unit): a null procedure does
515 not indicate that the enclosing unit needs a body.
517 2009-06-23 Emmanuel Briot <briot@adacore.com>
519 * prj-conf.ads, prj-conf.adb: New files part of the project manager.
521 2009-06-23 Ed Schonberg <schonberg@adacore.com>
523 * sem_ch3.adb (Derive_Subprogram): If the inherited subprogram is a
524 primitive equality include it with its source name even if the
525 operation is currently invisible, to make sure that the corresponding
526 slot in the dispatch table is reserved for the internal equality
527 subsequently generated during expansion.
529 2009-06-23 Matthew Gingell <gingell@adacore.com>
531 * Makefile.rtl, a-stwiha.adb: Add a-stwiha.adb back.
533 2009-06-22 Jose Ruiz <ruiz@adacore.com>
535 * sysdep.c (__gnat_localtime_tzoff for RTX):
536 SystemTimeToTzSpecificLocalTime is not supported by RTX. Use
537 GetTimeZoneInformation instead.
539 2009-06-22 Robert Dewar <dewar@adacore.com>
541 * sem_res.adb (Check_No_Direct_Boolean_Operators): New procedure
543 2009-06-22 Ed Schonberg <schonberg@adacore.com>
545 * sem_ch12.adb (Collect_Previous_Instances): Do not collect
546 instantiations declared in a previous generic package body.
548 2009-06-22 Robert Dewar <dewar@adacore.com>
550 * gnat_rm.texi: Add doc that X=True and X=False is allowed for the
551 restriction No_Direct_Boolean_Operators.
553 2009-06-22 Thomas Quinot <quinot@adacore.com>
555 * bindusg.adb: Minor fixes to gnatbind usage message
557 * sem_eval.adb: Minor reformatting
559 2009-06-22 Javier Miranda <miranda@adacore.com>
561 * sem_ch3.adb (Analyze_Object_Declaration, Freeze_Entity): Move to the
562 freezing point the check on the use of abstract types in object
563 declarations. Done to allow the declaration of C++ imported variables
564 or constants whose type corresponds with an imported C++ classes for
565 which the constructor is not imported.
567 2009-06-22 Thomas Quinot <quinot@adacore.com>
569 * sem_ch6.adb: Minor reformatting
571 2009-06-22 Ed Schonberg <schonberg@adacore.com>
573 * exp_ch3.adb (Build_Initialization_Call): If a discriminated record
574 component is constrained with an expression rather than with a
575 discriminant of the enclosing type, use that expression when building
576 the call to default-initialize the component, when the call is part of
577 an aggregate with box initialization.
579 2009-06-22 Ed Schonberg <schonberg@adacore.com>
581 * sem_ch6.adb (Check_Overriding_Indicator): Clean up code, make warning
582 unconditional rather than a style check, because a formal name out of
585 2009-06-22 Vincent Celier <celier@adacore.com>
587 * prj-nmsc.adb (Locate_Directory): Indicate the project name when
588 creating a directory automatically.
590 2009-06-22 Eric Botcazou <ebotcazou@adacore.com>
592 * sem_ch3.adb (Create_Constrained_Components): For a subtype of an
593 untagged derived type, add a hidden component for every constrained
594 discriminant of the parent type to keep record layout consistent.
596 2009-06-22 Thomas Quinot <quinot@adacore.com>
598 * exp_ch3.adb: Minor code reorganization (avoid an unnecessary tree
601 2009-06-22 Matthew Gingell <gingell@adacore.com>
603 * a-stzhas.adb, a-stwiha.adb, impunit.adb, a-swbwha.adb, a-shcain.adb,
604 s-htable.adb, a-szuzha.adb, a-stunha.adb, a-stboha.adb, a-strhas.adb,
605 g-spitbo.adb, s-strhas.adb, a-szbzha.adb, s-strhas.ads, Makefile.rtl,
606 a-swuwha.adb: New unit System.String_Hash.
607 Refactor redundant cut and pasted hash functions with instances of a
608 new generic hash function.
609 Implement a new string hashing algorithm which appears in testing to
610 be move effective than to previous approach.
612 2009-06-22 Ed Falis <falis@adacore.com>
614 * sysdep.c: remove include for nfsLib.h and an NFS specific error
615 message for VxWorks 653 vThreads: not supported by the OS.
617 * gsocket.h: disable sockets for VxWorks 653 vThreads.
619 2009-06-22 Robert Dewar <dewar@adacore.com>
621 * sem_ch6.adb: Add ??? comment for bad use of Style_Check
623 2009-06-22 Robert Dewar <dewar@adacore.com>
625 * sinput.adb, sinput.ads (Expr_First_Char, Expr_Last_Char): Replaced
628 * freeze.adb: Minor comment updates
630 * s-valrea.adb (Bad_Based_Value): New procedure
631 (Scan_Real): Raise exceptions with messages
633 2009-06-22 Matthew Gingell <gingell@adacore.com>
635 * adaint.h: Complete previous change.
637 2009-06-22 Thomas Quinot <quinot@adacore.com>
639 * exp_ch7.ads, exp_ch3.adb: Minor reformatting
641 2009-06-22 Ed Schonberg <schonberg@adacore.com>
643 * sem_ch6.adb (Check_Overriding_Indicator): When style checks are
644 enabled, emit warning when a non-controlling argument of the overriding
645 operation appears out of place vis-a-vis of the formal of the
646 overridden operation.
648 2009-06-22 Vincent Celier <celier@adacore.com>
650 * gnatcmd.adb (Check_Files): Close temporary files after all file names
651 have been written into it.
653 2009-06-22 Matthew Gingell <gingell@adacore.com>
655 * adaint.c, adaint.h, cstreams.c: Call stat64 on platforms where it is
658 2009-06-22 Thomas Quinot <quinot@adacore.com>
660 * sem_disp.adb (Check_Direct_Call): Handle the case where the full
661 view of the root type is visible at the point of the call.
663 2009-06-22 Pat Rogers <rogers@adacore.com>
665 * gnat_ugn.texi: Revised a sentence to correct a minor grammar error.
667 2009-06-22 Jerome Lambourg <lambourg@adacore.com>
669 * freeze.adb: Add comments.
671 2009-06-21 Thomas Quinot <quinot@adacore.com>
673 * exp_ch3.adb, exp_prag.adb, exp_util.adb, exp_util.ads, freeze.adb,
674 sem_ch13.adb, sem_elab.adb (Exp_Prag.Expand_Pragma_Import_Or_Interface):
675 Factor out code to new subprogram...
676 (Exp_Util.Find_Init_Call): New shared routine to find the init proc call
677 for a default initialized variable.
678 (Freeze.Check_Address_Clause): Do not reset Has_Delayed_Freeze on an
679 entity that has an associated freeze node.
680 (Sem_Ch13.Analyze_Attribute_Definition_Clause, case Address):
681 If there is an init call for the object, defer it to the object freeze
683 (Check_Elab_Call.Find_Init_Call): Rename to Check_Init_Call, to avoid
684 name clash with new subprogram introduced in Exp_Util.
686 2009-06-21 Robert Dewar <dewar@adacore.com>
688 * einfo.ads: Minor reformatting
690 2009-06-21 Ed Falis <falis@adacore.com>
692 * env.c (__gnat_environ): return NULL for vThreads - unimplemented
694 2009-06-21 Eric Botcazou <ebotcazou@adacore.com>
696 * einfo.ads: Update comments.
698 2009-06-21 Hristian Kirtchev <kirtchev@adacore.com>
700 * sem_disp.adb (Check_Direct_Call): New routine. Dispatching calls
701 where the controlling formal is of private class-wide type whose
702 completion is a synchronized type can be converted into direct calls.
704 2009-06-21 Vincent Celier <celier@adacore.com>
706 * gnatcmd.adb (Check_Files): When all sources of the project are to be
707 indicated to gnatcheck, gnatpp or gnatmetric, always specify the list
708 of sources using -files=, so that the distinction can be made by the
709 tool of a call with no source (to display the usage) from a call with
710 a project file that contains no source.
712 2009-06-21 Jerome Lambourg <lambourg@adacore.com>
714 * exp_ch3.adb (Build_Array_Init_Proc): Do not build the init proc in
715 case of VM convention arrays.
717 2009-06-20 Robert Dewar <dewar@adacore.com>
719 * a-nudira.adb: Minor reformatting
721 2009-06-20 Ed Schonberg <schonberg@adacore.com>
723 * exp_ch3.adb (Build_Record_Init_Proc): When copying initial
724 expressions (possibly from a parent type) indicate that the scope of
725 the new itypes is the initialization procedure being built.
727 2009-06-20 Robert Dewar <dewar@adacore.com>
729 * a-nudira.adb (Fits_In_32_Bits): New name (inverted sense) for
730 Needs_64, and now computed without anomolies for some dynamic types.
732 2009-06-20 Thomas Quinot <quinot@adacore.com>
734 * sem_prag.adb: Minor reformatting
736 * exp_disp.ads: Minor reformatting
738 2009-06-20 Ed Schonberg <schonberg@adacore.com>
740 * sem_ch3.adb (Is_OK_For_Limited_Init): An unchecked conversion of a
741 function call is a legal expression to initialize a limited object.
743 * exp_ch3.adb: Rename various freeze operations that perform expansion
744 actions, to prevent confusion with subprograms in the freeze package.
746 2009-06-20 Ed Schonberg <schonberg@adacore.com>
748 * sem.adb (Walk_Library_Units): Check instantiations first.
750 * sem_ch6.adb (Analyze_Subprogram_Declaration): Mark a subprogram as a
751 private primitive if it is a function with a controlling result that is
752 a type extension with progenitors.
754 * exp_ch9.adb (Build_Wrapper_Spec, Build_Wrapper_Body): Handle properly
755 a primitive operation of a synchronized tagged type that has a
758 2009-06-20 Thomas Quinot <quinot@adacore.com>
760 * einfo.ads: Fix typo.
762 2009-06-20 Ed Falis <falis@adacore.com>
764 * s-vxwext.ads, s-vxwext-kernel.adb: Complete previous change.
766 2009-06-19 Eric Botcazou <ebotcazou@adacore.com>
768 * gcc-interface/trans.c (emit_check): Do not wrap up the result
770 (protect_multiple_eval): Always protect complex expressions.
772 2009-06-19 Emmanuel Briot <briot@adacore.com>
774 * prj-ext.adb, makeutl.adb, makeutl.ads (Executable_Prefix_Path): Now
775 make sure we always return a name ending with a path separator.
777 2009-06-19 Javier Miranda <miranda@adacore.com>
779 * sem_ch12.adb (Instantiate_Package_Body, Instantiate_Subprogram_Body):
780 Save and restore the visibility of the parent when installed.
782 2009-06-19 Jose Ruiz <ruiz@adacore.com>
784 * s-tposen.ads (Protection_Entry): Replace fields L, Ceiling, and Owner
785 by Common which contains all these fields.
787 * s-tposen.adb (Initialize_Protection_Entry, Lock_Entry,
788 Lock_Read_Only_Entry, Timed_Protected_Single_Entry_Call, Unlock_Entry):
789 Remove code duplication in this package by means of calling the
790 equivalent code in s-taprob.
792 2009-06-19 Robert Dewar <dewar@adacore.com>
794 * a-einuoc.ads: Minor reformatting
796 2009-06-19 Ed Falis <falis@adacore.com>
798 * a-einuoc.ads, s-osinte-vxworks.ads, s-vxwext.ads, s-vxwext-kernel.adb,
799 s-vxwext-kernel.ads, s-vxwext-rtp.ads: Code clean up.
801 2009-06-19 Eric Botcazou <ebotcazou@adacore.com>
803 * einfo.ads (Handling of Type'Size Values): Fix Object_Size values.
805 2009-06-19 Robert Dewar <dewar@adacore.com>
807 * a-nudira.adb (Need_64): Handle negative ranges and also dynamic
810 * checks.adb (Determine_Range): Move the test for generic types later.
812 * sem_eval.adb (Compile_Time_Compare): Improve circuitry to catch more
814 (Eval_Relational_Op): Fold more cases including string compares
816 * sem_util.ads, sem_util.adb (References_Generic_Formal_Type): New
819 2009-06-19 Robert Dewar <dewar@adacore.com>
821 * sem_type.ads, sem_ch12.adb: Minor reformatting
823 * s-wchcnv.adb (UTF_32_To_Char_Sequence): Handle invalid data properly
825 2009-06-19 Ed Schonberg <schonberg@adacore.com>
827 * exp_ch9.adb (Build_Wrapper_Spec): Handle properly an overridden
828 primitive operation of a rivate extension whose controlling argument
831 * sem.adb (Walk_Library_Units): exclude generic package declarations
834 2009-06-19 Thomas Quinot <quinot@adacore.com>
836 * i-vxwoio.ads: Add comments
838 2009-06-19 Thomas Quinot <quinot@adacore.com>
840 * socket.c, g-socthi-vms.adb, g-socthi-vms.ads, g-socthi-vxworks.adb,
841 g-socthi-vxworks.ads, g-socthi-mingw.adb, g-socthi-mingw.ads,
842 g-socthi.adb, g-socthi.ads, g-socket.adb, g-sothco.ads
843 (GNAT.Sockets.Thin.C_Ioctl): Rename to Socket_Ioctl.
844 (GNAT.Sockets.Thin.Socket_Ioctl): Use new function
845 Thin_Common.Socket_Ioctl.
846 (GNAT.Sockets.Thin_Common.Socket_Ioctl): Binding to new C wrapper
848 (__gnat_socket_ioctl): Wrapper for ioctl(2) called with a single int*
849 argument after the file descriptor and request code.
851 2009-06-19 Robert Dewar <dewar@adacore.com>
853 * checks.adb: Minor reformatting
855 2009-06-19 Jose Ruiz <ruiz@adacore.com>
857 * env.c (__gnat_environ): RTX does not support this functionality.
859 2009-06-19 Ed Schonberg <schonberg@adacore.com>
861 * sem.adb (Walk_Library_Items): Include bodies in the list of units to
862 traverse, to account for front-end inlining and instantiations in a
863 spec or in the main unit.
865 2009-06-19 Robert Dewar <dewar@adacore.com>
867 * checks.adb (Determine_Range): Do not attempt to get range of generic
870 2009-06-19 Sergey Rybin <rybin@adacore.com>
872 * gnat_ugn.texi, vms_data.ads: Add the documentation for the new
873 gnatmetric option for generating the schema file for gnatmetric XML
874 output. Add corresponding VMS qualifier.
876 2009-06-19 Robert Dewar <dewar@adacore.com>
878 * g-cgi.adb: Minor reformatting
880 2009-06-19 Eric Botcazou <ebotcazou@adacore.com>
882 * s-intman-solaris.adb (Notify_Exception): Do not discriminate on the
883 signal code for SIGFPE and raise Program_Error for SIGILL.
885 * s-osinte-solaris.ads: Remove signal code constants for SIGFPE.
887 2009-06-19 Ed Schonberg <schonberg@adacore.com>
889 * sem_ch8.adb (Nvis_Messages): Do not list an entity declared in a
890 generic package if there is a visibility candidate that is declared in
893 2009-06-18 Olivier Hainque <hainque@adacore.com>
895 * system-aix64.ads: New file.
896 * gcc-interface/Makefile.in (aix LIBGNAT_TARGET_PAIRS): Use the
897 64bit system.ads for ppc64 multilib variants.
899 2009-06-16 Robert Dewar <dewar@adacore.com>
900 Olivier Hainque <hainque@adacore.com>
902 Relax constraints on Machine_Attribute argument types:
903 * sem_prag.adb (Check_Arg_Is_Static_Expression): Allow for
905 (Analyze_Attribute, case Machine_Attribute): Allow any type for arg 3.
906 * gcc-interface/decl.c (prepend_attributes): Accept static
907 expressions of any type as attribute arguments, not only string
909 * gnat_rm.texi (pragma Machine_Attribute section): Adjust to reflect
910 the relaxation of the restriction on the Info argument type.
912 2009-06-13 Aldy Hernandez <aldyh@redhat.com>
914 * gcc-interface/utils.c (record_builtin_type): Pass location
915 argument to build_decl.
916 (create_type_stub_decl): Same.
917 (create_type_decl): Same.
918 (create_var_decl_1): Same.
919 (create_field_decl): Same.
920 (create_param_decl): Same.
921 (create_label_decl): Same.
922 (create_subprog_decl): Same.
923 * gcc-interface/decl.c (gnat_to_gnu_entity): Same.
924 * gcc-interface/trans.c (Case_Statement_to_gnu): Pass location
925 argument to create_artificial_label.
926 (Loop_Statement_to_gnu): Same.
927 (Subprogram_Body_to_gnu): Same.
928 (gnat_gimplify_stmt): Same.
930 2009-06-11 Richard Henderson <rth@redhat.com>
932 * gcc-interface/misc.c (gnat_handle_option): Rename OPT_gdwarf_ to
935 2009-06-11 Ed Schonberg <schonberg@adacore.com>
937 * sem_attr.adb (Resolve_Attribute, case 'access): Add missing
938 accessibiliy check on access_to_subprogram in the context of an
939 anonymous access that is not an access parameter.
941 2009-06-11 Eric Botcazou <ebotcazou@adacore.com>
943 * tracebak.c (i386 section): Define IS_BAD_PTR on Solaris.
945 2009-06-11 Quentin Ochem <ochem@adacore.com>
947 * sem_warn.adb, scng.adb, sfn_scan.adb, freeze.adb: Add CODEFIX
948 comments for message handled by GPS.
950 2009-06-11 Matthew Gingell <gingell@adacore.com>
952 * adaint.c: Use fopen64 instead of fopen on platforms where we know
955 2009-06-11 Pascal Obry <obry@adacore.com>
957 * g-cgi.ads: Fix comment typo.
959 * g-cgi.adb: Properly decode "+" in CGI parameters as spaces.
961 2009-06-10 Eric Botcazou <ebotcazou@adacore.com>
963 * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Record_Subtype>: Use
964 a reference to the original type for the type of the field of the
966 (maybe_pad_type): Likewise.
968 * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Record_Type>: Factor
969 common predicate and remove redundant setting of TYPE_BY_REFERENCE_P.
970 Pass correctly typed arguments to create_field_decl.
971 <E_Record_Subtype>: Set BLKmode for tagged and limited types in the
972 case of contrained discriminants as well. Use the padded base type
973 in the other case as well. Rename temporary variable. Tweak test.
974 Factor common access pattern. Set GNU_SIZE only once.
976 2009-06-09 Olivier Hainque <hainque@adacore.com>
978 * gcc-interface/utils2.c (build_call_alloc_dealloc_proc): New
979 helper for build_call_alloc_dealloc with arguments to be interpreted
980 identically. Process the case where a GNAT_PROC to call is provided.
981 (maybe_wrap_malloc): New helper for build_call_alloc_dealloc, to build
982 and return an allocator for DATA_SIZE bytes aimed at containing a
983 DATA_TYPE object, using the default __gnat_malloc allocator. Honor
984 DATA_TYPE alignments greater than what the latter offers.
985 (maybe_wrap_free): New helper for build_call_alloc_dealloc, to
986 release a DATA_TYPE object designated by DATA_PTR using the
987 __gnat_free entry point.
988 (build_call_alloc_dealloc): Expect object data type instead of naked
989 alignment constraint. Use the new helpers.
990 (build_allocator): Remove special processing for the super-aligned
991 case, now handled by build_call_alloc_dealloc. Pass data
992 type instead of the former alignment argument, as expected by the new
994 * gcc-interface/gigi.h (build_call_alloc_dealloc): Adjust prototype
996 * gcc-interface/trans.c (gnat_to_gnu) <case N_Free_Statement>:
997 Remove special processing for the super-aligned case, now handled
998 by build_call_alloc_dealloc. Pass data type instead of the former
999 alignment argument, as expected by the new interface.
1001 2009-06-08 Alexandre Oliva <aoliva@redhat.com>
1003 * lib-writ.adb (flag_compare_debug): Import.
1004 (Write_ALI): Skip during -fcompare-debug-second.
1006 2009-06-03 Eric Botcazou <ebotcazou@adacore.com>
1008 * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Record_Type>: When
1009 adjusting the discriminant nodes in an extension, use the full view
1010 of the parent subtype if it is of a private kind.
1012 2009-06-03 Eric Botcazou <ebotcazou@adacore.com>
1014 * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Record_Type>: Add the
1015 _Parent field, if any, to the record before adding the other fields.
1016 <E_Record_Subtype>: Put the _Controller field before the other fields
1017 except for the _Tag or _Parent fields.
1018 (components_to_record): Likewise. Retrieve the _Parent field from the
1021 2009-06-03 Eric Botcazou <ebotcazou@adacore.com>
1023 * gcc-interface/decl.c (substitution_list): Rename to build_subst_list,
1024 remove unused parameter and simplify.
1025 (gnat_to_gnu_entity) <E_Record_Type>: Do not set TYPE_FIELDS. Factor
1026 common predicate. Rewrite loop for clarity. Use GNU_TYPE directly
1027 as context for all discriminants. Fix formatting nits.
1028 <E_Record_Subtype>: Add cosmetic 'break'. Test Has_Discriminants
1029 before Discriminant_Constraint. Adjust for above renaming. Do not
1030 set GNU_TYPE more than once.
1031 (elaborate_entity): Test Has_Discriminants on the entity and use
1032 Implementation_Base_Type.
1033 (components_to_record): Rename component_list to gnat_component_list.
1034 Retrieve the _Parent field from the list. Fix nits in comments.
1035 Clarify logic in loop. Pass correct arguments to create_field_decl.
1037 2009-06-02 Eric Botcazou <ebotcazou@adacore.com>
1039 * gcc-interface/Make-lang.in: Fix formatting.
1041 2009-06-01 Olivier Hainque <hainque@adacore.com>
1042 Eric Botcazou <ebotcazou@adacore.com>
1044 * gcc-interface/utils.c (convert) <CONSTRUCTOR case>: When converting
1045 to the packable version of the type, clear TREE_STATIC/TREE_CONSTANT
1046 on the result if at least one of the input fields couldn't be output
1047 as a static constant any more.
1049 2009-06-01 Olivier Hainque <hainque@adacore.com>
1050 Eric Botcazou <ebotcazou@adacore.com>
1052 * gcc-interface/utils2.c (gnat_build_constructor): Factor
1053 out code. Use initializer_constant_valid_for_bitfield_p and
1054 CONSTRUCTOR_BITFIELD_P for bit-fields.
1056 2009-05-26 Ian Lance Taylor <iant@google.com>
1058 * gcc-interface/Makefile.in (COMPILER): Define.
1059 (COMPILER_FLAGS, ALL_COMPILERFLAGS): Define.
1060 (.c.o, cio.o, init.o, initialize.o, targext.o): Use $(COMPILER).
1061 (seh_init.o, tracebak.o): Likewise.
1062 * gcc-interface/Make-lang.in (ada/targext.o): Likewise.
1063 (ada/cio.o, ada/init.o, ada/initialize.o, ada/raise.o): Likewise.
1064 (ada/tracebak.o, ada/cuintp.o, ada/decl.o, ada/misc.o): Likewise.
1065 (ada/targtyps.o, ada/trans.o, ada/utils.o): Likewise.
1066 (ada/utils2.o): Likewise.
1068 2009-05-24 Olivier Hainque <hainque@adacore.com>
1070 * switch.adb (Is_Internal_GCC_Switch, Switch_Last): Bodies of ...
1071 * switch.ads (Is_Internal_GCC_Switch, Switch_Last): New functions.
1072 Add -auxbase variants to the list of recognized internal switches.
1073 * back_end.adb (Scan_Back_End_Switches): Use the new functions and
1075 * lib.ads: Make comment on internal GCC switches more general.
1076 * gcc-interface/lang-specs.h (specs for Ada): Pass -auxbase variants
1079 2009-05-23 Eric Botcazou <ebotcazou@adacore.com>
1081 * gcc-interface/misc.c (gnat_get_subrange_bounds): Fix thinko.
1083 2009-05-23 Eric Botcazou <ebotcazou@adacore.com>
1085 * gcc-interface/decl.c (set_rm_size): Bypass the check for packed array
1088 2009-05-23 Eric Botcazou <ebotcazou@adacore.com>
1090 * gcc-interface/decl.c (gnat_to_gnu_entity) <object>: Do not modify the
1091 original type because of the alignment when there is an address clause.
1093 2009-05-20 Eric Botcazou <ebotcazou@adacore.com>
1095 * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Record_Subtype>: When
1096 discriminants affect the shape of the subtype, retrieve the GCC type
1097 directly from the original field if the GNAT types for the field and
1098 the original field are the same.
1100 2009-05-15 Eric Botcazou <ebotcazou@adacore.com>
1102 * gcc-interface/ada-tree.h (TYPE_GCC_MIN_VALUE, TYPE_GCC_MAX_VALUE):
1104 (TYPE_RM_VALUES): Likewise.
1105 (TYPE_RM_SIZE): Rewrite in terms of TYPE_RM_VALUES.
1106 (SET_TYPE_RM_SIZE): New macro.
1107 (TYPE_RM_MIN_VALUE, TYPE_RM_MAX_VALUE): Likewise.
1108 (SET_TYPE_RM_SIZE, SET_TYPE_RM_MAX_VALUE): Likewise.
1109 (TYPE_MIN_VALUE, TYPE_MAX_VALUE): Redefine.
1110 * gcc-interface/gigi.h (create_range_type): Declare.
1111 * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Modular_Integer_Type>
1112 Use SET_TYPE_RM_MAX_VALUE to set the upper bound on the UMT type.
1113 <E_Signed_Integer_Subtype>: Build a regular integer type first and
1114 then set the RM bounds. Use SET_TYPE_RM_SIZE to set the RM size.
1115 <E_Floating_Point_Subtype>: Build a regular floating-point type first
1116 and then set the RM bounds.
1117 <E_Array_Type>: Use create_range_type instead of build_range_type.
1118 <E_Array_Subtype>: Build a regular integer type first and then set
1119 the RM bounds for the extra subtype.
1120 <E_String_Literal_Subtype>: Use create_range_type instead of
1122 <all>: Set the RM bounds for enumeration types and the GCC bounds for
1123 floating-point types.
1124 (set_rm_size): Use SET_TYPE_RM_SIZE to set the RM size.
1125 (make_type_from_size) <INTEGER_TYPE>: Use SET_TYPE_RM_{MIN,MAX}_VALUE
1126 to set the bounds. Use SET_TYPE_RM_SIZE to set the RM size.
1127 (substitute_in_type) <INTEGER_TYPE>: Deal with GCC bounds for domain
1128 types and with RM bounds for subtypes.
1129 * gcc-interface/misc.c (LANG_HOOKS_GET_SUBRANGE_BOUNDS): Define.
1130 (gnat_print_type) <REAL_TYPE>: New case.
1131 <ENUMERAL_TYPE>: Fall through to above case.
1132 (gnat_get_subrange_bounds): New function.
1133 * gcc-interface/trans.c (add_decl_expr): Mark the trees rooted as
1134 TYPE_RM_MIN_VALUE and TYPE_RM_MAX_VALUE, if any.
1135 * gcc-interface/utils.c (gnat_init_decl_processing): Use precision 8
1136 for booleans. Adjust and use SET_TYPE_RM_SIZE to set the RM size.
1137 (create_range_type): New function.
1138 (create_param_decl): Build a regular integer type first and then set
1139 the RM bounds for the extra subtype.
1140 (unchecked_convert): Remove kludge for 'Valid.
1141 * gcc-interface/utils2.c (build_binary_op) <ARRAY_RANGE_REF>: Convert
1142 the index to sizetype instead of TYPE_DOMAIN.
1144 2009-05-14 Eric Botcazou <ebotcazou@adacore.com>
1146 * gcc-interface/decl.c (elaborate_expression_1): Remove GNAT_EXPR
1147 parameter and move check for static expression to...
1148 (elaborate_expression): ...here. Adjust call to above function.
1149 (gnat_to_gnu_entity): Likewise for all calls. Use correct arguments
1150 in calls to elaborate_expression.
1151 (elaborate_entity): Likewise.
1152 (substitution_list): Likewise.
1153 (maybe_variable): Fix formatting.
1154 (substitute_in_type) <REAL_TYPE>: Merge with INTEGER_TYPE case and add
1156 * gcc-interface/trans.c (protect_multiple_eval): Minor cleanup.
1158 2009-05-07 Arnaud Charlet <charlet@adacore.com>
1160 * gcc-interface/Make-lang.in: Update dependencies.
1162 2009-05-06 Laurent GUERBY <laurent@guerby.net>
1164 * s-linux.ads, s-linux-alpha.ads, s-linux-hppa.ads, osinte-linux.ads:
1165 Define sa_handler_pos.
1166 * s-osinte-linux.ads: Use it.
1167 * s-linux-mipsel.ads: New.
1168 * system-linux-mips64el.ads: New.
1169 * gcc-interface/Makefile.in: Multilib handling for mipsel-linux and
1172 2009-05-06 Arnaud Charlet <charlet@adacore.com>
1174 * exp_ch5.adb, exp_util.adb, exp_attr.adb, sem_util.adb, sem_res.adb,
1175 targparm.adb, targparm.ads, exp_ch4.adb, exp_ch6.adb, exp_disp.adb,
1176 opt.ads, exp_aggr.adb, exp_intr.adb, sem_disp.adb, exp_ch3.adb
1177 (Tagged_Type_Expansion): New flag.
1178 Replace use of VM_Target related to tagged types expansion by
1179 Tagged_Type_Expansion, since tagged type expansion is not necessarily
1180 linked to VM targets.
1182 2009-05-06 Robert Dewar <dewar@adacore.com>
1184 * sem_attr.adb: Add processing for Standard'Compiler_Version
1186 * sinput.adb (Expr_Last_Char): Fix some copy-paste errors for paren
1188 (Expr_First_Char): Add ??? comment that paren skipping needs work
1189 (Expr_Last_Char): Add ??? comment that paren skipping needs work
1191 * exp_attr.adb: Add processing for Compiler_Version
1193 * sem_attr.adb: New attribute Compiler_Version
1195 * snames.ads-tmpl: Add entries for Compiler_Version attribute
1197 * gnat_rm.texi: Document Compiler_Version attribute
1199 2009-05-06 Robert Dewar <dewar@adacore.com>
1201 * errout.adb: Minor reformatting
1203 * scng.adb, sem_prag.adb, par-ch4.adb, sem_res.adb, par-ch6.adb,
1204 sem_ch6.adb, par-prag.adb, sem_ch8.adb, sem_warn.adb, par-util.adb,
1205 styleg.adb: Add stylized comments to error messages that are included
1206 in the codefix circuitry of IDE's such as GPS.
1208 2009-05-06 Sergey Rybin <rybin@adacore.com>
1210 * gnat_ugn.texi: For Misnamed_Identifiers rule all description of the
1211 new form of the rule parameter that allows to specify the suffix for
1212 access-to-access type names.
1214 2009-05-06 Robert Dewar <dewar@adacore.com>
1216 * sem_warn.adb (Warn_On_Useless_Assignment): Avoid false negative for
1217 out parameter assigned when exception handlers are present.
1219 * sem_ch5.adb (Analyze_Exit_Statement): Kill current value last
1220 assignments on exit.
1222 * par-ch9.adb, sem_aggr.adb, par-endh.adb, sem_res.adb, par-ch6.adb,
1223 sinput-l.adb, par-load.adb, errout.ads, sem_ch4.adb, lib-load.adb,
1224 prj-dect.adb, par-ch12.adb, sem_ch8.adb, par-util.adb, par-ch3.adb,
1225 par-tchk.adb, par-ch5.adb: This patch adds stylized comments to error
1226 messages that are included in the codefix circuitry of IDE's such as
1229 * sinput.ads, sinput.adb (Expr_First_Char): New function
1230 (Expr_Last_Char): New function
1232 2009-05-06 Sergey Rybin <rybin@adacore.com>
1234 * gnat_ugn.texi: Add subsection for Exits_From_Conditional_Loops rule
1235 Add formal definition for extra exit point metric
1237 2009-05-06 Pascal Obry <obry@adacore.com>
1239 * adaint.c: Support for setting attributes on unicode filename on
1242 2009-05-06 Robert Dewar <dewar@adacore.com>
1244 * sem_warn.adb: Minor reformatting
1246 2009-05-06 Javier Miranda <miranda@adacore.com>
1248 * sem_prag.adb (Process_Import_Or_Interface): Imported CPP types must
1249 not have discriminants or components with default expressions.
1250 (Analyze_Pragma): For pragma CPP_Class check that imported types
1251 have no discriminants and components have no default expression.
1253 * sem_aggr.adb (Resolve_Aggr_Expr): Add missing check on wrong use of
1254 class-wide types in the expression of a record component association.
1256 2009-05-06 Sergey Rybin <rybin@adacore.com>
1258 * vms_data.ads: Add qualifier for gnatmetric extra exit points metric
1260 * gnat_ugn.texi: Add description for the new extra exit points metric
1261 (gnatmetric section).
1263 2009-05-06 Robert Dewar <dewar@adacore.com>
1265 * s-fileio.adb: Minor comment update
1267 * sem_ch8.adb: Minor reformatting
1269 * exp_ch3.adb: Update comments.
1271 2009-05-06 Tristan Gingold <gingold@adacore.com>
1273 * init.c, s-osinte-darwin.ads: Reduce alternate stack size
1275 2009-05-06 Arnaud Charlet <charlet@adacore.com>
1277 * gcc-interface/Makefile.in: Update LIBGNAT_TARGET_PAIRS for Xenomai.
1278 Fix missing unit for rtp-smp runtime on both ppc and x86 vxworks
1280 * gcc-interface/Make-lang.in: Update dependencies
1282 2009-05-06 Ed Schonberg <schonberg@adacore.com>
1284 * sem_ch12.adb (Build_Instance_Compilation_Unit_Nodes): Revert previous
1285 change. The context clause of a generic instance declaration must be
1286 preserved until the end of the compilation, because it may have to be
1287 installed/removed repeatedly.
1288 The latest change to sem.adb ensures that the context of both spec and
1289 body of an instance is traversed before the instance itself, making
1290 this patch redundant.
1292 2009-05-06 Gary Dismukes <dismukes@adacore.com>
1294 * sem_aggr.adb: Fix typo.
1296 2009-05-06 Thomas Quinot <quinot@adacore.com>
1298 * exp_ch3.adb (Expand_N_Object_Declaration): For a controlled object
1299 declaration, do not adjust if the declaration is to be rewritten into
1302 2009-05-06 Ed Schonberg <schonberg@adacore.com>
1304 * sem_ch8.adb (Find_Type): Reject the use of a task type in its own
1307 2009-05-06 Bob Duff <duff@adacore.com>
1309 * s-fileio.adb (File_IO_Clean_Up_Type): Make this type limited, since
1310 otherwise the compiler would be allowed to optimize away the cleanup
1313 2009-05-06 Gary Dismukes <dismukes@adacore.com>
1315 * gnat_ugn.texi: Fix typo.
1317 2009-05-06 Thomas Quinot <quinot@adacore.com>
1319 * g-debuti.adb: Minor reformatting
1321 * exp_attr.adb: Minor reformatting
1323 2009-05-06 Robert Dewar <dewar@adacore.com>
1325 * sem_aggr.adb: Minor reformatting.
1327 * g-socthi-vms.adb: Minor reformatting
1329 2009-05-06 Bob Duff <duff@adacore.com>
1331 * g-table.ads, g-table.adb, g-dyntab.ads, g-dyntab.adb:
1332 (Append_All): Add Append_All to g-table and g-dyntab, similar to table.
1334 2009-05-06 Bob Duff <duff@adacore.com>
1336 * gnat_ugn.texi, gnat_rm.texi: Add missing documentation for warnings
1339 2009-05-06 Javier Miranda <miranda@adacore.com>
1341 * sem_aggr.adb (Valid_Ancestor_Type): Add support for C++ constructors.
1342 (Resolve_Extension_Aggregate): Do not reject C++ constructors in
1343 extension aggregates.
1344 (Resolve_Record_Aggregate): Add support for C++ constructors in
1345 extension aggregates.
1347 * exp_aggr.adb (Build_Record_Aggr_Code): Add support for C++
1348 constructors in extension aggregates.
1350 2009-05-06 Robert Dewar <dewar@adacore.com>
1352 * freeze.adb (Freeze_Record_Type): Improve error msg for bad size
1355 2009-05-06 Thomas Quinot <quinot@adacore.com>
1357 * g-socthi-vms.adb (C_Recvmsg, C_Sendmsg): Convert Msg to appropriate
1358 packed type, since on OpenVMS, struct msghdr is packed.
1360 2009-05-06 Ed Schonberg <schonberg@adacore.com>
1362 * sem_ch8.adb (Analyze_Object_Renaming): If the object is a function
1363 call returning an unconstrained composite value, create the proper
1364 subtype for it, as is done for object dclarations with unconstrained
1365 nominal subtypes. Perform this transformation regarless of whether
1366 call comes from source.
1368 2009-05-06 Robert Dewar <dewar@adacore.com>
1370 * freeze.adb (Freeze_Record_Type): Implement Implicit_Packing for
1374 Add documentation for pragma Implicit_Packing applied to record
1377 2009-05-06 Ed Schonberg <schonberg@adacore.com>
1379 * sem.adb (Walk_Library_Items): Place all with_clauses of an
1380 instantiation on the spec, because late instance bodies may generate
1381 with_clauses for the instance body but are inserted in the instance
1384 2009-05-06 Emmanuel Briot <briot@adacore.com>
1386 * prj-nmsc.adb (Locate_Directory): Remove unused parameters, and add
1387 support for returning the directory even if it doesn't exist. This is
1388 used for the object directory, since we are always setting it to a
1389 non-null value, and we should set it to an absolute name rather than a
1390 relative name for the sake of external tools that might depend on it.
1391 (Check_Library_Attributes): When Project.Library_Dir is known, check
1392 that the directory exists.
1394 2009-05-06 Ed Schonberg <schonberg@adacore.com>
1396 * sem_attr.adb (Check_Dereference): If the prefix of an attribute
1397 reference is an implicit dereference, do not freeze the designated type
1398 if within a default expression or when preanalyzing a pre/postcondtion.
1400 2009-05-06 Ed Schonberg <schonberg@adacore.com>
1402 * sem_ch8.adb (Analyze_Object_Renaming): If the object is a function
1403 call returning an unconstrained composite value, create the proper
1404 subtype for it, as is done for object dclarations with unconstrained
1407 2009-05-06 Robert Dewar <dewar@adacore.com>
1409 * sem_ch13.adb (Check_Constant_Address_Clause): Minor error message
1412 * freeze.adb: Minor reformatting
1414 2009-05-06 Thomas Quinot <quinot@adacore.com>
1416 * sem_ch3.adb (Access_Type_Declaration): An access type whose
1417 designated type is a limited view from a limited with clause (flagged
1418 From_With_Type) is not itself such a limited view.
1420 2009-05-06 Emmanuel Briot <briot@adacore.com>
1422 * prj-nmsc.adb: Remove unused variable.
1424 * clean.adb, gnatcmd.adb, makeutl.ads, prj-pars.adb, prj-pars.ads,
1425 prj-proc.ads, prj.ads, switch-m.adb (Subdirs_Option): Moved to
1426 makeutl.ads, since not all users of prj.ads need this.
1428 2009-05-06 Javier Miranda <miranda@adacore.com>
1430 * exp_aggr.adb (Build_Record_Aggr_Code): Add implicit call to the C++
1431 constructor in case of aggregates whose type is a CPP_Class type.
1433 2009-05-06 Robert Dewar <dewar@adacore.com>
1435 * sem_ch13.adb: Minor comment additions
1437 * osint.adb: Minor reformatting
1439 2009-05-06 Pascal Obry <obry@adacore.com>
1441 * initialize.c: On Windows, keep full pathname to expanded command
1444 2009-05-06 Ed Schonberg <schonberg@adacore.com>
1446 * sem_aggr.adb (Resolve_Record_Aggregate): If a defaulted component of
1447 an aggregate with box default is of a discriminated private type, do
1448 not build a subaggregate for it.
1449 A proper call to the initialization procedure is generated for it.
1451 2009-05-06 Thomas Quinot <quinot@adacore.com>
1453 * rtsfind.adb, rtsfind.ads, exp_dist.adb, exp_dist.ads
1454 (Exp_Dist.Build_TC_Call, Build_From_Any_Call, Build_To_Any_Call):
1455 Use PolyORB strings to represent Ada.Strings.Unbounded_String value;
1456 use standard array code for Standard.String.
1457 (Exp_Dist): Bump PolyORB s-parint API version to 3.
1458 (Rtsfind): New entities TA_Std_String, Unbounded_String.
1460 2009-05-06 Robert Dewar <dewar@adacore.com>
1462 * g-comlin.ads: Minor reformatting
1464 * xoscons.adb: Minor reformatting
1466 2009-05-06 Gary Dismukes <dismukes@adacore.com>
1468 * sem_aggr.adb (Resolve_Record_Aggregate): In step 5, get the
1469 Underlying_Type before retrieving the type definition for gathering
1470 components, to account for the case where the type is private.
1472 2009-05-06 Tristan Gingold <gingold@adacore.com>
1474 * g-comlin.ads: Fix minor typos (Getopt instead of Get_Opt).
1476 2009-05-06 Thomas Quinot <quinot@adacore.com>
1478 * g-socthi-vms.adb, g-socthi-vms.ads, g-socthi-vxworks.adb,
1479 g-socthi-vxworks.ads, g-socthi-mingw.adb g-socthi-mingw.ads,
1480 g-socthi.adb, g-stsifd-sockets.adb, g-socthi.ads, g-socket.adb
1481 (GNAT.Sockets.Thin.C_Sendmsg, GNAT.Sockets.Thin.C_Recvmsg,
1482 Windows versions): Fix incorrect base
1483 address of Iovec (it's Msg_Iov, not Msg_Iov'Address).
1484 (GNAT.Sockets.Thin.C_Sendto, GNAT.Sockets.Thin.C_Recvfrom): Use a
1485 System.Address for the To parameter instead of a Sockaddr_In_Access, to
1486 achieve independance from AF_INET family, and also to allow this
1487 parameter to be retrieved from a Msghdr for the Windows case where
1488 these routines are used to implement C_Sendmsg and C_Recvmsg.
1490 2009-05-06 Bob Duff <duff@adacore.com>
1492 * g-expect.adb, g-expect.ads: Minor reformatting
1494 * sdefault.ads: Minor comment fix
1496 * g-expect-vms.adb: Minor reformatting
1498 * table.ads, table.adb (Append_All): New convenience procedure for
1499 appending a whole array.
1501 * comperr.adb (Compiler_Abort): Mention the -gnatd.n switch in the bug
1502 box message. Call Osint.Dump_Source_File_Names to print out the file
1503 list, instead of rummaging around in various data structures.
1505 * debug.adb: New switch -gnatd.n, to print source file names as they
1508 * alloc.ads: Add parameters for Osint.File_Name_Chars.
1510 * osint.ads, osint.adb (Dump_Source_File_Names): New procedure to print
1511 out source file names during a "bug box".
1512 (Include_Dir_Default_Prefix): Use memo-izing to avoid repeated new/free.
1513 (Read_Source_File): Print out the file name, if requested via -gnatd.n.
1514 If it's not part of the runtimes, store it for later printing by
1515 Dump_Source_File_Names.
1517 2009-05-06 Javier Miranda <miranda@adacore.com>
1519 * gnat_rm.texi (CPP_Constructor): Avoid duplication of the
1520 documentation and add reference to the GNAT user guide for further
1523 2009-05-06 Javier Miranda <miranda@adacore.com>
1525 * gnat_ugn.texi: Complete documentation for CPP_Constructor and remove
1526 also wrong examples that use extension aggregates.
1528 2009-05-06 Albert Lee <lee@adacore.com>
1530 * s-oscons-tmplt.c (System.OS_Constants): Do not use special definition
1531 of Msg_Iovlen_T for VMS.
1533 2009-05-04 Laurent GUERBY <laurent@guerby.net>
1536 * make.adb (Scan_Make_Arg): Pass --param= to compiler and linker.
1538 2009-04-29 Ed Schonberg <schonberg@adacore.com>
1540 * sem_ch8.adb (Analyze_Subprogram_Renaming): Improve error message on
1541 box-defaulted operator in an instantiation, when the type of the
1542 operands is not directly visible.
1544 2009-04-29 Gary Dismukes <dismukes@adacore.com>
1546 * sem_aggr.adb (Valid_Limited_Ancestor): Undo previous change.
1547 (Resolve_Extension_Aggregate): Call Check_Parameterless_Call after the
1548 analysis of the ancestor part. Remove prohibition against limited
1549 interpretations of the ancestor expression in the case of Ada 2005.
1550 Revise error message in overloaded case, adding a message to cover
1553 2009-04-29 Thomas Quinot <quinot@adacore.com>
1555 * xoscons.adb: Minor reformatting
1557 2009-04-29 Bob Duff <duff@adacore.com>
1559 * sem_ch13.adb (Analyze_Attribute_Definition_Clause): Do not ignore
1560 attribute_definition_clauses for the following attributes when the
1561 -gnatI switch is used: External_Tag, Input, Output, Read, Storage_Pool,
1562 Storage_Size, Write. Otherwise, we get spurious errors (for example,
1563 missing Read attribute on remote types).
1565 * gnat_ugn.texi: Document the change, and add a stern warning.
1567 2009-04-29 Ed Schonberg <schonberg@adacore.com>
1569 * sem_attr.adb (Check_Local_Access): Indicate that value tracing is
1570 disabled not just for the current scope, but for the innermost dynamic
1573 2009-04-29 Arnaud Charlet <charlet@adacore.com>
1575 * gcc-interface/Make-lang.in: Update dependencies
1577 2009-04-29 Vincent Celier <celier@adacore.com>
1579 * prj-part.adb: Minor comment update
1581 2009-04-29 Ed Schonberg <schonberg@adacore.com>
1583 * sem_aggr.adb (Resolve_Record_Aggregate): handle properly
1584 box-initialized records with discriminated subcomponents that are
1585 constrained by discriminants of enclosing components. New subsidiary
1586 procedures Add_Discriminant_Values, Propagate_Discriminants.
1588 2009-04-29 Arnaud Charlet <charlet@adacore.com>
1590 * g-socket.adb: Code clean up.
1592 2009-04-29 Gary Dismukes <dismukes@adacore.com>
1594 * sem_aggr.adb (Valid_Limited_Ancestor): Add test for the name of a
1595 function entity, to cover the case of a parameterless function call
1596 that has not been resolved.
1598 2009-04-29 Robert Dewar <dewar@adacore.com>
1600 * err_vars.ads, prj-part.adb, scans.ads, exp_tss.adb: Minor
1601 reformatting and comment updates.
1603 2009-04-29 Arnaud Charlet <charlet@adacore.com>
1605 * gnat_ugn.texi: Update some documentation about interfacing with C++
1606 Mention -fkeep-inline-functions.
1608 * gnat_ugn.texi: Minor edits
1610 2009-04-29 Ed Schonberg <schonberg@adacore.com>
1612 * sem_aggr.adb (Resolve_Record_Aggregate): When building an aggregate
1613 for a defaulted component of an enclosing aggregate, inherit the type
1614 from the component declaration of the enclosing type.
1616 2009-04-29 Albert Lee <lee@adacore.com>
1618 * g-socthi-vms.ads, g-socthi-vxworks.ads, s-oscons-tmplt.c,
1619 g-socthi-mingw.ads, g-socthi.ads, g-socket.adb, g-sothco.ads
1620 (System.OS_Constants): New type Msg_Iovlen_T which follows whether the
1621 msg_iovlen field in struct msghdr is 32 or 64 bits wide.
1622 Relocate the Msghdr record type from GNAT.Sockets.Thin to
1623 GNAT.Sockets.Common, and use System.OS_Constants.Msg_Iovlen_T as the
1624 type for the Msg_Iovlen field.
1626 2009-04-29 Vincent Celier <celier@adacore.com>
1628 * sinput-l.adb (Load_File): When preprocessing, set temporarily the
1629 Source_File_Index_Table entries for the source, to avoid crash when
1632 * gnatcmd.adb (Test_If_Relative_Path): Use
1633 Makeutl.Test_If_Relative_Path.
1635 * makeutl.adb:(Test_If_Relative_Path): Process switches --RTS= only if
1636 Including_RTS is True.
1638 * makeutl.ads (Test_If_Relative_Path): New Boolean parameter
1639 Including_RTS defaulted to False.
1641 * sinput.ads, scans.ads, err_vars.ads: Initialize some variables with
1644 2009-04-29 Javier Miranda <miranda@adacore.com>
1646 * gnat_ugn.texi: Adding documentation for non-default C++ constructors.
1648 2009-04-29 Javier Miranda <miranda@adacore.com>
1650 * sem_ch3.adb (Analyze_Object_Declaration): Disable error message
1651 associated with dyamically tagged expressions if the expression
1652 initializing a tagged type corresponds with a non default CPP
1654 (OK_For_Limited_Init): CPP constructor calls are OK for initialization
1655 of limited type objects.
1657 * sem_ch5.adb (Analyze_Assignment): Improve the error message reported
1658 when a CPP constructor is called in an assignment. Disable also the
1659 error message associated with dyamically tagged expressions if the
1660 exporession initializing a tagged type corresponds with a non default
1663 * sem_prag.adb (Analyze_Pragma): Remove code disabling the use of
1664 non-default C++ constructors.
1666 * sem_util.ads, sem_util.adb (Is_CPP_Constructor_Call): New subprogram.
1668 * exp_tss.ads, exp_tss.adb (Base_Init_Proc): Add support for
1669 non-default constructors.
1670 (Init_Proc): Add support for non-default constructors.
1672 * exp_disp.adb (Set_Default_Constructor): Removed.
1673 (Set_CPP_Constructors): Code based in removed Set_Default_Constructor
1674 but extending its functionality to handle non-default constructors.
1676 * exp_aggr.adb (Build_Record_Aggr_Code): Add support for non-default
1677 constructors. Minor code cleanup removing unrequired label and goto
1680 * exp_ch3.adb (Build_Initialization_Call): Add support for non-default
1682 (Build_Init_Statements): Add support for non-default constructors.
1683 (Expand_N_Object_Declaration): Add support for non-default constructors.
1684 (Freeze_Record_Type): Replace call to Set_Default_Constructor by call
1685 to Set_CPP_Constructors.
1687 * exp_ch5.adb (Expand_N_Assignment_Statement): Add support for
1688 non-default constructors.
1689 Required to handle its use in build-in-place statements.
1691 * gnat_rm.texi (CPP_Constructor): Document new extended use of this
1692 pragma for non-default C++ constructors and the new compiler support
1693 that allows the use of these constructors in record components, limited
1694 aggregates, and extended return statements.
1696 2009-04-29 Vincent Celier <celier@adacore.com>
1698 * prj-part.adb (Parse_Single_Project): Do not attempt to find a
1699 project extending an abstract project.
1701 2009-04-29 Eric Botcazou <ebotcazou@adacore.com>
1703 * targparm.ads: Fix oversight.
1705 2009-04-29 Ed Schonberg <schonberg@adacore.com>
1707 * lib-xref.adb (Output_Overridden_Op): Follow several levels of
1708 derivation when necessary, to find the user-subprogram that is actally
1711 2009-04-29 Robert Dewar <dewar@adacore.com>
1713 * sem_util.adb (May_Be_Lvalue): Fix cases involving indexed/selected
1716 2009-04-29 Ed Schonberg <schonberg@adacore.com>
1718 * exp_ch9.ads, exp_ch9.adb (Build_Wrapper_Spec): Use source line of
1719 primitive operation, rather than source line of synchronized type, when
1720 building the wrapper for a primitive operation that overrides an
1721 operation inherited from a progenitor, to improve the error message on
1722 duplicate declarations.
1724 * sem_ch3.adb (Process_Full_View): Use new signature of
1727 2009-04-29 Robert Dewar <dewar@adacore.com>
1729 * prj-nmsc.ads: Minor reformatting
1731 2009-04-29 Eric Botcazou <ebotcazou@adacore.com>
1733 * exp_ch4.adb (Expand_N_Conditional_Expression): Set the SLOC of the
1734 expression on the existing parent If statement.
1736 2009-04-29 Robert Dewar <dewar@adacore.com>
1738 * prj-proc.adb, prj.ads: Minor reformatting
1740 2009-04-29 Eric Botcazou <ebotcazou@adacore.com>
1742 * exp_ch4.adb (Expand_N_Conditional_Expression): Set the SLOC of an
1743 existing parent If statement on the newly created one.
1745 2009-04-29 Emmanuel Briot <briot@adacore.com>
1747 * gnatcmd.adb, prj-proc.adb, prj-proc.ads, make.adb, prj-part.adb,
1748 prj-part.ads, prj.adb, prj.ads, clean.adb, prj-dect.adb, prj-dect.ads,
1749 prj-nmsc.adb, prj-nmsc.ads, prj-pars.adb, prj-pars.ads, prj-makr.adb
1750 (Set_In_Configuration, In_Configuration): Removed.
1751 Replaced by an extra parameter Is_Config_File in several parameter to
1752 avoid global variables to store the state of the parser.
1754 2009-04-29 Ed Schonberg <schonberg@adacore.com>
1756 * sinfo.ads, sinfo.adb: New attribute Next_Implicit_With, to chain
1757 with_clauses generated for the same unit through rtsfind, and that
1758 appear in the context of different units.
1760 * rtsfind.adb: New attribute First_Implicit_With, component of the
1761 Unit_Record that stores information about a unit loaded through rtsfind.
1763 2009-04-29 Gary Dismukes <dismukes@adacore.com>
1765 * exp_ch3.adb (Stream_Operation_OK): Return True for limited interfaces
1766 (other conditions permitting), so that abstract stream subprograms will
1767 be declared for them.
1769 2009-04-29 Bob Duff <duff@adacore.com>
1771 * g-expect.adb (Expect_Internal): Fix check for overfull buffer.
1773 * g-expect.ads: Minor comment fixes.
1775 2009-04-29 Ed Schonberg <schonberg@adacore.com>
1777 * freeze.adb, lib-xref.adb (Check_Dispatching_Operation): if the
1778 dispatching operation is a body without previous spec, update the list
1779 of primitive operations to ensure that cross-reference information is
1782 2009-04-29 Albert Lee <lee@adacore.com>
1784 * g-socthi-vms.adb, g-socthi-vms.ads, g-socthi-vxworks.adb,
1785 g-socthi-vxworks.ads, g-socthi-mingw.adb, g-socthi-mingw.ads,
1786 g-socthi.adb, g-socthi.ads, g-socket.adb, g-socket.ads
1787 (GNAT.Sockets.Thin.C_Readv,
1788 GNAT.Sockets.Thin.C_Writev): Remove unused subprograms.
1789 (GNAT.Sockets.Thin.C_Recvmsg,
1790 GNAT.Sockets.Thin.C_Sendmsg): New bindings to call recvmsg(2) and
1792 (GNAT.Sockets.Receive_Vector, GNAT.Sockets.Send_Vector): Use
1793 C_Recvmsg/C_Sendmsg rather than Readv/C_Writev.
1795 2009-04-29 Ed Schonberg <schonberg@adacore.com>
1797 * sem_disp.adb (Check_Dispatching_Operation): if the dispatching
1798 operation is a body without previous spec, update the list of
1799 primitive operations to ensure that cross-reference information is
1802 * sem_ch12.adb (Build_Instance_Compilation_Unit_Nodes): When creating a
1803 new compilation unit node for the instance declaration, keep the
1804 context items of the original unit on it, so that the context of the
1805 instance body only holds the context inherited from the generic body.
1807 2009-04-29 Bob Duff <duff@adacore.com>
1809 * sem_res.adb: Minor comment fix.
1811 2009-04-29 Thomas Quinot <quinot@adacore.com>
1813 * sem_elim.adb: Minor reformatting
1815 2009-04-29 Ed Schonberg <schonberg@adacore.com>
1817 * exp_aggr.adb (Convert_To_Positional): if the current unit is a
1818 predefined unit, allow arbitrary number of components in static
1819 aggregate, to ensure that the same level of constant folding applies
1820 for Ada 95 and Ada 05 versions of the file.
1822 2009-04-29 Ed Schonberg <schonberg@adacore.com>
1824 * sem_elim.adb (Check_Eliminated): Handle new improved eliminate
1825 information: no need for full scope check.
1826 (Eliminate_Error): Do not emit error in a generic context.
1828 2009-04-29 Ed Falis <falis@adacore.com>
1830 * adaint.c (__gnat_rmdir): return error code if VTHREADS is defined.
1831 VxWorks 653 POS does not support rmdir.
1833 2009-04-29 Matteo Bordin <bordin@adacore.com>
1835 * s-stausa.adb, s-stausa.ads: Get_Usage_Range: changing the way
1836 results are printed.
1838 2009-04-29 Arnaud Charlet <charlet@adacore.com>
1840 * s-taskin.adb (Initialize): Remove pragma Warnings Off and remove
1843 2009-04-29 Thomas Quinot <quinot@adacore.com>
1845 * make.adb: Minor reformatting.
1846 Minor code reorganization throughout.
1848 2009-04-29 Matteo Bordin <bordin@adacore.com>
1850 * s-stausa.ads: Changed visibility of type Task_Result: moved to
1851 public part to give application visibility over it.
1852 This is for future improvement and to build a public API on top of it.
1853 Changed record components name of type Task_Result to reflect the new
1856 * s-stausa.adb: Actual_Size_Str changed to reflect the new way of
1857 reporting Stack usage.
1859 * gnat_ugn.texi: Update doc of stack usage report.
1861 * g-tastus.ads, s-stusta.ads, s-stusta.adb: New files.
1863 * Makefile.rtl: Add new run-time files.
1865 2009-04-29 Pascal Obry <obry@adacore.com>
1867 * initialize.c: Do not expand quoted arguments.
1869 2009-04-29 Emmanuel Briot <briot@adacore.com>
1871 * prj-ext.adb, prj.adb, prj.ads: Fix memory leaks.
1873 * clean.adb (Ultimate_Extension_Of): removed, since duplicate of
1874 Prj.Ultimate_Extending_Project_Of
1876 2009-04-29 Ed Schonberg <schonberg@adacore.com>
1878 * exp_ch7.adb (Build_Final_List): If the designated type is a Taft
1879 Amendment type, add the with_clause for Finalization.List_Controller
1880 only if the current context is a package body.
1882 2009-04-29 Thomas Quinot <quinot@adacore.com>
1884 * sem_ch12.adb: Minor reformatting
1886 * sem_aggr.adb: Minor reformatting
1888 * sem_ch6.adb, sem_cat.ads: Minor reformatting
1890 * sem_ch10.adb, gnat1drv.adb, prj-nmsc.adb: Minor reformatting
1892 2009-04-29 Quentin Ochem <ochem@adacore.com>
1894 * prj.ads (Source_Id): Now general pointer type.
1896 2009-04-29 Thomas Quinot <quinot@adacore.com>
1898 * exp_ch7.adb, rtsfind.adb: Minor reformatting
1900 * sem_res.adb: Minor reformatting
1902 2009-04-29 Thomas Quinot <quinot@adacore.com>
1904 * sem_res.adb (Static_Concatenation): An N_Op_Concat with static
1905 operands is static only if it is a predefined concatenation operator.
1907 * sem_util.adb: Minor reformatting
1909 * sem_ch12.adb (Save_References): When propagating semantic information
1910 from generic copy back to generic template, for the case of an
1911 identifier that has been rewritten to an explicit dereference whose
1912 prefix is either an object name or a parameterless funcion call
1913 denoting a global object or function, properly capture the denoted
1914 global entity: perform the corresponding rewriting in the template,
1915 and point the rewritten identifier to the correct global entity (not
1916 to the associated identifier in the generic copy).
1918 2009-04-29 Robert Dewar <dewar@adacore.com>
1920 * rtsfind.adb, prj-env.adb: Minor reformatting
1921 Minor code reorganization
1923 2009-04-29 Emmanuel Briot <briot@adacore.com>
1925 * make.adb: Fix comment
1927 * prj.adb (Ultimate_Extending_Project_Of): Fix handling when no project
1928 is given as argument, as might happen in gnatmake.
1930 2009-04-29 Ed Schonberg <schonberg@adacore.com>
1932 * sem_ch3.adb (Check_Abstract_Overriding): Improve error message when
1933 an abstract operation of a progenitor is not properly overridden by an
1934 operation of a derived synchronized type.
1936 2009-04-29 Robert Dewar <dewar@adacore.com>
1938 * mlib-prj.adb, mlib-tgt.adb, mlib-tgt.ads, prj-nmsc.adb,
1939 prj-proc.adb: Minor reformatting
1940 Minor code reorganization
1942 2009-04-29 Bob Duff <duff@adacore.com>
1944 * exp_ch7.adb (Build_Final_List): For an access type that designates a
1945 Taft Amendment type, if the access type needs finalization, make sure
1946 the implicit with clause for List_Controller occurs on the package spec.
1948 * rtsfind.adb (Text_IO_Kludge): Fine tune the creation of implicit
1949 with's created for the pseudo-children of Text_IO and friends. In
1950 particular, avoid cycles, such as Ada.Wide_Text_IO.Integer_IO and
1951 Ada.Text_IO.Integer_IO both with-ing each other.
1953 * sem.adb (Walk_Library_Items): Suppress assertion failure in certain
1954 oddball cases when pragma Extend_System is used.
1956 * sem_ch12.adb (Get_Associated_Node): Prevent direct 'with' cycles in
1957 the case where a package spec instantiates a generic whose body with's
1958 this package, so Walk_Library_Items won't complain about cyclic with's.
1960 2009-04-29 Emmanuel Briot <briot@adacore.com>
1962 * gnatcmd.adb, prj-proc.adb, make.adb, mlib-prj.adb, prj.adb, prj.ads,
1963 prj-pp.adb, prj-pp.ads, makeutl.adb, clean.adb, prj-nmsc.adb,
1964 mlib-tgt.adb, mlib-tgt.ads, prj-util.adb, prj-env.adb, prj-env.ads
1965 (Project_Id): now a real pointer to Project_Data, instead of an index
1966 into the Projects_Table. This simplifies the API significantly, avoiding
1967 extra lookups in this table and the need to pass the Project_Tree_Ref
1968 parameter in several cases
1970 2009-04-29 Nicolas Setton <setton@adacore.com>
1972 * gcc-interface/Makefile.in: Produce .dSYM files for shared libs on
1975 2009-04-25 Eric Botcazou <ebotcazou@adacore.com>
1977 * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Array_Subtype>: Put
1980 2009-04-24 Robert Dewar <dewar@adacore.com>
1982 * mlib-prj.adb, prj-env.adb, prj-nmsc.adb, prj-proc.adb, make.adb,
1983 clean.adb: Minor reformatting.
1984 Minor code reorganization and message improvement.
1986 2009-04-24 Emmanuel Briot <briot@adacore.com>
1988 * prj-proc.adb, prj.adb, prj.ads, prj-nmsc.adb, prj-nmsc.ads
1989 (Alternate_Languages): now implemented as a malloc-ed list rather
1990 than through a table.
1992 2009-04-24 Thomas Quinot <quinot@adacore.com>
1994 * sem_res.adb (Static_Concatenation): Simplify predicate to make it
1995 accurately handle cases such as "lit" & "lit" and
1996 "lit" & static_string_constant
1998 2009-04-24 Emmanuel Briot <briot@adacore.com>
2000 * prj-proc.adb, make.adb, mlib-prj.adb, prj.adb, prj.ads, clean.adb,
2001 prj-nmsc.adb, prj-env.adb (Project_List_Table, Project_Element):
2002 removed. Lists of projects are now implemented via standard malloc
2003 rather than through the table.
2005 2009-04-24 Thomas Quinot <quinot@adacore.com>
2007 * sem_ch12.adb: Minor reformatting
2009 * g-trasym.adb: Minor reformatting
2011 * exp_ch6.adb: Minor reformatting
2013 2009-04-24 Robert Dewar <dewar@adacore.com>
2015 * layout.adb (Layout_Type): For packed array type, copy unset
2016 size/alignment fields from the referenced Packed_Array_Type.
2018 2009-04-24 Bob Duff <duff@adacore.com>
2020 * lib-load.adb (Make_Instance_Unit): Revert previous change, no
2021 longer needed after sem_ch12 changes.
2023 * sem.adb (Walk_Library_Items): Include with's in some debugging
2026 2009-04-24 Emmanuel Briot <briot@adacore.com>
2028 * prj.ads, prj-nmsc.adb (Unit_Project): removed, since in fact we were
2029 only ever using the Project field.
2031 2009-04-24 Ed Schonberg <schonberg@adacore.com>
2033 * sem_ch12.adb (Build_Instance_Compilation_Unit_Nodes): Do not set
2034 Body_Required on the generated compilation node. The new node is linked
2035 to its body, but both share the same file, so we do not set this flag
2036 on the new unit so as not to create a spurious dependency on a
2037 non-existent body in the ali file for the instance.
2039 2009-04-24 Robert Dewar <dewar@adacore.com>
2041 * make.adb: Minor reformatting
2043 2009-04-24 Emmanuel Briot <briot@adacore.com>
2045 * prj.adb, prj.ads, prj-nmsc.adb (Check_File, Record_Ada_Source,
2046 Add_Source): merge some code between those. In particular change where
2047 file normalization is done to avoid a few extra calls to
2048 Canonicalize_File_Name. This also removes the need for passing
2049 Current_Dir in a number of subprograms.
2051 2009-04-24 Bob Duff <duff@adacore.com>
2053 * lib-load.adb (Make_Instance_Unit): In the case where In_Main is
2054 False, assign the correct unit to the Cunit field of the new table
2055 entry. We want the spec unit, not the body unit.
2057 * rtsfind.adb (Make_Unit_Name, Maybe_Add_With): Simplify calling
2058 interface for these.
2059 (Maybe_Add_With): Check whether we're trying to a with on the current
2060 unit, and avoid creating such directly self-referential with clauses.
2061 (Text_IO_Kludge): Add implicit with's for the generic pseudo-children of
2062 [[Wide_]Wide_]Text_IO. These are needed for Walk_Library_Items,
2063 and matches existing comments in the spec.
2065 * sem.adb (Walk_Library_Items): Add various special cases to make the
2068 * sem_ch12.adb (Build_Instance_Compilation_Unit_Nodes): Use Body_Cunit
2069 instead of Parent (N), for uniformity.
2071 2009-04-24 Robert Dewar <dewar@adacore.com>
2073 * errout.ads: Minor reformatting
2075 2009-04-24 Emmanuel Briot <briot@adacore.com>
2077 * gnat_ugn.texi (Library Projects): add documentation on gnatmake's
2078 behavior when the project includes sources from multiple languages
2080 2009-04-24 Vincent Celier <celier@adacore.com>
2082 * prj.adb (Has_Foreign_Sources): Returns True in Ada_Only mode if there
2083 is a language other than Ada declared.
2085 * makeutl.adb (Linker_Options_Switches): Call For_All_Projects with
2086 Imported_First set to True.
2088 2009-04-24 Ed Schonberg <schonberg@adacore.com>
2090 * sem_res.adb: additional optimization to inhibit creation of
2091 redundant transient scopes.
2093 2009-04-24 Bob Duff <duff@adacore.com>
2095 * rtsfind.ads: Minor comment fix
2097 2009-04-24 Emmanuel Briot <briot@adacore.com>
2099 * prj-proc.adb, prj-nmsc.adb (Find_Ada_Sources,
2100 Get_Path_Name_And_Record_Ada_Sources): merged, since these were
2101 basically doing the same work (for explicit or implicit sources).
2102 (Find_Explicit_Sources): renamed to Find_Sources to better reflect its
2103 role. Rewritten to share some code (testing that all explicit sources
2104 have been found) between ada_only and multi_language modes.
2106 2009-04-24 Jerome Lambourg <lambourg@adacore.com>
2108 * sem_prag.adb (Check_Form_Of_Interface_Name): Allow space in Ext_Name
2109 for CLI imported types.
2110 (Analyze_Pragma): Allow CIL or Java imported functions returning
2111 access-to-subprogram types.
2113 2009-04-24 Emmanuel Briot <briot@adacore.com>
2115 * make.adb, prj.adb, prj.ads, makeutl.adb, makeutl.ads:
2116 (Project_Data.Dir_Path): field removed, since it can be computed
2117 directly from .Directory, and is needed only once when processing the
2118 project is buildgpr.adb or make.adb
2120 2009-04-24 Robert Dewar <dewar@adacore.com>
2122 * prj-env.adb, prj-proc.adb, prj.adb, prj.ads,
2123 rtsfind.adb: Minor reformatting.
2124 Minor code reorganization
2126 2009-04-24 Arnaud Charlet <charlet@adacore.com>
2128 * mlib-prj.adb: Use friendlier english identifier.
2130 * gnatcmd.adb, make.adb: Use better english identifiers.
2132 2009-04-24 Robert Dewar <dewar@adacore.com>
2134 * clean.adb: Minor reformatting
2136 2009-04-24 Robert Dewar <dewar@adacore.com>
2138 * einfo.adb (OK_To_Rename): New flag
2140 * einfo.ads (OK_To_Rename): New flag
2142 * exp_ch3.adb (Expand_N_Object_Declaration): Rewrite as renames if
2145 * exp_ch4.adb (Expand_Concatenate): Mark temp variable OK_To_Rename
2147 * sem_ch7.adb (Uninstall_Declarations): Allow for renames from
2150 2009-04-24 Emmanuel Briot <briot@adacore.com>
2152 * prj-proc.adb, make.adb, mlib-prj.adb, prj.adb, prj.ads, makeutl.adb,
2153 clean.adb, prj-nmsc.adb, prj-env.adb, prj-env.ads (Project_Data.Seen):
2154 field removed. This is not a property of the
2155 project, just a boolean used to traverse the project tree, and storing
2156 it in the structure prevents doing multiple traversal in parallel.
2157 (Project_Data.Checked): also removed, since it was playing the same role
2158 as Seen when we had two nested loops, and this is no longer necessary
2159 (For_All_Imported_Projects): removed, since in fact there was already
2160 the equivalent in For_Every_Project_Imported. The latter was rewritten
2161 to use a local hash table instead of Project_Data.Seen
2162 Various loops were rewritten to use For_Every_Project_Imported, thus
2163 removing the need for Project_Data.Seen. This avoids a lot of code
2166 2009-04-24 Ed Schonberg <schonberg@adacore.com>
2168 * sem_res.adb (Resolve_Actuals): Do not create blocks around code
2169 statements, even though the actual of the call is a concatenation,
2170 because the argument is static, and we want to preserve warning
2171 messages about sequences of code statements that are not marked
2174 * sem_warn.adb: remove obsolete comment about warning being obsolete
2176 * s-tasren.adb (Task_Do_Or_Queue): If a timed entry call is being
2177 requeued and the delay has expired while within the accept statement
2178 that executes the requeue, do not perform the requeue and indicate that
2179 the timed call has been aborted.
2181 2009-04-24 Emmanuel Briot <briot@adacore.com>
2183 * mlib-prj.adb, prj.adb, prj.ads, prj-nmsc.adb, prj-env.adb
2184 (Has_Ada_Sources, Has_Foreign_Sources): new subprograms
2185 (Project_Data.Ada_Sources_Present, Foreign_Sources_Present): removed,
2186 since they can be computed from the above.
2188 2009-04-24 Vincent Celier <celier@adacore.com>
2190 * gnatcmd.adb: Call Prj.Env.Initialize with the Project_Tree
2192 * prj-env.adb: Move all global variables to the private part of the
2194 Access these new components instead of the global variables no longer
2196 (Add_To_Path): New Project_Tree_Ref parameter, to access the new
2197 components that were previously global variables.
2199 * prj-env.ads (Initialize): New Project_Tree_Ref parameter
2200 (Set_Mapping_File_Initial_State_To_Empty): New Project_Tree_Ref
2203 * prj-nmsc.adb (Compute_Unit_Name): New Project_Tree_Ref parameter to
2204 be able to call Set_Mapping_File_Initial_State_To_Empty with it.
2206 * prj.adb (Initialize): Do not call Prj.Env.Initialize
2207 (Reset): Do not call Prj.Env.Initialize. Instead, initialize the new
2208 components in the private part of the project tree data.
2210 * prj.ads (Private_Project_Tree_Data): new components moved from
2211 Prj.Env: Current_Source_Path_File, Current_Object_Path_File,
2212 Ada_Path_Buffer, Ada_Path_Length, Ada_Prj_Include_File_Set,
2213 Ada_Prj_Objects_File_Set, Fill_Mapping_File.
2215 2009-04-24 Vincent Celier <celier@adacore.com>
2217 * opt.ads (Unchecked_Shared_Lib_Imports): New Boolean flag.
2219 * prj-nmsc.adb (Check_Library): No error for imports by shared library
2220 projects, when --unchecked-shared-lib-imports is used.
2222 2009-04-24 Robert Dewar <dewar@adacore.com>
2224 * sem_ch7.adb: Minor reformatting
2226 2009-04-24 Tristan Gingold <gingold@adacore.com>
2228 * s-osinte-darwin.adb, s-osinte-darwin.ads: lwp_self now returns the
2231 2009-04-24 Emmanuel Briot <briot@adacore.com>
2233 * prj-env.adb, prj-env.ads (Body_Path_Name_Of, Spec_Path_Name_Of,
2234 Path_Name_Of_Library_Unit_Body): rEmove unused subprograms.
2235 (For_All_Imported_Projects): new procedure
2236 (For_All_Source_Dirs, For_All_Object_Dirs): Rewritten based on the
2237 above rather than duplicating code.
2239 2009-04-24 Emmanuel Briot <briot@adacore.com>
2241 * prj-proc.adb, prj.adb, prj.ads, prj-nmsc.adb, prj-env.adb
2242 (Source_Id, Source_Data): use a real list to store sources rather than
2243 using an external table to store the elements. This makes code more
2244 efficient and more readable.
2246 2009-04-24 Emmanuel Briot <briot@adacore.com>
2248 * prj-proc.adb, prj.adb, prj.ads, prj-nmsc.adb, prj-env.adb
2249 (Source_Iterator): new type.
2250 This removes the need for having the sources on three different
2251 lists at the project tree, project and language level. They are now
2254 2009-04-24 Emmanuel Briot <briot@adacore.com>
2256 * gnatcmd.adb, prj.adb, prj.ads: Remove unused entities
2258 2009-04-24 Ed Schonberg <schonberg@adacore.com>
2260 * sem_warn.adb: Add comment on obsolete warning
2262 2009-04-24 Arnaud Charlet <charlet@adacore.com>
2264 * s-tassta.adb (Create_Task): Fix violation of locking rule.
2266 2009-04-24 Emmanuel Briot <briot@adacore.com>
2268 * prj.adb, prj.ads, prj-nmsc.adb, prj-env.adb (Language_Index): renamed
2269 to Language_Ptr to better reflect its new implementation.
2270 (Project_Data.First_Languages_Processing): renamed to Languages now
2271 that the field with that name is no longer used
2272 (Project_Data.Languages): removed, no longer used, and duplicates
2273 information already available through First_Language_Processing.
2274 (Prj.Language_Index): now an actual pointer, instead of an index into
2275 a table. This makes the list somewhat more obvious, but more importantly
2276 removes the need to pass a pointer to the project_tree_data in a few
2277 places, and makes accessing the attributes of a languages more
2280 2009-04-24 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2281 Thomas Quinot <quinot@adacore.com>
2283 * fe.h (Set_Identifier_Casing): Add const to second parameter.
2284 * gcc-interface/misc.c (internal_error_function): Make copy of return
2285 from pp_formatted_text before assigning BUFFER to it.
2286 (gnat_init): Likewise for main_input_filename and gnat_argv.
2287 (gnat_printable_name): Remove cast from call to Set_Identifier_Casing.
2289 2009-04-24 Eric Botcazou <ebotcazou@adacore.com>
2291 * ttypes.ads (Target_Double_Float_Alignment): New variable.
2292 (Target_Double_Scalar_Alignment): Likewise.
2293 * get_targ.ads (Get_Strict_Alignment): Adjust external name.
2294 (Get_Double_Float_Alignment): New imported function.
2295 (Get_Double_Scalar_Alignment): Likewise.
2296 * layout.adb (Set_Elem_Alignment): Take into account specific caps for
2297 the alignment of "double" floating-point types and "double" or larger
2298 scalar types, as parameterized by Target_Double_Float_Alignment and
2299 Target_Double_Scalar_Alignment respectively.
2300 * gcc-interface/gigi.h (double_float_alignment): Declare.
2301 (double_scalar_alignment): Likewise.
2302 (is_double_float_or_array): Likewise.
2303 (is_double_scalar_or_array): Likewise.
2304 (get_target_double_float_alignment): Likewise.
2305 (get_target_double_scalar_alignment): Likewise.
2306 * gcc-interface/targtyps.c (get_strict_alignment): Rename into...
2307 (get_target_strict_alignment): ...this.
2308 (get_target_double_float_alignment): New function.
2309 (get_target_double_scalar_alignment): Likewise.
2310 * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Signed_Integer_Subtype>:
2311 Test the presence of an alignment clause for under-aligned integer
2312 types. Take into account specific caps for the alignment of "double"
2313 floating-point types and "double" or larger scalar types, as
2314 parameterized by Target_Double_Float_Alignment and
2315 Target_Double_Scalar_Alignment respectively.
2316 (validate_alignment): Likewise.
2317 * gcc-interface/trans.c (Attribute_to_gnu) <Attr_Alignment>: Likewise.
2318 (gigi): Initialize double_float_alignment and double_scalar_alignment.
2319 * gcc-interface/utils.c (double_float_alignment): New global variable.
2320 (double_scalar_alignment): Likewise.
2321 (is_double_float_or_array): New predicate.
2322 (is_double_scalar_or_array): Likewise.
2324 2009-04-24 Eric Botcazou <ebotcazou@adacore.com>
2326 * gcc-interface/utils2.c (build_cond_expr): Move SAVE_EXPR ahead of
2327 the conditional expression only if it is common to both arms.
2329 2009-04-24 Eric Botcazou <ebotcazou@adacore.com>
2331 * gcc-interface/gigi.h (build_call_alloc_dealloc): Update comment.
2332 * gcc-interface/decl.c (gnat_to_gnu_entity) <object>: Pass correct
2333 arguments to build_allocator.
2334 * gcc-interface/utils2.c (build_call_alloc_dealloc): Update comment.
2335 Remove code handling special allocator and assert its uselessness.
2337 2009-04-24 Eric Botcazou <ebotcazou@adacore.com>
2339 * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Array_Type>: If an
2340 alignment is specified, do not promote that of the component type
2342 <E_Array_Subtype>: Likewise.
2344 2009-04-23 Eric Botcazou <ebotcazou@adacore.com>
2346 * einfo.ads (Is_True_Constant): Lift restriction on atomic objects.
2347 * sinfo.ads (Object Declaration): Likewise.
2348 (Assignment Statement): Likewise.
2349 * freeze.adb (Expand_Atomic_Aggregate): Remove useless test.
2350 Do not force Is_True_Constant to false on the temporary.
2351 (Freeze_Entity): Do not force Is_True_Constant to false on names on
2352 the RHS of object declarations.
2353 * gcc-interface/trans.c (lvalue_required_p) <N_Object_Declaration>:
2354 New case. Return 1 if the object is atomic.
2355 <N_Assignment_Statement>: Likewise.
2357 2009-04-23 Eric Botcazou <ebotcazou@adacore.com>
2359 * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Modular_Integer_Subtype>
2360 For packed array types, make the original array type a parallel type
2361 for the modular type and its JM wrapper if the type is bit-packed.
2362 <E_Array_Subtype>: Likewise. Do not generate the special XA parallel
2363 record type for packed array types. Remove kludge.
2365 2009-04-23 Eric Botcazou <ebotcazou@adacore.com>
2367 * gcc-interface/gigi.h (create_index_type): Adjust head comment.
2368 * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Signed_Integer_Subtype>:
2369 Use front-end predicates to compute signedness and precision.
2370 <E_String_Literal_Subtype>: Fold range type.
2371 Make sure to set longest_float_type_node to a scalar type.
2372 (elaborate_entity): Use consistent Constraint_Error spelling.
2373 (substitute_in_type) <INTEGER_TYPE>: Always copy the type.
2374 * gcc-interface/misc.c (gnat_print_type) <INTEGER_TYPE>: Use brief
2375 output for the modulus, if any.
2376 <ENUMERAL_TYPE>: Likewise for the RM size.
2377 * gcc-interface/trans.c (gnat_to_gnu): Use consistent Constraint_Error
2379 * gcc-interface/utils.c (finish_record_type): Really test the alignment
2380 of BLKmode bit-fields to compute their addressability.
2381 (create_index_type): Adjust comments.
2382 (create_param_decl): Create the biased subtype manually.
2383 * gcc-interface/utils2.c (build_component_ref): Use consistent
2384 Constraint_Error spelling.
2386 2009-04-23 Eric Botcazou <ebotcazou@adacore.com>
2388 * gcc-interface/cuintp.c: Clean up include directives.
2389 * gcc-interface/targtyps.c: Likewise.
2390 * gcc-interface/decl.c: Likewise.
2391 * gcc-interface/misc.c: Likewise.
2392 * gcc-interface/trans.c: Likewise.
2393 * gcc-interface/utils.c: Likewise.
2394 * gcc-interface/utils2.c: Likewise.
2395 * gcc-interface/Make-lang.in: Adjust dependencies accordingly.
2397 2009-04-23 Eric Botcazou <ebotcazou@adacore.com>
2399 * gcc-interface/ada-tree.h (union lang_tree_node): Use standard idiom.
2400 (SET_TYPE_LANG_SPECIFIC): Likewise. Fix formatting.
2401 (SET_DECL_LANG_SPECIFIC): Likewise.
2403 * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Signed_Integer_Subtype>:
2404 Update comment about use of build_range_type.
2405 <E_Array_Type, E_Array_Subtype>: Use consistent naming convention.
2406 <E_Array_Subtype>: Rework comments about TYPE_ACTUAL_BOUNDS and add
2407 check for other cases of overloading.
2408 * gcc-interface/trans.c (gigi): Use size_int in lieu of build_int_cst.
2409 * gcc-interface/utils2.c (build_call_raise): Fix off-by-one error.
2410 Use size_int in lieu of build_int_cst.
2411 (build_call_alloc_dealloc): Use build_index_2_type in lieu of
2414 2009-04-22 Eric Botcazou <ebotcazou@adacore.com>
2416 * gcc-interface/utils2.c (build_binary_op) <PLUS_EXPR>: If operation's
2417 type is an enumeral or a boolean type, change it to an integer type
2418 with the same mode and signedness.
2420 2009-04-22 Eric Botcazou <ebotcazou@adacore.com>
2422 * gcc-interface/utils.c (create_var_decl_1): Do not emit debug info
2423 for an external constant whose initializer is not absolute.
2425 2009-04-22 Taras Glek <tglek@mozilla.com>
2427 * gcc-interface/ada-tree.h: Update GTY annotations to new syntax.
2428 * gcc-interface/trans.c: Likewise.
2429 * gcc-interface/utils.c: Likewise.
2431 2009-04-22 Ed Schonberg <schonberg@adacore.com>
2433 * sem_res.adb: Create block around procedure call when actual is a
2436 2009-04-22 Thomas Quinot <quinot@adacore.com>
2438 * s-soflin.ads: Fix typos
2440 2009-04-22 Vincent Celier <celier@adacore.com>
2442 * prj-env.adb: Minor comment change
2444 * prj-nmsc.adb (Check_Common): Add guard to avoid calling
2445 Get_Name_String with No_File.
2447 * tempdir.adb (Create_Temp_File): Output diagnostic when temp file
2448 cannot be created even when not in verbose mode.
2450 2009-04-22 Emmanuel Briot <briot@adacore.com>
2452 * make.adb, prj-env.adb, prj-env.ads, prj-nmsc.adb, prj.adb,
2453 prj.ads (Create_Mapping_File): merge the two versions for Ada_Only and
2454 Multi_Language modes, to avoid code duplication.
2455 (Project_Data.Include_Language): Removed.
2457 2009-04-22 Vincent Celier <celier@adacore.com>
2459 * tempdir.adb (Create_Temp_File): Add a diagnostic in verbose mode when
2460 the temporary file cannot be created, indicating the directory when the
2461 creation was attempted.
2463 2009-04-22 Emmanuel Briot <briot@adacore.com>
2465 * prj-env.adb, prj-env.ads (Create_Mapping_File): we need to compare
2466 the language names, not their indices.
2468 2009-04-22 Emmanuel Briot <briot@adacore.com>
2470 * prj.ads, prj-nmsc.adb, prj-env.adb, prj-env.ads
2471 (Source_Data.Language_Name): Field removed.
2473 2009-04-22 Emmanuel Briot <briot@adacore.com>
2475 * prj.adb, prj.ads, prj-nmsc.adb (Project_Data.Unit_Based_Language_*):
2478 2009-04-22 Emmanuel Briot <briot@adacore.com>
2480 * prj-nmsc.adb (Check_Naming_Ada_Only): Properly initialize the
2481 separate_suffix to the same value as the body_suffix.
2483 2009-04-22 Robert Dewar <dewar@adacore.com>
2485 * prj.adb: Minor code reorganization
2488 * prj-proc.adb: Minor code reorganization, clean up.
2490 * prj-nmsc.adb: Minor reformatting
2491 Minor code reorganization
2493 * gnat_ugn.texi: Add to doc on strict aliasing
2495 2009-04-22 Pascal Obry <obry@adacore.com>
2497 * s-osinte-mingw.ads: Rename Reserved field in CRITICAL_SECTION to
2500 * s-tasini.adb: Minor reformatting.
2502 * s-tassta.adb: Minor reformatting.
2504 2009-04-22 Emmanuel Briot <briot@adacore.com>
2506 * prj-proc.adb, prj-nmsc.adb (Check_Naming_Schemes): split into several
2507 smaller subprograms.
2508 Renamed to Check_File_Naming_Schemes to avoid confusion with the
2509 other Check_Naming_Schemes functions that plays a totally different
2511 (Check_Unit_Based_Lang, Check_File_Based_Lang): new subprograms,
2512 extracted from the above. These were partially rewritten to avoid
2513 unnecessary code and temporary variables.
2514 (Compute_Unit_Name): new subprogram, merge of Check_Unit_Based_Lang
2515 and Get_Unit (which for now still exist since they contain mode-specific
2518 2009-04-22 Emmanuel Briot <briot@adacore.com>
2520 * prj.ads, prj.adb, prj-nmsc.adb, prj-proc.adb (Recursive_Process):
2521 Remove duplicated code.
2522 (Canonical_Case_File_Name): new subprogram
2523 (Check_And_Normalize_Unit_Names): new subprogram
2524 (Write_Attr): new subprogram
2525 Better sharing of code
2526 (Check_Naming_Ada_Only, Check_Naming_Multi_Lang): new subprogram, to
2527 split Check_Naming and help find duplicated code
2528 (Check_Common): new subprogram, sharing code between ada_only and
2529 multi_language mode.
2530 (Naming_Data.Dot_Repl_Loc): field removed
2532 2009-04-22 Emmanuel Briot <briot@adacore.com>
2534 * prj-proc.adb, prj-nmsc.adb (Load_Naming_Exceptions): New subprogram.
2535 Minor refactoring to reduce the size of
2536 Process_Sources_In_Multi_Language_Mode.
2537 Avoid extra copied of Source_Data, which we found in the past could be
2539 (Mark_Excluded_Sources): new subprogram.
2540 (Remove_Locally_Removed_Files_From_Units): merged into the above
2541 Refactors Process_Sources_In_Multi_Language_Mode to reduce its size,
2542 and allow better sharing of code between multi_lang and ada_only modes
2543 (Project_Extends): removed, since exact duplicate of Prj.Is_Extending
2545 2009-04-22 Emmanuel Briot <briot@adacore.com>
2547 * prj-proc.adb, prj.adb, prj.ads (Project_Data.First_Referred_By):
2548 Removed, since unused.
2550 2009-04-22 Vincent Celier <celier@adacore.com>
2552 * prj-attr.adb: New single project level attribute
2553 Separate_Run_Path_Options.
2555 * prj-nmsc.adb (Process_Project_Level_Simple_Attributes): Process
2556 attribute Seperate_Run_Path_Options.
2558 * prj.ads: (Project_Configuration): New Boolean component
2559 Separate_Run_Path_Options, defaulted to False.
2561 * snames.ads-tmpl: New standard name Seperate_Run_Path_Options
2563 2009-04-22 Robert Dewar <dewar@adacore.com>
2565 * sem_type.adb: Minor reformatting
2567 * mlib.adb: Minor reformatting
2569 * sem_aggr.adb: Minor reformatting. Defend against junk aggregate from
2572 2009-04-22 Nicolas Setton <setton@adacore.com>
2574 * link.c: Add flag __gnat_separate_run_path_options.
2576 * mlib.adb (Separate_Run_Path_Options): New subprogram.
2578 * mlib.ads (Separate_Run_Path_Options): Declare.
2580 * gnatcmd.adb (Process_Link): Add support for emitting one "rpath"
2581 switch per directory, rather than one "rpath" switch listing all
2584 * gnatlink.adb (Process_Binder_File): Likewise.
2586 * make.adb (Gnatmake): Likewise.
2588 2009-04-22 Hristian Kirtchev <kirtchev@adacore.com>
2590 * exp_ch6.adb (Make_Build_In_Place_Call_In_Assignment): Code cleanup.
2591 Add a call to Move_Final_List when the target of the assignment is a
2592 return object that needs finalization and the expression is a
2593 controlled build-in-place function.
2595 2009-04-22 Vincent Celier <celier@adacore.com>
2597 * make.adb (Gnatmake, Bind_Step): call Set_Ada_Paths with
2598 Including_Libraries set to True.
2600 2009-04-22 Ed Schonberg <schonberg@adacore.com>
2602 * lib-load.ads, lib-load.adb (Make_Child_Decl_Unit): New subprogram, to
2603 create a unit table entry for the subprogram declaration created for a
2604 child suprogram body that has no separate specification.
2606 * sem_ch10.adb (Analyze_Compilation_Unit): For a child unit that is a
2607 subprogram body, call Make_Child_Decl_Unit.
2609 * lib.adb (Get_Cunit_Unit_Number): Verify that an entry not yet in the
2610 table can only be the created specification of a child subprogram body
2611 that is the main unit, which has not been entered in the table yet.
2613 * errout.adb (Output_Messages): Ignore created specification of a
2614 child subprogram body to prevent repeated listing of error messages.
2616 * gnat1drv.adb (gnat1drv): The generated specification for a child
2617 subprogram body does not generate code.
2619 2009-04-22 Arnaud Charlet <charlet@adacore.com>
2621 * s-bitops.adb, s-bitops.ads (Raise_Error): Do not use Ada 05 syntax,
2622 since this unit is now part of bootstrap units, so must use Ada 95
2625 2009-04-22 Thomas Quinot <quinot@adacore.com>
2627 * a-tasatt.adb: Minor reformatting
2629 2009-04-22 Bob Duff <duff@adacore.com>
2631 * s-stalib.ads: Remove "with System;" since we're inside System, so
2634 2009-04-22 Vincent Celier <celier@adacore.com>
2636 * prj-nmsc.adb (Add_Source): Always put the dependency file name in
2637 the source record, as there may be a dependency file even if no object
2640 2009-04-22 Robert Dewar <dewar@adacore.com>
2642 * lib-load.adb: Minor reformatting
2644 * lib-load.ads: Minor reformatting
2646 * sinfo.ads: Minor reformatting
2648 2009-04-22 Bob Duff <duff@adacore.com>
2650 * exp_pakd.adb: Minor comment fixes.
2652 * sinfo.ads, par-load.adb, sem_ch10.adb, lib-load.ads, lib-load.adb
2653 sem_ch12.adb: Change the meaning of the Library_Unit attribute to
2654 include units containing instantiations, as well as units that are
2655 generic instantiations.
2657 * sem.adb: Include dependents and corresponding specs/bodies in the
2660 * gcc-interface/Make-lang.in:
2661 sem now depends on s-bitops, because of the packed array of Booleans.
2663 2009-04-22 Eric Botcazou <ebotcazou@adacore.com>
2665 * gcc-interface/ada-tree.def: Fix formatting nits.
2666 (REGION_STMT): Delete.
2667 (HANDLER_STMT): Likewise.
2668 * gcc-interface/ada-tree.h: Fix formatting nits.
2670 (REGION_STMT_BODY): Likewise.
2671 (REGION_STMT_HANDLE): Likewise.
2672 (REGION_STMT_BLOCK): Likewise.
2673 (HANDLER_STMT_ARG): Likewise.
2674 (HANDLER_STMT_LIST): Likewise.
2675 (HANDLER_STMT_BLOCK): Likewise.
2676 * gcc-interface/gigi.h (fp_prec_to_size): Update comment.
2677 (fp_size_to_prec): Likewise.
2678 (largest_move_alignment): Delete.
2679 (gnat_compute_largest_alignment): Likewise.
2681 * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Signed_Integer_Subtype>:
2682 Remove redundant code.
2683 <E_Array_Type>: Remove redundant assert.
2684 <E_Array_Subtype>: Exit early from index computation in pathological
2686 Rewrite conditional assignment.
2687 (make_type_from_size): Likewise.
2688 * gcc-interface/misc.c (largest_move_alignment): Delete.
2689 (gnat_finish_incomplete_decl): Likewise.
2690 (LANG_HOOKS_FINISH_INCOMPLETE_DECL): Likewise.
2691 (asm_out_file): Likewise
2692 (gnat_print_type) <INTEGER_TYPE>: Fall through to ENUMERAL_TYPE case.
2693 (gnat_dwarf_name): Move around.
2694 * gcc-interface/trans.c (Attribute_to_gnu): Fix minor nits.
2695 (gigi): Remove call to gnat_compute_largest_alignment.
2696 * utils.c (create_field_decl): Rewrite conditional assignment.
2699 2009-04-22 Eric Botcazou <ebotcazou@adacore.com>
2701 * gcc-interface/decl.c (gnat_to_gnu_entity): Compute is_type predicate
2702 on entry. Defer common processing for types. Reorder and clean up.
2703 Compute the equivalent GNAT node and the default size for types only.
2704 <E_Modular_Integer_Type>: Directly use Esize for the type's precision.
2705 <E_Access_Type>: For an unconstrained designated type, do not pretend
2706 that a dummy type is always made.
2707 <all> Fix nits in comments.
2708 (validate_size): Fix formatting nits and comments.
2709 (set_rm_size): Likewise.
2710 * gcc-interface/utils.c (create_param_decl): Replace bogus argument
2711 passed to TARGET_PROMOTE_PROTOTYPES hook.
2713 2009-04-22 Eric Botcazou <ebotcazou@adacore.com>
2715 * fe.h (Get_External_Name): Declare.
2716 * gcc-interface/gigi.h (concat_id_with_name): Rename to...
2717 (concat_name): ...this.
2718 * gcc-interface/decl.c (gnat_to_gnu_entity): Rename gnu_entity_id to
2719 gnu_entity_name and adjust for above renaming.
2720 <E_Access_Type>: Use create_concat_name to get the name of the various
2721 types associated with unconstrained array types.
2722 (make_aligning_type): Adjust for above renaming.
2723 (maybe_pad_type): Likewise.
2724 (components_to_record): Likewise. Use get_identifier_with_length for
2725 the encoding of the variant.
2726 (get_entity_name): Use get_identifier_with_length.
2727 (create_concat_name): Likewise. Use Get_External_Name if no suffix.
2728 Do not fiddle with Name_Buffer.
2729 (concat_id_with_name): Rename to...
2730 (concat_name): ...this. Use get_identifier_with_length. Do not fiddle
2732 * gcc-interface/utils.c (rest_of_record_type_compilation): Adjust for
2735 2009-04-21 Joseph Myers <joseph@codesourcery.com>
2737 * ChangeLog, ChangeLog.ptr, ChangeLog.tree-ssa: Add copyright and
2740 2009-04-21 Eric Botcazou <ebotcazou@adacore.com>
2742 * gcc-interface/trans.c (gnat_to_gnu): Do not overwrite location info.
2744 2009-04-21 Eric Botcazou <ebotcazou@adacore.com>
2746 * gcc-interface/ada-tree.h (TYPE_RM_SIZE_NUM): Delete.
2747 (TYPE_RM_SIZE): Access TYPE_LANG_SLOT_1 directly for integral types.
2748 * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Modular_Integer_Type>:
2749 Remove useless support code for packed array types and assert its
2751 <E_Signed_Integer_Subtype>: Reuse entity identifier in more places and
2752 adjust for TYPE_RM_SIZE change.
2753 <all> Fix nits in comments. Use Original_Array_Type accessor instead
2754 of Associated_Node_For_Itype accessor for packed array types.
2755 (make_packable_type): Likewise.
2756 (maybe_pad_type): Likewise.
2757 (set_rm_size): Likewise. Rework conditional statement. Adjust for
2758 TYPE_RM_SIZE change.
2759 (make_type_from_size): Adjust for TYPE_RM_SIZE change.
2760 (rm_size): Fix nits in comments. Rework conditional statements.
2761 * gcc-interface/misc.c (gnat_print_type): Adjust for TYPE_RM_SIZE
2763 * gcc-interface/trans.c (Attribute_to_gnu): Fix nits in comments.
2764 * gcc-interface/utils.c (gnat_init_decl_processing): Use more
2765 appropriate function to initialize the size_type_node. Adjust for
2766 TYPE_RM_SIZE change.
2768 2009-04-21 Eric Botcazou <ebotcazou@adacore.com>
2770 * gcc-interface/decl.c (gnat_to_gnu_entity): Do not set force_global
2771 for imported subprograms.
2773 2009-04-21 Eric Botcazou <ebotcazou@adacore.com>
2775 * gcc-interface/decl.c (gnat_to_gnu_entity) <object>: Do not make
2776 constant objects covered by 13.3(19) volatile.
2778 2009-04-21 Eric Botcazou <ebotcazou@adacore.com>
2780 * gcc-interface/utils.c (create_type_decl): Do not pass declarations
2781 of dummy fat pointer types to the debug back-end.
2783 2009-04-20 Eric Botcazou <ebotcazou@adacore.com>
2785 * gcc-interface/decl.c (gnat_to_gnu_entity): Rewrite Esize calculation.
2786 <E_Signed_Integer_Subtype>: Set the RM size on the integer type
2787 before wrapping it up in the record type. Do not overwrite the
2788 Ada size of the record type with the Esize.
2790 2009-04-20 Eric Botcazou <ebotcazou@adacore.com>
2792 * gcc-interface/trans.c (unchecked_conversion_lhs_nop): New predicate.
2793 (gnat_to_gnu) <N_Unchecked_Type_Conversion>: Return the expression
2794 if the conversion is on the LHS of an assignment and a no-op.
2795 <all> Do not convert the result to the result type if the Parent
2796 node is such a conversion.
2798 2009-04-20 Eric Botcazou <ebotcazou@adacore.com>
2800 * gcc-interface/ada-tree.h (DECL_HAS_REP_P): Delete.
2801 * gcc-interface/decl.c (gnat_to_gnu_entity): Add support for extension
2802 of types with unknown discriminants.
2803 (substitute_in_type): Rewrite and restrict to formal substitutions.
2804 * gcc-interface/utils.c (create_field_decl): Do not set DECL_HAS_REP_P.
2805 (update_pointer_to): Update comment.
2807 2009-04-20 Ed Schonberg <schonberg@adacore.com>
2809 * sem_ch8.adb (Use_One_Package): In an instance, if two
2810 potentially_use_visible and non-overloadable homonyms are available
2811 from the actuals of distinct formal packages, retain the current one,
2812 which was visible in the generic, to prevent spurious visibility
2814 (End_Use_Package): Restore use_visibility when needed.
2816 2009-04-20 Sergey Rybin <rybin@adacore.com>
2818 * gnat_ugn.texi, vms_data.ads: Update doc.
2820 2009-04-20 Arnaud Charlet <charlet@adacore.com>
2822 * gcc-interface/Make-lang.in: Update dependencies
2824 * gcc-interface/Makefile.in: Link run-time against winsock2 lib under
2827 2009-04-20 Robert Dewar <dewar@adacore.com>
2829 * checks.ads: Fix documentation of range check handling
2831 2009-04-20 Ed Schonberg <schonberg@adacore.com>
2833 * sem_ch8.adb (Use_One_Type): Use proper entity on warning message for
2834 a redundant use_type clause.
2836 2009-04-20 Robert Dewar <dewar@adacore.com>
2838 * sem_attr.adb (Eval_Attribute, case Length): Catch more cases where
2839 this attribute can be evaluated at compile time.
2840 (Eval_Attribute, case Range_Length): Same improvement
2842 * sem_eval.ads, sem_eval.adb (Compile_Time_Compare): New procedure
2844 2009-04-20 Ed Schonberg <schonberg@adacore.com>
2846 * sem_ch6.adb (Analye_Subprogram_Declaration): Code reorganization,
2847 for better handling of null procedures.
2848 (Check_Overriding_Indicator): Do not emit a warning on a missing
2849 overriding indicator on an operator when the type of which the operator
2850 is a primitive is private.
2852 2009-04-20 Bob Duff <duff@adacore.com>
2854 * sem.adb, gnat1drv.adb, debug.adb: Use the -gnatd.W switch to control
2857 2009-04-20 Robert Dewar <dewar@adacore.com>
2859 * sem_attr.adb: Minor reformatting
2861 * gnatcmd.adb: Minor reformatting
2863 2009-04-20 Ed Schonberg <schonberg@adacore.com>
2865 * sem_ch4.adb (Analyze_User_Defined_Binary_Op): If left operand is
2866 overloaded and one interpretation matches the context, label the
2867 operand with the type of first formal.
2869 2009-04-20 Bob Duff <duff@adacore.com>
2871 * debug.ads: Minor comment fix.
2873 * debug.adb: Minor comment fixes.
2875 2009-04-20 Javier Miranda <miranda@adacore.com>
2877 * rtsfind.ads (RE_Null_Id): New entity of package Ada.Exceptions
2879 * exp_ch6.adb (Expand_Inlined_Call): Undo previous patch.
2881 * exp_ch11.adb (Expand_N_Raise_Statement): When the raise stmt
2882 is expanded into a call to Raise_Exception, avoid passing the
2883 exception-name'identity in runtimes in which this argument
2886 2009-04-20 Jerome Lambourg <lambourg@adacore.com>
2888 * impunit.adb: Add i-cil and i-cilobj packages, now needed by the
2889 generated bindings for cil.
2891 2009-04-20 Ed Schonberg <schonberg@adacore.com>
2893 * sem_aggr.adb (Resolve_Record_Aggregate): If the type has unknown
2894 discriminants, collect components from the Underlying_Record_View,
2895 which will be used in the expansion of the aggregate into assignments.
2897 * sem_ch3.adb: Do not label derived type with unknown discriminants as
2898 having a private declaration.
2900 2009-04-20 Ed Schonberg <schonberg@adacore.com>
2902 * exp_util.adb (Expand_Subtype_From_Expr): use the
2903 underlying_record_view when available, to create the proper constrained
2904 subtype for an object of a derived type with unknown discriminants.
2906 2009-04-20 Javier Miranda <miranda@adacore.com>
2908 * exp_ch6.adb (Expand_Inlined_Call): Avoid generation of temporaries for
2909 formals that have pragma unreferenced.
2911 2009-04-20 Pascal Obry <obry@adacore.com>
2913 * a-direct.adb (To_Lower_If_Case_Insensitive): Removed.
2914 Remove all calls to To_Lower_If_Case_Insensitive to preserve
2915 the pathname original casing.
2917 2009-04-20 Robert Dewar <dewar@adacore.com>
2919 * g-trasym.adb: Minor reformatting
2921 * s-os_lib.adb: Minor reformatting
2923 * sem.adb: Minor reformatting
2924 Minor code reorganization
2926 * sem_ch3.adb: Minor reformatting
2928 * sem_ch4.adb: Minor reformatting
2930 * sem_ch8.adb: Minor reformatting
2932 * sem_type.adb: Minor reformatting
2934 2009-04-20 Javier Miranda <miranda@adacore.com>
2936 * sem_disp.adb (Find_Dispatching_Type): For subprograms internally
2937 generated by derivations of tagged types use the aliased subprogram a
2938 reference to locate their controlling type.
2940 2009-04-20 Tristan Gingold <gingold@adacore.com>
2942 * g-trasym.adb: Set size of result buffer before calling
2945 2009-04-20 Ed Schonberg <schonberg@adacore.com>
2947 * sem_ch4.adb (Valid_Candidate): When checking whether a prefixed call
2948 to a function returning an array can be interpreted as a call with
2949 defaulted parameters whose result is indexed, take into account the
2950 types of all the indices of the array result type.
2952 2009-04-20 Pascal Obry <obry@adacore.com>
2954 * a-direct.adb, s-os_lib.adb: Minor reformatting.
2956 2009-04-20 Ed Schonberg <schonberg@adacore.com>
2958 * sem_ch8.adb (Analyze_Object_Renaming): Proper checks on incorrect
2959 null exclusion qualifiers for object renaming declarations.
2961 2009-04-20 Nicolas Roche <roche@adacore.com>
2963 * sysdep.c (__gnat_localtime_tzoff): on Windows, manipulated times are
2964 unsigned long long. So compare local_time and utc_time before computing
2967 2009-04-20 Eric Botcazou <ebotcazou@adacore.com>
2969 * sem_ch3.adb (Build_Derived_Private_Type): Insert the declaration
2970 of the Underlying_Record_View before that of the derived type.
2972 * exp_ch3.adb (Expand_Record_Extension): Do not special-case types
2973 with unknown discriminants with regard to the parent subtype.
2975 2009-04-20 Bob Duff <duff@adacore.com>
2977 * sem.adb (Semantics, Walk_Library_Items): Include dependents of bodies
2978 that are not included. This is necessary if the main unit is a generic
2981 * gnat1drv.adb (Gnat1drv): Comment out the call to Check_Library_Items,
2982 because it doesn't work if -gnatn is used.
2984 2009-04-20 Ed Schonberg <schonberg@adacore.com>
2986 * rtsfind.adb (RTE, RTE_Record_Component): In
2987 Configurable_Run_Time_Mode, do not enable front-end inlining.
2989 2009-04-20 Thomas Quinot <quinot@adacore.com>
2991 * g-socthi-vms.adb: Remove now unnecessary WITH clause on
2992 System.Address_To_Access_Conversions.
2994 2009-04-20 Ed Schonberg <schonberg@adacore.com>
2996 * sem.adb: Guard against ill-formed subunits.
2998 2009-04-20 Bob Duff <duff@adacore.com>
3000 * output.adb (Flush_Buffer): Do not indent blank lines.
3001 (Ignore_Output): New procedure for output suppression.
3003 2009-04-20 Hristian Kirtchev <kirtchev@adacore.com>
3005 * a-calfor.adb (Image): Subtract 0.5 from the sub second component only
3006 when it is positive. This avoids a potential constraint error raised
3007 by the conversion to Natural.
3009 2009-04-20 Gary Dismukes <dismukes@adacore.com>
3011 * exp_ch5.adb (Expand_Assign_Array): For the case where the assignment
3012 involves a target that has a specified address, don't set Forward_OK
3013 and Backward_OK to False if the rhs is an aggregate, since overlap
3016 2009-04-20 Ed Schonberg <schonberg@adacore.com>
3018 * sem_ch8.adb (Analyze_Object_Renaming): Reject ambiguous expressions
3019 in an object renaming declaration when the expected type is an
3020 anonymous access type.
3022 * sem_type.adb (Disambiguate): Use anonymousness to resolve a potential
3023 ambiguity when one interpretation is an anonymous access type and the
3024 other is a named access type, and the context itself is anonymous
3026 2009-04-20 Thomas Quinot <quinot@adacore.com>
3028 * einfo.ads: Minor comment rewording
3030 * sem_aggr.adb: Minor comment rewording
3032 * sem_ch3.adb, sem_ch6.adb: Minor reformatting
3034 2009-04-20 Pascal Obry <obry@adacore.com>
3036 * adaint.c (__gnat_is_readable_file): Check for file existence
3037 when not using ACL (always the case on remote drives).
3039 2009-04-20 Robert Dewar <dewar@adacore.com>
3041 * sinfo.ads: Minor comment fixes
3043 * exp_disp.adb: Minor reformatting
3045 * gnat1drv.adb: Minor reformatting
3047 * output.adb: Minor reformatting
3049 * s-vxwext-kernel.ads: Minor reformatting
3051 * sem.ads: Minor reformatting
3053 * sem.adb: Minor reformatting
3055 * sem_elim.adb: Minor reformatting
3057 * uname.ads: Minor reformatting
3059 2009-04-20 Eric Botcazou <ebotcazou@adacore.com>
3061 * init.c (__gnat_adjust_context_for_raise): On x86{-64}/Linux, add
3062 a small dope of 4 words to the adjustment to the stack pointer.
3064 2009-04-20 Thomas Quinot <quinot@adacore.com>
3066 * xoscons.adb: generate C header s-oscons.h in
3067 addition to s-oscons.ads.
3069 * socket.c: On VMS, use s-oscons.h.
3071 * sem_ch3.adb: Minor reformatting
3073 * exp_ch9.adb: Minor reformatting
3075 2009-04-20 Eric Botcazou <ebotcazou@adacore.com>
3077 * gcc-interface/trans.c (check_for_eliminated_entity): Remove.
3078 (Attribute_to_gnu): Do not call check_for_eliminated_entity.
3079 (call_to_gnu): Likewise.
3081 2009-04-20 Eric Botcazou <ebotcazou@adacore.com>
3083 * gcc-interface/trans.c (gigi): Declare the name of the compilation
3084 unit as the first global name at the very beginning.
3086 2009-04-20 Thomas Quinot <quinot@adacore.com>
3088 * socket.c, g-socthi-vms.adb, g-socthi-vms.ads, g-socthi-vxworks.ads,
3089 s-oscons-tmplt.c, gsocket.h, g-socthi-mingw.ads, g-socthi.ads,
3090 g-sothco.ads (__gnat_inet_pton): Needs to be enabled for HP-UX as well,
3091 since HP-UX supports neither inet_aton nor inet_pton (altough the
3092 latter is part of the Single UNIX Specification!).
3093 So reorganize code, and share C implementation based on inet_addr(3)
3094 with VMS (instead of having a VMS specific Ada implementation in
3097 2009-04-20 Gary Dismukes <dismukes@adacore.com>
3099 * osint-c.ads, osint-c.adb (Get_Object_Output_File_Name): New function
3100 to return the object file name saved by Set_Object_Output_File_Name.
3102 2009-04-20 Emmanuel Briot <briot@adacore.com>
3104 * g-comlin.adb (Initialize_Option_Scan): Fix initialization of parsers
3105 for the standard command line, when argc has been modified since the
3106 start of the application.
3108 2009-04-20 Thomas Quinot <quinot@adacore.com>
3110 * socket.c (__gnat_inet_pton, Windows case): Adjust return value.
3111 WSAStringToAddress returns 0 for success and SOCKET_ERROR for failure.
3113 2009-04-20 Bob Duff <duff@adacore.com>
3115 * gnat1drv.adb (Gnat1drv): Put call to Check_Library_Items inside
3118 2009-04-20 Ed Schonberg <schonberg@adacore.com>
3120 * exp_ch9.adb (Build_Protected_Sub_Specification): Mark generated
3121 subprogram as Eliminated when source operation is.
3122 (Expand_N_Protected_Type_Declaration): Generate protected and
3123 unprotected specs for the internal operations, even if the source
3124 operation is eliminated.
3126 2009-04-20 Hristian Kirtchev <kirtchev@adacore.com>
3128 * exp_ch3.adb (Make_Predefined_Primitive_Specs,
3129 Predefined_Primitive_Bodies): Do not create the declarations and bodies
3130 of the primitive subprograms associated with dispatching select
3131 statements when the runtime is in configurable mode.
3133 2009-04-20 Ed Falis <falis@adacore.com>
3135 * s-vxwext-kernel.ads (tickGet): Use tick64Get.
3137 2009-04-20 Thomas Quinot <quinot@adacore.com>
3139 * s-oscons-tmplt.c: Add support for generating a dummy version of
3140 s-oscons.ads providing all possible constants.
3142 * g-socthi-mingw.ads: Fix calling convention for __gnat_inet_pton.
3144 * socket.c (__gnat_inet_pton): On Windows make sure we always use the
3145 ANSI version (not the UNICODE version) of WSAStringToAddress.
3147 2009-04-20 Pascal Obry <obry@adacore.com>
3149 * adaint.c (__gnat_set_OWNER_ACL): properly free memory
3150 allocated for the security descriptor and make sure all
3151 handles are closed before leaving this procedure.
3153 2009-04-20 Javier Miranda <miranda@adacore.com>
3155 * einfo.ads, einfo.adb (Is_Underlying_Record_View): New subprogram
3156 (Set_Is_Underlying_Record_View): New subprogram
3158 * sem_aggr.adb (Discr_Present, Resolve_Record_Aggregate): In case of
3159 private types with unknown discriminants use the underlying record view
3162 * sem_ch3.adb (Build_Derived_Private_Type): Enable construction of the
3163 underlying record view in the full view of private types whose parent
3164 has unknown discriminants.
3165 (Build_Derived_Record_Type): Avoid generating the class-wide entity
3166 associated with an underlying record view.
3167 (Derived_Type_Declaration): Avoid deriving parent primitives in
3168 underlying record views.
3170 * sem_ch6.adb (Check_Return_Subtype_Indication): Add support for
3171 records with unknown discriminants.
3173 * sem_type.adb (Covers): Handle underlying record views.
3174 (Is_Ancestor): Add support for underlying record views.
3176 * exp_attr.adb (Expand_Attribute): Expand attribute 'size into a
3177 dispatching call if the type of the target object is tagged and has
3178 unknown discriminants.
3180 * exp_aggr.adb (Resolve_Record_Aggregate): Add support for records with
3181 unknown discriminants.
3183 * exp_disp.adb (Build_Dispatch_Tables): Avoid generating dispatch
3184 tables for internally built underlying record views.
3186 * sprint.adb (sprint_node_actual): Improve output of aggregates with an
3187 empty list of component associations.
3189 2009-04-20 Thomas Quinot <quinot@adacore.com>
3191 * sem_ch10.adb: Minor reformatting
3193 * socket.c, g-socthi-vms.adb, g-socthi-vms.ads, g-socthi-vxworks.ads,
3194 g-socthi-mingw.ads, g-socthi.ads, g-socket.adb
3195 (GNAT.Sockets.Inet_Addr): Do not use non-portable inet_aton, instead use
3196 standard inet_pton API (and emulate it on platforms that do not
3198 (GNAT.Sockets.Thin.Inet_Pton, VMS case): Implement in terms of
3199 DECC$INET_ADDR, imported in Ada.
3200 (GNAT.Sockets.Thin.Inet_Pton, VxWorks and Windows cases): Use C
3201 implementation provided by GNAT runtime.
3202 (__gnat_inet_pton): C implementation of inet_pton(3) for VxWorks and
3205 2009-04-20 Eric Botcazou <ebotcazou@adacore.com>
3207 * gnat_ugn.texi: Add documentation for -fno-ivopts.
3209 2009-04-20 Ed Schonberg <schonberg@adacore.com>
3211 * sem_ch10.adb (Analyze_Context): Do not analyze a unit in a
3212 with_clause if it is the main unit.
3214 2009-04-20 Thomas Quinot <quinot@adacore.com>
3216 * sem_type.adb, ali.adb, erroutc.adb: Minor code reorganization
3217 (no behaviour change): Use Append instead of Increment_Last followed
3220 2009-04-20 Hristian Kirtchev <kirtchev@adacore.com>
3222 * exp_ch3.adb (Make_Predefined_Primitive_Specs): Do not generate the
3223 declarations of all primitives associated with dispatching asynchronous,
3224 conditional and timed selects when dispaching calls are forbidden and
3225 select statements are not allowed (such as in Ravenscar).
3226 (Predefined_Primitive_Bodies): Ditto for bodies.
3228 * exp_disp.ad (Make_DT): Do not create and populate the
3229 Select_Specific_Data of the dispatch table when dispatching calls are
3230 forbidden and select statements are not allowed (such as in Ravenscar).
3232 2009-04-20 Robert Dewar <dewar@adacore.com>
3234 * a-tifiio.adb: Minor reformatting
3236 2009-04-20 Thomas Quinot <quinot@adacore.com>
3238 * g-socthi-vms.adb, g-socket.adb, g-socket.ads: inet_aton(3), unlike
3239 other C library functions, report *failure* with a zero status, and
3240 success with a non-zero status.
3242 2009-04-20 Bob Duff <duff@adacore.com>
3244 * sem.ads, sem.adb (Walk_Library_Items): New generic procedure.
3245 (Semantics): After analyzing each unit, Append it to the
3246 Comp_Unit_List, if appropriate.
3248 * gnat1drv.adb (Check_Library_Items): New procedure for debugging
3250 (Gnat1drv): Correct comment regarding Back_End_Mode.
3252 2009-04-20 Eric Botcazou <ebotcazou@adacore.com>
3254 * gnat_ugn.texi: Add documentation for -fno-inline-small-functions.
3256 2009-04-20 Thomas Quinot <quinot@adacore.com>
3258 * s-taprop-irix.adb, s-taprop-tru64.adb, s-taprop-vms.adb,
3259 output.adb, output.ads, s-taprop-hpux-dce.adb,
3260 s-taprop-linux.adb, s-taprop-solaris.adb, s-taprop-posix.adb: Minor
3263 2009-04-20 Thomas Quinot <quinot@adacore.com>
3265 * g-socket.adb, g-socket.ads, g-socthi-mingw.ads, g-socthi-vms.adb,
3266 g-socthi-vms.ads, g-socthi-vxworks.ads, g-socthi.ads
3267 (GNAT.Sockets.Thin.C_Inet_Addr): Remove.
3268 (GNAT.Sockets.Thin.Inet_Aton): New function, imported from C library
3269 except for VMS where it is reimplemented in Ada using DECC$INET_ADDR.
3270 (GNAT.Sockets.Inet_Addr): Use inet_aton(3) instead of inet_addr(3).
3272 * debug.adb: Fix typo
3274 * gnat_rm.texi: Minor doc fix.
3276 * sem_ch7.adb, freeze.adb: Minor reformatting
3278 2009-04-20 Thomas Quinot <quinot@adacore.com>
3280 * g-socket.ads: Add new constants:
3282 Unspecified_Group_Inet_Addr
3283 All_Hosts_Group_Inet_Addr
3284 All_Routers_Group_Inet_Addr
3286 * s-oscons-tmplt.c, g-sttsne-vxworks.adb (System.OS_Constants): Add
3287 ERANGE (Result too large).
3288 (GNAT.Sockets.Thin.Task_Safe_NetDB, VxWorks version): Add missing
3289 propagation of errno to caller.
3291 2009-04-20 Hristian Kirtchev <kirtchev@adacore.com>
3293 * a-calend.adb, a-calend-vms.adb: Increase the number of leap seconds
3294 to 24. Increment Leap_Seconds_Count and add an entry to aggregate
3297 2009-04-20 Gary Dismukes <dismukes@adacore.com>
3299 * sem_elim.ads (Check_For_Eliminated_Subprogram): New procedure for
3300 checking for references to eliminated subprograms that should be
3302 (Eliminate_Error_Message): Update comment to say "references" rather
3303 than "calls" (since attribute cases are handled here as well).
3305 * sem_elim.adb (Check_For_Eliminated_Subprogram): New procedure for
3306 checking for references to eliminated subprograms that should be
3307 flagged. Add with and use of Sem and Sem_Util.
3309 * sem_res.adb (Resolve_Call): Reject calls to eliminated subprograms.
3310 Add with and use of Sem_Elim.
3312 * sem_attr.adb (Analyze_Access_Attribute): Reject access attributes
3313 applied to eliminated subprograms.
3314 (Analyze_Attribute): Reject 'Address and 'Code_Address applied to
3315 eliminated subprograms.
3316 Add with and use of Sem_Elim.
3318 * sem_disp.adb (Check_Dispatching_Call): Remove error check for calls
3319 to eliminated subprograms, now handled during Resolve_Call.
3320 Remove with and use of Sem_Elim.
3322 * exp_disp.adb (Make_DT): Get Ultimate_Alias of primitive before
3323 testing Is_Eliminated, for proper handling of primitive derived from
3324 eliminated subprograms.
3326 2009-04-20 Vincent Celier <celier@adacore.com>
3328 * mlib-prj.adb (Build_Library): Use the shared library linker, if one
3329 has been declared (Library_GCC or Linker'Driver), for the driver name.
3331 * prj-nmsc.adb (Process_Linker): If Library_GCC is not declared and
3332 Linker'Driver is, use Linker'Driver as the shared library linker.
3333 (Process_Project_Level_Simple_Attributes): Issue a warning if attribute
3334 Library_GCC is declared.
3335 (Check_Library_Attributes): Set up the shared linker driver: either
3336 Library_GCC or Linker'Driver. Issue a warning if Library_GCC is
3339 2009-04-20 Thomas Quinot <quinot@adacore.com>
3341 * g-socket.ads (Send_Socket): Fix misleading comment.
3343 2009-04-20 Arnaud Charlet <charlet@adacore.com>
3345 * switch-c.adb (Scan_Front_End_Switches): Disable inspector mode in
3348 2009-04-20 Geert Bosch <bosch@adacore.com>
3350 * a-tifiio.adb (Put): Avoid generating too many digits for certain
3351 fixed types with smalls that are neither integer or the reciprocal
3354 2009-04-20 Bob Duff <duff@adacore.com>
3356 * uname.ads: Minor comment fix.
3358 * types.ads: Minor comment fix.
3360 2009-04-20 Pascal Obry <obry@adacore.com>
3362 * adaint.c (__gnat_get_libraries_from_registry): Fix code to
3363 avoid warning. At the same time fix a memory leak.
3365 * osint.adb (Get_Libraries_From_Registry): Properly free memory
3366 returned by the above routine.
3368 2009-04-20 Robert Dewar <dewar@adacore.com>
3370 * s-conca5.adb, s-conca5.ads, s-conca7.adb, s-conca7.ads, s-conca9.adb,
3371 s-conca9.ads, rtsfind.ads, s-conca2.adb, s-conca2.ads, s-conca4.adb,
3372 s-conca4.ads, s-conca6.adb, s-conca6.ads, s-conca8.adb, s-conca8.ads,
3373 s-conca3.adb, s-conca3.ads (Str_Concat_Bounds_x): New functions.
3375 * exp_ch4.adb (Expand_Concatenate): Minor code reorganization
3377 2009-04-20 Pascal Obry <obry@adacore.com>
3379 * initialize.c (__gnat_initialize): Add braces to kill warning.
3381 * adaint.c: Minor reformatting, remove trailing spaces.
3383 2009-04-17 Arnaud Charlet <charlet@adacore.com>
3385 * gcc-interface/Make-lang.in: Update dependencies.
3387 2009-04-20 Eric Botcazou <ebotcazou@adacore.com>
3389 * adaint.h (__gnat_lwp_self): Declare on Linux.
3391 * adaint.c (__gnat_os_filename): Add ATTRIBUTE_UNUSED on 'filename'.
3393 2009-04-20 Robert Dewar <dewar@adacore.com>
3395 * exp_ch5.adb, usage.adb, back_end.adb, opt.ads: Implement
3396 front-end part of -fpreserve-control-flow switch.
3398 2009-04-20 Bob Duff <duff@adacore.com>
3400 * rtsfind.adb: Minor comment fix
3402 2009-04-20 Robert Dewar <dewar@adacore.com>
3404 * exp_aggr.adb: Minor reformatting
3405 Minor code reorganization (use Nkind_In)
3407 * g-socket.adb: Minor reformatting
3409 * g-socket.ads: Minor comment fix
3411 * s-auxdec.ads: Minor comment and organization update.
3413 * s-auxdec-vms_64.ads: Minor comment and organization update.
3415 * sem_ch10.adb: Minor addition of ??? comment
3417 * sem_disp.adb: Minor reformatting
3419 2009-04-20 Ed Schonberg <schonberg@adacore.com>
3421 * inline.adb (Add_Inlined_Subprogram): Do not place on the back-end
3422 list a caller of an inlined subprogram, if the caller itself is not
3425 2009-04-20 Pascal Obry <obry@adacore.com>
3427 * adaint.c: Disable use of ACL on network drives.
3429 2009-04-20 Arnaud Charlet <charlet@adacore.com>
3431 * gnat_ugn.texi: Add examples.
3433 2009-04-20 Thomas Quinot <quinot@adacore.com>
3435 * g-socket.ads (Abort_Selector): Clarify documentation.
3437 2009-04-20 Arnaud Charlet <charlet@adacore.com>
3439 * opt.ads (Inspector_Mode): Update documentation of this flag.
3441 2009-04-20 Thomas Quinot <quinot@adacore.com>
3443 * g-socket.ads: Minor reformatting
3445 * socket.c, gsocket.h (__gnat_get_h_errno, VxWorks case): No need to
3446 consider S_resolvLib error codes since we only use the hostLib wrappers.
3448 2009-04-20 Eric Botcazou <ebotcazou@adacore.com>
3450 * sem_ch3.adb (Build_Derived_Private_Type): Insert the declaration
3451 of the Underlying_Record_View after that of the derived type.
3453 2009-04-20 Arnaud Charlet <charlet@adacore.com>
3455 * switch-c.adb (Scan_Front_End_Switches): Disable front-end inlining
3458 2009-04-20 Javier Miranda <miranda@adacore.com>
3460 * sem_ch6.adb (New_Overloaded_Entity): Minor reformating.
3462 * sem_ch6.ads (Subtype_Conformant, Type_Conformant): Add missing
3465 * exp_aggr.adb (Build_Record_Aggr_Code): Code cleanup.
3468 (Check_Dispatching_Operation): Set attribute Is_Dispatching_Operation
3469 in internally built overriding subprograms.
3471 2009-04-20 Doug Rupp <rupp@adacore.com>
3473 * s-auxdec-vms_64.ads (Integer_{8,16,32,64}_Array): New array types.
3475 * s-auxdec.ads: Likewise
3477 2009-04-20 Ed Schonberg <schonberg@adacore.com>
3479 * sem_ch3.adb (Find_Type_Name): Reject the completion of a private
3480 type by an interface.
3482 * exp_ch6.adb (Expand_Call): Inline To_Address unconditionally, to
3483 minimze difference in expanded tree when compiled as spec of the main
3484 unit, or as a spec in the context of another unit.
3486 2009-04-20 Hristian Kirtchev <kirtchev@adacore.com>
3488 * a-calend.adb: Remove types char_Pointer, int, tm and tm_Pointer.
3489 (localtime_tzoff): This routine no longer accepts an actual of type
3491 (UTC_Time_Offset): Remove local variable Secs_TM.
3493 * sysdep.c (__gnat_localtime_tzoff): This routine no longer accepts an
3494 actual of type struct tm*. Add local variable of type struct tm for all
3495 targets that provide localtime_r and need to invoke it.
3497 2009-04-20 Thomas Quinot <quinot@adacore.com>
3499 * s-oscons-tmplt.c, g-socket.adb, g-socket.ads
3500 (GNAT.Sockets.Resolve_Error): Add case of EPIPE
3501 Add case of EAGAIN for platforms where it is not equal to EWOULDBLOCK
3503 2009-04-20 Robert Dewar <dewar@adacore.com>
3505 * sem_ch3.adb: Minor reformatting
3507 * lib-load.adb: Minor reformatting
3509 * sem_ch4.adb: Minor reformatting
3511 2009-04-20 Robert Dewar <dewar@adacore.com>
3513 * namet-sp.ads, namet-sp.adb (Is_Bad_Spelling_Of): Implement new spec
3514 (equal values => False).
3516 2009-04-20 Ed Schonberg <schonberg@adacore.com>
3518 * exp_ch6.adb (Is_Null_Procedure): predicate is global, so that calls
3519 to null procedures can be inlined unconditionally.
3521 2009-04-20 Eric Botcazou <ebotcazou@adacore.com>
3523 * gcc-interface/trans.c (call_to_gnu): When creating the copy for a
3524 non-addressable parameter passed by reference, do not convert the
3525 actual if its type is already the nominal type, unless it is of
3526 self-referential size.
3528 2009-04-20 Arnaud Charlet <charlet@adacore.com>
3530 * gnat_ugn.texi: Fix typos.
3532 2009-04-20 Robert Dewar <dewar@adacore.com>
3534 * debug.adb, gnat1drv.adb, sem_ch13.adb: Add circuitry to
3535 Validate_Unchecked_Warnings to suppress warnings about size or
3536 alignment or extra bits if either type involved has pragma Warnings
3537 (Off) set for the type entity.
3539 2009-04-19 Eric Botcazou <ebotcazou@adacore.com>
3541 * gcc-interface/trans.c (gigi): Make the special IA-64 descriptor type
3542 a builtin type and give it a name.
3544 2009-04-17 Diego Novillo <dnovillo@google.com>
3546 * gcc-interface/misc.c (gnat_expand_expr): Remove.
3547 (LANG_HOOKS_EXPAND_EXPR): Remove.
3549 2009-04-17 Robert Dewar <dewar@adacore.com>
3551 * sem_ch3.adb: Minor reformatting
3553 2009-04-17 Pascal Obry <obry@adacore.com>
3555 * adaint.c: Add __gnat_use_acl global variable to control use of ACL.
3557 2009-04-17 Ed Schonberg <schonberg@adacore.com>
3559 * sem_ch3.adb (Build_Derived_Enumeration_Type): Diagnose properly
3560 illegal constraints on type derived from formal discrete types.
3562 2009-04-17 Thomas Quinot <quinot@adacore.com>
3566 * g-socthi-vms.adb, g-socthi-vms.ads, g-socthi-vxworks.adb,
3567 g-socthi-vxworks.ads, g-socthi-mingw.adb, g-socthi-mingw.ads,
3568 g-socthi.adb, g-stsifd-sockets.adb, g-socthi.ads, g-socket.adb,
3569 g-socket.ads (GNAT.Sockets.Thin.C_Send,
3570 GNAT.Sockets.Thin.Syscall_Send): Remove unused subprograms.
3571 Replace calls to send(2) with equivalent sendto(2) calls.
3572 (GNAT.Sockets.Send_Socket): Factor common code in inlined subprogram.
3573 (GNAT.Sockets.Write): Account for the case of hyper-empty arrays, do not
3574 report an error in that case. Factor code common to the two versions
3575 (datagram and stream) in common routine Stream_Write.
3577 2009-04-17 Robert Dewar <dewar@adacore.com>
3579 * exp_disp.adb: Minor reformatting
3580 Minor code reorganization (use Nkind_In)
3582 * prepcomp.adb: Minor reformatting
3584 * sem_ch3.adb: Minor reformatting
3586 * sem_res.adb: Minor comment addition
3588 * exp_ch5.adb (Expand_Assign_Array): Use Has_Address_Clause to test
3591 * lib-xref.adb (Generate_Reference): Exclude recursive calls from
3592 setting Is_Referenced
3594 * types.ads: Minor reformatting
3596 2009-04-17 Arnaud Charlet <charlet@adacore.com>
3598 * gnat_ugn.texi: Initial documentation on binding generator.
3600 2009-04-17 Ed Schonberg <schonberg@adacore.com>
3602 * einfo.ads, einfo.adb: New attribute Underlying_Record_View, to handle
3603 type extensions whose parent is a type with unknown discriminants.
3605 * exp_aggr.adb (Expand_Record_Aggregate): If the type of an extension
3606 aggregate has unknown discriminants, use the Underlying_Record_View to
3607 obtain the discriminants of the ancestor part.
3609 * exp_disp.adb (Build_Dispatch_Tables): Types that are
3610 Underlying_Record_Views share the dispatching information of the
3611 original record extension.
3613 * exp_ch3.adb (Expand_Record_Extension): If the type inherits unknown
3614 discriminants, propagate dispach table information to the
3615 Underlying_Record_View.
3617 * sem_ch3.adb (Build_Derived_Private_Type): If parent type has unknown
3618 discriminants and declaration is not a completion, generate
3619 Underlying_Record_View to provide proper discriminant information to
3620 the front-end and to gigi.
3622 2009-04-17 Robert Dewar <dewar@adacore.com>
3624 * s-conca5.adb, g-sercom.adb, s-conca5.ads, s-conca7.adb, exp_imgv.adb,
3625 s-conca7.ads, s-crc32.adb, s-crc32.ads, s-conca9.adb, s-conca9.ads,
3626 s-addope.adb, i-cstrin.ads, s-addope.ads, s-carun8.adb, s-carun8.ads,
3627 g-htable.ads, g-hesora.adb, g-hesora.ads, s-htable.adb, s-htable.ads,
3628 s-conca2.adb, s-conca2.ads, a-except.adb, s-conca4.adb, a-except.ads,
3629 s-conca4.ads, s-except.adb, s-except.ads, s-conca6.adb, s-conca6.ads,
3630 g-spchge.adb, g-spchge.ads, g-u3spch.adb, g-u3spch.ads, s-conca8.adb,
3631 s-conca8.ads, g-byorma.adb, g-byorma.ads, s-memory.adb, s-memory.ads,
3632 g-speche.adb, g-speche.ads, g-stsifd-sockets.adb, exp_dist.adb,
3633 s-imgenu.adb, s-imgenu.ads, s-mastop.adb, s-mastop.ads, s-exctab.adb,
3634 s-exctab.ads, s-imenne.adb, s-imenne.ads, s-casuti.adb, osint.adb,
3635 s-assert.adb, s-casuti.ads, s-assert.ads, s-os_lib.adb, s-conca3.adb,
3636 s-conca3.ads: Remove unneeded pragma Warnings
3638 2009-04-17 Robert Dewar <dewar@adacore.com>
3640 * g-moreex.adb: Add comments.
3642 * s-auxdec.ads: Add ??? comment for uncommented pragma Warnings (Off)
3644 * s-auxdec-vms_64.ads: Add ??? comment for uncommented pragma
3647 * prepcomp.adb: Add ??? comment
3649 * a-tasatt.adb: Minor reformatting
3651 * g-trasym-vms-alpha.adb: Add ??? comment
3653 * g-trasym-vms-ia64.adb: Add ??? comment
3655 * xoscons.adb: Minor reformatting
3657 * s-tassta.adb: Minor reformatting
3659 * s-scaval.adb: Add ??? comment
3661 * stand.ads: Minor code clean up (remove junk with of Namet)
3663 * s-strcom.adb, s-strcom.ads, s-string.adb, s-string.ads, s-sopco3.adb,
3664 s-sopco3.ads, s-strops.adb, s-strops.ads, s-sopco5.adb, s-sopco5.ads,
3665 s-wchcnv.adb, s-wchcnv.ads, s-ststop.adb, s-ststop.ads, s-soflin.adb,
3666 s-soflin.ads, s-traceb.adb, s-traceb.ads, s-traent.adb, s-traent.ads,
3667 s-secsta.adb, s-secsta.ads, s-utf_32.adb, s-utf_32.ads, s-wchcon.adb,
3668 s-wchjis.adb, s-wchcon.ads, s-wchjis.ads, s-sopco4.adb, s-sopco4.ads,
3669 s-stache.adb, s-stache.ads, s-stoele.adb, s-stoele.ads, s-stalib.adb,
3670 s-stalib.ads, s-os_lib.ads, s-purexc.ads: Remove no longer needed
3671 Warnings off pragmas.
3673 2009-04-17 Pascal Obry <obry@adacore.com>
3675 * initialize.c: Fix test for reallocating the arguments array.
3677 2009-04-17 Geert Bosch <bosch@adacore.com>
3679 * exp_fixd.adb (Expand_Convert_Float_To_Fixed): Have float to fixed
3680 conversion truncate only for decimal fixed point types.
3682 2009-04-17 Jerome Lambourg <lambourg@adacore.com>
3684 * g-comlin.adb (Initialize_Scan_Option): Make sure the sections are
3687 2009-04-17 Robert Dewar <dewar@adacore.com>
3689 * exp_ch5.adb (Expand_Assign_Array): Do not set Forwards_OK and
3690 Backwards_OK if either operand has an address clause.
3692 2009-04-17 Pascal Obry <obry@adacore.com>
3694 * initialize.c: Code clean up, use realloc.
3696 2009-04-17 Pascal Obry <obry@adacore.com>
3698 * initialize.c: Do not get Unicode command line if Unicode support not
3700 Add support for wildcard expansion for Unicode parameters on Win32.
3702 * mingw32.h: Add missing macros when Unicode support not activated.
3704 2009-04-17 Javier Miranda <miranda@adacore.com>
3706 * sem_ch6.adb (Check_Anonymous_Return): Add missing checks to
3707 avoid generating code that references the Current_Master
3708 when compiling without tasks.
3710 2009-04-17 Vincent Celier <celier@adacore.com>
3712 * prj-attr.adb: New project level attribute Target
3714 * prj-nmsc.adb (Process_Project_Level_Simple_Attributes): Process
3717 * prj.ads (Project_Configuration): New component Target
3719 2009-04-17 Thomas Quinot <quinot@adacore.com>
3721 * exp_ch7.adb (Expand_Ctrl_Function_Call): Remove incorrect special
3722 case for the case of an aggregate component, the attach call for the
3723 result is actually needed.
3725 * exp_aggr.adb (Backend_Processing_Possible): Backend processing for
3726 an array aggregate must be disabled if the component type requires
3729 * exp_ch3.adb: Minor reformatting
3731 2009-04-17 Bob Duff <duff@adacore.com>
3733 * output.ads (Indent,Outdent): New procedures for indenting the output.
3734 (Write_Char): Correct comment -- LF _is_ allowed.
3736 * output.adb (Indent,Outdent): New procedures for indenting the output.
3737 Keep track of the indentation level, and make sure it doesn't get too
3739 (Flush_Buffer): Insert spaces at the beginning of each line, if
3740 indentation level is nonzero.
3741 (Save_Output_Buffer,Restore_Output_Buffer): Save and restore the current
3743 (Set_Standard_Error,Set_Standard_Output): Remove superfluous
3744 "Next_Col := 1;". Flush_Buffer does that.
3746 * sem_ch6.adb, sem_ch7.adb (Debug_Flag_C): Reorganize the output
3747 controlled by the -gnatdc switch. It now occurs on entry/exit to the
3748 relevant analysis routines, and calls Indent/Outdent to make the
3749 indentation reflect the nesting level. Add "helper" routines, since
3750 otherwise lots of "return;" statements would skip the debugging output.
3752 2009-04-17 Arnaud Charlet <charlet@adacore.com>
3754 * s-taprop-tru64.adb, s-taprop-vms.adb, s-taprop-linux.adb,
3755 s-taprop-solaris.adb, s-taprop-irix.adb, s-taprop-hpux-dce.adb,
3756 s-taprop-posix.adb (Suspend_Until_True): Protect against early wakeup.
3758 2009-04-17 Thomas Quinot <quinot@adacore.com>
3760 * exp_aggr.adb: Minor code reorganization, no behaviour change.
3762 2009-04-17 Ed Schonberg <schonberg@adacore.com>
3764 * sem_ch8.adb (Use_One_Type): Handle properly a redundant use type
3765 clause in a unit that is a package body or a subunit, when the previous
3766 clause appears in a spec or a parent.
3768 2009-04-17 Thomas Quinot <quinot@adacore.com>
3770 * sinfo.ads, exp_aggr.adb, exp_aggr.ads: Minor reformatting
3772 * exp_ch7.adb: Minor reformatting
3774 2009-04-17 Bob Duff <duff@adacore.com>
3776 * exp_ch4.adb (Expand_Allocator_Expression): In an initialized
3777 allocator, check that the expression of the qualified expression obeys
3778 the constraints of the subtype of the qualified expression.
3780 2009-04-17 Thomas Quinot <quinot@adacore.com>
3782 * sprint.adb (Write_Itype): Add handling of enumeration subtypes.
3784 2009-04-17 Ed Schonberg <schonberg@adacore.com>
3786 * exp_ch4.adb (Expand_Allocator_Expression): Apply constraint check to
3787 aggregate, using context imposed by subtype mark in allocator.
3789 2009-04-17 Pascal Obry <obry@adacore.com>
3791 * gnat_rm.texi: Document GNAT_CODE_PAGE environment variable
3793 2009-04-17 Nicolas Roche <roche@adacore.com>
3795 * initialize.c (__gnat_initialize): remove MAX_PATH limitation on each
3798 2009-04-17 Gary Dismukes <dismukes@adacore.com>
3800 * sem_elim.adb (Eliminate_Error_Msg): Minor change to error message to
3801 cover both calls and attribute references ("call" => "reference").
3803 2009-04-17 Ed Schonberg <schonberg@adacore.com>
3805 * sem_ch3.adb (Analyze_Subtype_Declaration): A subtype of an access
3806 type for which Storage_Size is set to 0 is legal in a pure unit.
3808 2009-04-17 Thomas Quinot <quinot@adacore.com>
3810 * exp_ch7.adb: Minor reformatting
3812 2009-04-17 Robert Dewar <dewar@adacore.com>
3814 * restrict.adb (Check_Restriction_No_Dependence): Don't check
3815 restriction if outside main extended source unit.
3817 * sem_ch10.adb (Analyze_With_Clause): Check No_Dependence restriction
3818 for parents of child units as well as the child unit itself.
3820 2009-04-17 Bob Duff <duff@adacore.com>
3822 * checks.ads: Minor comment fix
3824 * exp_aggr.ads: Minor comment fix
3826 2009-04-17 Nicolas Roche <roche@adacore.com>
3828 * adaint.c: Improve cross compiler detection and handling.
3830 2009-04-17 Eric Botcazou <ebotcazou@adacore.com>
3832 * exp_ch4.adb (Expand_Concatenation): Do not use calls at -Os.
3834 2009-04-17 Pascal Obry <obry@adacore.com>
3836 * mingw32.h: Add S2WSC and WS2SC macros to convert to/from
3839 * adaint.h: Encoding_Unspecified is now defined. Corresponds to the
3840 value when no encoding form paramter is set on Text_IO services.
3842 * adaint.c: CurrentCodePage new variable on Windows.
3843 Use new macros S2WSC and WS2SC instead of the UTF-8 oriented
3846 * mkdir.c: Use new macros S2WSC and WS2SC instead of the UTF-8 oriented
3849 * initialize.c: Initialize CurrentCodePage depending on GNAT_CODE_PAGE
3850 environment variable value. Default is UTF-8.
3852 * s-crtl.ads: Filename_Encoding add Unspecified in the enumeration type.
3853 fopen and freopen encoding parameter is now set to Unspecified.
3854 The default value is in this case UTF-8 (as it was before) but
3855 use the new macros that convert to/from the code page set
3856 at runtime (CurrentCodePage).
3858 * s-fileio.adb: When no encoding specified use Unspecified value.
3860 2009-04-17 Ed Schonberg <schonberg@adacore.com>
3862 * atree.adb, atree.ads: Remove dead code.
3864 2009-04-17 Arnaud Charlet <charlet@adacore.com>
3866 * gcc-interface/Make-lang.in: Update dependencies.
3868 2009-04-17 Ed Schonberg <schonberg@adacore.com>
3870 * sem_ch3.adb (Access_Subprogram_Definition): Additional checks on
3871 illegal uses of incomplete types in formal parts and return types.
3873 * sem_ch6.adb (Process_Formals): Taft-amendment types are legal in
3874 access to subprograms.
3876 * sem_ch7.adb (Uninstall_Declarations): diagnose attempts to use
3877 Taft-amendment types as the return type of an access_to_function type.
3879 * freeze.adb (Freeze_Entity): Remove tests on formals of an incomplete
3880 type for access_to_subprograms. The check is performed on package exit.
3882 2009-04-17 Ed Schonberg <schonberg@adacore.com>
3884 * atree.ads, atree.adb: Move New_Copy_Tree.to sem_util.
3886 * nlists.ads, nlists.adb: Move New_Copy_List to sem_util.
3888 * lib-load.adb: Use Copy_Separate_Tree rather than New_Copy_Tree
3890 * sem_util.ads, sem_util.adb: New_Copy_Tree and New_Copy_List belong in
3891 semantic units, because the handling of itypes in the copied tree
3892 requires semantic information that does not belong in atree.
3894 2009-04-17 Robert Dewar <dewar@adacore.com>
3896 * par-ch6.adb: Minor reformatting
3898 * prj.adb: Minor reformatting
3900 2009-04-17 Gary Dismukes <dismukes@adacore.com>
3902 * par-ch6.adb (P_Subprogram): Overriding indicators should be allowed
3903 on protected subprogram bodies, so exclude the case where Pf_Flags is
3904 Pf_Decl_Pbod from the error check.
3906 * par-ch9.adb (P_Protected_Operation_Items): Permit overriding
3907 indicators on subprograms in protected bodies, and proceed with parsing
3910 * sem_ch6.adb (Verify_Overriding_Indicator): Exclude protected
3911 subprograms from the check for primitiveness on subprograms with
3912 overriding indicators.
3913 (Check_Overriding_Indicator): Include protected subprograms in the
3914 style check for missing overriding indicators.
3916 2009-04-17 Tristan Gingold <gingold@adacore.com>
3918 * init.c: Fix stack checking for x86 Darwin.
3920 2009-04-17 Vincent Celier <celier@adacore.com>
3922 * prj-attr.adb: New project level attribute Object_File_Suffix
3925 * prj-nmsc.adb (Add_Source): Use the object file suffix to get the
3927 (Process_Compiler): Process attribute Object_File_Suffix
3929 * prj.adb (Object_Name): Use suffix Object_File_Suffix instead of
3930 platform suffix, when specified.
3932 * prj.ads (Language_Config): New component Object_File_Suffix,
3933 defaulted to No_Name.
3934 (Object_Name): New parameter Object_File_Suffix, defaulted to No_Name
3936 * snames.ads-tmpl: New standard name Object_File_Suffix
3938 2009-04-17 Robert Dewar <dewar@adacore.com>
3940 * gnat_rm.texi: Add documentation about No_Streams restriction
3942 * sem_attr.adb (Check_Stream_Attribute): Exclude implicit stream
3943 attributes when checking No_Streams restriction.
3945 2009-04-17 Thomas Quinot <quinot@adacore.com>
3947 * rtsfind.ads (RE_Request_Destroy): New PolyORB s-parint entity.
3949 * exp_dist.adb (PolyORB_Support.Build_General_Calling_Stubs): Add
3950 missing calls to RE_Request_Destroy to deallocate request objects after
3953 2009-04-17 Nicolas Setton <setton@adacore.com>
3955 * link.c: Fix support for passing a response file under Darwin.
3957 2009-04-17 Emmanuel Briot <briot@adacore.com>
3959 * prj.adb (Free): new subprogram.
3961 2009-04-17 Ed Schonberg <schonberg@adacore.com>
3963 * sem_ch3.adb: additional initialization on incomplete subtypes.
3965 * sem_ch6.adb (Process_Formals): if the subprogram is in the private
3966 part and one of the formals is an incomplete tagged type, attach to
3967 list of private dependends of the type for later validation.
3969 * sem_ch7.adb (Uninstall_Declarations): diagnose attempts to declare
3970 primitive operations of a Taft-amendmment type.
3972 * freeze.adb (Freeze_Entity): Remove tests on formals of an incomplete
3973 type. The check is performed on package exit, possibly after the
3974 subprogram is frozen.
3976 2009-04-17 Vincent Celier <celier@adacore.com>
3978 * prj-nmsc.adb (Get_Directories): Get the object and exec directory
3979 before looking for source directories, but make sure that there are nil
3980 if they are not explicitely declared and there is explicitely no
3981 sources in the project.
3983 2009-04-17 Pascal Obry <obry@adacore.com>
3985 * initialize.c: Set gnat_argv with UTF-8 encoded strings on Windows.
3987 * init.c: Fix minor typo and style fix.
3989 2009-04-17 Robert Dewar <dewar@adacore.com>
3991 * a-except.adb, a-except-2005.adb: Add PE_Address_Of_Intrinsic
3993 * sem_attr.adb (Analyze_Attribute, case Address): Use
3994 PE_Address_Of_Intrinsic.
3996 * types.ads: Add PE_Address_Of_Intrinsic
3998 * types.h: Add PE_Address_Of_Intrinsic
4000 2009-04-17 Nicolas Setton <setton@adacore.com>
4002 * gcc-interface/Makefile.in: Under darwin, build shared libraries
4003 with install_name starting with "@rpath/".
4005 2009-04-17 Nicolas Setton <setton@adacore.com>
4007 * link.c: Add darwin section
4009 2009-04-16 Robert Dewar <dewar@adacore.com>
4011 * g-pehage.adb: Minor reformatting
4013 * sem_ch12.adb: Minor reformatting
4015 * exp_dist.adb: Minor reformatting
4017 * bindgen.adb: Minor style fixes.
4019 2009-04-16 Ed Schonberg <schonberg@adacore.com>
4021 * sem_eval.adb (Eval_Indexed_Component): Extend constant-folding of
4022 indexed components to the case where the prefix is a static string
4025 2009-04-16 Javier Miranda <miranda@adacore.com>
4027 * exp_ch3.adb (Expand_N_Object_Declaration): In case of build-in-place
4028 objects avoid any further expansion of the expression initializing the
4031 2009-04-16 Ed Schonberg <schonberg@adacore.com>
4033 * sem_ch12.adb (Preanalyze_Actuals): If the instance is a child unit
4034 that hides an outer homograph, make that homograph invisible when
4035 analyzing the actuals, to to prevent illegal direct visibility on it.
4037 2009-04-16 Eric Botcazou <ebotcazou@adacore.com>
4039 * g-pehage.adb (Initialize): Fix off-by-one error.
4041 2009-04-16 Tristan Gingold <gingold@adacore.com>
4043 * init.c: Detect real stack overflow on Darwin.
4045 * system-darwin-x86.ads: Use stack probing on darwin x86.
4047 2009-04-16 Ed Schonberg <schonberg@adacore.com>
4049 * sem_attr.adb (Analyze_Attribute, case 'Address): It is illegal to
4050 take the address of an intrinsic subprogram.
4052 2009-04-16 Arnaud Charlet <charlet@adacore.com>
4054 * gcc-interface/Makefile.in: Change g-trasym to g-trasym-unimplemented
4055 for the targets where GNAT.Traceback.Symbolic is not supported.
4057 2009-04-16 Vincent Celier <celier@adacore.com>
4059 * g-trasym-unimplemented.ads, g-trasym-unimplemented.adb: New file.
4061 * g-trasym.ads: Update comments.
4063 2009-04-16 Vasiliy Fofanov <fofanov@adacore.com>
4065 * tracebak.c (STOP_FRAME): Verify validity of the current address
4066 before dereferencing.
4068 2009-04-16 Ed Schonberg <schonberg@adacore.com>
4070 * sprint.adb (Write_Itype): If the itype is an array subtype, preserve
4071 the original location of the index expressions and the index subtypes,
4072 to prevent spurious out-of-scope references in gigi.
4074 2009-04-16 Tristan Gingold <gingold@adacore.com>
4076 * init.c, s-osinte-darwin.ads, system-darwin-x86_64.ads:
4077 Add support for stack checking on darwin.
4079 2009-04-16 Vincent Celier <celier@adacore.com>
4081 * prj-attr.adb: New attribute Runtime_Source_Dir
4083 * prj-nmsc.adb (Process_Project_Level_Array_Attributes): Process
4084 attribute Runtime_Source_Dir.
4085 (Check_Naming_Schemes): Give default values to out parameters to avoid
4088 * prj.ads (Language_Config): New component Runtime_Source_Dir
4090 * snames.ads-tmpl: New standard name Runtime_Source_Dir
4092 2009-04-16 Pascal Obry <obry@adacore.com>
4094 * adaint.h, adaint.c (__gnat_rmdir): New routine.
4095 Simple wrapper routines used to convert to proper encoding on
4098 * s-crtl.ads: Use __gnat_rmdir instead of direct call to the C library.
4100 * g-dirope.adb (Remove_Dir): Fix a bug, the root directory was removed
4103 2009-04-16 Pascal Obry <obry@adacore.com>
4105 * s-crtl.ads, s-os_lib.adb: Minor code clean-up.
4107 2009-04-16 Thomas Quinot <quinot@adacore.com>
4109 * snames.ads-tmpl (Name_Defined): New predefined name for use by the
4110 integrated preprocessor.
4112 * prep.ads, prep.adb (Setup_Hooks): New subprogram.
4113 (Initialize): Split into two subprograms, Initialize (to be called
4114 prior to compiler command line processing) and Setup_Hooks (to be called
4115 later on when the first source file is loaded).
4117 * gprep.adb: Change call to Prep.Initialize to call to Prep.Setup_Hooks.
4118 Add call to Prep.Initialize.
4120 * sinput-l.adb, prepcomp.adb: Change call to Prep.Initialize to call
4121 to Prep.Setup_Hooks.
4123 2009-04-16 Pascal Obry <obry@adacore.com>
4125 * adaint.h, adaint.c (__gnat_chdir): New routine.
4126 Simple wrapper routines used to convert to proper encoding on
4129 * s-crtl.ads: Use __gnat_chdir instead of direct call to the C library.
4131 * a-direct.adb, g-dirope.adb: Use chdir from System.CRTL.
4133 2009-04-16 Quentin Ochem <ochem@adacore.com>
4135 * sinput-p.adb (Clear_Source_File_Table): Use Sinput.Initialize instead
4138 2009-04-16 Eric Botcazou <ebotcazou@adacore.com>
4140 * a-convec.ads (Is_Empty): Mark inline.
4142 2009-04-16 Nicolas Roche <roche@adacore.com>
4144 * init.c (__gnat_init_float): Initialize FPU on x86_64 windows
4146 2009-04-16 Thomas Quinot <quinot@adacore.com>
4148 * prepcomp.adb: Minor reformatting
4150 2009-04-16 Jerome Lambourg <lambourg@adacore.com>
4152 * sem_prag.adb (Process_Import_Or_Interface): With .NET,
4153 Access_Subprogram types can also be imported.
4154 (Check_Form_Of_Interface_Name): Accept '/' character in entity CIL
4157 2009-04-16 Ed Schonberg <schonberg@adacore.com>
4159 * exp_ch6.adb (Make_Build_In_Place_Call_In_Object_Declaration):
4160 preserve homonym chain when the declaration is rewritten into a
4161 renaming declaration, in order to preserve visibility structure.
4163 2009-04-16 Jerome Lambourg <lambourg@adacore.com>
4165 * sem_prag.adb (Analyze_Pragma): Make sure that pragma pack is not
4166 taken into account for VM targets.
4168 2009-04-16 Hristian Kirtchev <kirtchev@adacore.com>
4170 * g-calend.ads, g-calend.adb (Week_In_Year): Now calls
4172 (Year_Week_In_Year): New routine which contains the original code from
4173 Week_In_Year. Add the missing special case for January 1st falling on
4176 2009-04-16 Thomas Quinot <quinot@adacore.com>
4178 * exp_dist.adb (Build_From_Any_Call): For a subtype that is a generic
4179 actual type, use the base type to build the To_Any function.
4180 (Build_From_Any_Function): Remove junk, useless subtype conversion.
4182 2009-04-16 Thomas Quinot <quinot@adacore.com>
4184 * exp_ch9.adb, exp_code.adb, tbuild.adb, sem_case.adb,
4185 restrict.adb: Minor code reorganization (use
4186 Add_{Char,Str}_To_Name_Buffer instead of inlining it by hand).
4188 2009-04-16 Bob Duff <duff@adacore.com>
4190 * exp_ch6.ads, exp_ch6.adb (Is_Build_In_Place_Function_Return): Remove,
4193 2009-04-16 Thomas Quinot <quinot@adacore.com>
4195 * sem_ch4.adb: Minor reformatting
4197 * adaint.c: Remove junk duplicated code.
4199 * sem_ch3.adb: Minor reformatting
4201 * exp_dist.adb: Minor comment rewording
4203 2009-04-16 Robert Dewar <dewar@adacore.com>
4205 * gnat_rm.texi: Document effect of Assume_No_Invalid_Values and -gnatVa
4208 2009-04-16 Ed Schonberg <schonberg@adacore.com>
4210 * sem_ch4.adb (Find_Equality_Types): Filter out types that are not
4211 usable before calling Add_One_Interp, to resolve spurious ambiguities.
4213 2009-04-16 Robert Dewar <dewar@adacore.com>
4215 * Make-lang.in: Add entries for s-conca?.o
4217 * Makefile.rtl: Add entries for s-conca?
4219 * debug.adb: Add debug flags -gnatd.c and -gnatd.C to control behavior
4220 of concatenation expansion
4222 * exp_ch4.adb (Expand_Concatenation): Generate calls for certain
4223 string cases instead of expanding assignments inline.
4225 * opt.ads (Optimize_Size): New flag
4227 * s-conca2.ads, s-conca2.adb, s-conca3.adb, s-conca3.ads,
4228 s-conca4.adb, s-conca4.ads, s-conca5.adb, s-conca5.ads, s-conca6.adb,
4229 s-conca6.ads, s-conca7.ads, s-conca7.adb, s-conca8.adb, s-conca8.ads,
4230 s-conca9.adb, s-conca9.ads: New file.
4232 2009-04-16 Robert Dewar <dewar@adacore.com>
4234 * exp_ch6.adb: Add comments
4236 * rtsfind.ads: Add entries for s-conca? routines
4238 2009-04-16 Arnaud Charlet <charlet@adacore.com>
4240 * gcc-interface/Make-lang.in: Update dependencies.
4242 * gcc-interface/Makefile.in: Update translation for vms.
4244 2009-04-16 Ed Schonberg <schonberg@adacore.com>
4246 * sem_ch12.adb (Map_Formal_Package_Entities): renamed from Map_Entities
4247 and made global, to be used when installing parents of a child
4248 instance, to provide mappings for entities declared in formal packages
4249 of ancestor units. Now called from Install_Formal_Packages.
4251 2009-04-16 Doug Rupp <rupp@adacore.com>
4253 * s-taskin.adb (Initialize_ATCB): Initialize Debug_Events with others
4254 notation for clarity.
4256 * s-taprop-vxworks.adb, s-taprop-tru64.adb, s-taprop-vms.adb,
4257 s-taprop-mingw.adb, s-taprop-linux.adb, s-taprop-solaris.adb,
4258 s-taprop-irix.adb, s-taprop-hpux-dce.adb, s-taprop-posix.adb
4259 (Initialize): Initialize Known_Tasks with Environment task.
4261 * s-taskin.ads (Task_States): Move new states to end for the sake of
4264 * s-tassta.adb (Task_Wrapper): Fix comment about Enter_Task.
4266 2009-04-16 Ed Schonberg <schonberg@adacore.com>
4268 * exp_ch9.adb (Expand_N_Protected_Type_Declaration): If a protected
4269 operation has an inline pragma, propagate the flag to the internal
4270 unprotected subprogram.
4272 2009-04-16 Doug Rupp <rupp@adacore.com>
4274 * s-taprop-vxworks.adb, s-taprop-tru64.adb, s-taprop-mingw.adb,
4275 s-taprop-linux.adb, s-taprop-solaris.adb, s-taprop-irix.adb,
4276 s-taprop-hpux-dce.adb, s-taprop-posix.adb
4277 (Enter_Task): Move Known_Tasks initialization to s-tassta.adb
4279 * s-taprop-vms.adb (Enter_Task): Likewise.
4280 (Initialize): Import DBEXT, Debug_Register. Register DBGEXT callback.
4282 * s-tassta.adb (Activate_Tasks): After task creation set state to
4283 Activating, vice Runnable. Initialize Known_Tasks, moved here from
4284 s-taprop.adb (Enter_Task). Set Debug_Event_Activating for debugger.
4285 Set state to Runnable after above.
4286 (Task_Wrapper): Set Debug_Event_Run. In exception block set
4287 Debug_Event_Terminated.
4289 * s-taskin.ads (Task_States): Add new states Activiting and
4290 Activator_Delay_Sleep.
4291 (Bit_Array, Debug_Event_Array): New types.
4292 (Global_Task_Debug_Event_Set: New flag.
4293 (Common_ATCB): New field Debug_Events.
4295 * s-taskin.adb (Initialize_ATCB): Initialize Debug_Events.
4297 * s-tasren.adb (Timed_Selective_Wait): Set Activator_Delay_Sleep vice
4300 * s-tasini.adb (Locked_Abort_To_Level): Add case alternatives for when
4301 Activating and when Acceptor_Delay_Sleep.
4303 * s-tasdeb.ads: Add constants for Debug_Events.
4304 (Debug_Event_Kind_Type): New subtype.
4305 (Signal_Debug_Event): New subprogram.
4307 * s-tasdeb.adb (Signal_Debug_Event): New null subprogram.
4309 2009-04-16 Thomas Quinot <quinot@adacore.com>
4311 * sem_elim.adb: Minor reformatting
4313 * freeze.adb: Minor reformatting
4315 * exp_ch4.adb: Minor reformatting
4317 2009-04-16 Emmanuel Briot <briot@adacore.com>
4319 * prj-nmsc.adb (Path_Name_Of): fix memory leak
4321 2009-04-16 Robert Dewar <dewar@adacore.com>
4323 * sinfo.ads (Backwards_OK, Forwards_OK): Clarify documentation
4325 2009-04-16 Vincent Celier <celier@adacore.com>
4327 * fmap.adb (Initialize): Show the current line when the mapping file
4328 is detected as "incorrectly formatted".
4330 2009-04-16 Robert Dewar <dewar@adacore.com>
4332 * sem_ch12.adb: Minor reformatting
4334 * sem_ch5.adb: Minor comment addition
4336 * sem_util.adb: Minor reformatting
4338 * sinput-p.adb: Minor reformatting
4339 Add missing pragma Warnings (On)
4341 2009-04-16 Ed Falis <falis@adacore.com>
4343 * s-vxwext-kernel.adb: (ERROR): deleted unused constant
4345 2009-04-16 Vincent Celier <celier@adacore.com>
4347 * ali-util.adb: Minor comment spelling error fix
4349 2009-04-16 Eric Botcazou <ebotcazou@adacore.com>
4351 * exp_ch5.adb (Expand_Assign_Array): For the GCC back-end, do not
4352 generate an assignment loop in case of overlap.
4354 2009-04-16 Olivier Hainque <hainque@adacore.com>
4356 * gnat_ugn.texi (gnatmem description): Make it explicit that
4357 gnatmem is designed to work in association with static runtime
4360 2009-04-16 Thomas Quinot <quinot@adacore.com>
4362 * sem_type.adb: Minor reformatting
4364 2009-04-16 Hristian Kirtchev <kirtchev@adacore.com>
4366 * s-osprim-darwin.adb, s-osprim-posix.adb (Clock): Add comment
4367 concerning return codes of gettimeofday and return value check.
4369 2009-04-16 Ed Falis <falis@adacore.com>
4371 * s-vxwext-kernel.ads (Int_Lock, Int_Unlock): set to convention C so
4372 body can be renaming of imported routines.
4374 2009-04-16 Vasiliy Fofanov <fofanov@adacore.com>
4376 * s-asthan-vms-alpha.adb: Disable warnings on alignment in a more
4379 2009-04-15 Hristian Kirtchev <kirtchev@adacore.com>
4381 * exp_ch9.adb: Comment improvements.
4382 (Build_Entry_Family_Name): Add parentheses around the index of a entry
4385 2009-04-15 Bob Duff <duff@adacore.com>
4387 * sem_warn.adb (Check_Infinite_Loop_Warning): Catch cases like
4388 "while X /= null loop" where X is unchanged inside the loop. We were
4389 not warning in this case, because of the pointers -- we feared that the
4390 loop variable could be updated via a pointer, if there are any pointers
4391 around the place. But that is impossible in this case.
4393 * sem_util.adb (May_Be_Lvalue): This routine was overly pessimistic in
4394 the case of dereferences. In X.all, X cannot be an l-value. We now
4395 catch that case (and implicit dereferences, too).
4397 2009-04-15 Vincent Celier <celier@adacore.com>
4399 * sinput-p.ads, sinput-p.adb (Clear_Source_File_Table): New procedure
4401 2009-04-15 Ed Schonberg <schonberg@adacore.com>
4403 * sem_ch12.adb (Is_Actual_Of_Previous_Formal): Make fully recursive.
4405 (Analyze_Package_Instantiation): If generic unit in child instance is
4406 the same as generic unit in parent instance, look for an outer homonym
4407 to locate the desired generic.
4409 2009-04-15 Bob Duff <duff@adacore.com>
4411 * sem_ch5.adb (Analyze_Loop_Statement): Don't check for infinite loop
4412 warnings unless the loop comes from source, because checking generated
4413 loops is a waste of time, and makes it harder to debug
4414 Check_Infinite_Loop_Warning.
4416 * sem_warn.adb (Check_Infinite_Loop_Warning): If the local variable
4417 tested in the while loop is a renaming, do not warn. Otherwise, we get
4418 false alarms, because it's usually renaming something that we can't
4419 deal with (an indexed component, a global variable, ...).
4421 * gnat_rm.texi: Fix typo
4423 2009-04-15 Thomas Quinot <quinot@adacore.com>
4425 * sem_ch6.adb: Minor reformatting
4427 2009-04-15 Hristian Kirtchev <kirtchev@adacore.com>
4429 * exp_ch7.adb (Expand_Ctrl_Function_Call): Check for the case where the
4430 immediate parent of the controlled function call is a component
4433 2009-04-15 Ed Schonberg <schonberg@adacore.com>
4435 * sem_ch8.adb (Use_One_Type): If the type is tagged, indicate that the
4436 corresponding class-wide type is also in use.
4438 2009-04-15 Thomas Quinot <quinot@adacore.com>
4440 * frontend.adb: Minor comment fix
4442 2009-04-15 Robert Dewar <dewar@adacore.com>
4444 * gnatchop.adb (BOM_Length): New global variable
4445 (Write_Unit): Add new parameter Write_BOM
4446 (Write_Chopped_Files): Check for BOM and set Write_BOM for call
4449 * gnat_ugn.texi: Add note on propagation of BOM by gnatchop
4451 2009-04-15 Geert Bosch <bosch@adacore.com>
4453 * system-mingw-x86_64.ads, system-darwin-x86_64.ads
4454 (Backend_Overflow_Checks): Set to True.
4456 2009-04-15 Gary Dismukes <dismukes@adacore.com>
4458 * par-ch3.adb (P_Type_Declaration): Issue an error if the synchronized
4459 keyword is given in a record extension.
4461 2009-04-15 Hristian Kirtchev <kirtchev@adacore.com>
4463 * exp_ch7.adb (Expand_Ctrl_Function_Call): Procede with the expansion
4464 of a controlled function call in the context of a record aggregate.
4465 This does not apply to array aggregates since the call will be expanded
4468 2009-04-15 Ed Falis <falis@adacore.com>
4470 * s-osinte-vxworks-kernel.adb, s-osinte-vxworks.adb,
4471 s-osinte-vxworks.ads s-vxwext.ads, s-vxwext-kernel.adb,
4472 s-vxwext-kernel.ads, s-vxwext-rtp.ads, s-vxwext-rtp.adb: Reorganize
4473 s-osinte-vxworks* and s-vxwext*.
4475 2009-04-15 Arnaud Charlet <charlet@adacore.com>
4477 * gcc-interface/Make-lang.in: Update dependencies.
4479 * gcc-interface/Makefile.in: Reorganization of s-osinte-vxworks*
4482 2009-04-15 Robert Dewar <dewar@adacore.com>
4484 * sem_ch13.adb (Unchecked_Conversions): Store source location instead
4485 of node for location for warning messages.
4487 * gnatchop.adb: Minor reformatting
4489 2009-04-15 Ed Schonberg <schonberg@adacore.com>
4491 * exp_ch6.adb: additional guard for renaming declarations for in
4492 parameters of an array type.
4494 2009-04-15 Robert Dewar <dewar@adacore.com>
4496 * sem_eval.adb (Get_Static_Length): Go to origin node for array bounds
4497 in case they were rewritten by expander (Force_Evaluation).
4499 * targparm.adb (Get_Target_Parameters): Correct check for
4500 Suppress_Exception_Locations.
4502 2009-04-15 Ed Schonberg <schonberg@adacore.com>
4504 * exp_ch6.adb (Expand_Inlined_Call): If an in-parameter in a call to be
4505 inlined is of an array type that is not bit-packed, use a renaming
4506 declaration to capture its value, rather than a constant declaration.
4508 2009-04-15 Robert Dewar <dewar@adacore.com>
4510 * rtsfind.adb: Minor reformatting.
4512 2009-04-15 Emmanuel Briot <briot@adacore.com>
4514 * prj-part.adb, prj-tree.adb, prj-tree.ads (Restore_And_Free): renames
4515 Restore, and free the saved context.
4517 2009-04-15 Gary Dismukes <dismukes@adacore.com>
4519 * sem_ch3.adb (Analyze_Private_Extension_Declaration): Move error check
4520 for illegal private extension from a synchronized interface parent in
4521 front of check for illegal limited extension so that limited extension
4522 from a synchronized interface will be rejected.
4523 (Check_Ifaces): Check that a private extension that has a synchronized
4524 interface as a progenitor must be explicitly declared synchronized.
4525 Also check that a record extension cannot derive from a synchronized
4528 2009-04-15 Pascal Obry <obry@adacore.com>
4530 * adaint.h (__gnat_unlink): Add spec.
4531 (__gnat_rename): Likewise.
4533 2009-04-15 Vincent Celier <celier@adacore.com>
4535 * prj-nmsc.adb: Minor spelling error corrections in error messages
4537 2009-04-15 Robert Dewar <dewar@adacore.com>
4539 * sinfo.ads: Minor comment update
4541 * opt.ads: Minor comment updates
4543 * checks.adb (Enable_Overflow_Check): Do not set Do_Overflow_Check for
4546 2009-04-15 Ed Schonberg <schonberg@adacore.com>
4548 * exp_disp.ads, exp_disp.adb (Register_Primitive): Is now a function
4549 that generates the code needed to update a dispatch table when a
4550 primitive operation is declared with a subprogram body without previous
4551 spec. Insertion of the generated code is responsibility of the caller.
4552 (Make_DT): When building static tables, append the code created by
4553 Register_Primitive to update a secondary table after it has been
4556 * exp_ch3.adb, exp_ch6.adb: use new version of Register_Primitive.
4558 * sem_disp.adb (Check_Dispatching_Operation): Call Register_Primitive
4559 on an overriding operation that implements an interface operation only
4560 if not building static dispatch tables.
4562 2009-04-15 Hristian Kirtchev <kirtchev@adacore.com>
4564 * a-caldel-vms.adb (To_Duration): Declare a "safe" end of time which
4565 does not cause overflow when converted to Duration. Use the safe value
4566 as the maximum allowable time delay..
4568 2009-04-15 Jerome Lambourg <lambourg@adacore.com>
4570 * g-comlin.adb (Set_Command_Line): When adding a switch with attached
4571 parameter, specify that the delimiter is NUL, otherwise "-j2" will be
4572 translated to "-j 2".
4574 2009-04-15 Bob Duff <duff@adacore.com>
4576 * rtsfind.adb (Maybe_Add_With): Split out procedure to add implicit
4577 with_clauses, to avoid code duplication. Change this processing so we
4578 always add a with_clause on the main unit if needed.
4580 2009-04-15 Pascal Obry <obry@adacore.com>
4582 Add support for Win32 native encoding for delete/rename routines.
4584 * adaint.c (__gnat_unlink): New routine.
4585 (__gnat_rename): New routine.
4586 Simple wrapper routines used to convert to proper encoding on
4589 * s-os_lib.adb: Use __gnat_unlink and __gnat_rename instead of direct
4590 call to the C library.
4592 * g-sercom-mingw.adb, s-win32.ads: Update Win32 binding.
4594 2009-04-15 Robert Dewar <dewar@adacore.com>
4596 * s-tassta.adb: Minor reformatting
4598 2009-04-15 Robert Dewar <dewar@adacore.com>
4600 * frontend.adb (Frontend): Set proper default for
4601 Warn_On_Non_Local_Exception.
4603 * opt.ads (Exception_Handler_Encountered): New flag
4604 (No_Warn_On_Non_Local_Exception): New flag
4606 * par-ch11.adb (P_Exception_Handler): Set Exception_Handler_Encountered
4608 * sem_warn.adb (Set_Warning_Switch): Set No_Warn_On_Non_Local_Exception
4609 (Set_Dot_Warning_Switch): Set No_Warn_On_Non_Local_Exception
4611 2009-04-15 Cyrille Comar <comar@adacore.com>
4613 * s-tassta.adb, a-exextr.adb, a-elchha.adb
4614 (Ada.Exception.Last_Chance_Handler): Do not print unhandled exception
4615 message when exception traces are active since it would generate
4616 redundant information.
4617 (Exception_Traces.Notify_Exception): put message output by a critical
4618 section to avoid unsynchronized output.
4619 (Trace_Unhandled_Exception_In_Task): put message output by a critical
4620 section to avoid unsynchronized output.
4622 2009-04-15 Emmanuel Briot <briot@adacore.com>
4624 * g-comlin.adb, prj-tree.adb, prj-tree.ads, prj.adb, prj.ads
4625 (Free): New subprogram.
4627 2009-04-15 Hristian Kirtchev <kirtchev@adacore.com>
4629 * a-calend.adb: Add new constant Nanos_In_Four_Years.
4630 (Formatting_Operations.Time_Of): Change the way four year chunks of
4631 nanoseconds are added to the intermediate result.
4633 2009-04-15 Nicolas Setton <setton@adacore.com>
4635 * sysdep.c: Add __APPLE__ in the list of systems where get_immediate
4636 does not need to wait for a carriage return.
4638 2009-04-15 Tristan Gingold <gingold@adacore.com>
4640 * bindgen.adb: Do not generate adafinal if No_Finalization restriction
4643 2009-04-15 Ed Schonberg <schonberg@adacore.com>
4645 * freeze.adb (Freeze_Entity): improve error message for improper use of
4647 Diagnose additional illegal uses of incomplete types in formal parts.
4648 appearing in formal parts.
4650 * sem_ch6.adb (Process_Formals, Analyze_Return_Type): ditto.
4652 2009-04-15 Robert Dewar <dewar@adacore.com>
4654 * exp_ch4.adb (Expand_N_Allocator): Install test for object too large.
4656 2009-04-15 Nicolas Roche <roche@adacore.com>
4658 * adaint.c: Add function __gnat_lwp_self that retrieves the LWP of the
4661 * s-osinte-linux.ads: Import the __gnat_lwp_self function as lwp_self
4663 * s-taprop-linux.adb (Enter_Task): Store the LWP in the TCB
4665 2009-04-15 Ed Schonberg <schonberg@adacore.com>
4667 * sem_ch4.adb: improve error message on exponentiation.
4669 2009-04-15 Hristian Kirtchev <kirtchev@adacore.com>
4671 * a-calend.adb: Move constant Epoch_Offset from package
4672 Conversion_Operations to top level.
4673 (Delay_Operations.To_Duration): Define a constant which represents
4674 "end of time" and use it as a guard against very distant delay dates.
4675 Protect the code against overflow when performing the origin shift to
4678 2009-04-15 Robert Dewar <dewar@adacore.com>
4680 * sem_prag.adb: Minor reformatting.
4682 * sem_type.adb: Minor reformatting
4684 2009-04-15 Javier Miranda <miranda@adacore.com>
4686 * sem_ch6.adb (Analyze_Abstract_Subprogram_Declaration): Add missing
4687 support to check eliminated subprograms.
4689 * sem_elim.ads (Eliminate_Error_Msg): Update documentation.
4691 * sem_elim.adb (Set_Eliminated): Add support for elimination of
4692 dispatching subprograms.
4694 * exp_disp.adb (Make_DT): Minor code cleanup when freezing primitive
4695 operations. Initialize with "null" the slots of eliminated dispaching
4697 (Write_DT): Add output for eliminated primitives.
4699 * sem_disp.adb (Check_Dispatching_Call): Check eliminated primitives.
4701 2009-04-15 Ed Schonberg <schonberg@adacore.com>
4703 * sem_ch8.adb (Use_One_Type): If both clauses appear on the same unit,
4704 the second is redundant, regardless of scopes.
4706 2009-04-15 Vincent Celier <celier@adacore.com>
4708 * prj-nmsc.adb (Get_Directories): Check for sources before checking
4709 the object directory as when there are no sources, they may not be any
4712 * make.adb (Gnatmake): Do not attempt to get the path name of the exec
4713 directory, when there are no exec directory.
4715 2009-04-15 Ed Schonberg <schonberg@adacore.com>
4717 * sem_type.adb (Remove_Conversions): In order to resolve spurious
4718 ambiguities, refine removal of universal interpretations from complex
4719 expressions with literal arguments, when some numeric operators have
4720 been declared abstract.
4722 2009-04-15 Ed Falis <falis@adacore.com>
4724 * init.c: Map SIGSEGV to Storage_Error for all targets for uniformity
4725 and backward compatibility for targets using probing for stack overflow
4727 2009-04-15 Ed Schonberg <schonberg@adacore.com>
4729 * sem_prag.adb (Analyze_Pragma, case 'Obsolescent): Pragma is legal
4730 after any declaration, including renaming declarations.
4732 2009-04-15 Arnaud Charlet <charlet@adacore.com>
4734 * gcc-interface/Make-lang.in: Update dependencies.
4736 * gcc-interface/Makefile.in: Fix VxWorks target pairs.
4737 Update xenomai target pairs.
4739 2009-04-15 Javier Miranda <miranda@adacore.com>
4741 * exp_ch4.adb (Expand_N_Allocator): Code cleanup.
4743 * sem_ch6.adb (Check_Anonymous_Return): Add missing support for
4744 functions returning anonymous access to class-wide limited types. Mark
4745 also the containing scope as a task master.
4747 * sem_ch8.adb (Restore_Scope_Stack): Add missing management for
4748 limited-withed packages. Required to restore their visibility after
4749 processing packages associated with implicit with-clauses.
4751 * exp_ch3.adb (Build_Class_Wide_Master): Avoid marking masters
4752 associated with return statements because this work is now done by
4753 Check_Anonymous_Return.
4754 (Build_Master): Code cleanup.
4756 2009-04-15 Thomas Quinot <quinot@adacore.com>
4758 * sem_warn.ads: Minor reformatting
4760 2009-04-15 Ed Schonberg <schonberg@adacore.com>
4762 * sem_ch3.adb: better error message for illegal interfaces
4764 * sem_ch6.adb (Possible_Freeze): Delay freezing a subprogram if a
4765 formal is an incomplete type from a limited_with clause.
4767 2009-04-15 Vincent Celier <celier@adacore.com>
4769 * prj-nmsc.adb (Locate_Directory): New Boolean parameter
4770 Externally_Built indicating if the project is externally built. If it
4771 is, and --subdirs is specified, but the subdir does not exist, look
4772 for the specified directory, without the subdir.
4774 2009-04-15 Gary Dismukes <dismukes@adacore.com>
4776 * a-tasatt.adb: Fix typo, plus minor reformatting
4778 * sem_ch3.ads: Add missing hyphen ("class wide" => "class-wide").
4780 * sem_ch10.adb: Add missing hyphen ("use visible" => "use-visible").
4782 2009-04-15 Ed Schonberg <schonberg@adacore.com>
4784 * sem_ch3.adb (Analyze_Private_Extension_Declaration): Verify that a
4785 private extension whose parent is a synchronized interface carries an
4786 explicit synchronized keyword.
4788 2009-04-15 Thomas Quinot <quinot@adacore.com>
4790 * exp_smem.adb (Make_Shared_Var_Procs): For a protected type,
4791 instantiate generic shared object package with the corresponding
4794 2009-04-15 Arnaud Charlet <charlet@adacore.com>
4796 * system-linux-sparc.ads: Remove obsolete entries.
4798 2009-04-15 Thomas Quinot <quinot@adacore.com>
4800 * s-tasuti.ads: Add ??? comment
4802 2009-04-15 Ed Schonberg <schonberg@adacore.com>
4804 * sem_ch3.adb (Analyze_Type_Declaration): Create freeze node for access
4805 type even if the designated type comes from a limited_with clause, to
4806 ensure that the symbol for the finalization list of the access type is
4809 2009-04-10 Robert Dewar <dewar@adacore.com>
4811 * sem_warn.ads, sem_warn.adb (Check_Low_Bound_Tested): Catch more cases
4812 for warning suppression.
4814 2009-04-10 Ed Schonberg <schonberg@adacore.com>
4816 * sem_ch8.adb (Use_One_Type): If the two use_type clauses are
4817 identical, there is no redudancy to check.
4819 2009-04-10 Gary Dismukes <dismukes@adacore.com>
4821 * exp_ch5.adb (Expand_N_Extended_Return_Statement): Delete redundant
4822 calls initializing SS_Allocator (which is initialized in following
4824 (Expand_Simple_Function_Return): Add comment about False value for
4825 Comes_From_Source on secondary-stack allocator.
4827 * exp_ch9.adb (Build_Entry_Family_Name): Add comment.
4828 (Build_Entry_Name): Add comment.
4830 2009-04-10 Robert Dewar <dewar@adacore.com>
4832 * einfo.ads, einfo.adb (Low_Bound_Tested): New name for Low_Bound_Known
4834 * sem_prag.adb (Analyze_Pragma, case Check): Remove check for lower
4835 bound tested, since this is now done more generally in Sem_Res.
4837 * sem_res.adb (Resolve_Comparison_Op): Add call to
4838 Check_Lower_Bound_Tested.
4839 (Resolve_Equality_Op): Add call to Check_Lower_Bound_Tested
4841 * sem_warn.ads, sem_warn.adb (Check_Low_Bound_Tested): New procedure
4842 (Low_Bound_Tested): New name for Low_Bound_Known flag
4844 * exp_ch5.adb: Minor reformatting
4847 Add comments on copying the Comes_From_Source flag for allocators
4850 Add comments on copying the Comes_From_Source flag for allocators
4852 * exp_ch6.adb (Make_Build_In_Place_Call_In_Allocator): Copy
4853 Comes_From_Source flag from old allocator to new one.
4855 2009-04-10 Ed Schonberg <schonberg@adacore.com>
4857 * sem_ch6.ads: Address missing documentation query
4859 2009-04-10 Vincent Celier <celier@adacore.com>
4862 Add new Linker attributes Max_Command_Line_Length, Response_File_Format
4863 and Response_File_Switches.
4865 * prj-nmsc.adb (Process_Linker): Process new attributes
4866 Max_Command_Line_Length, Response_File_Format and
4867 Response_File_Switches.
4869 * prj.ads (Response_File_Format): New enumeration type
4870 (Project_Configuration): New componants Max_Command_Line_Length,
4871 Resp_File_Format and Resp_File_Options.
4873 * snames.ads-tmpl: Add new standard names for linking response files
4874 for gprbuild: GNU, None, Object_List, Option_List,
4875 Max_Command_Line_Length, Response_File_Format and
4876 Response_File_Switches.
4878 2009-04-10 Geert Bosch <bosch@adacore.com>
4880 * system-aix.ads, system-darwin-ppc.ads, system-darwin-x86.ads,
4881 system-freebsd-x86.ads, system-hpux.ads, system-hpux-ia64.ads,
4882 system-irix-n32.ads, system-irix-o32.ads, system-linux-alpha.ads,
4883 system-linux-hppa.ads, system-linux-ia64.ads, system-linux-ppc.ads,
4884 system-linux-s390.ads, system-linux-s390x.ads, system-linux-sh4.ads,
4885 system-linux-sparc.ads, system-linux-x86_64.ads, system-linux-x86.ads,
4886 system-mingw.ads, system-solaris-sparc.ads, system-solaris-sparcv9.ads,
4887 system-solaris-x86.ads, system-tru64.ads, system-vms_64.ads,
4888 system-vms.ads, system-vms-ia64.ads, system-vms-zcx.ads,
4889 system-vxworks-arm.ads, system-vxworks-m68k.ads,
4890 system-vxworks-mips.ads, system-vxworks-ppc.ads,
4891 system-vxworks-sparcv9.ads, system-vxworks-x86.ads
4892 (Backend_Overflow_Checks): Set to True.
4894 2009-04-10 Thomas Quinot <quinot@adacore.com>
4896 * exp_attr.adb: Minor reformatting
4898 2009-04-10 Ed Schonberg <schonberg@adacore.com>
4900 * sem_prag.adb (Check_Precondition_Postcondition): Within a generic,
4901 analyze the expression for a postcondition, even if the compiler mode
4904 2009-04-10 Robert Dewar <dewar@adacore.com>
4906 * sem_aux.adb: Minor reformatting
4908 2009-04-10 Ed Falis <falis@adacore.com>
4910 * init.c: Change VxWorks 6 stack overflow checking for kernel apps.
4912 * system-vxworks-ppc.ads, system-vxworks-x86.ads: Update header.
4914 2009-04-10 Thomas Quinot <quinot@adacore.com>
4916 * sem_ch6.ads (Check_Subtype_Conformant): Add ??? comment for
4917 undocumented formal.
4920 * a-direio.ads: Fix typo in comment
4922 * sem_ch3.adb, g-dirope.adb, sem_type.adb, sem_ch12.adb, sem_case.adb,
4923 errout.adb, sem_ch4.adb, sem_ch11.adb, exp_dist.adb, sem_ch13.adb:
4924 Use uniform phrasing for comment at start of subprogram body.
4926 * xsnamest.adb: Add note to explain why we use specific names for the
4927 newly generated files instead of generating snames.{ads,adb,h} directly
4929 2009-04-10 Sergey Rybin <rybin@adacore.com>
4932 Add qualifier for new gnatstub option '--no-exception'
4935 Add the description of the new gnatstub option '--no-exception'
4937 2009-04-10 Robert Dewar <dewar@adacore.com>
4939 * rtsfind.adb: Minor reformatting
4941 2009-04-10 Thomas Quinot <quinot@adacore.com>
4943 * sem_disp.adb: Minor reformatting.
4944 Add comment pointing to RM clause for the case of warning against a
4945 (failed) attempt at declaring a primitive operation elsewhere than in a
4948 2009-04-10 Ed Schonberg <schonberg@adacore.com>
4950 * sem_ch12.adb (Denotes_Formal_Package): Check whether the package is
4951 an actual for a previous formal package of the current instance.
4953 2009-04-10 Bob Duff <duff@adacore.com>
4955 * rtsfind.adb (RTE): Put implicit with_clauses on whatever unit needs
4956 them first, rather than on the extended main unit.
4958 2009-04-10 Ed Schonberg <schonberg@adacore.com>
4960 * sem_ch6.adb (Check_Discriminant_Conformance): If discriminant
4961 specification of full view carries a null exclusion indicator, create
4962 an itype for it, to check for conformance with partial view.
4964 2009-04-10 Bob Duff <duff@adacore.com>
4966 * rtsfind.ads: Minor code change: make RE_Unit_Table constant.
4968 * rtsfind.adb: Minor comment changes, and remove useless code.
4970 * sinfo.ads: Add ??? comment.
4972 2009-04-10 Vincent Celier <celier@adacore.com>
4974 * vms_data.ads: Add missing GNAT SYNC VMS qualifiers -main= and -U
4976 2009-04-10 Ed Schonberg <schonberg@adacore.com>
4978 * exp_attr.adb (Expand_N_Attribute_Reference, case 'Tag): If the tagged
4979 type is a synchronized type, retrieve tag information from the
4980 corresponding record, which has the dispatch table link.
4982 2009-04-10 Jerome Lambourg <lambourg@adacore.com>
4984 * g-comlin.adb (Group_Analysis): Take care of switches that might be
4985 decomposed afterwards, but are present as-is in the command line
4986 configuration, and thus should be kept as-is.
4988 2009-04-10 Robert Dewar <dewar@adacore.com>
4990 * gnat_rm.texi: Document that postconditions are tested on implicit
4993 * sem_aux.adb: Minor reformatting
4995 2009-04-10 Gary Dismukes <dismukes@adacore.com>
4997 * itypes.adb (Create_Null_Excluding_Itype): Apply Base_Type when
5000 * par-ch3.adb (P_Access_Type_Definition): Set new attribute
5001 Null_Exclusion_In_Return_Present when an access-to-function type has a
5002 result type with an explicit not null.
5004 * sem_ch3.adb (Access_Subprogram_Definition): If a null exclusion is
5005 given on the result type, then create a null-excluding itype for the
5008 * sem_ch6.adb (Analyze_Return_Type): Create a null-excluding itype in
5009 the case where a null exclusion is imposed on a named access type.
5010 (Analyze_Subprogram_Specification): Push and pop the scope of the
5011 function around the call to Analyze_Return_Type in the case of no
5012 formals, for consistency with handling when formals are present
5013 (Process_Formals does this). Ensures that any itype created for the
5014 return type will be associated with the proper scope.
5016 * sem_ch12.adb (Analyze_Generic_Subprogram_Declaration): If a null
5017 exclusion is given on a generic function's result type, then create a
5018 null-excluding itype for the generic function.
5019 (Instantiate_Object): Set Null_Exclusion_Present of a constant created
5020 for an actual for a formal in object according to the setting on the
5021 formal. Ensures null exclusion checks are done when the association is
5024 * sinfo.ads: Add new flag Null_Exclusion_In_Return_Present on
5025 N_Access_Function_Definition.
5027 * sinfo.adb: Add Get_ and Set_ operations for
5028 Null_Exclusion_In_Return_Present.
5030 2009-04-10 Bob Duff <duff@adacore.com>
5032 * exp_ch5.adb, exp_ch6.adb, sem_ch6.adb: Move the code that creates a
5033 call to the _Postconditions procedure in the case of implicit returns
5034 from analysis to expansion. This eliminates some duplicated code. Use
5035 the Postcondition_Proc to find the identity of this procedure during
5038 2009-04-10 Robert Dewar <dewar@adacore.com>
5040 * sem_ch6.adb: Minor code clean up.
5042 * einfo.ads, sem_attr.adb: Minor comment fixes.
5044 2009-04-10 Robert Dewar <dewar@adacore.com>
5046 * sem_ch8.adb: Minor reformatting
5048 2009-04-10 Robert Dewar <dewar@adacore.com>
5050 * einfo.ads, einfo.adb (Postcondition_Proc): New attribute for
5053 * sem_ch6.adb: Minor code clean up.
5055 2009-04-10 Robert Dewar <dewar@adacore.com>
5057 * mlib-tgt-specific-xi.adb: Minor reformatting
5059 2009-04-10 Bob Duff <duff@adacore.com>
5061 * einfo.ads: Minor comment fixes
5063 2009-04-10 Vincent Celier <celier@adacore.com>
5065 * snames.ads-tmpl: Remove names that are no longer used in the
5067 Mark specifically those that are used only in gprbuild
5069 2009-04-10 Eric Botcazou <ebotcazou@adacore.com>
5071 * init.c: Adjust EH support code on Alpha/Tru64.
5073 2009-04-10 Bob Duff <duff@adacore.com>
5075 * sem_ch6.adb (Process_PPCs): Add a call to the _Postconditions
5076 procedure on every path that could return implicitly (not via a return
5077 statement) from a procedure.
5079 2009-04-10 Ed Schonberg <schonberg@adacore.com>
5081 * exp_ch9.adb (Build_Master_Entity): An extended return statement is a
5082 valid scope for a task declarations and therefore for a master id.
5084 2009-04-10 Robert Dewar <dewar@adacore.com>
5086 * sem_aux.adb: Minor reformatting
5088 2009-04-10 Vincent Celier <celier@adacore.com>
5090 * scn.adb (Obsolescent_Check_Flag): New Boolean flag, initialized to
5092 (Obsolescent_Check): Do nothing if Obsolescent_Check_Flag is False
5093 (Set_Obsolescent_Check): New procedure to change the value of
5094 Obsolescent_Check_Flag.
5096 * scn.ads (Set_Obsolescent_Check): New procedure to control
5099 * sinput-l.adb (Load_File): Do not check for pragma Restrictions on
5100 obsolescent features while preprocessing.
5102 2009-04-10 Thomas Quinot <quinot@adacore.com>
5104 * xsnamest.adb: Use XUtil to have uniform line endings (UNIX style) in
5105 generated files on all platforms.
5107 2009-04-10 Robert Dewar <dewar@adacore.com>
5109 * sem_aux.adb: Minor reformatting
5111 2009-04-10 Ed Schonberg <schonberg@adacore.com>
5113 * sem_ch3.adb (Access_Definition): Handle properly the case of a
5114 protected function with formals that returns an anonymous access type.
5116 2009-04-10 Thomas Quinot <quinot@adacore.com>
5118 * sem_disp.adb: Minor reformatting
5120 2009-04-10 Vasiliy Fofanov <fofanov@adacore.com>
5122 * seh_init.c: Do not use the 32-bit specific implementation of
5123 __gnat_install_SEH_handler on 64-bit Windows target (64-bit specific
5126 2009-04-10 Jose Ruiz <ruiz@adacore.com>
5128 * mlib-tgt-specific-xi.adb (Get_Target_Prefix): Target_Name may contain
5129 a '/' at the end so we better use the complete target name to determine
5130 whether it is a PowerPC 55xx target.
5132 2009-04-10 Thomas Quinot <quinot@adacore.com>
5134 * sem_eval.adb: Minor reformatting
5136 2009-04-10 Thomas Quinot <quinot@adacore.com>
5138 * snames.h, snames.ads, snames.adb: Remove files, now generated from
5141 * snames.h-tmpl, snames.ads-tmpl, snames.adb-tmpl: Templates for the
5144 * xsnamest.adb: New file.
5146 * gcc-interface/Make-lang.in: New target for automated generation of
5147 snames.ads, snames.adb and snames.h
5149 2009-04-10 Tristan Gingold <gingold@adacore.com>
5151 * gcc-interface/Makefile.in, gcc-interface/utils.c: Include "rtl.h" to
5152 avoid compile time warnings.
5153 Do not add gcc/config in include search list while compiling the RTS.
5154 Pragma Thread_Local_Storage is available on any target.
5156 2009-04-10 Bob Duff <duff@adacore.com>
5158 * sem.ads, par.adb, sem_ch6.adb, sem_ch8.adb: Minor comment fixes.
5160 2009-04-10 Tristan Gingold <gingold@adacore.com>
5162 * init.c: Install signal handler on Darwin.
5164 2009-04-10 Robert Dewar <dewar@adacore.com>
5166 * sem_prag.adb: Minor reformatting
5168 * exp_util.adb (Make_Non_Empty_Check): New function
5169 (Silly_Boolean_Array_Not_Test): Add call to Make_Non_Empty_Check
5170 (Silly_Boolean_Array_Xor_Test): Use Make_Non_Empty_Check
5172 2009-04-10 Arnaud Charlet <charlet@adacore.com>
5174 * make.adb, gnatlink.adb: Rename JGNAT toolchain.
5176 2009-04-10 Jose Ruiz <ruiz@adacore.com>
5178 * mlib-tgt-specific-xi.adb (Get_Target_Prefix): Insert the appropriate
5179 tool prefix for AVR and PowerPC 55xx targets.
5181 2009-04-10 Robert Dewar <dewar@adacore.com>
5183 * sem_warn.adb (Within_Postcondition): New function
5184 (Check_Unset_Reference): Use Within_Postcondition to stop bad warning
5186 2009-04-10 Robert Dewar <dewar@adacore.com>
5188 * sem_warn.adb: Minor reformatting
5190 * make.adb: Minor reformatting.
5192 2009-04-10 Gary Dismukes <dismukes@adacore.com>
5194 * exp_ch7.adb (Find_Final_List): When creating a finalization-chain
5195 entity and the scope is a subprogram, retrieve the Sloc of the
5196 subprogram's body rather than using the sloc of the spec, for better
5197 line-stepping behavior in gdb.
5198 (Wrap_Transient_Declaration): For the Sloc of nodes created with a list
5199 controller, use the Sloc of the first declaration of the containing list
5200 rather than that of the node that triggered creation of the list
5203 2009-04-10 Vincent Celier <celier@adacore.com>
5205 * prj-nmsc.adb (Check_Naming_Schemes): Initialize local variable Casing
5206 to avoid gcc warning.
5208 2009-04-10 Robert Dewar <dewar@adacore.com>
5210 * g-comlin.adb: Add ??? comment
5212 2009-04-10 Ed Schonberg <schonberg@adacore.com>
5214 * sem_warn.adb (Check_Unused_Withs): Do not emit message about
5215 unreferenced entities for a package with no visible declarations.
5217 2009-04-10 Robert Dewar <dewar@adacore.com>
5219 * exp_ch9.adb: Minor reformatting
5221 2009-04-10 Thomas Quinot <quinot@adacore.com>
5223 * sem_prag.adb: Minor reformatting
5225 2009-04-10 Vincent Celier <celier@adacore.com>
5228 (Check_Library_Attributes): For a project qualified as a library project
5229 that is not a library project, indicate in the error message which
5230 attributes are missing (Library_Dir and/or Library_Name).
5232 2009-04-10 Bob Duff <duff@adacore.com>
5234 * exp_ch5.adb, exp_ch9.adb: Avoid use of No_Position in Sloc of
5235 generated nodes, because it might confuse various circuits in the FE.
5237 2009-04-10 Ed Schonberg <schonberg@adacore.com>
5239 * sem_prag.adb (Analyze_Pragma, case Task_Name): Do not expand argument
5240 of pragma. It will be recopied and analyzed when used in call to
5243 * sem_res.adb (Resolve_Call): Clarify use of secondary stack within
5244 initialization operations and recognize use of it in procedure calls
5247 * exp_ch9.adb (Make_Task_Create_Call): Copy full tree of Task_Name
5248 argument, because it may have side-effects.
5250 * exp_ch2.adb: Remove obsolete comments on default functions
5252 2009-04-10 Jose Ruiz <ruiz@adacore.com>
5254 * adaint.c (RTX section): Do for RTX the same thing as we do for
5255 Windows (include ctype.h and define a fallback ISALPHA if IN_RTS).
5257 2009-04-10 Robert Dewar <dewar@adacore.com>
5259 * sem_aux.ads, sem_aux.adb (Nearest_Current_Scope): New function.
5261 * sem_res.adb (Resolve_Call): Fix test for
5262 Suppress_Value_Tracking_On_Call (was wrong for the case of a call from
5263 a non-dynamic scope).
5265 2009-04-10 Robert Dewar <dewar@adacore.com>
5267 * make.adb: Add comment.
5270 2009-04-10 Nicolas Setton <setton@adacore.com>
5272 * s-osprim-darwin.adb: New file.
5274 * s-osinte-darwin.adb, s-osinte-darwin.ads: Fix binding to timespec.
5276 2009-04-10 Thomas Quinot <quinot@adacore.com>
5278 * g-socket.ads: Add comment clarifying alignment requirement for Fd_Set
5280 2009-04-09 Nick Clifton <nickc@redhat.com>
5282 * adadecode.h: Change copyright header to refer to version
5283 3 of the GNU General Public License with version 3.1 of the
5284 GCC Runtime Library Exception and to point readers at the
5285 COPYING3 and COPYING3.RUNTIME files and the FSF's license web
5287 * 9drpc.adb: Likewise.
5288 * a-assert.adb: Likewise.
5289 * a-astaco.adb: Likewise.
5290 * a-calari.adb: Likewise.
5291 * a-calcon.adb: Likewise.
5292 * a-calcon.ads: Likewise.
5293 * a-caldel.ads: Likewise.
5294 * a-calend-vms.adb: Likewise.
5295 * a-calend-vms.ads: Likewise.
5296 * a-calend.adb: Likewise.
5297 * a-calend.ads: Likewise.
5298 * a-calfor.adb: Likewise.
5299 * a-catizo.adb: Likewise.
5300 * a-cdlili.adb: Likewise.
5301 * a-cdlili.ads: Likewise.
5302 * a-cgaaso.adb: Likewise.
5303 * a-cgaaso.ads: Likewise.
5304 * a-cgarso.adb: Likewise.
5305 * a-cgcaso.adb: Likewise.
5306 * a-chacon.adb: Likewise.
5307 * a-chacon.ads: Likewise.
5308 * a-chahan.adb: Likewise.
5309 * a-chahan.ads: Likewise.
5310 * a-chlat9.ads: Likewise.
5311 * a-chtgke.adb: Likewise.
5312 * a-chtgke.ads: Likewise.
5313 * a-chtgop.adb: Likewise.
5314 * a-chtgop.ads: Likewise.
5315 * a-chzla1.ads: Likewise.
5316 * a-chzla9.ads: Likewise.
5317 * a-cidlli.adb: Likewise.
5318 * a-cidlli.ads: Likewise.
5319 * a-cihama.adb: Likewise.
5320 * a-cihama.ads: Likewise.
5321 * a-cihase.adb: Likewise.
5322 * a-cihase.ads: Likewise.
5323 * a-ciorma.adb: Likewise.
5324 * a-ciorma.ads: Likewise.
5325 * a-ciormu.adb: Likewise.
5326 * a-ciormu.ads: Likewise.
5327 * a-ciorse.adb: Likewise.
5328 * a-ciorse.ads: Likewise.
5329 * a-clrefi.adb: Likewise.
5330 * a-clrefi.ads: Likewise.
5331 * a-cohama.adb: Likewise.
5332 * a-cohama.ads: Likewise.
5333 * a-cohase.adb: Likewise.
5334 * a-cohase.ads: Likewise.
5335 * a-cohata.ads: Likewise.
5336 * a-coinve.adb: Likewise.
5337 * a-coinve.ads: Likewise.
5338 * a-colien.adb: Likewise.
5339 * a-colien.ads: Likewise.
5340 * a-colire.adb: Likewise.
5341 * a-colire.ads: Likewise.
5342 * a-comlin.adb: Likewise.
5343 * a-comlin.ads: Likewise.
5344 * a-convec.adb: Likewise.
5345 * a-convec.ads: Likewise.
5346 * a-coorma.adb: Likewise.
5347 * a-coorma.ads: Likewise.
5348 * a-coormu.adb: Likewise.
5349 * a-coormu.ads: Likewise.
5350 * a-coorse.adb: Likewise.
5351 * a-coorse.ads: Likewise.
5352 * a-coprnu.adb: Likewise.
5353 * a-coprnu.ads: Likewise.
5354 * a-crbltr.ads: Likewise.
5355 * a-crbtgk.adb: Likewise.
5356 * a-crbtgk.ads: Likewise.
5357 * a-crbtgo.adb: Likewise.
5358 * a-crbtgo.ads: Likewise.
5359 * a-crdlli.adb: Likewise.
5360 * a-crdlli.ads: Likewise.
5361 * a-cwila1.ads: Likewise.
5362 * a-cwila9.ads: Likewise.
5363 * a-decima.adb: Likewise.
5364 * a-decima.ads: Likewise.
5365 * a-diocst.adb: Likewise.
5366 * a-diocst.ads: Likewise.
5367 * a-direct.adb: Likewise.
5368 * a-direct.ads: Likewise.
5369 * a-direio.adb: Likewise.
5370 * a-direio.ads: Likewise.
5371 * a-dirval-mingw.adb: Likewise.
5372 * a-dirval-vms.adb: Likewise.
5373 * a-dirval.adb: Likewise.
5374 * a-dirval.ads: Likewise.
5375 * a-dynpri.adb: Likewise.
5376 * a-einuoc.adb: Likewise.
5377 * a-einuoc.ads: Likewise.
5378 * a-elchha.adb: Likewise.
5379 * a-elchha.ads: Likewise.
5380 * a-envvar.adb: Likewise.
5381 * a-excach.adb: Likewise.
5382 * a-except-2005.adb: Likewise.
5383 * a-except-2005.ads: Likewise.
5384 * a-except.adb: Likewise.
5385 * a-except.ads: Likewise.
5386 * a-excpol-abort.adb: Likewise.
5387 * a-excpol.adb: Likewise.
5388 * a-exctra.adb: Likewise.
5389 * a-exctra.ads: Likewise.
5390 * a-exetim-mingw.adb: Likewise.
5391 * a-exetim-mingw.ads: Likewise.
5392 * a-exexda.adb: Likewise.
5393 * a-exexpr-gcc.adb: Likewise.
5394 * a-exexpr.adb: Likewise.
5395 * a-exextr.adb: Likewise.
5396 * a-exstat.adb: Likewise.
5397 * a-filico.adb: Likewise.
5398 * a-filico.ads: Likewise.
5399 * a-finali.adb: Likewise.
5400 * a-finali.ads: Likewise.
5401 * a-interr.ads: Likewise.
5402 * a-intnam-aix.ads: Likewise.
5403 * a-intnam-darwin.ads: Likewise.
5404 * a-intnam-dummy.ads: Likewise.
5405 * a-intnam-freebsd.ads: Likewise.
5406 * a-intnam-hpux.ads: Likewise.
5407 * a-intnam-irix.ads: Likewise.
5408 * a-intnam-linux.ads: Likewise.
5409 * a-intnam-lynxos.ads: Likewise.
5410 * a-intnam-mingw.ads: Likewise.
5411 * a-intnam-rtems.ads: Likewise.
5412 * a-intnam-solaris.ads: Likewise.
5413 * a-intnam-tru64.ads: Likewise.
5414 * a-intnam-vms.ads: Likewise.
5415 * a-intnam-vxworks.ads: Likewise.
5416 * a-intsig.adb: Likewise.
5417 * a-intsig.ads: Likewise.
5418 * a-ngcefu.adb: Likewise.
5419 * a-ngcoar.adb: Likewise.
5420 * a-ngcoty.adb: Likewise.
5421 * a-ngcoty.ads: Likewise.
5422 * a-ngelfu.adb: Likewise.
5423 * a-ngrear.adb: Likewise.
5424 * a-ngrear.ads: Likewise.
5425 * a-nudira.adb: Likewise.
5426 * a-nudira.ads: Likewise.
5427 * a-nuflra.adb: Likewise.
5428 * a-nuflra.ads: Likewise.
5429 * a-numaux-darwin.adb: Likewise.
5430 * a-numaux-darwin.ads: Likewise.
5431 * a-numaux-libc-x86.ads: Likewise.
5432 * a-numaux-vxworks.ads: Likewise.
5433 * a-numaux-x86.adb: Likewise.
5434 * a-numaux-x86.ads: Likewise.
5435 * a-numaux.ads: Likewise.
5436 * a-rbtgso.adb: Likewise.
5437 * a-rbtgso.ads: Likewise.
5438 * a-reatim.ads: Likewise.
5439 * a-retide.adb: Likewise.
5440 * a-retide.ads: Likewise.
5441 * a-rttiev.adb: Likewise.
5442 * a-rttiev.ads: Likewise.
5443 * a-secain.adb: Likewise.
5444 * a-secain.ads: Likewise.
5445 * a-sequio.adb: Likewise.
5446 * a-sequio.ads: Likewise.
5447 * a-shcain.adb: Likewise.
5448 * a-shcain.ads: Likewise.
5449 * a-siocst.adb: Likewise.
5450 * a-siocst.ads: Likewise.
5451 * a-slcain.adb: Likewise.
5452 * a-slcain.ads: Likewise.
5453 * a-ssicst.adb: Likewise.
5454 * a-ssicst.ads: Likewise.
5455 * a-stboha.adb: Likewise.
5456 * a-stmaco.ads: Likewise.
5457 * a-storio.adb: Likewise.
5458 * a-strbou.adb: Likewise.
5459 * a-strbou.ads: Likewise.
5460 * a-stream.ads: Likewise.
5461 * a-strfix.adb: Likewise.
5462 * a-strhas.adb: Likewise.
5463 * a-strmap.adb: Likewise.
5464 * a-strmap.ads: Likewise.
5465 * a-strsea.adb: Likewise.
5466 * a-strsea.ads: Likewise.
5467 * a-strsup.adb: Likewise.
5468 * a-strsup.ads: Likewise.
5469 * a-strunb.adb: Likewise.
5470 * a-strunb.ads: Likewise.
5471 * a-ststio.adb: Likewise.
5472 * a-ststio.ads: Likewise.
5473 * a-stunau.adb: Likewise.
5474 * a-stunau.ads: Likewise.
5475 * a-stunha.adb: Likewise.
5476 * a-stwibo.adb: Likewise.
5477 * a-stwibo.ads: Likewise.
5478 * a-stwifi.adb: Likewise.
5479 * a-stwiha.adb: Likewise.
5480 * a-stwima.adb: Likewise.
5481 * a-stwima.ads: Likewise.
5482 * a-stwise.adb: Likewise.
5483 * a-stwise.ads: Likewise.
5484 * a-stwisu.adb: Likewise.
5485 * a-stwisu.ads: Likewise.
5486 * a-stwiun.adb: Likewise.
5487 * a-stwiun.ads: Likewise.
5488 * a-stzbou.adb: Likewise.
5489 * a-stzbou.ads: Likewise.
5490 * a-stzfix.adb: Likewise.
5491 * a-stzhas.adb: Likewise.
5492 * a-stzmap.adb: Likewise.
5493 * a-stzmap.ads: Likewise.
5494 * a-stzsea.adb: Likewise.
5495 * a-stzsea.ads: Likewise.
5496 * a-stzsup.adb: Likewise.
5497 * a-stzsup.ads: Likewise.
5498 * a-stzunb.adb: Likewise.
5499 * a-stzunb.ads: Likewise.
5500 * a-suteio.adb: Likewise.
5501 * a-suteio.ads: Likewise.
5502 * a-swbwha.adb: Likewise.
5503 * a-swmwco.ads: Likewise.
5504 * a-swunau.adb: Likewise.
5505 * a-swunau.ads: Likewise.
5506 * a-swuwha.adb: Likewise.
5507 * a-swuwti.adb: Likewise.
5508 * a-swuwti.ads: Likewise.
5509 * a-sytaco.adb: Likewise.
5510 * a-sytaco.ads: Likewise.
5511 * a-szbzha.adb: Likewise.
5512 * a-szmzco.ads: Likewise.
5513 * a-szunau.adb: Likewise.
5514 * a-szunau.ads: Likewise.
5515 * a-szuzha.adb: Likewise.
5516 * a-szuzti.adb: Likewise.
5517 * a-szuzti.ads: Likewise.
5518 * a-tags.adb: Likewise.
5519 * a-tags.ads: Likewise.
5520 * a-tasatt.ads: Likewise.
5521 * a-taside.adb: Likewise.
5522 * a-taside.ads: Likewise.
5523 * a-taster.adb: Likewise.
5524 * a-teioed.adb: Likewise.
5525 * a-teioed.ads: Likewise.
5526 * a-textio.adb: Likewise.
5527 * a-textio.ads: Likewise.
5528 * a-tiboio.adb: Likewise.
5529 * a-ticoau.adb: Likewise.
5530 * a-ticoau.ads: Likewise.
5531 * a-ticoio.adb: Likewise.
5532 * a-ticoio.ads: Likewise.
5533 * a-tideau.adb: Likewise.
5534 * a-tideau.ads: Likewise.
5535 * a-tideio.adb: Likewise.
5536 * a-tideio.ads: Likewise.
5537 * a-tienau.adb: Likewise.
5538 * a-tienau.ads: Likewise.
5539 * a-tienio.adb: Likewise.
5540 * a-tienio.ads: Likewise.
5541 * a-tifiio.adb: Likewise.
5542 * a-tifiio.ads: Likewise.
5543 * a-tiflau.adb: Likewise.
5544 * a-tiflau.ads: Likewise.
5545 * a-tiflio.adb: Likewise.
5546 * a-tiflio.ads: Likewise.
5547 * a-tigeau.adb: Likewise.
5548 * a-tigeau.ads: Likewise.
5549 * a-tiinau.adb: Likewise.
5550 * a-tiinau.ads: Likewise.
5551 * a-tiinio.adb: Likewise.
5552 * a-tiinio.ads: Likewise.
5553 * a-timoau.adb: Likewise.
5554 * a-timoau.ads: Likewise.
5555 * a-timoio.adb: Likewise.
5556 * a-timoio.ads: Likewise.
5557 * a-tiocst.adb: Likewise.
5558 * a-tiocst.ads: Likewise.
5559 * a-titest.adb: Likewise.
5560 * a-wichun.adb: Likewise.
5561 * a-wichun.ads: Likewise.
5562 * a-witeio.adb: Likewise.
5563 * a-witeio.ads: Likewise.
5564 * a-wtcoau.adb: Likewise.
5565 * a-wtcoau.ads: Likewise.
5566 * a-wtcoio.adb: Likewise.
5567 * a-wtcstr.adb: Likewise.
5568 * a-wtcstr.ads: Likewise.
5569 * a-wtdeau.adb: Likewise.
5570 * a-wtdeau.ads: Likewise.
5571 * a-wtdeio.adb: Likewise.
5572 * a-wtdeio.ads: Likewise.
5573 * a-wtedit.adb: Likewise.
5574 * a-wtedit.ads: Likewise.
5575 * a-wtenau.adb: Likewise.
5576 * a-wtenau.ads: Likewise.
5577 * a-wtenio.adb: Likewise.
5578 * a-wtenio.ads: Likewise.
5579 * a-wtfiio.adb: Likewise.
5580 * a-wtfiio.ads: Likewise.
5581 * a-wtflau.adb: Likewise.
5582 * a-wtflau.ads: Likewise.
5583 * a-wtflio.adb: Likewise.
5584 * a-wtflio.ads: Likewise.
5585 * a-wtgeau.adb: Likewise.
5586 * a-wtgeau.ads: Likewise.
5587 * a-wtinau.adb: Likewise.
5588 * a-wtinau.ads: Likewise.
5589 * a-wtinio.adb: Likewise.
5590 * a-wtmoau.adb: Likewise.
5591 * a-wtmoau.ads: Likewise.
5592 * a-wtmoio.adb: Likewise.
5593 * a-wtmoio.ads: Likewise.
5594 * a-wttest.adb: Likewise.
5595 * a-wwboio.adb: Likewise.
5596 * a-zchuni.adb: Likewise.
5597 * a-zchuni.ads: Likewise.
5598 * a-ztcoau.adb: Likewise.
5599 * a-ztcoau.ads: Likewise.
5600 * a-ztcoio.adb: Likewise.
5601 * a-ztcstr.adb: Likewise.
5602 * a-ztcstr.ads: Likewise.
5603 * a-ztdeau.adb: Likewise.
5604 * a-ztdeau.ads: Likewise.
5605 * a-ztdeio.adb: Likewise.
5606 * a-ztdeio.ads: Likewise.
5607 * a-ztedit.adb: Likewise.
5608 * a-ztedit.ads: Likewise.
5609 * a-ztenau.adb: Likewise.
5610 * a-ztenau.ads: Likewise.
5611 * a-ztenio.adb: Likewise.
5612 * a-ztenio.ads: Likewise.
5613 * a-ztexio.adb: Likewise.
5614 * a-ztexio.ads: Likewise.
5615 * a-ztfiio.adb: Likewise.
5616 * a-ztfiio.ads: Likewise.
5617 * a-ztflau.adb: Likewise.
5618 * a-ztflau.ads: Likewise.
5619 * a-ztflio.adb: Likewise.
5620 * a-ztflio.ads: Likewise.
5621 * a-ztgeau.adb: Likewise.
5622 * a-ztgeau.ads: Likewise.
5623 * a-ztinau.adb: Likewise.
5624 * a-ztinau.ads: Likewise.
5625 * a-ztinio.adb: Likewise.
5626 * a-ztmoau.adb: Likewise.
5627 * a-ztmoau.ads: Likewise.
5628 * a-ztmoio.adb: Likewise.
5629 * a-ztmoio.ads: Likewise.
5630 * a-zttest.adb: Likewise.
5631 * a-zzboio.adb: Likewise.
5632 * adadecode.c: Likewise.
5633 * adaint.c: Likewise.
5634 * adaint.h: Likewise.
5635 * alloc.ads: Likewise.
5637 * arit64.c: Likewise.
5638 * atree.adb: Likewise.
5639 * atree.ads: Likewise.
5640 * aux-io.c: Likewise.
5642 * casing.adb: Likewise.
5643 * casing.ads: Likewise.
5645 * csets.adb: Likewise.
5646 * csets.ads: Likewise.
5647 * cstreams.c: Likewise.
5648 * ctrl_c.c: Likewise.
5649 * debug.adb: Likewise.
5650 * debug.ads: Likewise.
5651 * dec.ads: Likewise.
5652 * einfo.adb: Likewise.
5653 * einfo.ads: Likewise.
5654 * elists.adb: Likewise.
5655 * elists.ads: Likewise.
5658 * errno.c: Likewise.
5661 * final.c: Likewise.
5662 * fname.adb: Likewise.
5663 * fname.ads: Likewise.
5664 * g-allein.ads: Likewise.
5665 * g-alleve.adb: Likewise.
5666 * g-alleve.ads: Likewise.
5667 * g-altcon.adb: Likewise.
5668 * g-altcon.ads: Likewise.
5669 * g-altive.ads: Likewise.
5670 * g-alveop.adb: Likewise.
5671 * g-alveop.ads: Likewise.
5672 * g-alvety.ads: Likewise.
5673 * g-alvevi.ads: Likewise.
5674 * g-arrspl.adb: Likewise.
5675 * g-arrspl.ads: Likewise.
5676 * g-calend.ads: Likewise.
5677 * g-comlin.adb: Likewise.
5678 * g-debpoo.adb: Likewise.
5679 * g-debpoo.ads: Likewise.
5680 * g-eacodu-vms.adb: Likewise.
5681 * g-eacodu.adb: Likewise.
5682 * g-excact.adb: Likewise.
5683 * g-excact.ads: Likewise.
5684 * g-locfil.adb: Likewise.
5685 * g-os_lib.ads: Likewise.
5686 * g-rannum.adb: Likewise.
5687 * g-rannum.ads: Likewise.
5688 * g-regist.adb: Likewise.
5689 * g-regist.ads: Likewise.
5690 * g-signal.adb: Likewise.
5691 * g-signal.ads: Likewise.
5692 * g-soccon.ads: Likewise.
5693 * g-string.adb: Likewise.
5694 * g-string.ads: Likewise.
5695 * g-strspl.ads: Likewise.
5696 * g-timsta.adb: Likewise.
5697 * g-timsta.ads: Likewise.
5698 * g-trasym-vms-alpha.adb: Likewise.
5699 * g-trasym-vms-ia64.adb: Likewise.
5700 * g-utf_32.adb: Likewise.
5701 * g-utf_32.ads: Likewise.
5702 * g-wistsp.ads: Likewise.
5703 * g-zstspl.ads: Likewise.
5705 * gnatvsn.adb: Likewise.
5706 * gnatvsn.ads: Likewise.
5707 * gsocket.h: Likewise.
5708 * hostparm.ads: Likewise.
5709 * i-c.adb: Likewise.
5710 * i-cexten.ads: Likewise.
5711 * i-cobol.adb: Likewise.
5712 * i-cobol.ads: Likewise.
5713 * i-cpoint.adb: Likewise.
5714 * i-cpoint.ads: Likewise.
5715 * i-cpp.adb: Likewise.
5716 * i-cpp.ads: Likewise.
5717 * i-cstrea-vms.adb: Likewise.
5718 * i-cstrea.adb: Likewise.
5719 * i-cstrea.ads: Likewise.
5720 * i-cstrin.adb: Likewise.
5721 * i-cstrin.ads: Likewise.
5722 * i-forbla-darwin.adb: Likewise.
5723 * i-forbla-unimplemented.ads: Likewise.
5724 * i-forbla.adb: Likewise.
5725 * i-forbla.ads: Likewise.
5726 * i-forlap.ads: Likewise.
5727 * i-fortra.adb: Likewise.
5728 * i-pacdec.adb: Likewise.
5729 * i-pacdec.ads: Likewise.
5730 * i-vxwoio.adb: Likewise.
5731 * i-vxwoio.ads: Likewise.
5732 * indepsw-aix.adb: Likewise.
5733 * indepsw-gnu.adb: Likewise.
5734 * indepsw-mingw.adb: Likewise.
5735 * indepsw.adb: Likewise.
5736 * indepsw.ads: Likewise.
5738 * initialize.c: Likewise.
5739 * interfac.ads: Likewise.
5740 * krunch.adb: Likewise.
5741 * krunch.ads: Likewise.
5742 * lib-list.adb: Likewise.
5743 * lib-sort.adb: Likewise.
5744 * lib.adb: Likewise.
5745 * lib.ads: Likewise.
5747 * math_lib.adb: Likewise.
5748 * memtrack.adb: Likewise.
5749 * mingw32.h: Likewise.
5750 * mkdir.c: Likewise.
5751 * namet-sp.adb: Likewise.
5752 * namet-sp.ads: Likewise.
5753 * namet.adb: Likewise.
5754 * namet.ads: Likewise.
5755 * nlists.adb: Likewise.
5756 * nlists.ads: Likewise.
5757 * opt.adb: Likewise.
5758 * opt.ads: Likewise.
5759 * output.adb: Likewise.
5760 * output.ads: Likewise.
5761 * raise-gcc.c: Likewise.
5762 * raise.c: Likewise.
5763 * raise.h: Likewise.
5764 * repinfo.adb: Likewise.
5765 * repinfo.ads: Likewise.
5766 * repinfo.h: Likewise.
5767 * rident.ads: Likewise.
5768 * s-addima.adb: Likewise.
5769 * s-addima.ads: Likewise.
5770 * s-addope.adb: Likewise.
5771 * s-addope.ads: Likewise.
5772 * s-arit64.adb: Likewise.
5773 * s-arit64.ads: Likewise.
5774 * s-assert.adb: Likewise.
5775 * s-assert.ads: Likewise.
5776 * s-asthan-vms-alpha.adb: Likewise.
5777 * s-asthan.adb: Likewise.
5778 * s-asthan.ads: Likewise.
5779 * s-atacco.adb: Likewise.
5780 * s-atacco.ads: Likewise.
5781 * s-auxdec-empty.adb: Likewise.
5782 * s-auxdec-empty.ads: Likewise.
5783 * s-auxdec-vms_64.ads: Likewise.
5784 * s-auxdec.adb: Likewise.
5785 * s-auxdec.ads: Likewise.
5786 * s-bitops.adb: Likewise.
5787 * s-bitops.ads: Likewise.
5788 * s-boarop.ads: Likewise.
5789 * s-carsi8.adb: Likewise.
5790 * s-carsi8.ads: Likewise.
5791 * s-carun8.adb: Likewise.
5792 * s-carun8.ads: Likewise.
5793 * s-casi16.adb: Likewise.
5794 * s-casi16.ads: Likewise.
5795 * s-casi32.adb: Likewise.
5796 * s-casi32.ads: Likewise.
5797 * s-casi64.adb: Likewise.
5798 * s-casi64.ads: Likewise.
5799 * s-casuti.ads: Likewise.
5800 * s-caun16.adb: Likewise.
5801 * s-caun16.ads: Likewise.
5802 * s-caun32.adb: Likewise.
5803 * s-caun32.ads: Likewise.
5804 * s-caun64.adb: Likewise.
5805 * s-caun64.ads: Likewise.
5806 * s-chepoo.ads: Likewise.
5807 * s-crc32.adb: Likewise.
5808 * s-crc32.ads: Likewise.
5809 * s-crtl.ads: Likewise.
5810 * s-direio.adb: Likewise.
5811 * s-direio.ads: Likewise.
5812 * s-dsaser.ads: Likewise.
5813 * s-except.adb: Likewise.
5814 * s-except.ads: Likewise.
5815 * s-exctab.adb: Likewise.
5816 * s-exctab.ads: Likewise.
5817 * s-exnint.adb: Likewise.
5818 * s-exnint.ads: Likewise.
5819 * s-exnllf.adb: Likewise.
5820 * s-exnllf.ads: Likewise.
5821 * s-exnlli.adb: Likewise.
5822 * s-exnlli.ads: Likewise.
5823 * s-expint.adb: Likewise.
5824 * s-expint.ads: Likewise.
5825 * s-explli.adb: Likewise.
5826 * s-explli.ads: Likewise.
5827 * s-expllu.adb: Likewise.
5828 * s-expllu.ads: Likewise.
5829 * s-expmod.adb: Likewise.
5830 * s-expmod.ads: Likewise.
5831 * s-expuns.adb: Likewise.
5832 * s-expuns.ads: Likewise.
5833 * s-fatflt.ads: Likewise.
5834 * s-fatgen.adb: Likewise.
5835 * s-fatgen.ads: Likewise.
5836 * s-fatlfl.ads: Likewise.
5837 * s-fatllf.ads: Likewise.
5838 * s-fatsfl.ads: Likewise.
5839 * s-ficobl.ads: Likewise.
5840 * s-fileio.adb: Likewise.
5841 * s-fileio.ads: Likewise.
5842 * s-filofl.ads: Likewise.
5843 * s-finimp.adb: Likewise.
5844 * s-finimp.ads: Likewise.
5845 * s-finroo.adb: Likewise.
5846 * s-finroo.ads: Likewise.
5847 * s-fishfl.ads: Likewise.
5848 * s-fore.adb: Likewise.
5849 * s-fore.ads: Likewise.
5850 * s-fvadfl.ads: Likewise.
5851 * s-fvaffl.ads: Likewise.
5852 * s-fvagfl.ads: Likewise.
5853 * s-gearop.adb: Likewise.
5854 * s-gearop.ads: Likewise.
5855 * s-gecobl.adb: Likewise.
5856 * s-gecobl.ads: Likewise.
5857 * s-gecola.adb: Likewise.
5858 * s-gecola.ads: Likewise.
5859 * s-gerebl.adb: Likewise.
5860 * s-gerebl.ads: Likewise.
5861 * s-gerela.adb: Likewise.
5862 * s-gerela.ads: Likewise.
5863 * s-geveop.adb: Likewise.
5864 * s-geveop.ads: Likewise.
5865 * s-gloloc.adb: Likewise.
5866 * s-gloloc.ads: Likewise.
5867 * s-hibaen.ads: Likewise.
5868 * s-imenne.adb: Likewise.
5869 * s-imenne.ads: Likewise.
5870 * s-imgbiu.adb: Likewise.
5871 * s-imgbiu.ads: Likewise.
5872 * s-imgboo.adb: Likewise.
5873 * s-imgboo.ads: Likewise.
5874 * s-imgcha.adb: Likewise.
5875 * s-imgcha.ads: Likewise.
5876 * s-imgdec.adb: Likewise.
5877 * s-imgdec.ads: Likewise.
5878 * s-imgenu.adb: Likewise.
5879 * s-imgenu.ads: Likewise.
5880 * s-imgint.adb: Likewise.
5881 * s-imgint.ads: Likewise.
5882 * s-imgllb.adb: Likewise.
5883 * s-imgllb.ads: Likewise.
5884 * s-imglld.adb: Likewise.
5885 * s-imglld.ads: Likewise.
5886 * s-imglli.adb: Likewise.
5887 * s-imglli.ads: Likewise.
5888 * s-imgllu.adb: Likewise.
5889 * s-imgllu.ads: Likewise.
5890 * s-imgllw.adb: Likewise.
5891 * s-imgllw.ads: Likewise.
5892 * s-imgrea.adb: Likewise.
5893 * s-imgrea.ads: Likewise.
5894 * s-imguns.adb: Likewise.
5895 * s-imguns.ads: Likewise.
5896 * s-imgwch.adb: Likewise.
5897 * s-imgwch.ads: Likewise.
5898 * s-imgwiu.adb: Likewise.
5899 * s-imgwiu.ads: Likewise.
5900 * s-inmaop-dummy.adb: Likewise.
5901 * s-inmaop-vms.adb: Likewise.
5902 * s-inmaop.ads: Likewise.
5903 * s-interr-hwint.adb: Likewise.
5904 * s-interr-sigaction.adb: Likewise.
5905 * s-interr-vms.adb: Likewise.
5906 * s-interr.adb: Likewise.
5907 * s-interr.ads: Likewise.
5908 * s-intman-dummy.adb: Likewise.
5909 * s-intman-mingw.adb: Likewise.
5910 * s-intman-posix.adb: Likewise.
5911 * s-intman-solaris.adb: Likewise.
5912 * s-intman-vms.adb: Likewise.
5913 * s-intman-vms.ads: Likewise.
5914 * s-intman-vxworks.adb: Likewise.
5915 * s-intman-vxworks.ads: Likewise.
5916 * s-intman.ads: Likewise.
5917 * s-io.adb: Likewise.
5918 * s-io.ads: Likewise.
5919 * s-linux-alpha.ads: Likewise.
5920 * s-linux-hppa.ads: Likewise.
5921 * s-linux.ads: Likewise.
5922 * s-maccod.ads: Likewise.
5923 * s-mantis.adb: Likewise.
5924 * s-mantis.ads: Likewise.
5925 * s-mastop-irix.adb: Likewise.
5926 * s-mastop.adb: Likewise.
5927 * s-mastop.ads: Likewise.
5928 * s-memcop.ads: Likewise.
5929 * s-memory-mingw.adb: Likewise.
5930 * s-memory.adb: Likewise.
5931 * s-memory.ads: Likewise.
5932 * s-os_lib.ads: Likewise.
5933 * s-oscons-tmplt.c: Likewise.
5934 * s-osinte-aix.adb: Likewise.
5935 * s-osinte-darwin.adb: Likewise.
5936 * s-osinte-freebsd.adb: Likewise.
5937 * s-osinte-irix.adb: Likewise.
5938 * s-osinte-lynxos-3.adb: Likewise.
5939 * s-osinte-rtems.ads: Likewise.
5940 * s-osinte-tru64.adb: Likewise.
5941 * s-osinte-vxworks-kernel.adb: Likewise.
5942 * s-osinte-vxworks.adb: Likewise.
5943 * s-osprim-mingw.adb: Likewise.
5944 * s-osprim-posix.adb: Likewise.
5945 * s-osprim-solaris.adb: Likewise.
5946 * s-osprim-unix.adb: Likewise.
5947 * s-osprim-vms.adb: Likewise.
5948 * s-osprim-vms.ads: Likewise.
5949 * s-osprim-vxworks.adb: Likewise.
5950 * s-osprim.ads: Likewise.
5951 * s-pack03.adb: Likewise.
5952 * s-pack03.ads: Likewise.
5953 * s-pack05.adb: Likewise.
5954 * s-pack05.ads: Likewise.
5955 * s-pack06.adb: Likewise.
5956 * s-pack06.ads: Likewise.
5957 * s-pack07.adb: Likewise.
5958 * s-pack07.ads: Likewise.
5959 * s-pack09.adb: Likewise.
5960 * s-pack09.ads: Likewise.
5961 * s-pack10.adb: Likewise.
5962 * s-pack10.ads: Likewise.
5963 * s-pack11.adb: Likewise.
5964 * s-pack11.ads: Likewise.
5965 * s-pack12.adb: Likewise.
5966 * s-pack12.ads: Likewise.
5967 * s-pack13.adb: Likewise.
5968 * s-pack13.ads: Likewise.
5969 * s-pack14.adb: Likewise.
5970 * s-pack14.ads: Likewise.
5971 * s-pack15.adb: Likewise.
5972 * s-pack15.ads: Likewise.
5973 * s-pack17.adb: Likewise.
5974 * s-pack17.ads: Likewise.
5975 * s-pack18.adb: Likewise.
5976 * s-pack18.ads: Likewise.
5977 * s-pack19.adb: Likewise.
5978 * s-pack19.ads: Likewise.
5979 * s-pack20.adb: Likewise.
5980 * s-pack20.ads: Likewise.
5981 * s-pack21.adb: Likewise.
5982 * s-pack21.ads: Likewise.
5983 * s-pack22.adb: Likewise.
5984 * s-pack22.ads: Likewise.
5985 * s-pack23.adb: Likewise.
5986 * s-pack23.ads: Likewise.
5987 * s-pack24.adb: Likewise.
5988 * s-pack24.ads: Likewise.
5989 * s-pack25.adb: Likewise.
5990 * s-pack25.ads: Likewise.
5991 * s-pack26.adb: Likewise.
5992 * s-pack26.ads: Likewise.
5993 * s-pack27.adb: Likewise.
5994 * s-pack27.ads: Likewise.
5995 * s-pack28.adb: Likewise.
5996 * s-pack28.ads: Likewise.
5997 * s-pack29.adb: Likewise.
5998 * s-pack29.ads: Likewise.
5999 * s-pack30.adb: Likewise.
6000 * s-pack30.ads: Likewise.
6001 * s-pack31.adb: Likewise.
6002 * s-pack31.ads: Likewise.
6003 * s-pack33.adb: Likewise.
6004 * s-pack33.ads: Likewise.
6005 * s-pack34.adb: Likewise.
6006 * s-pack34.ads: Likewise.
6007 * s-pack35.adb: Likewise.
6008 * s-pack35.ads: Likewise.
6009 * s-pack36.adb: Likewise.
6010 * s-pack36.ads: Likewise.
6011 * s-pack37.adb: Likewise.
6012 * s-pack37.ads: Likewise.
6013 * s-pack38.adb: Likewise.
6014 * s-pack38.ads: Likewise.
6015 * s-pack39.adb: Likewise.
6016 * s-pack39.ads: Likewise.
6017 * s-pack40.adb: Likewise.
6018 * s-pack40.ads: Likewise.
6019 * s-pack41.adb: Likewise.
6020 * s-pack41.ads: Likewise.
6021 * s-pack42.adb: Likewise.
6022 * s-pack42.ads: Likewise.
6023 * s-pack43.adb: Likewise.
6024 * s-pack43.ads: Likewise.
6025 * s-pack44.adb: Likewise.
6026 * s-pack44.ads: Likewise.
6027 * s-pack45.adb: Likewise.
6028 * s-pack45.ads: Likewise.
6029 * s-pack46.adb: Likewise.
6030 * s-pack46.ads: Likewise.
6031 * s-pack47.adb: Likewise.
6032 * s-pack47.ads: Likewise.
6033 * s-pack48.adb: Likewise.
6034 * s-pack48.ads: Likewise.
6035 * s-pack49.adb: Likewise.
6036 * s-pack49.ads: Likewise.
6037 * s-pack50.adb: Likewise.
6038 * s-pack50.ads: Likewise.
6039 * s-pack51.adb: Likewise.
6040 * s-pack51.ads: Likewise.
6041 * s-pack52.adb: Likewise.
6042 * s-pack52.ads: Likewise.
6043 * s-pack53.adb: Likewise.
6044 * s-pack53.ads: Likewise.
6045 * s-pack54.adb: Likewise.
6046 * s-pack54.ads: Likewise.
6047 * s-pack55.adb: Likewise.
6048 * s-pack55.ads: Likewise.
6049 * s-pack56.adb: Likewise.
6050 * s-pack56.ads: Likewise.
6051 * s-pack57.adb: Likewise.
6052 * s-pack57.ads: Likewise.
6053 * s-pack58.adb: Likewise.
6054 * s-pack58.ads: Likewise.
6055 * s-pack59.adb: Likewise.
6056 * s-pack59.ads: Likewise.
6057 * s-pack60.adb: Likewise.
6058 * s-pack60.ads: Likewise.
6059 * s-pack61.adb: Likewise.
6060 * s-pack61.ads: Likewise.
6061 * s-pack62.adb: Likewise.
6062 * s-pack62.ads: Likewise.
6063 * s-pack63.adb: Likewise.
6064 * s-pack63.ads: Likewise.
6065 * s-parame-ae653.ads: Likewise.
6066 * s-parame-hpux.ads: Likewise.
6067 * s-parame-rtems.adb: Likewise.
6068 * s-parame-vms-alpha.ads: Likewise.
6069 * s-parame-vms-ia64.ads: Likewise.
6070 * s-parame-vms-restrict.ads: Likewise.
6071 * s-parame-vxworks.adb: Likewise.
6072 * s-parame-vxworks.ads: Likewise.
6073 * s-parame.adb: Likewise.
6074 * s-parame.ads: Likewise.
6075 * s-parint.adb: Likewise.
6076 * s-parint.ads: Likewise.
6077 * s-pooglo.adb: Likewise.
6078 * s-pooglo.ads: Likewise.
6079 * s-pooloc.adb: Likewise.
6080 * s-pooloc.ads: Likewise.
6081 * s-poosiz.adb: Likewise.
6082 * s-poosiz.ads: Likewise.
6083 * s-powtab.ads: Likewise.
6084 * s-proinf-irix-athread.adb: Likewise.
6085 * s-proinf-irix-athread.ads: Likewise.
6086 * s-proinf.adb: Likewise.
6087 * s-proinf.ads: Likewise.
6088 * s-purexc.ads: Likewise.
6089 * s-rannum.adb: Likewise.
6090 * s-rannum.ads: Likewise.
6091 * s-restri.adb: Likewise.
6092 * s-restri.ads: Likewise.
6093 * s-rident.ads: Likewise.
6094 * s-rpc.adb: Likewise.
6095 * s-rpc.ads: Likewise.
6096 * s-scaval.adb: Likewise.
6097 * s-scaval.ads: Likewise.
6098 * s-secsta.adb: Likewise.
6099 * s-secsta.ads: Likewise.
6100 * s-sequio.adb: Likewise.
6101 * s-sequio.ads: Likewise.
6102 * s-shasto.adb: Likewise.
6103 * s-shasto.ads: Likewise.
6104 * s-soflin.adb: Likewise.
6105 * s-soflin.ads: Likewise.
6106 * s-solita.adb: Likewise.
6107 * s-solita.ads: Likewise.
6108 * s-sopco3.adb: Likewise.
6109 * s-sopco3.ads: Likewise.
6110 * s-sopco4.adb: Likewise.
6111 * s-sopco4.ads: Likewise.
6112 * s-sopco5.adb: Likewise.
6113 * s-sopco5.ads: Likewise.
6114 * s-stache.adb: Likewise.
6115 * s-stache.ads: Likewise.
6116 * s-stalib.adb: Likewise.
6117 * s-stalib.ads: Likewise.
6118 * s-stausa.adb: Likewise.
6119 * s-stausa.ads: Likewise.
6120 * s-stchop-limit.ads: Likewise.
6121 * s-stchop-rtems.adb: Likewise.
6122 * s-stchop-vxworks.adb: Likewise.
6123 * s-stchop.adb: Likewise.
6124 * s-stchop.ads: Likewise.
6125 * s-stoele.adb: Likewise.
6126 * s-stoele.ads: Likewise.
6127 * s-stopoo.adb: Likewise.
6128 * s-stopoo.ads: Likewise.
6129 * s-stratt.adb: Likewise.
6130 * s-stratt.ads: Likewise.
6131 * s-strcom.adb: Likewise.
6132 * s-strcom.ads: Likewise.
6133 * s-string.adb: Likewise.
6134 * s-string.ads: Likewise.
6135 * s-strops.adb: Likewise.
6136 * s-strops.ads: Likewise.
6137 * s-strxdr.adb: Likewise.
6138 * s-ststop.adb: Likewise.
6139 * s-ststop.ads: Likewise.
6140 * s-taasde.adb: Likewise.
6141 * s-taasde.ads: Likewise.
6142 * s-tadeca.adb: Likewise.
6143 * s-tadeca.ads: Likewise.
6144 * s-tadert.adb: Likewise.
6145 * s-tadert.ads: Likewise.
6146 * s-taenca.adb: Likewise.
6147 * s-taenca.ads: Likewise.
6148 * s-taprob.ads: Likewise.
6149 * s-taprop-dummy.adb: Likewise.
6150 * s-taprop-hpux-dce.adb: Likewise.
6151 * s-taprop-irix.adb: Likewise.
6152 * s-taprop-linux.adb: Likewise.
6153 * s-taprop-lynxos.adb: Likewise.
6154 * s-taprop-mingw.adb: Likewise.
6155 * s-taprop-posix.adb: Likewise.
6156 * s-taprop-solaris.adb: Likewise.
6157 * s-taprop-tru64.adb: Likewise.
6158 * s-taprop-vms.adb: Likewise.
6159 * s-taprop-vxworks.adb: Likewise.
6160 * s-taprop.ads: Likewise.
6161 * s-tarest.adb: Likewise.
6162 * s-tarest.ads: Likewise.
6163 * s-tasdeb.adb: Likewise.
6164 * s-tasdeb.ads: Likewise.
6165 * s-tasinf-irix.ads: Likewise.
6166 * s-tasinf-linux.adb: Likewise.
6167 * s-tasinf-linux.ads: Likewise.
6168 * s-tasinf-mingw.adb: Likewise.
6169 * s-tasinf-mingw.ads: Likewise.
6170 * s-tasinf-solaris.adb: Likewise.
6171 * s-tasinf-solaris.ads: Likewise.
6172 * s-tasinf-tru64.ads: Likewise.
6173 * s-tasinf.adb: Likewise.
6174 * s-tasinf.ads: Likewise.
6175 * s-tasini.adb: Likewise.
6176 * s-tasini.ads: Likewise.
6177 * s-taskin.adb: Likewise.
6178 * s-taskin.ads: Likewise.
6179 * s-taspri-dummy.ads: Likewise.
6180 * s-taspri-hpux-dce.ads: Likewise.
6181 * s-taspri-mingw.ads: Likewise.
6182 * s-taspri-solaris.ads: Likewise.
6183 * s-taspri-tru64.ads: Likewise.
6184 * s-taspri-vms.ads: Likewise.
6185 * s-taspri-vxworks.ads: Likewise.
6186 * s-tasque.adb: Likewise.
6187 * s-tasque.ads: Likewise.
6188 * s-tasren.adb: Likewise.
6189 * s-tasren.ads: Likewise.
6190 * s-tasres.ads: Likewise.
6191 * s-tassta.adb: Likewise.
6192 * s-tassta.ads: Likewise.
6193 * s-tasuti.adb: Likewise.
6194 * s-tasuti.ads: Likewise.
6195 * s-tfsetr-default.adb: Likewise.
6196 * s-tfsetr-vxworks.adb: Likewise.
6197 * s-tpinop.adb: Likewise.
6198 * s-tpinop.ads: Likewise.
6199 * s-tpoben.adb: Likewise.
6200 * s-tpoben.ads: Likewise.
6201 * s-tpobop.adb: Likewise.
6202 * s-tpobop.ads: Likewise.
6203 * s-tpopde-vms.adb: Likewise.
6204 * s-tpopde-vms.ads: Likewise.
6205 * s-tpopsp-lynxos.adb: Likewise.
6206 * s-tpopsp-posix-foreign.adb: Likewise.
6207 * s-tpopsp-posix.adb: Likewise.
6208 * s-tpopsp-solaris.adb: Likewise.
6209 * s-tpopsp-vxworks.adb: Likewise.
6210 * s-tporft.adb: Likewise.
6211 * s-tposen.adb: Likewise.
6212 * s-tposen.ads: Likewise.
6213 * s-traceb.adb: Likewise.
6214 * s-traceb.ads: Likewise.
6215 * s-traces-default.adb: Likewise.
6216 * s-traces.adb: Likewise.
6217 * s-traces.ads: Likewise.
6218 * s-traent-vms.adb: Likewise.
6219 * s-traent-vms.ads: Likewise.
6220 * s-traent.adb: Likewise.
6221 * s-traent.ads: Likewise.
6222 * s-trafor-default.adb: Likewise.
6223 * s-trafor-default.ads: Likewise.
6224 * s-tratas-default.adb: Likewise.
6225 * s-tratas.adb: Likewise.
6226 * s-tratas.ads: Likewise.
6227 * s-unstyp.ads: Likewise.
6228 * s-utf_32.adb: Likewise.
6229 * s-utf_32.ads: Likewise.
6230 * s-vaflop-vms-alpha.adb: Likewise.
6231 * s-vaflop.adb: Likewise.
6232 * s-vaflop.ads: Likewise.
6233 * s-valboo.adb: Likewise.
6234 * s-valboo.ads: Likewise.
6235 * s-valcha.adb: Likewise.
6236 * s-valcha.ads: Likewise.
6237 * s-valdec.adb: Likewise.
6238 * s-valdec.ads: Likewise.
6239 * s-valenu.adb: Likewise.
6240 * s-valenu.ads: Likewise.
6241 * s-valint.adb: Likewise.
6242 * s-valint.ads: Likewise.
6243 * s-vallld.adb: Likewise.
6244 * s-vallld.ads: Likewise.
6245 * s-vallli.adb: Likewise.
6246 * s-vallli.ads: Likewise.
6247 * s-valllu.adb: Likewise.
6248 * s-valllu.ads: Likewise.
6249 * s-valrea.adb: Likewise.
6250 * s-valrea.ads: Likewise.
6251 * s-valuns.adb: Likewise.
6252 * s-valuns.ads: Likewise.
6253 * s-valuti.adb: Likewise.
6254 * s-valuti.ads: Likewise.
6255 * s-valwch.adb: Likewise.
6256 * s-valwch.ads: Likewise.
6257 * s-veboop.adb: Likewise.
6258 * s-veboop.ads: Likewise.
6259 * s-vector.ads: Likewise.
6260 * s-vercon.adb: Likewise.
6261 * s-vercon.ads: Likewise.
6262 * s-vmexta.adb: Likewise.
6263 * s-vmexta.ads: Likewise.
6264 * s-vxwext-kernel.ads: Likewise.
6265 * s-vxwext-rtp.adb: Likewise.
6266 * s-vxwext-rtp.ads: Likewise.
6267 * s-vxwext.ads: Likewise.
6268 * s-vxwork-arm.ads: Likewise.
6269 * s-vxwork-m68k.ads: Likewise.
6270 * s-vxwork-mips.ads: Likewise.
6271 * s-vxwork-ppc.ads: Likewise.
6272 * s-vxwork-sparcv9.ads: Likewise.
6273 * s-vxwork-x86.ads: Likewise.
6274 * s-wchcnv.adb: Likewise.
6275 * s-wchcnv.ads: Likewise.
6276 * s-wchcon.adb: Likewise.
6277 * s-wchcon.ads: Likewise.
6278 * s-wchjis.adb: Likewise.
6279 * s-wchjis.ads: Likewise.
6280 * s-wchstw.adb: Likewise.
6281 * s-wchstw.ads: Likewise.
6282 * s-wchwts.adb: Likewise.
6283 * s-wchwts.ads: Likewise.
6284 * s-widboo.adb: Likewise.
6285 * s-widboo.ads: Likewise.
6286 * s-widcha.adb: Likewise.
6287 * s-widcha.ads: Likewise.
6288 * s-widenu.adb: Likewise.
6289 * s-widenu.ads: Likewise.
6290 * s-widlli.adb: Likewise.
6291 * s-widlli.ads: Likewise.
6292 * s-widllu.adb: Likewise.
6293 * s-widllu.ads: Likewise.
6294 * s-widwch.adb: Likewise.
6295 * s-widwch.ads: Likewise.
6296 * s-win32.ads: Likewise.
6297 * s-winext.ads: Likewise.
6298 * s-wwdcha.adb: Likewise.
6299 * s-wwdcha.ads: Likewise.
6300 * s-wwdenu.adb: Likewise.
6301 * s-wwdenu.ads: Likewise.
6302 * s-wwdwch.adb: Likewise.
6303 * s-wwdwch.ads: Likewise.
6304 * scans.adb: Likewise.
6305 * scans.ads: Likewise.
6306 * seh_init.c: Likewise.
6307 * sfn_scan.adb: Likewise.
6308 * sinfo.adb: Likewise.
6309 * sinfo.ads: Likewise.
6310 * sinput.adb: Likewise.
6311 * sinput.ads: Likewise.
6312 * snames.adb: Likewise.
6313 * snames.ads: Likewise.
6314 * socket.c: Likewise.
6315 * stand.adb: Likewise.
6316 * stand.ads: Likewise.
6317 * stringt.adb: Likewise.
6318 * stringt.ads: Likewise.
6319 * sysdep.c: Likewise.
6320 * system-aix.ads: Likewise.
6321 * system-darwin-ppc.ads: Likewise.
6322 * system-darwin-x86.ads: Likewise.
6323 * system-darwin-x86_64.ads: Likewise.
6324 * system-freebsd-x86.ads: Likewise.
6325 * system-hpux-ia64.ads: Likewise.
6326 * system-hpux.ads: Likewise.
6327 * system-irix-n32.ads: Likewise.
6328 * system-irix-n64.ads: Likewise.
6329 * system-irix-o32.ads: Likewise.
6330 * system-linux-alpha.ads: Likewise.
6331 * system-linux-hppa.ads: Likewise.
6332 * system-linux-ia64.ads: Likewise.
6333 * system-linux-mips.ads: Likewise.
6334 * system-linux-mipsel.ads: Likewise.
6335 * system-linux-ppc.ads: Likewise.
6336 * system-linux-ppc64.ads: Likewise.
6337 * system-linux-s390.ads: Likewise.
6338 * system-linux-s390x.ads: Likewise.
6339 * system-linux-sh4.ads: Likewise.
6340 * system-linux-sparc.ads: Likewise.
6341 * system-linux-sparcv9.ads: Likewise.
6342 * system-linux-x86.ads: Likewise.
6343 * system-linux-x86_64.ads: Likewise.
6344 * system-lynxos-ppc.ads: Likewise.
6345 * system-lynxos-x86.ads: Likewise.
6346 * system-mingw-x86_64.ads: Likewise.
6347 * system-mingw.ads: Likewise.
6348 * system-rtems.ads: Likewise.
6349 * system-solaris-sparc.ads: Likewise.
6350 * system-solaris-sparcv9.ads: Likewise.
6351 * system-solaris-x86.ads: Likewise.
6352 * system-solaris-x86_64.ads: Likewise.
6353 * system-tru64.ads: Likewise.
6354 * system-vms-ia64.ads: Likewise.
6355 * system-vms-zcx.ads: Likewise.
6356 * system-vms.ads: Likewise.
6357 * system-vms_64.ads: Likewise.
6358 * system-vxworks-arm.ads: Likewise.
6359 * system-vxworks-m68k.ads: Likewise.
6360 * system-vxworks-mips.ads: Likewise.
6361 * system-vxworks-ppc.ads: Likewise.
6362 * system-vxworks-sparcv9.ads: Likewise.
6363 * system-vxworks-x86.ads: Likewise.
6364 * system.ads: Likewise.
6365 * table.adb: Likewise.
6366 * table.ads: Likewise.
6367 * targext.c: Likewise.
6368 * targparm.ads: Likewise.
6369 * tree_in.adb: Likewise.
6370 * tree_in.ads: Likewise.
6371 * tree_io.adb: Likewise.
6372 * tree_io.ads: Likewise.
6373 * types.adb: Likewise.
6374 * types.ads: Likewise.
6375 * uintp.adb: Likewise.
6376 * uintp.ads: Likewise.
6377 * uname.adb: Likewise.
6378 * uname.ads: Likewise.
6379 * urealp.adb: Likewise.
6380 * urealp.ads: Likewise.
6381 * vx_stack_info.c: Likewise.
6382 * widechar.adb: Likewise.
6383 * widechar.ads: Likewise.
6384 * exp_attr.adb: Change copyright header to refer to version
6385 3 of the GNU General Public License and to point readers at the
6386 COPYING3 file and the FSF's license web page.
6387 * sem.adb: Likewise.
6388 * sem_attr.ads: Likewise.
6389 * freeze.adb: Likewise.
6390 * freeze.ads: Likewise.
6391 * errout.ads: Likewise.
6392 * erroutc.adb: Likewise.
6393 * exp_ch11.ads: Likewise.
6395 2009-04-09 Jakub Jelinek <jakub@redhat.com>
6397 * config-lang.in: Change copyright header to refer to version
6398 3 of the GNU General Public License and to point readers at the
6399 COPYING3 file and the FSF's license web page.
6400 * gcc-interface/trans.c: Likewise.
6401 * gnathtml.pl: Likewise.
6402 * gcc-interface/ada.h: Likewise. Remove runtime exception.
6403 * gcc-interface/gigi.h: Likewise.
6404 * gcc-interface/misc.c: Likewise.
6405 * gcc-interface/targtyps.c: Likewise.
6407 2009-04-09 Nicolas Setton <setton@adacore.com>
6409 * s-osinte-darwin.ads: Fix wrong binding to struc timeval.
6411 * s-osinte-darwin.adb (To_Timeval): Adapt to fixed implementation of
6414 2009-04-09 Bob Duff <duff@adacore.com>
6416 * exp_ch5.adb, exp_ch9.adb: Correct miscellaneous Slocs in
6417 internally-generated nodes related to select statements to avoid
6418 confusing the debugger.
6420 2009-04-09 Pascal Obry <obry@adacore.com>
6422 * make.adb: Ensure that all linker arguments are duplicated.
6424 2009-04-09 Robert Dewar <dewar@adacore.com>
6426 * sem_ch5.adb: Minor reformatting
6428 2009-04-09 Vincent Celier <celier@adacore.com>
6431 Change GNAT CHECK qualifier /DIAGNOSIS_LIMIT to /DIAGNOSTIC_LIMIT
6432 New qualifier /LEXPAND_SOURCE=nnn for -gnatGnnn
6433 New qualifier /LXDEBUG=nnn for -gnatDnnn
6437 Update documentation for VMS qualifiers equivalent to -gnatGnn and
6440 2009-04-09 Nicolas Setton <setton@adacore.com>
6442 * s-osinte-darwin.ads: (Pad_Type): Make this an array of unsigned_long,
6443 to match layout of siginfo_t in sys/signal.h.
6445 * gcc-interface/Makefile.in: Add section for x86_64 darwin.
6447 2009-04-09 Thomas Quinot <quinot@adacore.com>
6449 * g-socket.ads: (Fd_Set): Use Interfaces.C.long alignment.
6451 2009-04-09 Nicolas Setton <setton@adacore.com>
6453 * s-oscons-tmplt.c: Allow long lines in the generated spec.
6454 Add generation of Darwin-specific constants needed when binding to the
6457 2009-04-09 Robert Dewar <dewar@adacore.com>
6460 (Insert_Valid_Check): Avoid unnecessary generation of junk declaration
6461 when no invalid values exist, Avoid duplicate read of atomic variable.
6463 * cstand.adb (Build_Signed_Integer_Type): Set Is_Known_Valid
6464 (Standard_Unsigned): Set Is_Known_Valid
6466 * sem_ch3.adb (Analyze_Subtype_Declaration): Copy Is_Known_Valid on
6467 subtype declaration if no constraint.
6468 (Set_Modular_Size): Set Is_Known_Valid if appropriate
6469 (Build_Derived_Numeric_Type): Copy Is_Known_Valid if no constraint
6471 2009-04-09 Robert Dewar <dewar@adacore.com>
6473 * switch-c.adb, gnat_ugn.texi, vms_data.ads, switch.adb,
6474 switch.ads: for numeric switches, an optional equal sign is always
6477 2009-04-09 Vincent Celier <celier@adacore.com>
6479 * prj-nmsc.adb (Get_Unit): Do not consider Casing on platform where
6480 the case of file names is not significant.
6482 2009-04-09 Vincent Celier <celier@adacore.com>
6484 * errout.adb: Remove dependency on package Style
6486 * style.ads, styleg.adb, styleg.ads (RM_Column_Check): Remove function,
6489 * stylesw.ads, stylesw.adb (RM_Column_Check): New function, moved from
6492 * errutil.adb, par.adb: Import Stylesw
6494 2009-04-09 Arnaud Charlet <charlet@adacore.com>
6496 * opt.ads: Fix typos.
6498 2009-04-09 Robert Dewar <dewar@adacore.com>
6500 * einfo.adb: Minor reformatting
6502 2009-04-09 Robert Dewar <dewar@adacore.com>
6504 * gcc-interface/Make-lang.in, style.ads, style.adb: Reorganize style
6507 * styleg-c.ads, styleg-c.adb: Removed, no longer used.
6509 2009-04-09 Robert Dewar <dewar@adacore.com>
6511 * g-comver.adb: Minor reformatting.
6513 2009-04-09 Thomas Quinot <quinot@adacore.com>
6515 * lib-load.ads (Load_Unit): Update documentation.
6517 2009-04-09 Ed Schonberg <schonberg@adacore.com>
6519 * lib-load.adb (Load_Unit): When loading the parent of a child unit
6520 named in a with_clause, retain the with_clause to preserve a
6521 limited_with indication.
6523 2009-04-09 Robert Dewar <dewar@adacore.com>
6525 * sem_ch7.adb, sem_ch10.adb, sem_prag.adb, sem_ch12.adb, sem_util.adb,
6526 exp_ch13.adb, sem_ch6.adb, exp_disp.adb, sem_ch8.adb, sem_warn.adb,
6527 sem_cat.adb: Code clean up: use Is_Package_Or_Generic_Package where
6528 possible to replace an OR of two separate tests.
6530 2009-04-09 Robert Dewar <dewar@adacore.com>
6532 * binderr.adb, errout.adb, errutil.adb: New circuitry for handling
6535 * erroutc.adb, erroutc.ads (Warnings_Suppressed): Now tests global
6536 warning status as well.
6538 * opt.ads (Maximum_Messages): New name for Maximum_Errors.
6540 * switch-b.adb, switch-c.adb: Change name Maximum_Errors to
6543 * bindusg.adb, usage.adb: Update line for -gnatm switch
6545 * gnat_ugn.texi: Update documentation for -gnatmnn compiler switch and
6548 2009-04-09 Robert Dewar <dewar@adacore.com>
6550 * sem_ch10.adb: Minor reformatting.
6552 2009-04-09 Bob Duff <duff@adacore.com>
6554 * exp_ch11.adb (Expand_Exception_Handlers, Prepend_Call_To_Handler):
6555 Set Sloc of generated nodes for calls to Undefer_Aborts and
6556 Save_Occurrence to No_Location, so the debugger ignores them and
6557 therefore does not jump back and forth when single stepping.
6559 2009-04-09 Robert Dewar <dewar@adacore.com>
6561 * switch-b.adb: Minor reformatting.
6563 2009-04-09 Robert Dewar <dewar@adacore.com>
6565 * sem_aggr.adb, exp_ch5.adb, sem_ch3.adb, exp_atag.adb, layout.adb,
6566 sem_dist.adb, exp_ch7.adb, sem_ch5.adb, sem_type.adb, exp_imgv.adb,
6567 exp_util.adb, sem_aux.adb, sem_aux.ads, exp_attr.adb, exp_ch9.adb,
6568 sem_ch7.adb, inline.adb, fe.h, sem_ch9.adb, exp_code.adb, einfo.adb,
6569 einfo.ads, exp_pakd.adb, checks.adb, sem_ch12.adb, exp_smem.adb,
6570 tbuild.adb, freeze.adb, sem_util.adb, sem_res.adb, sem_attr.adb,
6571 exp_dbug.adb, sem_case.adb, exp_tss.adb, exp_ch4.adb, exp_ch6.adb,
6572 sem_smem.adb, sem_ch4.adb, sem_mech.adb, sem_ch6.adb, exp_disp.adb,
6573 sem_ch8.adb, exp_aggr.adb, sem_eval.adb, sem_cat.adb, exp_dist.adb,
6574 sem_ch13.adb, exp_strm.adb, lib-xref.adb, sem_disp.adb, exp_ch3.adb:
6575 Reorganize einfo/sem_aux, moving routines from einfo to sem_aux
6577 2009-04-09 Robert Dewar <dewar@adacore.com>
6579 * exp_util.adb (Silly_Boolean_Array_Xor_Test): Simplify existing code.
6581 * atree.h: Add Elist26
6583 * gnat_ugn.texi: Complete documentation deprecating -gnatN for non-gcc
6586 2009-04-09 Javier Miranda <miranda@adacore.com>
6588 * exp_disp.adb (Export_DT): Addition of a new argument (Index); used to
6589 retrieve from the Dispatch_Table_Wrappers list the external name.
6590 Addition of documentation.
6591 (Make_Secondary_DT): Addition of a new argument (Suffix_Index) that is
6592 used to export secondary dispatch tables (in the previous version of
6593 the frontend only primary dispatch tables were exported). Addition of
6595 (Import_DT): New subprogram (internal of Make_Tags). Used to import a
6596 dispatch table of a given tagged type.
6597 (Make_Tags): Modified to import secondary dispatch tables.
6599 * sem_ch3.adb (Analyze_Object_Declaration): Code cleanup.
6600 (Constant_Redeclaration): Code cleanup.
6602 * einfo.ads (Dispatch_Table_Wrapper): Renamed to
6603 Dispatch_Table_Wrappers. Update documentation.
6605 * einfo.adb (Dispatch_Table_Wrapper, Set_Dispatch_Table_Wrapper):
6606 Renamed to Dispatch_Table_Wrappers.
6608 * sem_util.adb (Collect_Interface_Components): Improve handling of
6611 * atree.ads (Elist26, Set_Elist26): New subprograms
6613 * atree.adb (Elist26, Set_Elist26): New subprograms
6615 2009-04-09 Javier Miranda <miranda@adacore.com>
6617 * sem_ch3.adb (Build_Derived_Record_Type): Fix typo.
6618 (Derive_Progenitor_Subprograms): Handle interfaces in subtypes of
6621 2009-04-09 Robert Dewar <dewar@adacore.com>
6623 * s-direio.adb: Minor reformatting
6625 * exp_ch4.adb (Expand_Concatenate): Avoid overflow checks for String
6627 2009-04-09 Robert Dewar <dewar@adacore.com>
6629 * exp_ch4.adb (Expand_Concatenate): Improve handling of overflow cases
6631 2009-04-09 Pascal Obry <obry@adacore.com>
6633 * a-cihama.adb, a-cihama.ads, a-coinve.adb, a-coinve.ads,
6634 s-tpoben.adb, s-tpoben.ads, s-finimp.adb, s-finimp.ads,
6635 a-convec.adb, a-convec.ads, a-finali.adb, a-finali.ads,
6636 a-filico.ads: Add some missing overriding keywords.
6638 2009-04-09 Pascal Obry <obry@adacore.com>
6640 * a-cihama.adb, a-cihama.ads, a-coinve.adb, a-coorma.ads, a-cihase.adb,
6641 a-cihase.ads, a-cohama.adb, a-cohama.ads, a-coorse.adb, a-coorse.ads,
6642 a-coormu.adb, a-coormu.ads, a-cohase.adb, a-cohase.ads: Minor
6645 2009-04-09 Ed Schonberg <schonberg@adacore.com>
6647 * sem_ch6.adb (Check_Overriding_Indicator): Do not generate warning on
6648 missing overriding indicator if the new declaration is not seen as
6651 2009-04-09 Thomas Quinot <quinot@adacore.com>
6653 * exp_ch4.adb (Expand_Concatenate): Add circuitry to properly handle
6654 overflows in computation of bounds.
6656 2009-04-09 Pascal Obry <obry@adacore.com>
6658 * a-cihama.adb, a-cgcaso.adb, a-cihase.adb, a-cohase.adb: Fix some
6661 2009-04-09 Robert Dewar <dewar@adacore.com>
6663 * sem_attr.adb (Check_Stream_Attribute): Check violation of
6664 restriction No_Streams
6666 * gnat_rm.texi: Clarify No_Streams restriction
6668 * g-socket.adb: Minor reformatting.
6670 2009-04-09 Thomas Quinot <quinot@adacore.com>
6672 * g-socket.ads: Mark Initialize and Finalize as obsolesent interfaces.
6674 2009-04-09 Geert Bosch <bosch@adacore.com>
6676 * exp_fixd.adb (Build_Conversion): Accept new optional Trunc argument.
6677 (Set_Result): Likewise.
6678 (Expand_Convert_Float_To_Fixed): Have Set_Result truncate the
6679 conversion, as required by RM 4.6(31).
6681 2009-04-08 Robert Dewar <dewar@adacore.com>
6683 * checks.adb (Enable_Overflow_Check): Do not enable if overflow checks
6686 * exp_ch4.adb (Expand_Concatenate): Make sure checks are off for all
6689 2009-04-08 Robert Dewar <dewar@adacore.com>
6691 * sem_ch12.adb (Analyze_Package_Instantiation): Remove test for
6692 No_Local_Allocators restriction preventing local instantiation.
6694 2009-04-08 Thomas Quinot <quinot@adacore.com>
6696 * sem_eval.adb: Minor comment fix
6698 2009-04-08 Thomas Quinot <quinot@adacore.com>
6700 * g-socket.adb, g-socket.ads (GNAT.Sockets.Sockets_Library_Controller):
6701 New limited controlled type used to automate the initialization and
6702 finalization of the sockets implementation.
6703 (GNAT.Sockets.Initialize, Finalize): Make these no-ops
6705 2009-04-08 Vincent Celier <celier@adacore.com>
6707 * prj-attr.adb: New read-only project-level attribute Project_Dir
6709 * prj-proc.adb (Add_Attributes): New parameter Project_Dir, value of
6710 read-only attribute of the same name.
6711 (Process_Declarative_Items): Call Add_Attributes with Project_Dir
6712 (Recursive_Process): Ditto
6714 * snames.adb: Add new standard name Project_Dir
6716 * snames.ads: Add new standard name Project_Dir
6718 2009-04-08 Thomas Quinot <quinot@adacore.com>
6720 * checks.adb: Minor reformatting
6722 2009-04-08 Vincent Celier <celier@adacore.com>
6724 * vms_data.ads: Add documentation for new style keyword
6725 OVERRIDING_INDICATORS
6727 2009-04-08 Robert Dewar <dewar@adacore.com>
6729 * sem_ch3.adb (Check_Completion.Post_Error): Post error on spec if the
6730 spec is in the current unit.
6732 2009-04-08 Ed Schonberg <schonberg@adacore.com>
6734 * sem_util.adb (Is_Protected_Self_Reference): Add guard to check for
6737 * usage.adb, gnat_ugn.texi: add info on -gnatyO: overriding indicators
6739 2009-04-08 Vincent Celier <celier@adacore.com>
6741 * vms_data.ads: Add VMS equivalent for -gnatyO (OVERRIDING_INDICATORS)
6743 2009-04-08 Thomas Quinot <quinot@adacore.com>
6745 * checks.ads: Minor reformatting
6747 2009-04-08 Robert Dewar <dewar@adacore.com>
6749 * gnat_rm.texi: Update documentation of pragma Obsolescent
6751 * sem_prag.adb (Analyze_Pragma, case Obsolescent): Allow identifiers to
6752 be omitted, and allow Entity parameter to be omitted.
6754 2009-04-08 Thomas Quinot <quinot@adacore.com>
6756 * exp_util.adb: Minor comment fix
6758 2009-04-08 Robert Dewar <dewar@adacore.com>
6760 * g-socket.ads: Fix bad syntax in pragma Obsolescent
6762 * par-ch2.adb (Scan_Pragma_Argument_Association): Check for error of
6763 argument with no identifier following one that has an identifier. Was
6764 missed in some cases.
6766 * sem_prag.adb (Analyze_Pragma, case Check_Policy): Allow Policy
6768 (Analyze_Pragma, case Obsolescent): Allow Message, Version identifiers
6770 * snames.adb: Add Name_Policy
6772 * snames.ads: Add Name_Policy
6774 2009-04-08 Robert Dewar <dewar@adacore.com>
6776 * gnat_rm.texi: Minor reformatting
6778 * par-ch2.adb: Minor reformatting
6780 2009-04-08 Robert Dewar <dewar@adacore.com>
6782 * exp_attr.adb, sem_attr.adb, sem_util.adb: Code clean up.
6784 2009-04-08 Robert Dewar <dewar@adacore.com>
6786 * sem_cat.adb (Check_Categorization_Dependencies): Handle Preelaborate
6787 properly in the presence of Remote_Types or Remote_Call_Interface.
6789 * sem_util.adb: Add comment.
6791 2009-04-08 Robert Dewar <dewar@adacore.com>
6793 * ug_words: Add /ASSUME_VALID for -gnatB
6795 * vms_data.ads: Add /ASSUME_VALID for -gnatB
6797 * sem_cat.adb: Add clarifying commment
6799 * a-direio.ads (Bytes): Make sure value is non-zero
6801 2009-04-08 Ed Schonberg <schonberg@adacore.com>
6803 * sem_util.adb (Is_Variable): If the prefix is an explicit dereference
6804 that does not come from source, check for a rewritten function call in
6805 prefixed notation before other forms of rewriting.
6807 2009-04-08 Robert Dewar <dewar@adacore.com>
6809 * Makefile.rtl: Remove s-strops and s-sopco? from the run time, since
6810 these are now obsolescent units used only for bootrapping with an
6813 2009-04-08 Robert Dewar <dewar@adacore.com>
6815 * gnat_rm.texi: Add documentation for pragma Thread_Local_Storage
6817 * sem_ch3.adb: Minor comment updates
6819 2009-04-08 Ed Schonberg <schonberg@adacore.com>
6821 * inline.adb (Back_End_Cannot_Inline): restrict warning to subprograms
6822 that come from source.
6824 2009-04-08 Tristan Gingold <gingold@adacore.com>
6826 * gcc-interface/gigi.h (enum attr_type): Add ATTR_THREAD_LOCAL_STORAGE.
6827 * gcc-interface/decl.c (prepend_attributes): New case
6828 Pragma_Thread_Local_Storage.
6829 * gcc-interface/utils.c (process_attributes): New case
6830 ATTR_THREAD_LOCAL_STORAGE.
6832 2009-04-08 Ed Schonberg <schonberg@adacore.com>
6834 * inline.adb (Back_End_Cannot_Inline): Do not mark a body as inlineable
6835 by the back-end if it contains a call to a subprogram without a
6836 previous spec that is declared in the same unit.
6838 * errout.ads: Update comments on uses of dirs
6840 2009-04-08 Robert Dewar <dewar@adacore.com>
6842 * exp_ch4.adb (Expand_Concatenate): Make sure nodes are properly typed
6844 2009-04-08 Tristan Gingold <gingold@adacore.com>
6846 * sem_prag.adb: Restrict pragma Thread_Local_Storage to library level
6848 Set Has_Gigi_Rep_Item flag to TLS variables (to ease gigi work).
6850 2009-04-08 Vincent Celier <celier@adacore.com>
6853 (Add_Source): Add the mapping of the unit name to source file name in
6854 the Unit_Sources_HT hash table, if the unit name is not null.
6856 * prj.adb (Reset): Reset hash table Tree.Unit_Sources_HT
6858 * prj.ads (Unit_Sources_Htable): New hash table instantiation
6859 (Project_Tree_Data): New component Unit_Sources_HT
6861 2009-04-08 Thomas Quinot <quinot@adacore.com>
6863 * sem_ch8.adb: Minor reformatting.
6864 Minor code reorganization.
6866 2009-04-08 Robert Dewar <dewar@adacore.com>
6868 * snames.h, einfo.adb, einfo.ads, sem_prag.adb, snames.adb,
6869 snames.ads, freeze.adb, par-prag.adb: Add implementation of
6870 pragma Thread_Local_Storage, setting new flag
6871 Has_Pragma_Thread_Local_Storage in corresponding entities.
6873 2009-04-08 Emmanuel Briot <briot@adacore.com>
6875 * prj.ads: Update comment on switches file
6877 * prj-nmsc.adb: Code clean up. Use renaming clauses.
6879 2009-04-08 Robert Dewar <dewar@adacore.com>
6881 * exp_ch4.adb (Expand_Concatenate): Further fixes to bounds handling
6883 2009-04-08 Thomas Quinot <quinot@adacore.com>
6885 * ali-util.adb: Minor comment fix
6887 2009-04-08 Ed Schonberg <schonberg@adacore.com>
6889 * sem_ch8.adb (Analyze_Use_Type): Improve error message when clause
6890 appears in a context clause, and the enclosing package is mentioned in
6891 a limited_with_clause.
6892 (Use_One_Type): Reject clause if type is still incomplete.
6894 2009-04-08 Emmanuel Briot <briot@adacore.com>
6896 * prj-nmsc.adb (Check_File, Process_Sources_In_Multi_Language_Mode):
6897 avoid copies of Source_Data variables when possible, since these
6898 involve calls to memcpy() which are done too many times.
6900 2009-04-08 Robert Dewar <dewar@adacore.com>
6902 * exp_ch4.adb (Expand_Concatenate): Clean up code
6904 2009-04-07 Thomas Quinot <quinot@adacore.com>
6906 * exp_ch4.adb (Expand_Concatenate): Add missing conversion to index
6907 type for the case of concatenating a constrained array indexed by an
6910 2009-04-07 Ed Schonberg <schonberg@adacore.com>
6912 * sem_ch6.adb (Check_Conformance): when checking conformance of an
6913 operation that overrides an abstract operation inherited from an
6914 interface, return False if only one of the controlling formals is an
6917 2009-04-07 Ed Schonberg <schonberg@adacore.com>
6919 * sem_ch8.adb (Analyze_Object_Renaming): additional error messages
6920 mandated by AI05-105.
6922 2009-04-07 Vincent Celier <celier@adacore.com>
6924 * prj-nmsc.adb (Get_Mains): Warn if a main is an empty string
6926 2009-04-07 Thomas Quinot <quinot@adacore.com>
6928 * usage.adb: Minor fix in usage message.
6930 * sem_ch10.adb (Remove_Homonyms): Fix subtype of formal in body to
6931 match declaration; the correct subtype is Node_Id, not Entity_Id,
6932 because the expected node kind is an identifier, not a defining
6935 * switch-c.adb: Minor reformatting.
6937 * uintp.adb: Minor reformatting.
6939 2009-04-07 Robert Dewar <dewar@adacore.com>
6941 * exp_ch13.adb: Minor reformatting
6943 2009-04-07 Robert Dewar <dewar@adacore.com>
6945 * sem_warn.adb (Check_Infinite_Loop_Warning.Test_Ref): Add defence
6946 against missing parent.
6948 2009-04-07 Thomas Quinot <quinot@adacore.com>
6950 * xoscons.adb: Minor reformatting
6952 2009-04-07 Robert Dewar <dewar@adacore.com>
6954 * rtsfind.ads: Remove obsolete string concatenation entries
6956 2009-04-07 Robert Dewar <dewar@adacore.com>
6958 * exp_ch4.adb (Expand_Concatenate): Redo handling of bounds
6960 2009-04-07 Ed Schonberg <schonberg@adacore.com>
6962 * sem_ch10.adb (Check_Body_Required): Handle properly imported
6965 2009-04-07 Gary Dismukes <dismukes@adacore.com>
6967 * exp_ch13.adb (Expand_N_Attribute_Definition_Clause, case
6968 Attribute_Address): When Init_Or_Norm_Scalars is True and the object
6969 is of a scalar or string type then suppress the setting of the
6970 expression to Empty.
6972 * freeze.adb (Warn_Overlay): Also emit the warnings about default
6973 initialization for the cases of scalar and string objects when
6974 Init_Or_Norm_Scalars is True.
6976 2009-04-07 Bob Duff <duff@adacore.com>
6978 * s-secsta.ads, g-pehage.ads, s-fileio.ads: Minor comment fixes
6980 2009-04-07 Bob Duff <duff@adacore.com>
6982 * gnat_rm.texi, s-fileio.adb (System.File_IO.Open): New feature: A
6983 Form parameter of Text_Translation=No allows binary mode for Text_IO
6986 * gnat_rm.texi: Document Form parameter Text_Translation=xxx.
6988 2009-04-07 Javier Miranda <miranda@adacore.com>
6990 * exp_ch5.adb (Expand_Assign_Array): Add implicit conversion when
6991 processing the bounds for bit packed arrays or VM target machines.
6993 2009-04-07 Thomas Quinot <quinot@adacore.com>
6995 * g-sothco.ads (Int_Access): Remove extraneous access type (use
6996 anonymous access instead).
6997 (Get_Socket_From_Set): Fix incorrectly reverted formals
6998 Last and Socket to match the underlying C routine.
7000 * g-socket.adb, g-socket.ads
7001 (Get): Use named parameter associations instead of positional ones in
7002 call go Get_Socket_From_Set, since this routine has two formals of the
7004 (Image): New procedure.
7006 * g-socthi-vms.adb, g-socthi-vms.ads, g-socthi-vxworks.adb,
7007 g-socthi-vxworks.ads, g-socthi-mingw.ads, g-socthi.adb, g-socthi.ads:
7008 (C_Ioctl, Syscall_Ioctl): use "access C.int" instead of "Int_Access"
7009 for type of Arg formal.
7011 * sem_warn.adb: Minor reformatting
7013 2009-04-07 Ed Schonberg <schonberg@adacore.com>
7015 * sem_util.adb (Has_Tagged_Component): Fix typo in loop that iterates
7016 over record components.
7018 2009-04-07 Nicolas Roche <roche@adacore.com>
7021 Don't include resolvLib.h on VxWorks 6 (kernel and rtp). This library
7022 has disappeared between VxWorks 6.4 and VxWorks 6.5
7023 In RTP mode use time.h instead of times.h
7025 2009-04-07 Robert Dewar <dewar@adacore.com>
7027 * exp_ch4.adb (Expand_N_Op_Concat): Improve lower bound handling
7029 2009-04-07 Kevin Pouget <pouget@adacore.com>
7031 * exp_dist.adb: Modify Build_From_Any_Fonction procedure to correct
7032 expanded code for constrained types.
7034 2009-04-07 Ed Schonberg <schonberg@adacore.com>
7036 * sem_ch4.adb (Analyze_Overloaded_Selected_Component): implement
7037 AI05-105: in an object renaming declaration, anonymousness is a name
7040 * sem_ch8.adb (Analyze_Object_Renaming): Ditto.
7042 2009-04-07 Arnaud Charlet <charlet@adacore.com>
7044 * g-comlin.adb (Expansion): Fix old regression: also return directory
7045 names when matching.
7047 2009-04-07 Robert Dewar <dewar@adacore.com>
7050 (Expand_N_Op_Concat): Call Expand_Concatenate for all cases
7051 (Expand_Concatenate): New name for Expand_Concatenate_String which has
7052 been rewritten to handle all types.
7053 (Expand_Concatenate_Other): Remove
7055 2009-04-07 Ed Schonberg <schonberg@adacore.com>
7057 * lib-xref.adb (Generate_Reference): A default subprogram in an
7058 instance appears within the tree for the instance, but generates an
7059 implicit reference in the ALI.
7061 2009-04-07 Javier Miranda <miranda@adacore.com>
7063 * sem_ch3.adb (Build_Derived_Record_Type): When processing a tagged
7064 derived type that has discriminants, propagate the list of interfaces
7065 to the corresponding new base type. In addition, propagate also
7066 attribute Limited_Present (found working in this patch).
7068 2009-04-07 Robert Dewar <dewar@adacore.com>
7070 * exp_ch4.adb: Rewrite concatenation expansion.
7072 2009-04-07 Ed Schonberg <schonberg@adacore.com>
7074 * sem_ch8.adb (Restore_Scope_Stack): First_Private_Entity is only
7075 relevant to packages.
7077 2009-04-07 Robert Dewar <dewar@adacore.com>
7079 * sem_attr.adb: Minor reformatting
7081 * sem_ch6.adb: Minor reformatting
7083 2009-04-07 Tristan Gingold <gingold@adacore.com>
7085 * socket.c: Add more protections against S_resolvLib_ macros.
7087 2009-04-07 Thomas Quinot <quinot@adacore.com>
7089 * sem_attr.adb: Minor reformatting
7091 2009-04-07 Ed Schonberg <schonberg@adacore.com>
7093 * sem_ch6.adb (New_Overloaded_Entity): New predicate
7094 Is_Overriding_Alias to handle properly types that inherit two homonym
7095 operations that have distinct dispatch table entries.
7097 2009-04-07 Emmanuel Briot <briot@adacore.com>
7099 * s-regexp.adb (Create_Mapping): Ignore excaped open parenthesis when
7100 looking for the end of a parenthesis group
7102 2009-04-07 Tristan Gingold <gingold@adacore.com>
7104 * gsocket.h Don't #include resolvLib.h if __RTP__ is defined.
7106 * socket.c Don't use resolvLib_ macros if not defined.
7108 2009-04-07 Robert Dewar <dewar@adacore.com>
7110 * g-socket.adb: Minor reformatting.
7112 * g-socthi-mingw.adb: Minor reformatting
7114 * g-sothco.ads: Minor reformatting
7117 (Expand_Concatenate_String): Complete rewrite to generate efficient code
7118 inline instead of relying on external library routines.
7120 * s-strops.ads, s-sopco5.ads, s-sopco5.adb, s-sopco4.ads, s-sopco4.adb,
7121 s-sopco3.ads, s-sopco3.adb, s-strops.adb: Note that this unit is now
7124 2009-04-07 Ed Schonberg <schonberg@adacore.com>
7127 (Eval_Attribute): for attributes of array objects that are not strings,
7128 attributes are not static if nominal subtype of object is unconstrained.
7130 2009-04-07 Ed Schonberg <schonberg@adacore.com>
7132 * sem_ch6.adb (New_Overloaded_Entity): If two implicit homonym
7133 operations for a type T in an instance do not override each other,
7134 when T is derived from a formal private type, the corresponding
7135 operations inherited by a type derived from T outside
7136 of the instance do not override each other either.
7138 2009-04-07 Robert Dewar <dewar@adacore.com>
7140 (Osint.Fail): Change calling sequence to have one string arg
7141 (Make.Make_Failed): Same change
7142 All callers are adjusted to use concatenation
7144 2009-04-07 Robert Dewar <dewar@adacore.com>
7146 * exp_ch4.adb: Fix documentation typo
7148 2009-04-07 Robert Dewar <dewar@adacore.com>
7150 * tbuild.ads: Minor reformatting
7152 2009-04-07 Javier Miranda <miranda@adacore.com>
7154 * exp_disp.adb (Make_DT): Avoid the generation of the OSD_Table
7155 when compiling under ZFP runtime.
7157 2009-04-07 Robert Dewar <dewar@adacore.com>
7159 * g-comlin.adb: Minor reformatting
7161 2009-04-07 Thomas Quinot <quinot@adacore.com>
7163 * socket.c, g-socthi-vms.adb, g-socthi-vms.ads, g-socthi-vxworks.adb,
7164 g-socthi-vxworks.ads, g-socthi-mingw.adb, g-socthi-mingw.ads,
7165 g-socthi.adb, g-socthi.ads, g-socket.adb, g-socket.ads, g-sothco.ads:
7166 Remove dynamic allocation of Fd_Set in Socket_Set_Type objects.
7168 2009-04-07 Robert Dewar <dewar@adacore.com>
7170 * gnat_ugn.texi: Document -gnatDnn/-gnatGnn
7172 * opt.ads (Sprint_Line_Limit): New parameter
7174 * sprint.adb: Usa Sprint_Line_Limit instead of Line_Limit throughout
7176 * switch-c.adb: Recognize -gnatDnnn and -gnatGnnn switches
7178 * usage.adb: Output information for -gnatGnn -gnatDnn
7180 2009-04-07 Robert Dewar <dewar@adacore.com>
7182 * make.adb: Minor reformatting
7184 2009-04-07 Robert Dewar <dewar@adacore.com>
7186 * mlib-tgt-specific-vms-alpha.adb: Minor reformatting
7188 2009-04-07 Robert Dewar <dewar@adacore.com>
7190 * mlib-tgt-specific-vms-ia64.adb: Minor reformatting
7192 2009-04-07 Robert Dewar <dewar@adacore.com>
7195 Remove Assume_Valid parameter from In_Subrange_Of calls
7198 (Is_Subrange_Of): Remove Assume_Valid parameter, not needed
7199 (Is_In_Range): Remove incorrect use of Assume_Valid
7200 (Is_Out_Of_Range): Remove incorrect use of Assume_Valid
7203 (Is_Subrange_Of): Remove Assume_Valid parameter, not needed
7204 (Is_In_Range): Documentation cleanup
7205 (Is_Out_Of_Range): Documentation cleanup
7208 Add documentation for Assume_No_Invalid_Values pragma
7210 * sem_ch12.adb: Minor reformatting
7212 * sem_ch6.adb: (Check_Conformance): Avoid cascaded errors
7214 * sem_prag.adb: Improve error message.
7216 * gnatchop.adb, osint.ads, sinput.adb, sinput.ads, styleg.adb:
7217 LF/CR no longer recognized as line terminator
7219 * switch.ads: Minor documentation improvement
7221 * vms_data.ads: Minor reformatting
7223 2009-04-07 Robert Dewar <dewar@adacore.com>
7225 * checks.adb (Determine_Range): Add Assume_Valid parameter
7227 * checks.ads (Determine_Range): Add Assume_Valid parameter
7229 * errout.adb (Error_Msg_NEL): Use Suppress_Loop_Warnings rather than
7230 Is_Null_Loop to suppress warnings in a loop body.
7233 (Rewrite_Comparison): Major rewrite to accomodate invalid values
7236 (Expand_N_Loop_Statement): Delete loop known not to execute
7239 (Assume_No_Invalid_Values): Now set to False, and as documented, this
7240 fully enables the proper handling of invalid values.
7243 New calling sequence for Is_In_Range
7246 (Analyze_Iteration_Scheme): Accomodate possible invalid values
7247 in determining if a loop range is null.
7250 (Is_In_Range): Add Assume_Valid parameter
7251 (Is_Out_Of_Range): Add Assume_Valid_Parameter
7252 (Compile_Time_Compare): Major rewrite to accomodate invalid values and
7253 also to do more accurate and complete range analysis, catching more
7257 (Is_In_Range): Add Assume_Valid parameter
7258 (Is_Out_Of_Range): Add Assume_Valid_Parameter
7261 New calling sequence for Is_In_Range
7264 (Suppress_Loop_Warnings): New flag
7267 (Is_Null_Loop): Update documentation
7268 (Suppress_Loop_Warnings): New flag
7270 * gnat_ugn.texi: Document -gnatB switch
7272 2009-04-07 Arnaud Charlet <charlet@adacore.com>
7274 * gnatvsn.ads: Bump version number.
7276 2009-04-07 Thomas Quinot <quinot@adacore.com>
7278 * exp_ch3.adb: Minor rewording (comments)
7280 2009-04-07 Robert Dewar <dewar@adacore.com>
7282 * exp_disp.adb: Minor reformatting
7284 2009-04-07 Eric Botcazou <ebotcazou@adacore.com>
7286 * gcc-interface/decl.c (gnat_to_gnu_entity) <object>: Test the
7288 * gcc-interface/trans.c (lvalue_required_p): Likewise.
7290 2009-04-07 Eric Botcazou <ebotcazou@adacore.com>
7292 * gcc-interface/trans.c (Attribute_to_gnu) <Max_Size_In_Storage_Elmts>:
7293 Do not convert the result. Remove obsolete comment.
7295 2009-04-07 Eric Botcazou <ebotcazou@adacore.com>
7297 * gcc-interface/trans.c (establish_gnat_vms_condition_handler): Clear
7299 (Subprogram_Body_to_gnu): Fix pasto.
7301 2009-04-07 Eric Botcazou <ebotcazou@adacore.com>
7303 * gcc-interface/gigi.h (standard_datatypes): Remove ADT_void_type_decl.
7304 (void_type_decl_node): Remove.
7305 (init_gigi_decls): Likewise.
7306 (gnat_install_builtins): Declare.
7307 (record_builtin_type): Likewise.
7308 (create_type_stub_decl): Likewise.
7309 * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Void>: Use void_type.
7310 (gnat_to_gnu_entity) <E_Array_Type>: Make fat and thin pointer types
7312 <E_Array_Subtype>: Use the index types, not only their name, in the
7313 record giving the names of the bounds, if any.
7314 For a packed array type, make it artificial only if the base type
7315 was artificial as well. Remove redundant statement.
7316 (gnat_to_gnu_entity) <E_Incomplete_Type>: Do not create TYPE_DECL for
7318 Use create_type_stub_decl to build the TYPE_STUB_DECL of types.
7319 (rest_of_type_decl_compilation_no_defer): Likewise.
7320 * gcc-interface/misc.c (gnat_printable_name): Add missing guard.
7321 * gcc-interface/utils.c (make_dummy_type): Always create TYPE_STUB_DECL
7322 and use create_type_stub_decl to build it.
7323 (gnat_pushdecl): Rewrite condition.
7324 (gnat_install_builtins): Remove bogus declaration.
7325 (record_builtin_type): New function.
7326 (finish_record_type): Use create_type_stub_decl to build TYPE_STUB_DECL
7328 (create_type_stub_decl): New function.
7329 (create_type_decl): Assert that the type is not dummy. If the type
7330 hasn't been named yet, equate the TYPE_STUB_DECL to the created node.
7331 (build_vms_descriptor32): Do not create TYPE_DECL for the descriptor.
7332 (build_vms_descriptor): Likewise.
7333 (init_gigi_decls): Delete and move bulk of code to...
7334 * gcc-interface/trans.c (gigi): ...here. Use record_builtin_type.
7335 (emit_range_check): Add gnat_node parameter.
7336 (emit_index_check): Likewise.
7337 (emit_check): Likewise.
7338 (build_unary_op_trapv): Likewise.
7339 (build_binary_op_trapv): Likewise.
7340 (convert_with_check): Likewise.
7341 (Attribute_to_gnu): Adjust calls for above changes.
7342 (call_to_gnu): Likewise.
7343 (gnat_to_gnu): Likewise.
7344 (assoc_to_constructor): Likewise.
7345 (pos_to_constructor): Likewise.
7346 (Sloc_to_locus): Set BUILTINS_LOCATION for Standard_Location nodes.
7347 (process_type): Do not create TYPE_DECL for dummy types.
7349 2009-04-07 Eric Botcazou <ebotcazou@adacore.com>
7351 * gcc-interface/decl.c (gnat_to_gnu_entity): Reorder local variables.
7352 * gcc-interface/trans.c: Fix formatting throughout. Fix comments.
7353 * gcc-interface/utils.c: Fix comments.
7355 2009-04-07 Eric Botcazou <ebotcazou@adacore.com>
7357 * gcc-interface/decl.c (compile_time_known_address_p): Rewrite and
7359 (gnat_to_gnu_type): Move around.
7360 (get_unpadded_type): Likewise.
7361 * gcc-interface/utils.c (update_pointer_to): Use synthetic macro.
7364 2009-04-07 Eric Botcazou <ebotcazou@adacore.com>
7366 * gcc-interface/trans.c (check_for_eliminated_entity): New function.
7367 (Attribute_to_gnu): Invoke it for Access- and Address-like attributes.
7368 (call_to_gnu): Invoke it instead of manually checking.
7370 2009-04-04 Eric Botcazou <ebotcazou@adacore.com>
7372 * gcc-interface/utils.c (finish_record_type): Force structural equality
7373 checks if the record type is discriminated.
7375 2009-03-31 Eric Botcazou <ebotcazou@adacore.com>
7377 * system-linux-alpha.ads (Functions_Return_By_DSP): Remove.
7378 * system-linux-mips.ads (Functions_Return_By_DSP): Likewise.
7379 * system-linux-mipsel.ads (Functions_Return_By_DSP): Likewise.
7380 * system-linux-s390.ads (Functions_Return_By_DSP): Likewise.
7381 * system-linux-s390x.ads (Functions_Return_By_DSP): Likewise.
7382 * system-linux-sparc.ads (Functions_Return_By_DSP): Likewise.
7383 * system-linux-sparcv9.ads (Functions_Return_By_DSP): Likewise.
7385 2009-03-30 Paolo Bonzini <bonzini@gnu.org>
7387 * gcc-interface/decl.c (maybe_pad_type): Use TREE_OVERFLOW instead
7388 of TREE_CONSTANT_OVERFLOW.
7390 2009-03-30 Joseph Myers <joseph@codesourcery.com>
7392 PR rtl-optimization/323
7393 * gcc-interface/misc.c (gnat_post_options): Set
7394 flag_excess_precision_cmdline. Give an error for
7395 -fexcess-precision=standard for processors where the option is
7398 2009-03-27 H.J. Lu <hongjiu.lu@intel.com>
7401 * gcc-interface/utils.c (create_field_decl): Use "unsigned int"
7404 2009-03-11 Olivier Hainque <hainque@adacore.com>
7406 * gcc-interface/trans.c (gnat_to_gnu) <case N_Slice>: In range
7407 checks processing, remove unintended TREE_TYPE walk on index type.
7409 2009-03-01 Eric Botcazou <ebotcazou@adacore.com>
7412 * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Array_Type>: Do no
7413 call make_packable_type on fat pointer types.
7414 <E_Array_Subtype>: Likewise.
7415 <E_Record_Subtype>: Call make_packable_type on all record types
7416 except for fat pointer types.
7417 (make_packable_type): Likewise.
7418 (gnat_to_gnu_field): Likewise.
7420 2009-02-28 Eric Botcazou <ebotcazou@adacore.com>
7422 * gcc-interface/Makefile.in (cygwin/mingw): Revert accidental
7423 EH_MECHANISM change made on 2007-12-06.
7425 2009-02-26 Andreas Schwab <schwab@suse.de>
7428 * Makefile.in (srcdir): Set to @top_srcdir@ instead of @srcdir@.
7429 * gcc-interface/Makefile.in: Change all uses of $(srcdir),
7430 $(fsrcdir) and $(fsrcpfx) to add ada subdir.
7432 (target_cpu_default): Substitute.
7434 2009-02-25 Laurent GUERBY <laurent@guerby.net>
7437 * a-teioed.adb (Expand): Fix Result overflow.
7439 2009-02-25 Laurent GUERBY <laurent@guerby.net>
7441 * gcc-interface/Makefile.in: Fix multilib handling for
7444 2009-02-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
7446 * s-oscons-tmplt.c [__osf__ && !_SS_MAXSIZE]: Undef AF_UNIX6.
7448 2009-02-18 H.J. Lu <hongjiu.lu@intel.com>
7450 * gcc-interface/misc.c (gnat_post_options): Turn off warn_psabi.
7452 2009-02-16 Eric Botcazou <ebotcazou@adacore.com>
7454 * gcc-interface/deftarg.c: Remove.
7456 2009-02-10 Olivier Hainque <hainque@adacore.com>
7457 Eric Botcazou <ebotcazou@adacore.com>
7459 * gcc-interface/decl.c (enum alias_set_op): New enumeration.
7460 (copy_alias_set): Rename into...
7461 (relate_alias_sets): ...this. Add third parameter OP. Retrieve the
7462 underlying array of unconstrained arrays for the new type as well.
7463 If the old and new alias sets don't conflict, make one a subset of
7464 the other as per the OP parameter.
7465 (gnat_to_gnu_entity): Adjust calls to copy_alias_set.
7466 <E_Record_Type>: Do not copy the alias set for derived types.
7467 For all types, make the alias set of derived types a superset of
7468 that of their parent type.
7469 (make_aligning_type): Adjust calls to copy_alias_set.
7470 (make_packable_type): Likewise.
7471 * gcc-interface/trans.c (gnat_to_gnu)<N_Validate_Unchecked_Conversion>:
7472 Check for alias set conflict instead of strict equality to issue the
7475 2009-02-09 Eric Botcazou <ebotcazou@adacore.com>
7477 * gcc-interface/decl.c (gnat_to_gnu_entity) <E_String_Literal_Subtype>:
7478 Set TYPE_NONALIASED_COMPONENT on the array type only if appropriate.
7479 (copy_alias_set): Assert that arrays have the same aliasing settings.
7480 (substitute_in_type) <ARRAY_TYPE>: Copy TYPE_NONALIASED_COMPONENT.
7482 2009-02-08 Eric Botcazou <ebotcazou@adacore.com>
7484 * gcc-interface/decl.c (gnat_to_gnu_entity) <E_String_Literal_Subtype>:
7485 Set TYPE_NONALIASED_COMPONENT on the array type.
7487 2009-01-31 Laurent GUERBY <laurent@guerby.net>
7489 * gcc-interface/Makefile.in: Fix mipsel linux handling.
7491 2009-01-16 Jakub Jelinek <jakub@redhat.com>
7493 * gcc-interface/Makefile.in: Fix multilib handling for
7496 2009-01-12 Eric Botcazou <ebotcazou@adacore.com>
7498 * gcc-interface/decl.c (gnat_to_gnu_entity) <object>: Really strip
7499 only useless conversions around renamed objects.
7501 2009-01-11 Eric Botcazou <ebotcazou@adacore.com>
7503 * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Record_Subtype>: Put
7504 the _Tag field before any discriminants in the field list.
7505 (components_to_record): Remove obsolete comment.
7509 Copyright (C) 2009 Free Software Foundation, Inc.
7511 Copying and distribution of this file, with or without modification,
7512 are permitted in any medium without royalty provided the copyright
7513 notice and this notice are preserved.