OSDN Git Service

5353e3ee1c95c6e3a0175521a34f484802d333ca
[pf3gnuchains/gcc-fork.git] / gcc / ada / ChangeLog
1 2012-02-22  Robert Dewar  <dewar@adacore.com>
2
3         * exp_ch5.adb: Add comment.
4         * sem_ch12.adb, exp_ch6.adb: minor reformatting
5
6 2012-02-22  Ed Schonberg  <schonberg@adacore.com>
7
8         * freeze.adb (Freeze_Entity): Do not perform type layout within
9         a generic unit.
10
11 2012-02-22  Eric Botcazou  <ebotcazou@adacore.com>
12
13         * init.c (__gnat_error_handler) [Linux]: Map SIGBUS to
14         Storage_Error.
15
16 2012-02-22  Ed Schonberg  <schonberg@adacore.com>
17
18         * exp_ch5.adb (Expand_N_Assignment_Statement): Reject an
19         assignment to a classwide type whose type is limited, as
20         can happen in an instantiation in programs that run afoul or
21         AI05-0087.
22
23
24 2012-02-17  Ed Schonberg  <schonberg@adacore.com>
25
26         * exp_ch6.adb (Legal_Copy): If layout is not
27         determined in the front-end, do not emit error message when
28         by-reference actual is potentially unaligned.
29         * gcc-interface/decl.c (gnat_to_gnu_field): Better error message for
30         illegal representation clause on tagged or aliased component, or on
31         by-reference type with forced alignment.
32
33 2012-02-17  Nicolas Roche  <roche@adacore.com>
34
35         * gcc-interface/Makefile.in: Ensure FORCE_DEBUG_ADAFLAGS variables is
36         propagated by gnatlib-sjlj and gnatlib-zcx targets.
37         * gcc-interface/Make-lang.in: Update dependencies.
38
39 2012-02-17  Thomas Quinot  <quinot@adacore.com>
40
41         * sem_ch12.adb (Analyze_Package_Instantiation): For an
42         instantiation in an RCI library unit, omit the instance body
43         if the RCI library unit is the instance itself (E.2.3(18)),
44         but include the body if the instantiation is within the RCI
45         declaration (12.3(12)).
46
47 2012-02-17  Steve Baird  <baird@adacore.com>
48
49         * sem_prag.adb (Analyze_PPC_In_Decl_Part): Pre'Class and
50         Post'Class aspects can only be specified for a primitive operation
51         of a tagged type.
52
53 2012-02-17  Yannick Moy  <moy@adacore.com>
54
55         * gnat_rm.texi: Minor shuffling.
56
57 2012-02-17  Ed Schonberg  <schonberg@adacore.com>
58
59         * aspects.adb: Expression functions can carry pre/postconditions.
60         * par-ch6.adb (P_Subprogram): look for optional pre/postconditions
61         in an expression function.
62         * sem_prag (Check_Precondition_Postcondition): legal on expression
63         functions.
64
65 2012-02-17  Vincent Pucci  <pucci@adacore.com>
66
67         * a-cdlili.adb, a-cidlli.adb, a-cihama.adb, a-cimutr.adb,
68         * a-ciorma.adb, a-cohama.adb, a-coinve.adb, a-comutr.adb,
69         * a-convec.adb, a-coorma.adb (Adjust): New routine.
70         (Constant_Reference): Increment Busy and Lock counters.
71         (Reference): Increase Busy and Lock counters.
72         (Finalize): New routine.
73         * a-cihase.adb, a-ciorse.adb, a-cohase.adb, a-coorse.adb:
74         (Adjust): New routine.  (Constant_Reference): Increment Busy
75         and Lock counters.
76         (Finalize): New routine.
77         * a-cdlili.ads, a-cidlli.ads, a-cihama.ads, a-cihase.ads,
78         * a-cimutr.ads, a-ciorma.ads, a-ciorse.ads, a-cohama.ads,
79         * a-cohase.ads, a-coinve.ads, a-comutr.ads, a-convec.ads,
80         * a-coorma.ads, a-coorse: Controlled component added to the
81         reference types.
82
83 2012-02-17  Robert Dewar  <dewar@adacore.com>
84
85         * restrict.adb (Check_Restriction): Add special handling for
86         No_Obsolescent_Features.
87
88 2012-02-17  Hristian Kirtchev  <kirtchev@adacore.com>
89
90         * exp_util.adb (Find_Finalize_Address): When dealing with an
91         internally built full view for a type with unknown discriminants,
92         use the original record type.
93
94 2012-02-17  Robert Dewar  <dewar@adacore.com>
95
96         * sem_dim.adb: Minor reformatting.
97
98 2012-02-17  Yannick Moy  <moy@adacore.com>
99
100         * gnat_rm.texi: Minor rewording.
101
102 2012-02-17  Thomas Quinot  <quinot@adacore.com>
103
104         * sem_aggr.adb: Minor reformatting.
105
106 2012-02-17  Robert Dewar  <dewar@adacore.com>
107
108         * gnat_ugn.texi: Update doc for -gnatw.m to include 2*x case.
109
110 2012-02-17  Vincent Pucci  <pucci@adacore.com>
111
112         * sem_dim.adb (Is_Dim_IO_Package_Entity): New routine.
113         (Is_Dim_IO_Package_Instantiation): Is_Dim_IO_Package_Entity
114         call added.
115         (Is_Procedure_Put_Call): Is_Dim_IO_Package_Entity
116         call added.
117         * s-dim.ads: Make package Pure.
118
119 2012-02-17  Gary Dismukes  <dismukes@adacore.com>
120
121         * prj-nmsc.adb: Minor reformatting.
122
123 2012-02-17  Yannick Moy  <moy@adacore.com>
124
125         * gnat_rm.texi: Update GNAT RM with a separate chapter on restrictions.
126
127 2012-02-17  Yannick Moy  <moy@adacore.com>
128
129         * gnat_ugn.texi: Fix typos.
130
131 2012-02-17  Pascal Obry  <obry@adacore.com>
132
133         * prj-nmsc.adb: prj-nmsc.adb (Check_Aggregated): Check that an
134         aggregate is not Externally_Built.
135
136 2012-02-17  Ed Schonberg  <schonberg@adacore.com>
137
138         * sem_aggr.adb (Resolve_Record_Aggregate): If a composite
139         component has a box association, copy the default value using
140         the current scope as the scope of internal types, to prevent
141         scoping anomalies in gigi.
142
143 2012-02-17  Robert Dewar  <dewar@adacore.com>
144
145         * sem_dim.adb, sem_dim.ads, s-tasren.adb, prj.adb, prj.ads, freeze.adb,
146         sem_res.adb, exp_ch4.adb, sinput.adb, sinput.ads, exp_aggr.adb,
147         exp_intr.adb, s-os_lib.adb: Minor reformatting.
148
149 2012-02-17  Ed Schonberg  <schonberg@adacore.com>
150
151         * sem_ch6.adb (Is_Non_Overriding_Operation): Add warning if the
152         old operation is abstract, the relevant type is not abstract,
153         and the new subprogram fails to override.
154
155 2012-02-15  Eric Botcazou  <ebotcazou@adacore.com>
156
157         * gcc-interface/trans.c (Identifier_to_gnu): Move block retrieving the
158         type of the result to the end and execute it for a deferred constant of
159         a discriminated type whose full view can be elaborated statically.
160
161 2012-02-15  Eric Botcazou  <ebotcazou@adacore.com>
162
163         * gcc-interface/trans.c (gnat_to_gnu) <N_Qualified_Expression>: If the
164         type is tagged, mark it as used for debugging purposes.
165         <N_Allocator>: Likewise for a qualified expression.
166
167 2012-02-15  Eric Botcazou  <ebotcazou@adacore.com>
168
169         * gcc-interface/trans.c (call_to_gnu): Create the temporary for the
170         return value in the by-reference return type case if this isn't the
171         expression of an object declaration.  Tidy up.
172
173 2012-02-09  Tristan Gingold  <gingold@adacore.com>
174
175         * gcc-interface/Makefile.in: Remove .sym rule (not used).
176         Remove adamsg.o object (requires native message compiler).
177         * init.c (CMA$_EXIT_THREAD, MTH$_FLOOVEMAT, SS$_INTDIV): Define as a
178         macro instead of as extern int.
179         (ADA$_ALREADY_OPEN, ADA$_CONSTRAINT_ERRO, ADA$_DATA_ERROR)
180         (ADA$_DEVICE_ERROR, ADA$_END_ERROR, ADA$_FAC_MODE_MISMAT)
181         (ADA$_IOSYSFAILED, ADA$_KEYSIZERR, ADA$_KEY_MISMATCH)
182         (ADA$_LAYOUT_ERROR, ADA$_LINEXCMRS, ADA$_MAXLINEXC)
183         (ADA$_MODE_ERROR, ADA$_MRN_MISMATCH, ADA$_MRS_MISMATCH)
184         (ADA$_NAME_ERROR, ADA$_NOT_OPEN, ADA$_ORG_MISMATCH)
185         (ADA$_PROGRAM_ERROR, ADA$_RAT_MISMATCH, ADA$_RFM_MISMATCH)
186         (ADA$_STAOVF, ADA$_STATUS_ERROR, ADA$_STORAGE_ERROR)
187         (ADA$_UNSUPPORTED, ADA$_USE_ERROR): Likewise.
188         (struct cond_except): Field cond is now an unsigned int.
189         (dec_ada_cond_except_table): Adjust.
190         (cond_except_table): Likewise.
191         (cond_resignal_table): Likewise.
192         (__gnat_default_resignal_p): Fix style.
193
194 2012-02-08  Vincent Celier  <celier@adacore.com>
195
196         * gcc-interface/Make-lang.in: Add g-byorma.o to gnatbind objects
197         (g-buorma is now imported by sinput).
198         Update dependencies.
199         * scn.adb (Initialize_Scanner): Call Check_For_BOM
200         * sinput-p.adb (Source_File_Is_Subunit): Call Check_For_BOM
201         * sinput.adb: New procedure Check_For_BOM
202         * sinput.ads: New procedure Check_For_BOM
203
204 2012-02-08  Vincent Pucci  <pucci@adacore.com>
205
206         * impunit.adb: Dimension package names updated
207         * Makefile.rtl: s-dim added
208         * sem_dim.adb (Is_Procedure_Put_Call): minor changes
209         (Is_Dim_IO_Package_Instantiation): minor changes
210         * sem_dim.ads: minor changes in comments
211         * snames.ads-tmpl: Name_Dim added Name_Dim_Float_IO and
212         Name_Dim_Integer_IO removed
213         * s-dim.ads: New package. Define the dimension terminology.
214         * s-diflio.adb, s-diinio.adb, s-dimkio.ads, s-dimmks.ads,
215         * s-dmotpr.ads: Package names updated.
216         * s-diflio.ads, s-diinio.ads: Documentation added and package
217         names updated.
218
219 2012-02-08  Gary Dismukes  <dismukes@adacore.com>
220
221         * gcc-interface/utils2.c (build_call_alloc_dealloc_proc): Revise test
222         for storage pools to test for an underlying record type rather than
223         testing Is_Tagged_Type, so that simple storage pools will be handled
224         the same as normal Ada storage pools.
225
226 2012-02-08  Yannick Moy  <moy@adacore.com>
227
228         * gnat_rm.texi: Minor reshuffling to place restriction at
229         appropriate place.
230
231 2012-02-08  Bob Duff  <duff@adacore.com>
232
233         * warnsw.adb (Set_Warning_Switch): Set Warn_On_Suspicious_Modulus_Value
234         False for '-gnatwA', to suppress these warnings.
235
236 2012-02-08  Vincent Celier  <celier@adacore.com>
237
238         * sinput-p.adb (Source_File_Is_Subunit): Check for BOM before
239         starting to scan, so that UTF8 encoding is taken into account.
240
241 2012-02-08  Arnaud Charlet  <charlet@adacore.com>
242
243         * s-tasren.adb, s-tasren.ads (Internal_Complete_Rendezvous): New
244         function.
245         (Complete_Rendezvous): Now call Internal_Complete_Rendezvous.
246         (Exceptional_Complete_Rendezvous): Mark No_Return.
247
248 2012-02-08  Eric Botcazou  <ebotcazou@adacore.com>
249
250         * exp_aggr.adb (Compile_Time_Known_Composite_Value):
251         New predicate to compute whether a composite value can be
252         evaluated at compile time.
253         (Component_Not_OK_For_Backend): Use Compile_Time_Known_Value for all
254         expressions of elementary type and Compile_Time_Known_Composite_Value
255         for all other expressions.
256         (Expand_Record_Aggregate): Convert to assignments in the case
257         of a type with mutable components if the aggregate cannot be
258         built statically.
259
260 2012-02-08  Gary Dismukes  <dismukes@adacore.com>
261
262         * aspects.ads (type Aspect_Id): Add Simple_Storage_Pool_Type.
263         (Impl_Defined_Aspects): Add association for
264         Aspect_Simple_Storage_Pool_Type.
265         (Aspect_Names): Add
266         association for Aspect_Simple_Storage_Pool_Type.
267         * aspects.adb:
268         (Canonical_Aspect): Add association for Simple_Storage_Pool_Type.
269         * exp_attr.adb (Expand_N_Attribute_Reference):
270         Change name to Name_Simple_Storage_Pool_Type.
271         * exp_ch4.adb (Expand_N_Allocator): Change
272         name to Name_Simple_Storage_Pool_Type.
273         * exp_intr.adb (Expand_Unc_Deallocation): Change name to
274         Name_Simple_Storage_Pool_Type.  * freeze.adb (Freeze_Entity):
275         Change names to Name_Simple_Storage_Pool_Type.  * par-prag.adb:
276         Change names to Name_Simple_Storage_Pool_Type.  * sem_attr.adb:
277         (Analyze_Attribute): Change name to Name_Simple_Storage_Pool_Type.
278         * sem_ch13.adb (Analyze_Attribute_Definition_Clause):
279         Change name to Name_Simple_Storage_Pool_Type.
280         * sem_prag.adb:
281         (Analyze_Pragma): Change name to Name_Simple_Storage_Pool_Type.
282         (Sig_Flags): Change name to Name_Simple_Storage_Pool_Type.
283         * sem_res.adb (Resolve_Allocator): Change name to
284         Name_Simple_Storage_Pool_Type.  * snames.ads-tmpl:
285         (Name_Simple_Storage_Pool_Type): New name constant.
286         (type Pragma_Id): Change name to Name_Simple_Storage_Pool_Type and
287         move to main pragma section because it no longer matches the
288         attribute name.
289         * snames.adb-tmpl (Get_Pragma_Id): Remove test for
290         Name_Simple_Storage_Pool.
291         (Is_Pragma_Name): Remove test for Name_Simple_Storage_Pool.
292
293 2012-02-08  Robert Dewar  <dewar@adacore.com>
294
295         * gnat_ugn.texi: Add some clarification to -gnatwA and -gnatws.
296
297 2012-02-08  Pascal Obry  <obry@adacore.com>
298
299         * prj.adb (Compute_All_Imported_Projects): Use new
300         For_Project_And_Aggregated_Context to ensure proper context is
301         used for encapsulated aggregate libraries.
302         * prj-proc.adb (Recursive_Process): Call
303         Process_Aggregated_Projects earlier to ensure that all dependent
304         projects are set with the proper encapsulated status.
305
306 2012-02-08  Pascal Obry  <obry@adacore.com>
307
308         * s-os_lib.adb (Normalize_Arguments): Properly escape last \ in null
309         terminated string.
310
311 2012-02-08  Pascal Obry  <obry@adacore.com>
312
313         * prj.ads, prj.adb (For_Project_And_Aggregated_Context): New
314         generic routine with a context parameter.
315
316 2012-02-08  Robert Dewar  <dewar@adacore.com>
317
318         * a-coinve.adb, sem_util.adb, sem_ch8.adb, a-cobove.adb,
319         a-convec.adb: Minor reformatting and code reorganization.
320
321 2012-02-08  Steve Baird  <baird@adacore.com>
322
323         * sem_cat.adb (In_Preelaborated_Unit): A child
324         unit instantiation does not inherit preelaboration requirements
325         from its parent.
326
327 2012-02-08  Gary Dismukes  <dismukes@adacore.com>
328
329         * aspects.ads (type Aspect_Id): Add Aspect_Simple_Storage_Pool.
330         (Impl_Defined_Aspects): Add entry for Aspect_Simple_Storage_Pool.
331         (Aspect_Argument): Add Name entry for Aspect_Simple_Storage_Pool.
332         (Aspect_Names): Add entry for Aspect_Simple_Storage_Pool.
333         * aspects.adb (Canonical_Aspect): Add entry for
334         Aspect_Simple_Storage_Pool.
335         * exp_attr.adb (Expand_N_Attribute_Reference): Handle case of
336         Attribute_Simple_Storage_Pool in the same way as Storage_Pool
337         (add conversion, analyze/resolve). For the Storage_Size attribute,
338         for the simple pool case, locate and use the simple pool type's
339         Storage_Size function (if any), otherwise evaluate to zero.
340         * exp_ch4.adb (Expand_N_Allocator): In the case of an allocator
341         for an access type with an associated simple storage pool,
342         locate and use the pool type's Allocate.
343         * exp_intr.adb (Expand_Unc_Deallocation): In the case where the
344         access type has a simple storage pool, locate the pool type's
345         Deallocate procedure (if present) and use it as the procedure
346         to call on the Free operation.
347         * freeze.adb (Freeze_Entity): In the case of a full type for
348         a private type defined with pragma Simple_Storage_Pool, check
349         that the full type is also appropriate for the pragma. For
350         a simple storage pool type, validate that the operations
351         Allocate, Deallocate (if present), and Storage_Size
352         (if present) are defined with appropriate expected profiles.
353         (Validate_Simple_Pool_Op_Formal): New procedure
354         (Validate_Simple_Pool_Operation): New procedure Add with and
355         use of Rtsfind.
356         * par-prag.adb: Add Pragma_Simple_Storage_Pool to case statement
357         (no action required).
358         * sem_attr.adb (Analyze_Attribute): For the case of the
359         Storage_Pool attribute, give a warning if the prefix type has an
360         associated simple storage pool, and rewrite the attribute as a
361         raise of Program_Error. In the case of the Simple_Storage_Pool
362         attribute, check that the prefix type has an associated simple
363         storage pool, and set the attribute type to the pool's type.
364         * sem_ch13.adb (Analyze_Aspect_Specifications): Add
365         Aspect_Simple_Storage_Pool case choice.
366         (Analyze_Attribute_Definition_Clause): Add
367         Aspect_Simple_Storage_Pool to case for Ignore_Rep_Clauses
368         (no action). Add handling for Simple_Storage_Pool attribute
369         definition, requiring the name to denote a simple storage pool
370         object.
371         (Check_Aspect_At_Freeze_Point): For a simple storage pool
372         aspect, set the type to that of the name specified for the aspect.
373         * sem_prag.adb (Analyze_Pragma): Add handling for pragma
374         Simple_Storage_Pool, requiring that it applies to a library-level
375         type declared in a package declaration that is a limited private
376         or limited record type.
377         * sem_res.adb (Resolve_Allocator): Flag an attempt to call a
378         build-in-place function in an allocator for an access type with
379         a simple storage pool as unsupported.
380         * snames.ads-tmpl: Add Name_Simple_Storage_Pool.
381         (type Attribute_Id): Add Attribute_Simple_Storage_Pool.
382         (type Pragma_Id): Add Pragma_Simple_Storage_Pool.
383         * snames.adb-tmpl (Get_Pragma_Id): Handle case of
384         Name_Simple_Storage_Pool.
385         (Is_Pragma_Name): Return True for Name_Simple_Storage_Pool.
386
387 2012-02-08  Cyrille Comar  <comar@adacore.com>
388
389         * projects.texi: Clarify doc for interfaces.
390
391 2012-02-07  Eric Botcazou  <ebotcazou@adacore.com>
392
393         * gcc-interface/Make-lang.in (GCC_LINKERFLAGS): New variable.
394         (GCC_LINK): Use it.
395
396 2012-02-01  Tristan Gingold  <gingold@adacore.com>
397
398         * gcc-interface/trans.c (Loop_Statement_to_gnu): Use sizetype
399         instead of size_type_node.
400
401 2012-01-30  Nicolas Roche  <roche@adacore.com>
402
403         * gcc-interface/Make-lang.in: Update dependencies.
404         * gcc-interface/Makefile.in: Use system-vxworks-system-ppc-mils.ads
405         when needed.
406         Remove Linker_Options -crtbe when building sjlj run-time.
407
408 2012-01-30  Robert Dewar  <dewar@adacore.com>
409
410         * sem.adb (Analyze): Call Analyze_Mod for N_Op_Mod mode.
411         * sem_ch3.adb (Modular_Type_Declaration): Warn on mod value of
412         form 2 * small-literal.
413         * sem_ch4.adb (Analyze_Mod): New procedure (warn on suspicious
414         mod value).
415         * sem_ch4.ads (Analyze_Mod): New procedure.
416
417 2012-01-30  Ed Schonberg  <schonberg@adacore.com>
418
419         * sem_ch6.adb: sem_ch6.adb (Analyze_Expression_Function): Copy
420         types and return expression when building spec for implicit
421         body, to preserve global references that may be present in an
422         instantiation.
423
424 2012-01-30  Matthew Heaney  <heaney@adacore.com>
425
426         * a-convec.adb, a-coinve.adb, a-cobove.adb (Sort,
427         Reverse_Elements): Check for cursor tampering.
428
429 2012-01-30  Ed Schonberg  <schonberg@adacore.com>
430
431         * sem_util.adb (Is_Fully_Initialized_Type): In Ada 2012, a
432         type with aspect Default_Value or Default_Component_Value is
433         fully initialized, and use of variables of such types do not
434         generate warnings.
435
436 2012-01-30  Javier Miranda  <miranda@adacore.com>
437
438 PR ada/15846
439         * sem_ch8.adb (Analyze_Subprogram_Renaming):
440         Handle self-renaming when the renamed entity is referenced using
441         its expanded name.
442
443 2012-01-30  Vincent Celier  <celier@adacore.com>
444
445         * projects.texi: Add documentation for attribute Interfaces.
446
447 2012-01-30  Hristian Kirtchev  <kirtchev@adacore.com>
448
449         * exp_ch7.adb (Build_Finalizer_Call): Set loc again.
450         * exp_ch11.adb (Expand_At_End_Handler): Do not provide a source
451         location for the wrapped call to the original AT_END routine
452         and the subsequent return statement.
453
454 2012-01-30  Pascal Obry  <obry@adacore.com>
455
456         * s-rannum.adb: Minor reformatting.
457
458 2012-01-30  Hristian Kirtchev  <kirtchev@adacore.com>
459
460         * a-calend-vms.adb, a-calend.adb: Increment the number of leap seconds
461         to 25 and add the hard time value for 2012-06-30.
462
463 2012-01-30  Robert Dewar  <dewar@adacore.com>
464
465         * a-strhas.ads, einfo.adb, einfo.ads, exp_ch7.adb, exp_ch9.adb,
466         freeze.adb, prj.adb, prj.ads, prj-nmsc.adb, prj-proc.adb, s-llflex.ads,
467         s-ransee.adb, s-ransee.ads, sem_ch13.adb, sem_dim.adb, sem_prag.adb:
468         Minor reformatting/code reorganization.
469
470 2012-01-30  Thomas Quinot  <quinot@adacore.com>
471
472         * s-rannum.adb, s-ransee.adb, s-ransee.ads (Get_Seed): Return
473         Unsigned_64 rather than Duration.
474         (System.Random_Numbers.Reset): Use full value of seed
475         (do not truncate sub-second bits).
476
477 2012-01-30  Thomas Quinot  <quinot@adacore.com>
478
479         * sem_cat.adb, sem_ch12.adb: Minor reformatting.
480
481 2012-01-30  Yannick Moy  <moy@adacore.com>
482
483         * gnat_ugn.texi: Minor correction of GNAT UG, to take into
484         account changes to -gnatwa and more recent warnings.
485
486 2012-01-30  Hristian Kirtchev  <kirtchev@adacore.com>
487
488         * exp_ch7.adb (Build_Finalizer_Call): Do not provide a source
489         location when creating a call to a finalizer.
490         * exp_ch11.adb (Expand_Exception_Handlers): Do not provide
491         a source location for the first actual of Save_Occurrence for
492         consistency sake.
493
494 2012-01-30  Ed Schonberg  <schonberg@adacore.com>
495
496         * einfo.ads, einfo,adb: New attribute on scalar types:
497         Default_Aspect_Value New attribute on  array types:
498         Default_Aspect_Component_Value Move attribute Related_Array_Object
499         to a different position to accomodate new aspect attributes.
500         * freeze.adb (Freeze_Entity): Use new attributes to retrieve value
501         of defaults set with an aspect specification, rather than using
502         the list of aspects attached to the type, to prevent issues with
503         partial views.
504         * sem_ch13.adb (Analyze_Aspect_Specifications): For aspects
505         Default_Value and Default_Component _Value, store corresponding
506         expression in type entity.
507         (Check_Aspect_At_End_Of_Declaration): If the default aspects
508         are declared on the full view, use the full view to resolve the
509         correseponding expression.
510         * exp_ch3.adb (Init_Component): Use attribute
511         Default_Aspect_Component_Value to perform default initialization,
512         rather than relying on the rep item list for the type.
513         (Get_Simple_Init_Val): Ditto.
514
515 2012-01-30  Thomas Quinot  <quinot@adacore.com>
516
517         * a-strhas.ads: Document risk of collision attack.
518
519 2012-01-30  Yannick Moy  <moy@adacore.com>
520
521         * gnat_ugn.texi: Minor update wrt warning switches.
522
523 2012-01-30  Vincent Celier  <celier@adacore.com>
524
525         * prj-nmsc.adb (Check_Interfaces): Report an error when a
526         unit from Library_Interface is not a unit of the project.
527
528 2012-01-30  Vincent Pucci  <pucci@adacore.com>
529
530         * sem_prag.adb (Make_Aspect_For_PPC_In_Gen_Sub_Decl): Parent
531         links fixed inside PPC pragmas.
532         * sem_ch12.adb: Move call to Make_Aspect_For_PPC_In_Gen_Sub_Decl.
533
534 2012-01-30  Thomas Quinot  <quinot@adacore.com>
535
536         * s-ransee.ads: Minor reformatting.
537
538 2012-01-30  Pascal Obry  <obry@adacore.com>
539
540         * prj.ads, prj.adb (For_Each_Source): Add support for skipping
541         sources coming from an encapsulated library.
542
543 2012-01-30  Ed Schonberg  <schonberg@adacore.com>
544
545         * sem_ch3.adb (Process-Full_View): fix typo.
546         * sem_ch13.adb (Aalyze_Aspect_Specifications): if predicates
547         appear on a private type and the full view is available, ensure
548         existence of freeze node for full view.
549         (Build_Predicate_Function): Attach predicate function to both
550         views of a private type.
551
552 2012-01-30  Vincent Celier  <celier@adacore.com>
553
554         * prj-nmsc.adb (Check_Interfaces): Compute the Lib_Interface_ALIs
555         for the project if either attribute Library_Interface or
556         Interfaces is declared.
557         (Check_Stand_Alone_Library): Use Lib_Interface_ALIs computed in
558         Check_Interfaces.
559
560 2012-01-30  Pascal Obry  <obry@adacore.com>
561
562         * prj-proc.adb (Recursive_Process): Set From_Encapsulated_Lib
563         boolean value to true in the process list created by this routine.
564         * prj.ads (Project_List_Element): New field From_Encapsulated_Lib.
565         Continued work for KA06-021.
566         * prj.adb (Compute_All_Imported_Projects): Set
567         From_Encapsulated_Lib boolean flag.
568
569 2012-01-30  Vincent Pucci  <pucci@adacore.com>
570
571         * sem_dim.adb (Expand_Put_Call_With_Dimension_Symbol): Minor
572         code clean up.
573         * s-diflio.ads: Minor change.
574
575 2012-01-30  Javier Miranda  <miranda@adacore.com>
576
577         * exp_ch9.adb (Build_Dispatching_Requeue): Add missing call
578         to Get_Entry_Index.  Required to generate code which provides
579         the correct value of Entry_Index in the target entry.
580
581 2012-01-30  Nicolas Roche  <roche@adacore.com>
582
583         * system-vxworks-ppc.ads: Add pragma Linker_Options -crtbe to
584         fix issue with zcx on VxWorks5.
585
586 2012-01-30  Pascal Obry  <obry@adacore.com>
587
588         * prj.ads, prj.adb (For_Every_Project_Imported): Remove
589         In_Aggregate_Lib.
590         (For_Every_Project_Imported_Context): New generic routine with
591         a context parameter.
592         * prj-nmsc.adb: Revert to use For_Every_Project_Imported Avoid
593         distributed complexity.
594         * prj-env.adb, prj-conf.adb, makeutl.adb, gnatcmd.adb: Ditto.
595
596 2012-01-30  Thomas Quinot  <quinot@adacore.com>
597
598         * exp_aggr.adb (Expand_Record_Aggregate): After creating the
599         _parent aggregate for an extension aggregate, check whether it
600         requires delayed (top-down) expansion.
601
602 2012-01-30  Vincent Pucci  <pucci@adacore.com>
603
604         * sem_dim.adb (Expand_Put_Call_With_Dimension_Symbol): Rewritten.
605         * snames.ads-tmpl: Name_Item and Name_Symbols added.
606         * s-diflio.adb, s-diflio.ads, s-diinio.adb, s-diinio.ads: Rename
607         and change the position of parameter Symbols in every Put routine.
608         * s-dimmks.ads: Convert long float type Mks_Type into long
609         long float.
610         * s-llflex.ads: Modifications in comments.
611
612 2012-01-30  Hristian Kirtchev  <kirtchev@adacore.com>
613
614         * sem_ch12.adb (Earlier): Do not use the
615         top level source locations of the two input nodes.
616
617 2012-01-30  Robert Dewar  <dewar@adacore.com>
618
619         * einfo.ads, sem_prag.adb, sem_attr.adb, aspects.ads,
620         sem_cat.adb, sem_aggr.adb, exp_aggr.adb: Minor reformatting.
621
622 2012-01-30  Robert Dewar  <dewar@adacore.com>
623
624         * a-cdlili.adb, a-cidlli.adb, a-cbdlli.adb: Minor reformatting.
625
626 2012-01-30  Olivier Hainque  <hainque@adacore.com>
627
628         * sigtramp-ppcvxw.c (CFI_COMMON_REGS): Add rule for r1 back +
629         comments.
630
631 2012-01-30  Thomas Quinot  <quinot@adacore.com>
632
633         * gnat_rm.texi, sem_dist.adb, sem_dist.ads, einfo.ads, sem_prag.adb,
634         sem_ch12.adb, sem_attr.adb, aspects.adb, aspects.ads, par-prag.adb,
635         sem_cat.adb, snames.ads-tmpl (Sem_Dist.Is_Valid_Remote_Object_Type):
636         New subprogram (extracted from
637         Sem_Cat.Validate_Remote_Access_Object_Type_Declaration).
638         (Einfo.Is_Remote_Types): Now applies to generic types. Update
639         documentation accordingly.
640         (Sem_Ch12.Analyze_Associations): A RACW type is acceptable as
641         actual for a formal type to which a pragma Remote_Access_Type
642         applies.
643         (Aspects, Par.Prag, Sem_Prag): Support for new pramga/aspect
644         Remote_Access_Type.
645         (Sem_Attr.Analyze_Attribute, case Stub_Type): Attribute can
646         be applied to a generic type if pragma Remote_Access_Type
647         applies, in which case the type of the attribute is
648         System.Partition_Interface.RACW_Stub_Type.
649
650 2012-01-27  Eric Botcazou  <ebotcazou@adacore.com>
651
652         * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Procedure>: Do not set
653         an alignment on fields of the RETURN type built for the CICO mechanism.
654
655 2012-01-27  Eric Botcazou  <ebotcazou@adacore.com>
656
657         * gcc-interface/trans.c (gnat_to_gnu): Avoid making a SAVE_EXPR for
658         a call to a function that returns an unconstrained type with default
659         discriminant.  Similarly, avoid doing the conversion to the nominal
660         result type in this case.
661
662 2012-01-27  Eric Botcazou  <ebotcazou@adacore.com>
663
664         * gcc-interface/ada-tree.h (DECL_ALIASED_P): New flag.
665         * gcc-interface/decl.c (is_variable_size): Rename to...
666         (type_has_variable_size): ...this.
667         (adjust_packed): Adjust to above renaming.
668         (gnat_to_gnu_field): Set DECL_ALIASED_P on the field.
669         (field_is_artificial): New predicate.
670         (field_is_aliased): Likewise.
671         (field_has_self_size): Likewise.
672         (field_has_variable_size): Likewise.
673         (components_to_record): Record information for the final layout during
674         the first pass on fields.
675         If there is an aliased field placed after a field whose length depends
676         on discriminants, put all the fields of the latter sort, last.
677
678 2012-01-27  Eric Botcazou  <ebotcazou@adacore.com>
679
680         * gcc-interface/gigi.h (get_minimal_subprog_decl): Declare.
681         * gcc-interface/decl.c (get_minimal_subprog_decl): New function.
682         * gcc-interface/trans.c (Attribute_to_gnu): Use it for the prefix of an
683         Access-like attribute in a dispatch table if the subprogram is public.
684
685 2012-01-27  Eric Botcazou  <ebotcazou@adacore.com>
686
687         * gcc-interface/gigi.h (create_label_decl): Adjust.
688         * gcc-interface/utils.c (create_label_decl): Add GNAT_NODE parameter
689         and invoke gnat_pushdecl on it.  Remove obsolete settings.
690         * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Label>: Adjust call to
691         create_label_decl.
692         * gcc-interface/trans.c (gnat_to_gnu) <N_Null): Likewise.  Ignore the
693         label for debugging purposes.
694
695 2012-01-27  Eric Botcazou  <ebotcazou@adacore.com>
696
697         * gcc-interface/decl.c (gnat_to_gnu_entity) <object>: For an aliased
698         object with an unconstrained nominal subtype and if optimization isn't
699         enabled, create a special VAR_DECL for debugging purposes.
700
701 2012-01-23  Robert Dewar  <dewar@adacore.com>
702
703         * sem_prag.ads, sem_prag.adb: Minor reformatting.
704
705 2012-01-23  Robert Dewar  <dewar@adacore.com>
706
707         * sem_ch13.adb (Analyze_Aspect_Specifications): Check for
708         language defined aspect applied to renaming or formal type
709         declaration (not permitted)
710
711 2012-01-23  Matthew Heaney  <heaney@adacore.com>
712
713         * a-cdlili.adb, a-cidlli.adb, a-cbdlli.adb (Vet): Replaced
714         comment with pragma Assert.
715
716 2012-01-23  Vincent Pucci  <pucci@adacore.com>
717
718         * sem_ch12.adb (Analyze_Generic_Subprogram_Declaration): Call
719         to Make_Aspect_For_PPC_In_Gen_Sub_Decl added in ASIS mode.
720         * sem_prag.adb, sem_prag.ads (Make_Aspect_For_PPC_In_Gen_Sub_Decl): New
721         routine. In ASIS mode, convert any PPC pragmas into aspects in generic
722         subprogram declaration in order to enable the analysis of PPC boolean
723         expressions.
724
725 2012-01-23  Robert Dewar  <dewar@adacore.com>
726
727         * sem_ch3.adb (Analyze_Object_Declaration): Properly
728         handle Current_Value for volatile variables (also propagate
729         Treat_As_Volatile from type to object).
730
731 2012-01-23  Hristian Kirtchev  <kirtchev@adacore.com>
732
733         * sem_ch12.adb (Install_Body): Detect the case
734         where the enclosing context is a package with a stub body that
735         has already been replaced by the actual body. In such cases,
736         the freeze node for the enclosing context must be inserted after
737         the real body.
738
739 2012-01-23  Ed Schonberg  <schonberg@adacore.com>
740
741         * sem_prag.adb (Analyze_Pragma, case Debug): Freeze the called
742         subprogram before expanding the pragma into an if-statement with
743         a block, to ensure that when the subprogram is null its body is
744         properly generated before expansion.
745
746 2012-01-23  Hristian Kirtchev  <kirtchev@adacore.com>
747
748         * sem_ch12.adb (Analyze_Associations): Alphabetize local variables and
749         constants. Rename Actual_Types to Actuals_To_Freeze. Rename Next_Formal
750         to Saved_Formal.
751         Freeze all eligible subprograms which appear as actuals in
752         the instantiation.
753         (Has_Fully_Defined_Profile): New routine.
754         (Renames_Standard_Subprogram): New routine.
755         (Earlier): Add local variable N. Comment update. Do not use source
756         locations when trying to determine whether one node precedes another.
757
758 2012-01-23  Gary Dismukes  <dismukes@adacore.com>
759
760         * exp_ch4.adb (Expand_Concatenate): In the case
761         where the result of a concatentation can be null, set the to
762         result have both the low and high bounds of the right operand (not
763         just the high bound, as was the case prior to this fix). Also,
764         fix the saved high bound setting (Last_Opnd_High_Bound) in the
765         empty string literal case (should have been low bound minus one,
766         rather than plus one).
767
768 2012-01-23  Thomas Quinot  <quinot@adacore.com>
769
770         * scos.ads, put_scos.adb, get_scos.adb (Get_SCOs, Put_SCOs): Do not
771         omit statement SCOs for disabled pragmas.
772
773 2012-01-23  Matthew Heaney  <heaney@adacore.com>
774
775         * a-cohase.ads, a-cihase.ads, a-cbhase.ads, a-coorse.ads,
776         a-ciorse.ads, a-cborse.ads, a-cohama.ads, a-cihama.ads, a-cbhama.ads,
777         a-coorma.ads, a-ciorma.ads, a-cborma.ads, a-cdlili.ads, a-cidlli.ads,
778         a-cbdlli.ads, a-convec.ads, a-coinve.ads, a-cobove.ads (Cursor'Read,
779         Cursor'Write): Declare in private part.
780         (Reference_Type'Read, Reference_Type'Write): Ditto.
781         (Constant_Reference_Type'Read, Constant_Reference_Type'Write): Ditto.
782
783 2012-01-23  Robert Dewar  <dewar@adacore.com>
784
785         * a-catizo.ads, a-calend.adb, a-calend.ads, par-ch13.adb: Minor
786         reformatting.
787
788 2012-01-23  Ed Schonberg  <schonberg@adacore.com>
789
790         * sem_ch6.adb (Analyze_Subprogram_Declaration): Do not set the
791         Corresponding_Body on a defaulted null formal subprogram.
792         * sem_ch12.adb (Check_Formal_Package_Instance): No check needed
793         on a defaulted formal subprogram that is a null procedure.
794
795 2012-01-23  Hristian Kirtchev  <kirtchev@adacore.com>
796
797         * exp_ch9.adb: Update the comments involving pragma Implemented.
798         * sem_ch3.adb (Check_Pragma_Implemented (Entity_Id)): Add local
799         constant Subp_Alias and local variable Impl_Subp. Properly
800         handle aliases of synchronized wrappers. Code cleanup.
801         (Check_Pragma_Implemented (Entity_Id; Entity_Id)): Add
802         Name_Optional as part of the condition.
803         * sem_prag.adb (Analyze_Pragma): Add "Optional" as one of the
804         valid choices of implementation kind.
805         (Check_Arg_Is_One_Of): New routine.
806         * snames.ads-tmlp: Add Name_Optional.
807
808 2012-01-23  Ed Schonberg  <schonberg@adacore.com>
809
810         * par-ch13.adb: Better error recovery in illegal aspect
811         specification.
812
813 2012-01-23  Hristian Kirtchev  <kirtchev@adacore.com>
814
815         * a-calend.adb: Add with clause for Interfaces.C. Add constant
816         Unix_Max.
817         (Day_Of_Week): Call the internal UTC_Time_Offset.
818         (Split): Call the internal UTC_Time_Offset.
819         (Time_Of): Call the internal UTC_Time_Offset.
820         (Time_Zone_Operations.UTC_Time_Offset): Call internal UTC_Time_Offset.
821         (UTC_Time_Offset): New library-level routine.
822         * a-calend.ads (UTC_Time_Offset): Remove parameter
823         Is_Historic. Update related comment on usage.
824         * a-catizo.adb (UTC_Time_Offset): Removed.
825         (UTC_Time_Offset (Time)): Call Time_Zone_Operations.UTC_Time_Offset.
826         * a-caltizo.ads (UTC_Time_Offset): Removed.
827         (UTC_Time_Offset (Time)): Add back the default expression of parameter
828         Date.
829
830 2012-01-23  Robert Dewar  <dewar@adacore.com>
831
832         * sprint.ads, sprint.adb (Sprint_Node_List): Add New_Lines parameter
833         (pg,po,ps): Make sure each entry starts on new line.
834
835 2012-01-23  Hristian Kirtchev  <kirtchev@adacore.com>
836
837         * a-calend.ads, a-calend.adb: Define types int and int_Pointer. Update
838         the parameter profile of procedure localtime_tzoff and its associated
839         comment.
840         (Day_Of_Week): Do not treat the input date as historical
841         with respect to time zones.
842         (Split): Do not treat the input
843         date as historical with respect to time zones.  (Time_Of): Do
844         not treat the input constituents as forming a historical date
845         with respect to time zones.
846         (UTC_Time_Offset): Add new formal
847         parameter Is_Historic. Add local variable Flag. Update the call
848         to localtime_tzoff.
849         * a-catizo.ads, a-catizo.adb (UTC_Time_Offset): New routine.
850         (UTC_Time_Offset (Time)): Update the call to
851         Time_Zone_Operations.UTC_Time_Offset.
852         * sysdep.c (__gnat_localtime_tzoff): Update parameter
853         profile. Split the processing of offsets on Windows into two - one
854         part of historic time stamps and the other for the current time.
855
856 2012-01-23  Robert Dewar  <dewar@adacore.com>
857
858         * a-calend.adb: Minor reformatting.
859
860 2012-01-23  Ed Schonberg  <schonberg@adacore.com>
861
862         * exp_ch9.adb, sem_ch9.adb: Handle array of access to synchronized
863         interface in requeue statement.
864
865 2012-01-23  Cyrille Comar  <comar@adacore.com>
866
867         * projects.texi: Remove references to main units and replace
868         with references to main programs to be coherent with the
869         documentation.
870
871 2012-01-23  Robert Dewar  <dewar@adacore.com>
872
873         * s-utf_32.adb: Minor reformatting.
874
875 2012-01-23  Vincent Celier  <celier@adacore.com>
876
877         * snames.ads-tmpl: Minor comment addition Indicate that
878         Name_Library_Encapsulated_Options is only used in gprbuild.
879
880 2012-01-23  Robert Dewar  <dewar@adacore.com>
881
882         * sem_ch10.adb (Analyze_Subunit): Properly save/restore cunit
883         restrictions.
884
885 2012-01-23  Ed Schonberg  <schonberg@adacore.com>
886
887         * snames.ads-tmpl: Add Name_Synchronization.
888         * aspects.ads, aspects.adb: Add Aspect_Synchronization to
889         enumeration type and related maps.
890         * sem_ch13.adb (Analyze_Aspect_Specifications): Handle Aspect
891         Synchronization, build corresponding pragma Implemented.
892         * sem_util.adb (Implementation_Kind): Handle both explicit and
893         implicit pragma_argument association to retrieve the given
894         synchronization mode.
895
896 2012-01-23  Robert Dewar  <dewar@adacore.com>
897
898         * sem_ch10.adb, errout.adb: Minor reformatting.
899
900 2012-01-23  Ed Schonberg  <schonberg@adacore.com>
901
902         * sem_res.adb (Resolve_Actuals): An actual in a call to an
903         Ada 2012 Reference function does not lead to a dangerous order
904         dependence.
905
906 2012-01-23  Gary Dismukes  <dismukes@adacore.com>
907
908         * exp_util.adb (Is_Iterated_Container): Test
909         Is_Entity_Name when searching for calls to the default iterator,
910         to avoid blowing up on indirect calls which have an explicit
911         dereference as the call name.
912
913 2012-01-23  Thomas Quinot  <quinot@adacore.com>
914
915         * errout.adb (Set_Msg_Node): For an N_Expanded_Name, output
916         the complete expanded name, rather than just its Selector_Name.
917
918 2012-01-23  Thomas Quinot  <quinot@adacore.com>
919
920         * a-textio.adb (Put): Rewrite one-parameter Character version to
921         just call the two-parameter one with Current_Out.
922
923 2012-01-23  Hristian Kirtchev  <kirtchev@adacore.com>
924
925         * freeze.adb (Check_Current_Instance): Issue an
926         error when the prefix of 'Unchecked_Access or 'Access does not
927         denote a legal aliased view of a type.
928         (Freeze_Record_Type): Do not halt the processing of record components
929         once the Has_Controlled_Component is set as this bypasses the remaining
930         checks.
931         (Is_Aliased_View_Of_Type): New routine.
932
933 2012-01-23  Thomas Quinot  <quinot@adacore.com>
934
935         * errout.ads, freeze.adb: Minor reformatting.
936
937 2012-01-23  Thomas Quinot  <quinot@adacore.com>
938
939         * sem_ch10.adb, sem_prag.adb: Remove redundant apostrophes in error
940         messages.
941
942 2012-01-23  Olivier Hainque  <hainque@adacore.com>
943
944         * adadecode.c (__gnat_decode): Deal with empty input early,
945         preventing potential erroneous memory access later on.
946
947 2012-01-21  Eric Botcazou  <ebotcazou@adacore.com>
948
949         PR ada/46192
950         * gcc-interface/decl.c (gnat_to_gnu_entity) <object>: In the case of a
951         renaming, preserve the volatileness through the indirection, if any.
952
953 2012-01-14  Andreas Schwab  <schwab@linux-m68k.org>
954
955         * gcc-interface/Makefile.in (OSCONS_EXTRACT): Add
956         $(GNATLIBCFLAGS).
957
958 2012-01-10  Pascal Obry  <obry@adacore.com>
959
960         * prj-nmsc.adb (Check_Library_Attributes):
961         Kill check for object/source directories for aggregate libraries.
962
963 2012-01-10  Matthew Heaney  <heaney@adacore.com>
964
965         * a-cdlili.adb, a-cdlili.ads, a-cihama.adb, a-cihama.ads, a-coinve.adb,
966         a-coinve.ads, a-ciorse.adb, a-ciorse.ads, a-coorma.adb, a-coorma.ads,
967         a-cborma.adb, a-cborma.ads, a-cidlli.adb, a-cidlli.ads, a-cimutr.adb,
968         a-cimutr.ads, a-cihase.adb, a-cihase.ads, a-cohama.adb, a-cohama.ads,
969         a-coorse.adb, a-coorse.ads, a-cbhama.adb, a-cbhama.ads, a-cborse.adb,
970         a-cborse.ads, a-comutr.adb, a-comutr.ads, a-ciorma.adb, a-cobove.adb,
971         a-ciorma.ads, a-cobove.ads, a-convec.adb, a-convec.ads, a-cohase.adb,
972         a-cohase.ads, a-cbdlli.adb, a-cbdlli.ads, a-cbmutr.adb, a-cbmutr.ads,
973         a-cbhase.adb, a-cbhase.ads (Reference, Constant_Reference): Declare
974         container parameter as aliased in/in out.
975         Code clean ups.
976
977 2012-01-10  Bob Duff  <duff@adacore.com>
978
979         * s-os_lib.ads: Improve comment.
980
981 2012-01-10  Geert Bosch  <bosch@adacore.com>
982
983         * s-gearop.adb (Forward_Eliminate): Avoid improper aliasing
984         for complex Scalar.
985
986 2012-01-10  Bob Duff  <duff@adacore.com>
987
988         * sem_intr.adb (Check_Shift): Use RM_Size instead of Esize, when
989         checking that the 'Size is correct. If the type is "mod 2**12",
990         for example, it's illegal, but Esize is the 'Object_Size, which
991         will be something like 16 or 32, so the error ('Size = 12) was
992         not detected.
993         * gnat_rm.texi: Improve documentation of shift
994         and rotate intrinsics.
995
996 2012-01-10  Pascal Obry  <obry@adacore.com>
997
998         * prj.adb (For_Every_Project_Imported): Fix
999         implementation to make sure we return each project only once
1000         for aggragte libraries. It is fine to return a project twice for
1001         aggregate projects, this was the case as a Project_Id is different
1002         in each project tree. The new implementation use a table based on
1003         the project name to ensure proper detection of duplicate project
1004         in aggregate library. A new context is then created to continue
1005         retrurning duplicate project for aggregate libraries.
1006
1007 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
1008
1009         * gcc-interface/trans.c (call_to_gnu): Create the temporary for the
1010         return value in the variable-sized return type case if the target is
1011         an array with fixed size.  However, do not create it if this is the
1012         expression of an object declaration.
1013
1014 2012-01-09  Eric Botcazou  <ebotcazou@adacore.com>
1015
1016         * gcc-interface/trans.c (addressable_p) <COMPONENT_REF>: Fix thinko.
1017
1018 2012-01-06  Robert Dewar  <dewar@adacore.com>
1019
1020         * a-wichha.ads, a-wichun.ads, a-zchhan.ads, a-zchuni.ads,
1021         s-utf_32.ads: Add pragma Pure
1022         * s-utf_32.adb: Suppress warnings on non-static constants (now
1023         that this is Pure).
1024
1025 2012-01-06  Bob Duff  <duff@adacore.com>
1026
1027         * s-rpc.ads (Read, Write): Add overriding indicators.
1028
1029 2012-01-06  Robert Dewar  <dewar@adacore.com>
1030
1031         * gnat_rm.texi: Add documentation for conventions
1032         Ada_Pass_By_Copy and Ada_Pass_By_Reference.
1033
1034 2012-01-06  Gary Dismukes  <dismukes@adacore.com>
1035
1036         * a-tienio.adb (Put): Add exception message on
1037         raise statements. Remove unneeded blocks and object declarations.
1038
1039 2012-01-06  Robert Dewar  <dewar@adacore.com>
1040
1041         * sem_prag.adb: Minor reformatting.
1042
1043 2012-01-06  Ed Schonberg  <schonberg@adacore.com>
1044
1045         * sinfo.ads, sinfo.adb (Has_Prefixed_Call): New flag to indicate
1046         that a selected component within a generic unit has been resolved
1047         as a prefixed call with local references.
1048         * sem_ch3.adb (Is_Visible_Component): In an instance body a selected
1049         component is always visible.
1050         * sem_ch4.adb (Analyze_Selected_Component): If the node is a
1051         prefixed call in an instance, do not look for visible components
1052         of the type.
1053         * sem_ch12.adb (Reset_Entity): If a selected component has resolved
1054         to a prefixed call, mark the node accordingly when prefix and
1055         selector are local references.
1056
1057 2012-01-02  Eric Botcazou  <ebotcazou@adacore.com>
1058
1059         * gnatvsn.ads (Current_Year): Bump to 2012.
1060 \f
1061 Copyright (C) 2012 Free Software Foundation, Inc.
1062
1063 Copying and distribution of this file, with or without modification,
1064 are permitted in any medium without royalty provided the copyright
1065 notice and this notice are preserved.