1 2012-02-07 Eric Botcazou <ebotcazou@adacore.com>
3 * gcc-interface/Make-lang.in (GCC_LINKERFLAGS): New variable.
6 2012-02-01 Tristan Gingold <gingold@adacore.com>
8 * gcc-interface/trans.c (Loop_Statement_to_gnu): Use sizetype
9 instead of size_type_node.
11 2012-01-30 Nicolas Roche <roche@adacore.com>
13 * gcc-interface/Make-lang.in: Update dependencies.
14 * gcc-interface/Makefile.in: Use system-vxworks-system-ppc-mils.ads
16 Remove Linker_Options -crtbe when building sjlj run-time.
18 2012-01-30 Robert Dewar <dewar@adacore.com>
20 * sem.adb (Analyze): Call Analyze_Mod for N_Op_Mod mode.
21 * sem_ch3.adb (Modular_Type_Declaration): Warn on mod value of
22 form 2 * small-literal.
23 * sem_ch4.adb (Analyze_Mod): New procedure (warn on suspicious
25 * sem_ch4.ads (Analyze_Mod): New procedure.
27 2012-01-30 Ed Schonberg <schonberg@adacore.com>
29 * sem_ch6.adb: sem_ch6.adb (Analyze_Expression_Function): Copy
30 types and return expression when building spec for implicit
31 body, to preserve global references that may be present in an
34 2012-01-30 Matthew Heaney <heaney@adacore.com>
36 * a-convec.adb, a-coinve.adb, a-cobove.adb (Sort,
37 Reverse_Elements): Check for cursor tampering.
39 2012-01-30 Ed Schonberg <schonberg@adacore.com>
41 * sem_util.adb (Is_Fully_Initialized_Type): In Ada 2012, a
42 type with aspect Default_Value or Default_Component_Value is
43 fully initialized, and use of variables of such types do not
46 2012-01-30 Javier Miranda <miranda@adacore.com>
49 * sem_ch8.adb (Analyze_Subprogram_Renaming):
50 Handle self-renaming when the renamed entity is referenced using
53 2012-01-30 Vincent Celier <celier@adacore.com>
55 * projects.texi: Add documentation for attribute Interfaces.
57 2012-01-30 Hristian Kirtchev <kirtchev@adacore.com>
59 * exp_ch7.adb (Build_Finalizer_Call): Set loc again.
60 * exp_ch11.adb (Expand_At_End_Handler): Do not provide a source
61 location for the wrapped call to the original AT_END routine
62 and the subsequent return statement.
64 2012-01-30 Pascal Obry <obry@adacore.com>
66 * s-rannum.adb: Minor reformatting.
68 2012-01-30 Hristian Kirtchev <kirtchev@adacore.com>
70 * a-calend-vms.adb, a-calend.adb: Increment the number of leap seconds
71 to 25 and add the hard time value for 2012-06-30.
73 2012-01-30 Robert Dewar <dewar@adacore.com>
75 * a-strhas.ads, einfo.adb, einfo.ads, exp_ch7.adb, exp_ch9.adb,
76 freeze.adb, prj.adb, prj.ads, prj-nmsc.adb, prj-proc.adb, s-llflex.ads,
77 s-ransee.adb, s-ransee.ads, sem_ch13.adb, sem_dim.adb, sem_prag.adb:
78 Minor reformatting/code reorganization.
80 2012-01-30 Thomas Quinot <quinot@adacore.com>
82 * s-rannum.adb, s-ransee.adb, s-ransee.ads (Get_Seed): Return
83 Unsigned_64 rather than Duration.
84 (System.Random_Numbers.Reset): Use full value of seed
85 (do not truncate sub-second bits).
87 2012-01-30 Thomas Quinot <quinot@adacore.com>
89 * sem_cat.adb, sem_ch12.adb: Minor reformatting.
91 2012-01-30 Yannick Moy <moy@adacore.com>
93 * gnat_ugn.texi: Minor correction of GNAT UG, to take into
94 account changes to -gnatwa and more recent warnings.
96 2012-01-30 Hristian Kirtchev <kirtchev@adacore.com>
98 * exp_ch7.adb (Build_Finalizer_Call): Do not provide a source
99 location when creating a call to a finalizer.
100 * exp_ch11.adb (Expand_Exception_Handlers): Do not provide
101 a source location for the first actual of Save_Occurrence for
104 2012-01-30 Ed Schonberg <schonberg@adacore.com>
106 * einfo.ads, einfo,adb: New attribute on scalar types:
107 Default_Aspect_Value New attribute on array types:
108 Default_Aspect_Component_Value Move attribute Related_Array_Object
109 to a different position to accomodate new aspect attributes.
110 * freeze.adb (Freeze_Entity): Use new attributes to retrieve value
111 of defaults set with an aspect specification, rather than using
112 the list of aspects attached to the type, to prevent issues with
114 * sem_ch13.adb (Analyze_Aspect_Specifications): For aspects
115 Default_Value and Default_Component _Value, store corresponding
116 expression in type entity.
117 (Check_Aspect_At_End_Of_Declaration): If the default aspects
118 are declared on the full view, use the full view to resolve the
119 correseponding expression.
120 * exp_ch3.adb (Init_Component): Use attribute
121 Default_Aspect_Component_Value to perform default initialization,
122 rather than relying on the rep item list for the type.
123 (Get_Simple_Init_Val): Ditto.
125 2012-01-30 Thomas Quinot <quinot@adacore.com>
127 * a-strhas.ads: Document risk of collision attack.
129 2012-01-30 Yannick Moy <moy@adacore.com>
131 * gnat_ugn.texi: Minor update wrt warning switches.
133 2012-01-30 Vincent Celier <celier@adacore.com>
135 * prj-nmsc.adb (Check_Interfaces): Report an error when a
136 unit from Library_Interface is not a unit of the project.
138 2012-01-30 Vincent Pucci <pucci@adacore.com>
140 * sem_prag.adb (Make_Aspect_For_PPC_In_Gen_Sub_Decl): Parent
141 links fixed inside PPC pragmas.
142 * sem_ch12.adb: Move call to Make_Aspect_For_PPC_In_Gen_Sub_Decl.
144 2012-01-30 Thomas Quinot <quinot@adacore.com>
146 * s-ransee.ads: Minor reformatting.
148 2012-01-30 Pascal Obry <obry@adacore.com>
150 * prj.ads, prj.adb (For_Each_Source): Add support for skipping
151 sources coming from an encapsulated library.
153 2012-01-30 Ed Schonberg <schonberg@adacore.com>
155 * sem_ch3.adb (Process-Full_View): fix typo.
156 * sem_ch13.adb (Aalyze_Aspect_Specifications): if predicates
157 appear on a private type and the full view is available, ensure
158 existence of freeze node for full view.
159 (Build_Predicate_Function): Attach predicate function to both
160 views of a private type.
162 2012-01-30 Vincent Celier <celier@adacore.com>
164 * prj-nmsc.adb (Check_Interfaces): Compute the Lib_Interface_ALIs
165 for the project if either attribute Library_Interface or
166 Interfaces is declared.
167 (Check_Stand_Alone_Library): Use Lib_Interface_ALIs computed in
170 2012-01-30 Pascal Obry <obry@adacore.com>
172 * prj-proc.adb (Recursive_Process): Set From_Encapsulated_Lib
173 boolean value to true in the process list created by this routine.
174 * prj.ads (Project_List_Element): New field From_Encapsulated_Lib.
175 Continued work for KA06-021.
176 * prj.adb (Compute_All_Imported_Projects): Set
177 From_Encapsulated_Lib boolean flag.
179 2012-01-30 Vincent Pucci <pucci@adacore.com>
181 * sem_dim.adb (Expand_Put_Call_With_Dimension_Symbol): Minor
183 * s-diflio.ads: Minor change.
185 2012-01-30 Javier Miranda <miranda@adacore.com>
187 * exp_ch9.adb (Build_Dispatching_Requeue): Add missing call
188 to Get_Entry_Index. Required to generate code which provides
189 the correct value of Entry_Index in the target entry.
191 2012-01-30 Nicolas Roche <roche@adacore.com>
193 * system-vxworks-ppc.ads: Add pragma Linker_Options -crtbe to
194 fix issue with zcx on VxWorks5.
196 2012-01-30 Pascal Obry <obry@adacore.com>
198 * prj.ads, prj.adb (For_Every_Project_Imported): Remove
200 (For_Every_Project_Imported_Context): New generic routine with
202 * prj-nmsc.adb: Revert to use For_Every_Project_Imported Avoid
203 distributed complexity.
204 * prj-env.adb, prj-conf.adb, makeutl.adb, gnatcmd.adb: Ditto.
206 2012-01-30 Thomas Quinot <quinot@adacore.com>
208 * exp_aggr.adb (Expand_Record_Aggregate): After creating the
209 _parent aggregate for an extension aggregate, check whether it
210 requires delayed (top-down) expansion.
212 2012-01-30 Vincent Pucci <pucci@adacore.com>
214 * sem_dim.adb (Expand_Put_Call_With_Dimension_Symbol): Rewritten.
215 * snames.ads-tmpl: Name_Item and Name_Symbols added.
216 * s-diflio.adb, s-diflio.ads, s-diinio.adb, s-diinio.ads: Rename
217 and change the position of parameter Symbols in every Put routine.
218 * s-dimmks.ads: Convert long float type Mks_Type into long
220 * s-llflex.ads: Modifications in comments.
222 2012-01-30 Hristian Kirtchev <kirtchev@adacore.com>
224 * sem_ch12.adb (Earlier): Do not use the
225 top level source locations of the two input nodes.
227 2012-01-30 Robert Dewar <dewar@adacore.com>
229 * einfo.ads, sem_prag.adb, sem_attr.adb, aspects.ads,
230 sem_cat.adb, sem_aggr.adb, exp_aggr.adb: Minor reformatting.
232 2012-01-30 Robert Dewar <dewar@adacore.com>
234 * a-cdlili.adb, a-cidlli.adb, a-cbdlli.adb: Minor reformatting.
236 2012-01-30 Olivier Hainque <hainque@adacore.com>
238 * sigtramp-ppcvxw.c (CFI_COMMON_REGS): Add rule for r1 back +
241 2012-01-30 Thomas Quinot <quinot@adacore.com>
243 * gnat_rm.texi, sem_dist.adb, sem_dist.ads, einfo.ads, sem_prag.adb,
244 sem_ch12.adb, sem_attr.adb, aspects.adb, aspects.ads, par-prag.adb,
245 sem_cat.adb, snames.ads-tmpl (Sem_Dist.Is_Valid_Remote_Object_Type):
246 New subprogram (extracted from
247 Sem_Cat.Validate_Remote_Access_Object_Type_Declaration).
248 (Einfo.Is_Remote_Types): Now applies to generic types. Update
249 documentation accordingly.
250 (Sem_Ch12.Analyze_Associations): A RACW type is acceptable as
251 actual for a formal type to which a pragma Remote_Access_Type
253 (Aspects, Par.Prag, Sem_Prag): Support for new pramga/aspect
255 (Sem_Attr.Analyze_Attribute, case Stub_Type): Attribute can
256 be applied to a generic type if pragma Remote_Access_Type
257 applies, in which case the type of the attribute is
258 System.Partition_Interface.RACW_Stub_Type.
260 2012-01-27 Eric Botcazou <ebotcazou@adacore.com>
262 * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Procedure>: Do not set
263 an alignment on fields of the RETURN type built for the CICO mechanism.
265 2012-01-27 Eric Botcazou <ebotcazou@adacore.com>
267 * gcc-interface/trans.c (gnat_to_gnu): Avoid making a SAVE_EXPR for
268 a call to a function that returns an unconstrained type with default
269 discriminant. Similarly, avoid doing the conversion to the nominal
270 result type in this case.
272 2012-01-27 Eric Botcazou <ebotcazou@adacore.com>
274 * gcc-interface/ada-tree.h (DECL_ALIASED_P): New flag.
275 * gcc-interface/decl.c (is_variable_size): Rename to...
276 (type_has_variable_size): ...this.
277 (adjust_packed): Adjust to above renaming.
278 (gnat_to_gnu_field): Set DECL_ALIASED_P on the field.
279 (field_is_artificial): New predicate.
280 (field_is_aliased): Likewise.
281 (field_has_self_size): Likewise.
282 (field_has_variable_size): Likewise.
283 (components_to_record): Record information for the final layout during
284 the first pass on fields.
285 If there is an aliased field placed after a field whose length depends
286 on discriminants, put all the fields of the latter sort, last.
288 2012-01-27 Eric Botcazou <ebotcazou@adacore.com>
290 * gcc-interface/gigi.h (get_minimal_subprog_decl): Declare.
291 * gcc-interface/decl.c (get_minimal_subprog_decl): New function.
292 * gcc-interface/trans.c (Attribute_to_gnu): Use it for the prefix of an
293 Access-like attribute in a dispatch table if the subprogram is public.
295 2012-01-27 Eric Botcazou <ebotcazou@adacore.com>
297 * gcc-interface/gigi.h (create_label_decl): Adjust.
298 * gcc-interface/utils.c (create_label_decl): Add GNAT_NODE parameter
299 and invoke gnat_pushdecl on it. Remove obsolete settings.
300 * gcc-interface/decl.c (gnat_to_gnu_entity) <E_Label>: Adjust call to
302 * gcc-interface/trans.c (gnat_to_gnu) <N_Null): Likewise. Ignore the
303 label for debugging purposes.
305 2012-01-27 Eric Botcazou <ebotcazou@adacore.com>
307 * gcc-interface/decl.c (gnat_to_gnu_entity) <object>: For an aliased
308 object with an unconstrained nominal subtype and if optimization isn't
309 enabled, create a special VAR_DECL for debugging purposes.
311 2012-01-23 Robert Dewar <dewar@adacore.com>
313 * sem_prag.ads, sem_prag.adb: Minor reformatting.
315 2012-01-23 Robert Dewar <dewar@adacore.com>
317 * sem_ch13.adb (Analyze_Aspect_Specifications): Check for
318 language defined aspect applied to renaming or formal type
319 declaration (not permitted)
321 2012-01-23 Matthew Heaney <heaney@adacore.com>
323 * a-cdlili.adb, a-cidlli.adb, a-cbdlli.adb (Vet): Replaced
324 comment with pragma Assert.
326 2012-01-23 Vincent Pucci <pucci@adacore.com>
328 * sem_ch12.adb (Analyze_Generic_Subprogram_Declaration): Call
329 to Make_Aspect_For_PPC_In_Gen_Sub_Decl added in ASIS mode.
330 * sem_prag.adb, sem_prag.ads (Make_Aspect_For_PPC_In_Gen_Sub_Decl): New
331 routine. In ASIS mode, convert any PPC pragmas into aspects in generic
332 subprogram declaration in order to enable the analysis of PPC boolean
335 2012-01-23 Robert Dewar <dewar@adacore.com>
337 * sem_ch3.adb (Analyze_Object_Declaration): Properly
338 handle Current_Value for volatile variables (also propagate
339 Treat_As_Volatile from type to object).
341 2012-01-23 Hristian Kirtchev <kirtchev@adacore.com>
343 * sem_ch12.adb (Install_Body): Detect the case
344 where the enclosing context is a package with a stub body that
345 has already been replaced by the actual body. In such cases,
346 the freeze node for the enclosing context must be inserted after
349 2012-01-23 Ed Schonberg <schonberg@adacore.com>
351 * sem_prag.adb (Analyze_Pragma, case Debug): Freeze the called
352 subprogram before expanding the pragma into an if-statement with
353 a block, to ensure that when the subprogram is null its body is
354 properly generated before expansion.
356 2012-01-23 Hristian Kirtchev <kirtchev@adacore.com>
358 * sem_ch12.adb (Analyze_Associations): Alphabetize local variables and
359 constants. Rename Actual_Types to Actuals_To_Freeze. Rename Next_Formal
361 Freeze all eligible subprograms which appear as actuals in
363 (Has_Fully_Defined_Profile): New routine.
364 (Renames_Standard_Subprogram): New routine.
365 (Earlier): Add local variable N. Comment update. Do not use source
366 locations when trying to determine whether one node precedes another.
368 2012-01-23 Gary Dismukes <dismukes@adacore.com>
370 * exp_ch4.adb (Expand_Concatenate): In the case
371 where the result of a concatentation can be null, set the to
372 result have both the low and high bounds of the right operand (not
373 just the high bound, as was the case prior to this fix). Also,
374 fix the saved high bound setting (Last_Opnd_High_Bound) in the
375 empty string literal case (should have been low bound minus one,
376 rather than plus one).
378 2012-01-23 Thomas Quinot <quinot@adacore.com>
380 * scos.ads, put_scos.adb, get_scos.adb (Get_SCOs, Put_SCOs): Do not
381 omit statement SCOs for disabled pragmas.
383 2012-01-23 Matthew Heaney <heaney@adacore.com>
385 * a-cohase.ads, a-cihase.ads, a-cbhase.ads, a-coorse.ads,
386 a-ciorse.ads, a-cborse.ads, a-cohama.ads, a-cihama.ads, a-cbhama.ads,
387 a-coorma.ads, a-ciorma.ads, a-cborma.ads, a-cdlili.ads, a-cidlli.ads,
388 a-cbdlli.ads, a-convec.ads, a-coinve.ads, a-cobove.ads (Cursor'Read,
389 Cursor'Write): Declare in private part.
390 (Reference_Type'Read, Reference_Type'Write): Ditto.
391 (Constant_Reference_Type'Read, Constant_Reference_Type'Write): Ditto.
393 2012-01-23 Robert Dewar <dewar@adacore.com>
395 * a-catizo.ads, a-calend.adb, a-calend.ads, par-ch13.adb: Minor
398 2012-01-23 Ed Schonberg <schonberg@adacore.com>
400 * sem_ch6.adb (Analyze_Subprogram_Declaration): Do not set the
401 Corresponding_Body on a defaulted null formal subprogram.
402 * sem_ch12.adb (Check_Formal_Package_Instance): No check needed
403 on a defaulted formal subprogram that is a null procedure.
405 2012-01-23 Hristian Kirtchev <kirtchev@adacore.com>
407 * exp_ch9.adb: Update the comments involving pragma Implemented.
408 * sem_ch3.adb (Check_Pragma_Implemented (Entity_Id)): Add local
409 constant Subp_Alias and local variable Impl_Subp. Properly
410 handle aliases of synchronized wrappers. Code cleanup.
411 (Check_Pragma_Implemented (Entity_Id; Entity_Id)): Add
412 Name_Optional as part of the condition.
413 * sem_prag.adb (Analyze_Pragma): Add "Optional" as one of the
414 valid choices of implementation kind.
415 (Check_Arg_Is_One_Of): New routine.
416 * snames.ads-tmlp: Add Name_Optional.
418 2012-01-23 Ed Schonberg <schonberg@adacore.com>
420 * par-ch13.adb: Better error recovery in illegal aspect
423 2012-01-23 Hristian Kirtchev <kirtchev@adacore.com>
425 * a-calend.adb: Add with clause for Interfaces.C. Add constant
427 (Day_Of_Week): Call the internal UTC_Time_Offset.
428 (Split): Call the internal UTC_Time_Offset.
429 (Time_Of): Call the internal UTC_Time_Offset.
430 (Time_Zone_Operations.UTC_Time_Offset): Call internal UTC_Time_Offset.
431 (UTC_Time_Offset): New library-level routine.
432 * a-calend.ads (UTC_Time_Offset): Remove parameter
433 Is_Historic. Update related comment on usage.
434 * a-catizo.adb (UTC_Time_Offset): Removed.
435 (UTC_Time_Offset (Time)): Call Time_Zone_Operations.UTC_Time_Offset.
436 * a-caltizo.ads (UTC_Time_Offset): Removed.
437 (UTC_Time_Offset (Time)): Add back the default expression of parameter
440 2012-01-23 Robert Dewar <dewar@adacore.com>
442 * sprint.ads, sprint.adb (Sprint_Node_List): Add New_Lines parameter
443 (pg,po,ps): Make sure each entry starts on new line.
445 2012-01-23 Hristian Kirtchev <kirtchev@adacore.com>
447 * a-calend.ads, a-calend.adb: Define types int and int_Pointer. Update
448 the parameter profile of procedure localtime_tzoff and its associated
450 (Day_Of_Week): Do not treat the input date as historical
451 with respect to time zones.
452 (Split): Do not treat the input
453 date as historical with respect to time zones. (Time_Of): Do
454 not treat the input constituents as forming a historical date
455 with respect to time zones.
456 (UTC_Time_Offset): Add new formal
457 parameter Is_Historic. Add local variable Flag. Update the call
459 * a-catizo.ads, a-catizo.adb (UTC_Time_Offset): New routine.
460 (UTC_Time_Offset (Time)): Update the call to
461 Time_Zone_Operations.UTC_Time_Offset.
462 * sysdep.c (__gnat_localtime_tzoff): Update parameter
463 profile. Split the processing of offsets on Windows into two - one
464 part of historic time stamps and the other for the current time.
466 2012-01-23 Robert Dewar <dewar@adacore.com>
468 * a-calend.adb: Minor reformatting.
470 2012-01-23 Ed Schonberg <schonberg@adacore.com>
472 * exp_ch9.adb, sem_ch9.adb: Handle array of access to synchronized
473 interface in requeue statement.
475 2012-01-23 Cyrille Comar <comar@adacore.com>
477 * projects.texi: Remove references to main units and replace
478 with references to main programs to be coherent with the
481 2012-01-23 Robert Dewar <dewar@adacore.com>
483 * s-utf_32.adb: Minor reformatting.
485 2012-01-23 Vincent Celier <celier@adacore.com>
487 * snames.ads-tmpl: Minor comment addition Indicate that
488 Name_Library_Encapsulated_Options is only used in gprbuild.
490 2012-01-23 Robert Dewar <dewar@adacore.com>
492 * sem_ch10.adb (Analyze_Subunit): Properly save/restore cunit
495 2012-01-23 Ed Schonberg <schonberg@adacore.com>
497 * snames.ads-tmpl: Add Name_Synchronization.
498 * aspects.ads, aspects.adb: Add Aspect_Synchronization to
499 enumeration type and related maps.
500 * sem_ch13.adb (Analyze_Aspect_Specifications): Handle Aspect
501 Synchronization, build corresponding pragma Implemented.
502 * sem_util.adb (Implementation_Kind): Handle both explicit and
503 implicit pragma_argument association to retrieve the given
504 synchronization mode.
506 2012-01-23 Robert Dewar <dewar@adacore.com>
508 * sem_ch10.adb, errout.adb: Minor reformatting.
510 2012-01-23 Ed Schonberg <schonberg@adacore.com>
512 * sem_res.adb (Resolve_Actuals): An actual in a call to an
513 Ada 2012 Reference function does not lead to a dangerous order
516 2012-01-23 Gary Dismukes <dismukes@adacore.com>
518 * exp_util.adb (Is_Iterated_Container): Test
519 Is_Entity_Name when searching for calls to the default iterator,
520 to avoid blowing up on indirect calls which have an explicit
521 dereference as the call name.
523 2012-01-23 Thomas Quinot <quinot@adacore.com>
525 * errout.adb (Set_Msg_Node): For an N_Expanded_Name, output
526 the complete expanded name, rather than just its Selector_Name.
528 2012-01-23 Thomas Quinot <quinot@adacore.com>
530 * a-textio.adb (Put): Rewrite one-parameter Character version to
531 just call the two-parameter one with Current_Out.
533 2012-01-23 Hristian Kirtchev <kirtchev@adacore.com>
535 * freeze.adb (Check_Current_Instance): Issue an
536 error when the prefix of 'Unchecked_Access or 'Access does not
537 denote a legal aliased view of a type.
538 (Freeze_Record_Type): Do not halt the processing of record components
539 once the Has_Controlled_Component is set as this bypasses the remaining
541 (Is_Aliased_View_Of_Type): New routine.
543 2012-01-23 Thomas Quinot <quinot@adacore.com>
545 * errout.ads, freeze.adb: Minor reformatting.
547 2012-01-23 Thomas Quinot <quinot@adacore.com>
549 * sem_ch10.adb, sem_prag.adb: Remove redundant apostrophes in error
552 2012-01-23 Olivier Hainque <hainque@adacore.com>
554 * adadecode.c (__gnat_decode): Deal with empty input early,
555 preventing potential erroneous memory access later on.
557 2012-01-21 Eric Botcazou <ebotcazou@adacore.com>
560 * gcc-interface/decl.c (gnat_to_gnu_entity) <object>: In the case of a
561 renaming, preserve the volatileness through the indirection, if any.
563 2012-01-14 Andreas Schwab <schwab@linux-m68k.org>
565 * gcc-interface/Makefile.in (OSCONS_EXTRACT): Add
568 2012-01-10 Pascal Obry <obry@adacore.com>
570 * prj-nmsc.adb (Check_Library_Attributes):
571 Kill check for object/source directories for aggregate libraries.
573 2012-01-10 Matthew Heaney <heaney@adacore.com>
575 * a-cdlili.adb, a-cdlili.ads, a-cihama.adb, a-cihama.ads, a-coinve.adb,
576 a-coinve.ads, a-ciorse.adb, a-ciorse.ads, a-coorma.adb, a-coorma.ads,
577 a-cborma.adb, a-cborma.ads, a-cidlli.adb, a-cidlli.ads, a-cimutr.adb,
578 a-cimutr.ads, a-cihase.adb, a-cihase.ads, a-cohama.adb, a-cohama.ads,
579 a-coorse.adb, a-coorse.ads, a-cbhama.adb, a-cbhama.ads, a-cborse.adb,
580 a-cborse.ads, a-comutr.adb, a-comutr.ads, a-ciorma.adb, a-cobove.adb,
581 a-ciorma.ads, a-cobove.ads, a-convec.adb, a-convec.ads, a-cohase.adb,
582 a-cohase.ads, a-cbdlli.adb, a-cbdlli.ads, a-cbmutr.adb, a-cbmutr.ads,
583 a-cbhase.adb, a-cbhase.ads (Reference, Constant_Reference): Declare
584 container parameter as aliased in/in out.
587 2012-01-10 Bob Duff <duff@adacore.com>
589 * s-os_lib.ads: Improve comment.
591 2012-01-10 Geert Bosch <bosch@adacore.com>
593 * s-gearop.adb (Forward_Eliminate): Avoid improper aliasing
596 2012-01-10 Bob Duff <duff@adacore.com>
598 * sem_intr.adb (Check_Shift): Use RM_Size instead of Esize, when
599 checking that the 'Size is correct. If the type is "mod 2**12",
600 for example, it's illegal, but Esize is the 'Object_Size, which
601 will be something like 16 or 32, so the error ('Size = 12) was
603 * gnat_rm.texi: Improve documentation of shift
604 and rotate intrinsics.
606 2012-01-10 Pascal Obry <obry@adacore.com>
608 * prj.adb (For_Every_Project_Imported): Fix
609 implementation to make sure we return each project only once
610 for aggragte libraries. It is fine to return a project twice for
611 aggregate projects, this was the case as a Project_Id is different
612 in each project tree. The new implementation use a table based on
613 the project name to ensure proper detection of duplicate project
614 in aggregate library. A new context is then created to continue
615 retrurning duplicate project for aggregate libraries.
617 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
619 * gcc-interface/trans.c (call_to_gnu): Create the temporary for the
620 return value in the variable-sized return type case if the target is
621 an array with fixed size. However, do not create it if this is the
622 expression of an object declaration.
624 2012-01-09 Eric Botcazou <ebotcazou@adacore.com>
626 * gcc-interface/trans.c (addressable_p) <COMPONENT_REF>: Fix thinko.
628 2012-01-06 Robert Dewar <dewar@adacore.com>
630 * a-wichha.ads, a-wichun.ads, a-zchhan.ads, a-zchuni.ads,
631 s-utf_32.ads: Add pragma Pure
632 * s-utf_32.adb: Suppress warnings on non-static constants (now
635 2012-01-06 Bob Duff <duff@adacore.com>
637 * s-rpc.ads (Read, Write): Add overriding indicators.
639 2012-01-06 Robert Dewar <dewar@adacore.com>
641 * gnat_rm.texi: Add documentation for conventions
642 Ada_Pass_By_Copy and Ada_Pass_By_Reference.
644 2012-01-06 Gary Dismukes <dismukes@adacore.com>
646 * a-tienio.adb (Put): Add exception message on
647 raise statements. Remove unneeded blocks and object declarations.
649 2012-01-06 Robert Dewar <dewar@adacore.com>
651 * sem_prag.adb: Minor reformatting.
653 2012-01-06 Ed Schonberg <schonberg@adacore.com>
655 * sinfo.ads, sinfo.adb (Has_Prefixed_Call): New flag to indicate
656 that a selected component within a generic unit has been resolved
657 as a prefixed call with local references.
658 * sem_ch3.adb (Is_Visible_Component): In an instance body a selected
659 component is always visible.
660 * sem_ch4.adb (Analyze_Selected_Component): If the node is a
661 prefixed call in an instance, do not look for visible components
663 * sem_ch12.adb (Reset_Entity): If a selected component has resolved
664 to a prefixed call, mark the node accordingly when prefix and
665 selector are local references.
667 2012-01-02 Eric Botcazou <ebotcazou@adacore.com>
669 * gnatvsn.ads (Current_Year): Bump to 2012.
671 Copyright (C) 2012 Free Software Foundation, Inc.
673 Copying and distribution of this file, with or without modification,
674 are permitted in any medium without royalty provided the copyright
675 notice and this notice are preserved.