URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [ada/] [ChangeLog] - Rev 706
Compare with Previous | Blame | View Log
2012-02-29 Eric Botcazou <ebotcazou@adacore.com>* gcc-interface/decl.c (components_to_record): Add ARTIFICIAL parameterand set TYPE_ARTIFICIAL according to it. Adjust recursive call.(gnat_to_gnu_entity) <E_Record_Type>: Adjust call to above function.* gcc-interface/utils.c (rest_of_record_type_compilation): Do notinvoke rest_of_type_decl_compilation on the parallel type, if any.2012-02-29 Eric Botcazou <ebotcazou@adacore.com>* gcc-interface/utils.c (gnat_write_global_declarations): Make sure thedummy global built for global types is preserved.2012-02-27 Tristan Gingold <gingold@adacore.com>* gcc-interface/decl.c (gnat_to_gnu_entity) [E_String_Type,E_Array_Type]: Reuse dummy fat type for gnu_ptr_template andgnu_template_type.2012-02-27 Eric Botcazou <ebotcazou@adacore.com>* gcc-interface/ada-tree.h (TYPE_PACKED_ARRAY_TYPE_P): Add checking.(TYPE_BY_REFERENCE_P): New flag.(TYPE_IS_BY_REFERENCE_P): New macro.(TYPE_DUMMY_P): Add checking and remove VOID_TYPE.(TYPE_IS_DUMMY_P): Adjust for above change.* gcc-interface/decl.c (gnat_to_gnu_entity): Use TYPE_BY_REFERENCE_Pand TYPE_IS_BY_REFERENCE_P instead of TREE_ADDRESSABLE.(gnat_to_gnu_param): Likewise.(maybe_pad_type): Likewise.(make_type_from_size): Use TYPE_IS_PACKED_ARRAY_TYPE_P.* gcc-interface/misc.c (must_pass_by_ref): Use TYPE_IS_BY_REFERENCE_Pinstead of TREE_ADDRESSABLE.* gcc-interface/trans.c (finalize_nrv): Likewise.(call_to_gnu): Likewise. Do not create a temporary for return valueswith by-reference type here.(gnat_to_gnu): Test TYPE_IS_DUMMY_P instead of TYPE_DUMMY_P.(gnat_gimplify_expr) <ADDR_EXPR>: Don't do anything for non-constantCONSTRUCTORs and calls.* gcc-interface/utils.c (make_dummy_type): Get the equivalent type ofthe underlying type and use it throughout. Use TYPE_IS_BY_REFERENCE_Pinstead of TREE_ADDRESSABLE.* gcc-interface/utils2.c (build_cond_expr): Deal with by-referencetypes explicitly.2012-02-27 Eric Botcazou <ebotcazou@adacore.com>* gcc-interface/decl.c (gnat_to_gnu_entity) <object>: Revert previouschange that creates a special VAR_DECL for debugging purposes. For analiased object with an unconstrained nominal subtype, make its type athin reference to the underlying object.* gcc-interface/utils2.c (build_unary_op) <INDIRECT_REF>: Deal withexpressions built for the initialization of above objects.2012-02-24 Dave Korn <dave.korn.cygwin@gmail.com>* gcc-interface/Makefile.in (WIN_SO_PREFIX [windows targets]): NewWindows-specific make variable.(WIN_SO_INSTALL_DIR [windows targets]): Likewise.(install-gnatlib): Respect the above during installation when set,and also install any windows import library that has been built.(gnatlib-shared-win32): Use WIN_SO_PREFIX to name output DLL and alsobuild a corresponding import library.2012-02-22 Robert Dewar <dewar@adacore.com>* exp_util.adb, make.adb, sem_dim.adb, sem_ch4.adb, exp_disp.adb: Minorreformatting.2012-02-22 Geert Bosch <bosch@adacore.com>* g-bytswa-x86.adb, g-bytswa.adb, gcc-interface/Makefile.in: Removex86-specific version of byteswap and use GCC builtins instead.2012-02-22 Tristan Gingold <gingold@adacore.com>* gcc-interface/decl.c (gnat_to_gnu_entity) [E_String_Type,E_Array_Type]: Translate component ealier.2012-02-22 Robert Dewar <dewar@adacore.com>* par-ch3.adb (P_Signed_Integer_Type_Definition): Specializeerror message for 'Range.2012-02-22 Pascal Obry <obry@adacore.com>* s-taprop-mingw.adb (Finalize_TCB): Do not wait on thread handle asthis is our own thread.2012-02-22 Sergey Rybin <rybin@adacore.com frybin>* tree_io.ads: Update ASIS_Version_Number because of the changesin Snames.2012-02-22 Hristian Kirtchev <kirtchev@adacore.com>* exp_ch7.adb (Create_Finalizer): Suppress elaboration checks onstack-related finalizers.2012-02-22 Ed Schonberg <schonberg@adacore.com>* sem_ch6.adb (Analyze_Expression_Function): If the constructis a completion, indicate that its formals are the formals ofa completion, and as such do not get a cross- reference entry.(Analyze_Subprogram_Specification): Do not generate a definitionfor the entity of an expression function, because it may be acompletion. Definition will be generated if needed when analyzingthe generated subprogram declaration.2012-02-22 Vincent Celier <celier@adacore.com>* make.adb (Check): When checking if an object file is in thecorrect object directory, get the unit name from a previous callto Check_Source_Info_In_ALI.* makeutl.adb (Check_Source_Info_In_ALI): Return the name ofthe unit when everything is OK, otherwise return No_Name.* makeutl.ads (Check_Source_Info_In_ALI): Return Name_Id insteadof Boolean2012-02-22 Ed Schonberg <schonberg@adacore.com>* sem_ch4.adb (Find_Equality_Types, Try_One_Interp): In aninstance, the operator is visible if an operand is of somenumeric type which is not in use or directly visible, and theother operand is a numeric literal.2012-02-22 Tristan Gingold <gingold@adacore.com>* init.c: Minor code clean up.* gcc-interface/Make-lang.in: Update dependencies.2012-02-22 Arnaud Charlet <charlet@adacore.com>* gnatlink.adb (Gnatlink): Use -gnatcC in CodePeer_Node,otherwise GCC will generate an object file.2012-02-22 Vincent Celier <celier@adacore.com>* projects.texi: Correct typo related to "**" in Source_Dirs.2012-02-22 Steve Baird <baird@adacore.com>* sem_prag.adb (Analyze_PPC_In_Decl_Part): Clean up generation oferror message text.2012-02-22 Vincent Pucci <pucci@adacore.com>* rtsfind.adb (Get_Unit_Name): Ada_Numerics_Child andSystem_Dim_Child cases added.* rtsfind.ads: Ada_Numerics,Ada_Numerics_Generic_Elementary_Functions, System_Dim,System_Dim_Float_IO and System_Dim_Integer_IO added to the listof RTU_Id. Ada_Numerics_Child and System_Dim_Child added asnew RTU_Id subtypes.* sem_dim.adb (Is_Dim_IO_Package_Entity): Use ofRtsfind to verify the package entity is located eitherin System.Dim.Integer_IO or in System.Dim.Float_IO.(Is_Dim_IO_Package_Instantiation): Minorchanges. (Is_Elementary_Function_Call): Removed.(Is_Elementary_Function_Entity): New routine.(Is_Procedure_Put_Call): Is_Dim_IO_Package_Entity call added.* snames.ads-tmpl: Name_Dim and Name_Generic_Elementary_Functionsremoved.2012-02-22 Vincent Pucci <pucci@adacore.com>* sem_prag.adb: Minor reformatting.2012-02-22 Ed Schonberg <schonberg@adacore.com>* sem_ch3.adb (Find_Type_Name): When analyzing a private typedeclaration that is the completion of a tagged incomplete type, donot associate the class-wide type already created with the privatetype to prevent order-of-elaboration issues in the back-end.* exp_disp.adb (Find_Specific_Type): Find specific type ofa class-wide type, and handle the case of an incomplete typecoming either from a limited_with clause or from an incompletetype declaration. Used when expanding a dispatchin call andgenerating tag checks (minor refactoring).2012-02-22 Robert Dewar <dewar@adacore.com>* exp_ch5.adb: Add comment.* sem_ch12.adb, exp_ch6.adb: minor reformatting2012-02-22 Ed Schonberg <schonberg@adacore.com>* freeze.adb (Freeze_Entity): Do not perform type layout withina generic unit.2012-02-22 Eric Botcazou <ebotcazou@adacore.com>* init.c (__gnat_error_handler) [Linux]: Map SIGBUS toStorage_Error.2012-02-22 Ed Schonberg <schonberg@adacore.com>* exp_ch5.adb (Expand_N_Assignment_Statement): Reject anassignment to a classwide type whose type is limited, ascan happen in an instantiation in programs that run afoul orAI05-0087.2012-02-17 Ed Schonberg <schonberg@adacore.com>* exp_ch6.adb (Legal_Copy): If layout is notdetermined in the front-end, do not emit error message whenby-reference actual is potentially unaligned.* gcc-interface/decl.c (gnat_to_gnu_field): Better error message forillegal representation clause on tagged or aliased component, or onby-reference type with forced alignment.2012-02-17 Nicolas Roche <roche@adacore.com>* gcc-interface/Makefile.in: Ensure FORCE_DEBUG_ADAFLAGS variables ispropagated by gnatlib-sjlj and gnatlib-zcx targets.* gcc-interface/Make-lang.in: Update dependencies.2012-02-17 Thomas Quinot <quinot@adacore.com>* sem_ch12.adb (Analyze_Package_Instantiation): For aninstantiation in an RCI library unit, omit the instance bodyif the RCI library unit is the instance itself (E.2.3(18)),but include the body if the instantiation is within the RCIdeclaration (12.3(12)).2012-02-17 Steve Baird <baird@adacore.com>* sem_prag.adb (Analyze_PPC_In_Decl_Part): Pre'Class andPost'Class aspects can only be specified for a primitive operationof a tagged type.2012-02-17 Yannick Moy <moy@adacore.com>* gnat_rm.texi: Minor shuffling.2012-02-17 Ed Schonberg <schonberg@adacore.com>* aspects.adb: Expression functions can carry pre/postconditions.* par-ch6.adb (P_Subprogram): look for optional pre/postconditionsin an expression function.* sem_prag (Check_Precondition_Postcondition): legal on expressionfunctions.2012-02-17 Vincent Pucci <pucci@adacore.com>* a-cdlili.adb, a-cidlli.adb, a-cihama.adb, a-cimutr.adb,* a-ciorma.adb, a-cohama.adb, a-coinve.adb, a-comutr.adb,* a-convec.adb, a-coorma.adb (Adjust): New routine.(Constant_Reference): Increment Busy and Lock counters.(Reference): Increase Busy and Lock counters.(Finalize): New routine.* a-cihase.adb, a-ciorse.adb, a-cohase.adb, a-coorse.adb:(Adjust): New routine. (Constant_Reference): Increment Busyand Lock counters.(Finalize): New routine.* a-cdlili.ads, a-cidlli.ads, a-cihama.ads, a-cihase.ads,* a-cimutr.ads, a-ciorma.ads, a-ciorse.ads, a-cohama.ads,* a-cohase.ads, a-coinve.ads, a-comutr.ads, a-convec.ads,* a-coorma.ads, a-coorse: Controlled component added to thereference types.2012-02-17 Robert Dewar <dewar@adacore.com>* restrict.adb (Check_Restriction): Add special handling forNo_Obsolescent_Features.2012-02-17 Hristian Kirtchev <kirtchev@adacore.com>* exp_util.adb (Find_Finalize_Address): When dealing with aninternally built full view for a type with unknown discriminants,use the original record type.2012-02-17 Robert Dewar <dewar@adacore.com>* sem_dim.adb: Minor reformatting.2012-02-17 Yannick Moy <moy@adacore.com>* gnat_rm.texi: Minor rewording.2012-02-17 Thomas Quinot <quinot@adacore.com>* sem_aggr.adb: Minor reformatting.2012-02-17 Robert Dewar <dewar@adacore.com>* gnat_ugn.texi: Update doc for -gnatw.m to include 2*x case.2012-02-17 Vincent Pucci <pucci@adacore.com>* sem_dim.adb (Is_Dim_IO_Package_Entity): New routine.(Is_Dim_IO_Package_Instantiation): Is_Dim_IO_Package_Entitycall added.(Is_Procedure_Put_Call): Is_Dim_IO_Package_Entitycall added.* s-dim.ads: Make package Pure.2012-02-17 Gary Dismukes <dismukes@adacore.com>* prj-nmsc.adb: Minor reformatting.2012-02-17 Yannick Moy <moy@adacore.com>* gnat_rm.texi: Update GNAT RM with a separate chapter on restrictions.2012-02-17 Yannick Moy <moy@adacore.com>* gnat_ugn.texi: Fix typos.2012-02-17 Pascal Obry <obry@adacore.com>* prj-nmsc.adb: prj-nmsc.adb (Check_Aggregated): Check that anaggregate is not Externally_Built.2012-02-17 Ed Schonberg <schonberg@adacore.com>* sem_aggr.adb (Resolve_Record_Aggregate): If a compositecomponent has a box association, copy the default value usingthe current scope as the scope of internal types, to preventscoping anomalies in gigi.2012-02-17 Robert Dewar <dewar@adacore.com>* sem_dim.adb, sem_dim.ads, s-tasren.adb, prj.adb, prj.ads, freeze.adb,sem_res.adb, exp_ch4.adb, sinput.adb, sinput.ads, exp_aggr.adb,exp_intr.adb, s-os_lib.adb: Minor reformatting.2012-02-17 Ed Schonberg <schonberg@adacore.com>* sem_ch6.adb (Is_Non_Overriding_Operation): Add warning if theold operation is abstract, the relevant type is not abstract,and the new subprogram fails to override.2012-02-15 Eric Botcazou <ebotcazou@adacore.com>* gcc-interface/trans.c (Identifier_to_gnu): Move block retrieving thetype of the result to the end and execute it for a deferred constant ofa discriminated type whose full view can be elaborated statically.2012-02-15 Eric Botcazou <ebotcazou@adacore.com>* gcc-interface/trans.c (gnat_to_gnu) <N_Qualified_Expression>: If thetype is tagged, mark it as used for debugging purposes.<N_Allocator>: Likewise for a qualified expression.2012-02-15 Eric Botcazou <ebotcazou@adacore.com>* gcc-interface/trans.c (call_to_gnu): Create the temporary for thereturn value in the by-reference return type case if this isn't theexpression of an object declaration. Tidy up.2012-02-09 Tristan Gingold <gingold@adacore.com>* gcc-interface/Makefile.in: Remove .sym rule (not used).Remove adamsg.o object (requires native message compiler).* init.c (CMA$_EXIT_THREAD, MTH$_FLOOVEMAT, SS$_INTDIV): Define as amacro instead of as extern int.(ADA$_ALREADY_OPEN, ADA$_CONSTRAINT_ERRO, ADA$_DATA_ERROR)(ADA$_DEVICE_ERROR, ADA$_END_ERROR, ADA$_FAC_MODE_MISMAT)(ADA$_IOSYSFAILED, ADA$_KEYSIZERR, ADA$_KEY_MISMATCH)(ADA$_LAYOUT_ERROR, ADA$_LINEXCMRS, ADA$_MAXLINEXC)(ADA$_MODE_ERROR, ADA$_MRN_MISMATCH, ADA$_MRS_MISMATCH)(ADA$_NAME_ERROR, ADA$_NOT_OPEN, ADA$_ORG_MISMATCH)(ADA$_PROGRAM_ERROR, ADA$_RAT_MISMATCH, ADA$_RFM_MISMATCH)(ADA$_STAOVF, ADA$_STATUS_ERROR, ADA$_STORAGE_ERROR)(ADA$_UNSUPPORTED, ADA$_USE_ERROR): Likewise.(struct cond_except): Field cond is now an unsigned int.(dec_ada_cond_except_table): Adjust.(cond_except_table): Likewise.(cond_resignal_table): Likewise.(__gnat_default_resignal_p): Fix style.2012-02-08 Vincent Celier <celier@adacore.com>* gcc-interface/Make-lang.in: Add g-byorma.o to gnatbind objects(g-buorma is now imported by sinput).Update dependencies.* scn.adb (Initialize_Scanner): Call Check_For_BOM* sinput-p.adb (Source_File_Is_Subunit): Call Check_For_BOM* sinput.adb: New procedure Check_For_BOM* sinput.ads: New procedure Check_For_BOM2012-02-08 Vincent Pucci <pucci@adacore.com>* impunit.adb: Dimension package names updated* Makefile.rtl: s-dim added* sem_dim.adb (Is_Procedure_Put_Call): minor changes(Is_Dim_IO_Package_Instantiation): minor changes* sem_dim.ads: minor changes in comments* snames.ads-tmpl: Name_Dim added Name_Dim_Float_IO andName_Dim_Integer_IO removed* s-dim.ads: New package. Define the dimension terminology.* s-diflio.adb, s-diinio.adb, s-dimkio.ads, s-dimmks.ads,* s-dmotpr.ads: Package names updated.* s-diflio.ads, s-diinio.ads: Documentation added and packagenames updated.2012-02-08 Gary Dismukes <dismukes@adacore.com>* gcc-interface/utils2.c (build_call_alloc_dealloc_proc): Revise testfor storage pools to test for an underlying record type rather thantesting Is_Tagged_Type, so that simple storage pools will be handledthe same as normal Ada storage pools.2012-02-08 Yannick Moy <moy@adacore.com>* gnat_rm.texi: Minor reshuffling to place restriction atappropriate place.2012-02-08 Bob Duff <duff@adacore.com>* warnsw.adb (Set_Warning_Switch): Set Warn_On_Suspicious_Modulus_ValueFalse for '-gnatwA', to suppress these warnings.2012-02-08 Vincent Celier <celier@adacore.com>* sinput-p.adb (Source_File_Is_Subunit): Check for BOM beforestarting to scan, so that UTF8 encoding is taken into account.2012-02-08 Arnaud Charlet <charlet@adacore.com>* s-tasren.adb, s-tasren.ads (Internal_Complete_Rendezvous): Newfunction.(Complete_Rendezvous): Now call Internal_Complete_Rendezvous.(Exceptional_Complete_Rendezvous): Mark No_Return.2012-02-08 Eric Botcazou <ebotcazou@adacore.com>* exp_aggr.adb (Compile_Time_Known_Composite_Value):New predicate to compute whether a composite value can beevaluated at compile time.(Component_Not_OK_For_Backend): Use Compile_Time_Known_Value for allexpressions of elementary type and Compile_Time_Known_Composite_Valuefor all other expressions.(Expand_Record_Aggregate): Convert to assignments in the caseof a type with mutable components if the aggregate cannot bebuilt statically.2012-02-08 Gary Dismukes <dismukes@adacore.com>* aspects.ads (type Aspect_Id): Add Simple_Storage_Pool_Type.(Impl_Defined_Aspects): Add association forAspect_Simple_Storage_Pool_Type.(Aspect_Names): Addassociation for Aspect_Simple_Storage_Pool_Type.* aspects.adb:(Canonical_Aspect): Add association for Simple_Storage_Pool_Type.* exp_attr.adb (Expand_N_Attribute_Reference):Change name to Name_Simple_Storage_Pool_Type.* exp_ch4.adb (Expand_N_Allocator): Changename to Name_Simple_Storage_Pool_Type.* exp_intr.adb (Expand_Unc_Deallocation): Change name toName_Simple_Storage_Pool_Type. * freeze.adb (Freeze_Entity):Change names to Name_Simple_Storage_Pool_Type. * par-prag.adb:Change names to Name_Simple_Storage_Pool_Type. * sem_attr.adb:(Analyze_Attribute): Change name to Name_Simple_Storage_Pool_Type.* sem_ch13.adb (Analyze_Attribute_Definition_Clause):Change name to Name_Simple_Storage_Pool_Type.* sem_prag.adb:(Analyze_Pragma): Change name to Name_Simple_Storage_Pool_Type.(Sig_Flags): Change name to Name_Simple_Storage_Pool_Type.* sem_res.adb (Resolve_Allocator): Change name toName_Simple_Storage_Pool_Type. * snames.ads-tmpl:(Name_Simple_Storage_Pool_Type): New name constant.(type Pragma_Id): Change name to Name_Simple_Storage_Pool_Type andmove to main pragma section because it no longer matches theattribute name.* snames.adb-tmpl (Get_Pragma_Id): Remove test forName_Simple_Storage_Pool.(Is_Pragma_Name): Remove test for Name_Simple_Storage_Pool.2012-02-08 Robert Dewar <dewar@adacore.com>* gnat_ugn.texi: Add some clarification to -gnatwA and -gnatws.2012-02-08 Pascal Obry <obry@adacore.com>* prj.adb (Compute_All_Imported_Projects): Use newFor_Project_And_Aggregated_Context to ensure proper context isused for encapsulated aggregate libraries.* prj-proc.adb (Recursive_Process): CallProcess_Aggregated_Projects earlier to ensure that all dependentprojects are set with the proper encapsulated status.2012-02-08 Pascal Obry <obry@adacore.com>* s-os_lib.adb (Normalize_Arguments): Properly escape last \ in nullterminated string.2012-02-08 Pascal Obry <obry@adacore.com>* prj.ads, prj.adb (For_Project_And_Aggregated_Context): Newgeneric routine with a context parameter.2012-02-08 Robert Dewar <dewar@adacore.com>* a-coinve.adb, sem_util.adb, sem_ch8.adb, a-cobove.adb,a-convec.adb: Minor reformatting and code reorganization.2012-02-08 Steve Baird <baird@adacore.com>* sem_cat.adb (In_Preelaborated_Unit): A childunit instantiation does not inherit preelaboration requirementsfrom its parent.2012-02-08 Gary Dismukes <dismukes@adacore.com>* aspects.ads (type Aspect_Id): Add Aspect_Simple_Storage_Pool.(Impl_Defined_Aspects): Add entry for Aspect_Simple_Storage_Pool.(Aspect_Argument): Add Name entry for Aspect_Simple_Storage_Pool.(Aspect_Names): Add entry for Aspect_Simple_Storage_Pool.* aspects.adb (Canonical_Aspect): Add entry forAspect_Simple_Storage_Pool.* exp_attr.adb (Expand_N_Attribute_Reference): Handle case ofAttribute_Simple_Storage_Pool in the same way as Storage_Pool(add conversion, analyze/resolve). For the Storage_Size attribute,for the simple pool case, locate and use the simple pool type'sStorage_Size function (if any), otherwise evaluate to zero.* exp_ch4.adb (Expand_N_Allocator): In the case of an allocatorfor an access type with an associated simple storage pool,locate and use the pool type's Allocate.* exp_intr.adb (Expand_Unc_Deallocation): In the case where theaccess type has a simple storage pool, locate the pool type'sDeallocate procedure (if present) and use it as the procedureto call on the Free operation.* freeze.adb (Freeze_Entity): In the case of a full type fora private type defined with pragma Simple_Storage_Pool, checkthat the full type is also appropriate for the pragma. Fora simple storage pool type, validate that the operationsAllocate, Deallocate (if present), and Storage_Size(if present) are defined with appropriate expected profiles.(Validate_Simple_Pool_Op_Formal): New procedure(Validate_Simple_Pool_Operation): New procedure Add with anduse of Rtsfind.* par-prag.adb: Add Pragma_Simple_Storage_Pool to case statement(no action required).* sem_attr.adb (Analyze_Attribute): For the case of theStorage_Pool attribute, give a warning if the prefix type has anassociated simple storage pool, and rewrite the attribute as araise of Program_Error. In the case of the Simple_Storage_Poolattribute, check that the prefix type has an associated simplestorage pool, and set the attribute type to the pool's type.* sem_ch13.adb (Analyze_Aspect_Specifications): AddAspect_Simple_Storage_Pool case choice.(Analyze_Attribute_Definition_Clause): AddAspect_Simple_Storage_Pool to case for Ignore_Rep_Clauses(no action). Add handling for Simple_Storage_Pool attributedefinition, requiring the name to denote a simple storage poolobject.(Check_Aspect_At_Freeze_Point): For a simple storage poolaspect, set the type to that of the name specified for the aspect.* sem_prag.adb (Analyze_Pragma): Add handling for pragmaSimple_Storage_Pool, requiring that it applies to a library-leveltype declared in a package declaration that is a limited privateor limited record type.* sem_res.adb (Resolve_Allocator): Flag an attempt to call abuild-in-place function in an allocator for an access type witha simple storage pool as unsupported.* snames.ads-tmpl: Add Name_Simple_Storage_Pool.(type Attribute_Id): Add Attribute_Simple_Storage_Pool.(type Pragma_Id): Add Pragma_Simple_Storage_Pool.* snames.adb-tmpl (Get_Pragma_Id): Handle case ofName_Simple_Storage_Pool.(Is_Pragma_Name): Return True for Name_Simple_Storage_Pool.2012-02-08 Cyrille Comar <comar@adacore.com>* projects.texi: Clarify doc for interfaces.2012-02-07 Eric Botcazou <ebotcazou@adacore.com>* gcc-interface/Make-lang.in (GCC_LINKERFLAGS): New variable.(GCC_LINK): Use it.2012-02-01 Tristan Gingold <gingold@adacore.com>* gcc-interface/trans.c (Loop_Statement_to_gnu): Use sizetypeinstead of size_type_node.2012-01-30 Nicolas Roche <roche@adacore.com>* gcc-interface/Make-lang.in: Update dependencies.* gcc-interface/Makefile.in: Use system-vxworks-system-ppc-mils.adswhen needed.Remove Linker_Options -crtbe when building sjlj run-time.2012-01-30 Robert Dewar <dewar@adacore.com>* sem.adb (Analyze): Call Analyze_Mod for N_Op_Mod mode.* sem_ch3.adb (Modular_Type_Declaration): Warn on mod value ofform 2 * small-literal.* sem_ch4.adb (Analyze_Mod): New procedure (warn on suspiciousmod value).* sem_ch4.ads (Analyze_Mod): New procedure.2012-01-30 Ed Schonberg <schonberg@adacore.com>* sem_ch6.adb: sem_ch6.adb (Analyze_Expression_Function): Copytypes and return expression when building spec for implicitbody, to preserve global references that may be present in aninstantiation.2012-01-30 Matthew Heaney <heaney@adacore.com>* a-convec.adb, a-coinve.adb, a-cobove.adb (Sort,Reverse_Elements): Check for cursor tampering.2012-01-30 Ed Schonberg <schonberg@adacore.com>* sem_util.adb (Is_Fully_Initialized_Type): In Ada 2012, atype with aspect Default_Value or Default_Component_Value isfully initialized, and use of variables of such types do notgenerate warnings.2012-01-30 Javier Miranda <miranda@adacore.com>PR ada/15846* sem_ch8.adb (Analyze_Subprogram_Renaming):Handle self-renaming when the renamed entity is referenced usingits expanded name.2012-01-30 Vincent Celier <celier@adacore.com>* projects.texi: Add documentation for attribute Interfaces.2012-01-30 Hristian Kirtchev <kirtchev@adacore.com>* exp_ch7.adb (Build_Finalizer_Call): Set loc again.* exp_ch11.adb (Expand_At_End_Handler): Do not provide a sourcelocation for the wrapped call to the original AT_END routineand the subsequent return statement.2012-01-30 Pascal Obry <obry@adacore.com>* s-rannum.adb: Minor reformatting.2012-01-30 Hristian Kirtchev <kirtchev@adacore.com>* a-calend-vms.adb, a-calend.adb: Increment the number of leap secondsto 25 and add the hard time value for 2012-06-30.2012-01-30 Robert Dewar <dewar@adacore.com>* a-strhas.ads, einfo.adb, einfo.ads, exp_ch7.adb, exp_ch9.adb,freeze.adb, prj.adb, prj.ads, prj-nmsc.adb, prj-proc.adb, s-llflex.ads,s-ransee.adb, s-ransee.ads, sem_ch13.adb, sem_dim.adb, sem_prag.adb:Minor reformatting/code reorganization.2012-01-30 Thomas Quinot <quinot@adacore.com>* s-rannum.adb, s-ransee.adb, s-ransee.ads (Get_Seed): ReturnUnsigned_64 rather than Duration.(System.Random_Numbers.Reset): Use full value of seed(do not truncate sub-second bits).2012-01-30 Thomas Quinot <quinot@adacore.com>* sem_cat.adb, sem_ch12.adb: Minor reformatting.2012-01-30 Yannick Moy <moy@adacore.com>* gnat_ugn.texi: Minor correction of GNAT UG, to take intoaccount changes to -gnatwa and more recent warnings.2012-01-30 Hristian Kirtchev <kirtchev@adacore.com>* exp_ch7.adb (Build_Finalizer_Call): Do not provide a sourcelocation when creating a call to a finalizer.* exp_ch11.adb (Expand_Exception_Handlers): Do not providea source location for the first actual of Save_Occurrence forconsistency sake.2012-01-30 Ed Schonberg <schonberg@adacore.com>* einfo.ads, einfo,adb: New attribute on scalar types:Default_Aspect_Value New attribute on array types:Default_Aspect_Component_Value Move attribute Related_Array_Objectto a different position to accomodate new aspect attributes.* freeze.adb (Freeze_Entity): Use new attributes to retrieve valueof defaults set with an aspect specification, rather than usingthe list of aspects attached to the type, to prevent issues withpartial views.* sem_ch13.adb (Analyze_Aspect_Specifications): For aspectsDefault_Value and Default_Component _Value, store correspondingexpression in type entity.(Check_Aspect_At_End_Of_Declaration): If the default aspectsare declared on the full view, use the full view to resolve thecorreseponding expression.* exp_ch3.adb (Init_Component): Use attributeDefault_Aspect_Component_Value to perform default initialization,rather than relying on the rep item list for the type.(Get_Simple_Init_Val): Ditto.2012-01-30 Thomas Quinot <quinot@adacore.com>* a-strhas.ads: Document risk of collision attack.2012-01-30 Yannick Moy <moy@adacore.com>* gnat_ugn.texi: Minor update wrt warning switches.2012-01-30 Vincent Celier <celier@adacore.com>* prj-nmsc.adb (Check_Interfaces): Report an error when aunit from Library_Interface is not a unit of the project.2012-01-30 Vincent Pucci <pucci@adacore.com>* sem_prag.adb (Make_Aspect_For_PPC_In_Gen_Sub_Decl): Parentlinks fixed inside PPC pragmas.* sem_ch12.adb: Move call to Make_Aspect_For_PPC_In_Gen_Sub_Decl.2012-01-30 Thomas Quinot <quinot@adacore.com>* s-ransee.ads: Minor reformatting.2012-01-30 Pascal Obry <obry@adacore.com>* prj.ads, prj.adb (For_Each_Source): Add support for skippingsources coming from an encapsulated library.2012-01-30 Ed Schonberg <schonberg@adacore.com>* sem_ch3.adb (Process-Full_View): fix typo.* sem_ch13.adb (Aalyze_Aspect_Specifications): if predicatesappear on a private type and the full view is available, ensureexistence of freeze node for full view.(Build_Predicate_Function): Attach predicate function to bothviews of a private type.2012-01-30 Vincent Celier <celier@adacore.com>* prj-nmsc.adb (Check_Interfaces): Compute the Lib_Interface_ALIsfor the project if either attribute Library_Interface orInterfaces is declared.(Check_Stand_Alone_Library): Use Lib_Interface_ALIs computed inCheck_Interfaces.2012-01-30 Pascal Obry <obry@adacore.com>* prj-proc.adb (Recursive_Process): Set From_Encapsulated_Libboolean value to true in the process list created by this routine.* prj.ads (Project_List_Element): New field From_Encapsulated_Lib.Continued work for KA06-021.* prj.adb (Compute_All_Imported_Projects): SetFrom_Encapsulated_Lib boolean flag.2012-01-30 Vincent Pucci <pucci@adacore.com>* sem_dim.adb (Expand_Put_Call_With_Dimension_Symbol): Minorcode clean up.* s-diflio.ads: Minor change.2012-01-30 Javier Miranda <miranda@adacore.com>* exp_ch9.adb (Build_Dispatching_Requeue): Add missing callto Get_Entry_Index. Required to generate code which providesthe correct value of Entry_Index in the target entry.2012-01-30 Nicolas Roche <roche@adacore.com>* system-vxworks-ppc.ads: Add pragma Linker_Options -crtbe tofix issue with zcx on VxWorks5.2012-01-30 Pascal Obry <obry@adacore.com>* prj.ads, prj.adb (For_Every_Project_Imported): RemoveIn_Aggregate_Lib.(For_Every_Project_Imported_Context): New generic routine witha context parameter.* prj-nmsc.adb: Revert to use For_Every_Project_Imported Avoiddistributed complexity.* prj-env.adb, prj-conf.adb, makeutl.adb, gnatcmd.adb: Ditto.2012-01-30 Thomas Quinot <quinot@adacore.com>* exp_aggr.adb (Expand_Record_Aggregate): After creating the_parent aggregate for an extension aggregate, check whether itrequires delayed (top-down) expansion.2012-01-30 Vincent Pucci <pucci@adacore.com>* sem_dim.adb (Expand_Put_Call_With_Dimension_Symbol): Rewritten.* snames.ads-tmpl: Name_Item and Name_Symbols added.* s-diflio.adb, s-diflio.ads, s-diinio.adb, s-diinio.ads: Renameand change the position of parameter Symbols in every Put routine.* s-dimmks.ads: Convert long float type Mks_Type into longlong float.* s-llflex.ads: Modifications in comments.2012-01-30 Hristian Kirtchev <kirtchev@adacore.com>* sem_ch12.adb (Earlier): Do not use thetop level source locations of the two input nodes.2012-01-30 Robert Dewar <dewar@adacore.com>* einfo.ads, sem_prag.adb, sem_attr.adb, aspects.ads,sem_cat.adb, sem_aggr.adb, exp_aggr.adb: Minor reformatting.2012-01-30 Robert Dewar <dewar@adacore.com>* a-cdlili.adb, a-cidlli.adb, a-cbdlli.adb: Minor reformatting.2012-01-30 Olivier Hainque <hainque@adacore.com>* sigtramp-ppcvxw.c (CFI_COMMON_REGS): Add rule for r1 back +comments.2012-01-30 Thomas Quinot <quinot@adacore.com>* gnat_rm.texi, sem_dist.adb, sem_dist.ads, einfo.ads, sem_prag.adb,sem_ch12.adb, sem_attr.adb, aspects.adb, aspects.ads, par-prag.adb,sem_cat.adb, snames.ads-tmpl (Sem_Dist.Is_Valid_Remote_Object_Type):New subprogram (extracted fromSem_Cat.Validate_Remote_Access_Object_Type_Declaration).(Einfo.Is_Remote_Types): Now applies to generic types. Updatedocumentation accordingly.(Sem_Ch12.Analyze_Associations): A RACW type is acceptable asactual for a formal type to which a pragma Remote_Access_Typeapplies.(Aspects, Par.Prag, Sem_Prag): Support for new pramga/aspectRemote_Access_Type.(Sem_Attr.Analyze_Attribute, case Stub_Type): Attribute canbe applied to a generic type if pragma Remote_Access_Typeapplies, in which case the type of the attribute isSystem.Partition_Interface.RACW_Stub_Type.2012-01-27 Eric Botcazou <ebotcazou@adacore.com>* gcc-interface/decl.c (gnat_to_gnu_entity) <E_Procedure>: Do not setan alignment on fields of the RETURN type built for the CICO mechanism.2012-01-27 Eric Botcazou <ebotcazou@adacore.com>* gcc-interface/trans.c (gnat_to_gnu): Avoid making a SAVE_EXPR fora call to a function that returns an unconstrained type with defaultdiscriminant. Similarly, avoid doing the conversion to the nominalresult type in this case.2012-01-27 Eric Botcazou <ebotcazou@adacore.com>* gcc-interface/ada-tree.h (DECL_ALIASED_P): New flag.* gcc-interface/decl.c (is_variable_size): Rename to...(type_has_variable_size): ...this.(adjust_packed): Adjust to above renaming.(gnat_to_gnu_field): Set DECL_ALIASED_P on the field.(field_is_artificial): New predicate.(field_is_aliased): Likewise.(field_has_self_size): Likewise.(field_has_variable_size): Likewise.(components_to_record): Record information for the final layout duringthe first pass on fields.If there is an aliased field placed after a field whose length dependson discriminants, put all the fields of the latter sort, last.2012-01-27 Eric Botcazou <ebotcazou@adacore.com>* gcc-interface/gigi.h (get_minimal_subprog_decl): Declare.* gcc-interface/decl.c (get_minimal_subprog_decl): New function.* gcc-interface/trans.c (Attribute_to_gnu): Use it for the prefix of anAccess-like attribute in a dispatch table if the subprogram is public.2012-01-27 Eric Botcazou <ebotcazou@adacore.com>* gcc-interface/gigi.h (create_label_decl): Adjust.* gcc-interface/utils.c (create_label_decl): Add GNAT_NODE parameterand invoke gnat_pushdecl on it. Remove obsolete settings.* gcc-interface/decl.c (gnat_to_gnu_entity) <E_Label>: Adjust call tocreate_label_decl.* gcc-interface/trans.c (gnat_to_gnu) <N_Null): Likewise. Ignore thelabel for debugging purposes.2012-01-27 Eric Botcazou <ebotcazou@adacore.com>* gcc-interface/decl.c (gnat_to_gnu_entity) <object>: For an aliasedobject with an unconstrained nominal subtype and if optimization isn'tenabled, create a special VAR_DECL for debugging purposes.2012-01-23 Robert Dewar <dewar@adacore.com>* sem_prag.ads, sem_prag.adb: Minor reformatting.2012-01-23 Robert Dewar <dewar@adacore.com>* sem_ch13.adb (Analyze_Aspect_Specifications): Check forlanguage defined aspect applied to renaming or formal typedeclaration (not permitted)2012-01-23 Matthew Heaney <heaney@adacore.com>* a-cdlili.adb, a-cidlli.adb, a-cbdlli.adb (Vet): Replacedcomment with pragma Assert.2012-01-23 Vincent Pucci <pucci@adacore.com>* sem_ch12.adb (Analyze_Generic_Subprogram_Declaration): Callto Make_Aspect_For_PPC_In_Gen_Sub_Decl added in ASIS mode.* sem_prag.adb, sem_prag.ads (Make_Aspect_For_PPC_In_Gen_Sub_Decl): Newroutine. In ASIS mode, convert any PPC pragmas into aspects in genericsubprogram declaration in order to enable the analysis of PPC booleanexpressions.2012-01-23 Robert Dewar <dewar@adacore.com>* sem_ch3.adb (Analyze_Object_Declaration): Properlyhandle Current_Value for volatile variables (also propagateTreat_As_Volatile from type to object).2012-01-23 Hristian Kirtchev <kirtchev@adacore.com>* sem_ch12.adb (Install_Body): Detect the casewhere the enclosing context is a package with a stub body thathas already been replaced by the actual body. In such cases,the freeze node for the enclosing context must be inserted afterthe real body.2012-01-23 Ed Schonberg <schonberg@adacore.com>* sem_prag.adb (Analyze_Pragma, case Debug): Freeze the calledsubprogram before expanding the pragma into an if-statement witha block, to ensure that when the subprogram is null its body isproperly generated before expansion.2012-01-23 Hristian Kirtchev <kirtchev@adacore.com>* sem_ch12.adb (Analyze_Associations): Alphabetize local variables andconstants. Rename Actual_Types to Actuals_To_Freeze. Rename Next_Formalto Saved_Formal.Freeze all eligible subprograms which appear as actuals inthe instantiation.(Has_Fully_Defined_Profile): New routine.(Renames_Standard_Subprogram): New routine.(Earlier): Add local variable N. Comment update. Do not use sourcelocations when trying to determine whether one node precedes another.2012-01-23 Gary Dismukes <dismukes@adacore.com>* exp_ch4.adb (Expand_Concatenate): In the casewhere the result of a concatentation can be null, set the toresult have both the low and high bounds of the right operand (notjust the high bound, as was the case prior to this fix). Also,fix the saved high bound setting (Last_Opnd_High_Bound) in theempty string literal case (should have been low bound minus one,rather than plus one).2012-01-23 Thomas Quinot <quinot@adacore.com>* scos.ads, put_scos.adb, get_scos.adb (Get_SCOs, Put_SCOs): Do notomit statement SCOs for disabled pragmas.2012-01-23 Matthew Heaney <heaney@adacore.com>* a-cohase.ads, a-cihase.ads, a-cbhase.ads, a-coorse.ads,a-ciorse.ads, a-cborse.ads, a-cohama.ads, a-cihama.ads, a-cbhama.ads,a-coorma.ads, a-ciorma.ads, a-cborma.ads, a-cdlili.ads, a-cidlli.ads,a-cbdlli.ads, a-convec.ads, a-coinve.ads, a-cobove.ads (Cursor'Read,Cursor'Write): Declare in private part.(Reference_Type'Read, Reference_Type'Write): Ditto.(Constant_Reference_Type'Read, Constant_Reference_Type'Write): Ditto.2012-01-23 Robert Dewar <dewar@adacore.com>* a-catizo.ads, a-calend.adb, a-calend.ads, par-ch13.adb: Minorreformatting.2012-01-23 Ed Schonberg <schonberg@adacore.com>* sem_ch6.adb (Analyze_Subprogram_Declaration): Do not set theCorresponding_Body on a defaulted null formal subprogram.* sem_ch12.adb (Check_Formal_Package_Instance): No check neededon a defaulted formal subprogram that is a null procedure.2012-01-23 Hristian Kirtchev <kirtchev@adacore.com>* exp_ch9.adb: Update the comments involving pragma Implemented.* sem_ch3.adb (Check_Pragma_Implemented (Entity_Id)): Add localconstant Subp_Alias and local variable Impl_Subp. Properlyhandle aliases of synchronized wrappers. Code cleanup.(Check_Pragma_Implemented (Entity_Id; Entity_Id)): AddName_Optional as part of the condition.* sem_prag.adb (Analyze_Pragma): Add "Optional" as one of thevalid choices of implementation kind.(Check_Arg_Is_One_Of): New routine.* snames.ads-tmlp: Add Name_Optional.2012-01-23 Ed Schonberg <schonberg@adacore.com>* par-ch13.adb: Better error recovery in illegal aspectspecification.2012-01-23 Hristian Kirtchev <kirtchev@adacore.com>* a-calend.adb: Add with clause for Interfaces.C. Add constantUnix_Max.(Day_Of_Week): Call the internal UTC_Time_Offset.(Split): Call the internal UTC_Time_Offset.(Time_Of): Call the internal UTC_Time_Offset.(Time_Zone_Operations.UTC_Time_Offset): Call internal UTC_Time_Offset.(UTC_Time_Offset): New library-level routine.* a-calend.ads (UTC_Time_Offset): Remove parameterIs_Historic. Update related comment on usage.* a-catizo.adb (UTC_Time_Offset): Removed.(UTC_Time_Offset (Time)): Call Time_Zone_Operations.UTC_Time_Offset.* a-caltizo.ads (UTC_Time_Offset): Removed.(UTC_Time_Offset (Time)): Add back the default expression of parameterDate.2012-01-23 Robert Dewar <dewar@adacore.com>* sprint.ads, sprint.adb (Sprint_Node_List): Add New_Lines parameter(pg,po,ps): Make sure each entry starts on new line.2012-01-23 Hristian Kirtchev <kirtchev@adacore.com>* a-calend.ads, a-calend.adb: Define types int and int_Pointer. Updatethe parameter profile of procedure localtime_tzoff and its associatedcomment.(Day_Of_Week): Do not treat the input date as historicalwith respect to time zones.(Split): Do not treat the inputdate as historical with respect to time zones. (Time_Of): Donot treat the input constituents as forming a historical datewith respect to time zones.(UTC_Time_Offset): Add new formalparameter Is_Historic. Add local variable Flag. Update the callto localtime_tzoff.* a-catizo.ads, a-catizo.adb (UTC_Time_Offset): New routine.(UTC_Time_Offset (Time)): Update the call toTime_Zone_Operations.UTC_Time_Offset.* sysdep.c (__gnat_localtime_tzoff): Update parameterprofile. Split the processing of offsets on Windows into two - onepart of historic time stamps and the other for the current time.2012-01-23 Robert Dewar <dewar@adacore.com>* a-calend.adb: Minor reformatting.2012-01-23 Ed Schonberg <schonberg@adacore.com>* exp_ch9.adb, sem_ch9.adb: Handle array of access to synchronizedinterface in requeue statement.2012-01-23 Cyrille Comar <comar@adacore.com>* projects.texi: Remove references to main units and replacewith references to main programs to be coherent with thedocumentation.2012-01-23 Robert Dewar <dewar@adacore.com>* s-utf_32.adb: Minor reformatting.2012-01-23 Vincent Celier <celier@adacore.com>* snames.ads-tmpl: Minor comment addition Indicate thatName_Library_Encapsulated_Options is only used in gprbuild.2012-01-23 Robert Dewar <dewar@adacore.com>* sem_ch10.adb (Analyze_Subunit): Properly save/restore cunitrestrictions.2012-01-23 Ed Schonberg <schonberg@adacore.com>* snames.ads-tmpl: Add Name_Synchronization.* aspects.ads, aspects.adb: Add Aspect_Synchronization toenumeration type and related maps.* sem_ch13.adb (Analyze_Aspect_Specifications): Handle AspectSynchronization, build corresponding pragma Implemented.* sem_util.adb (Implementation_Kind): Handle both explicit andimplicit pragma_argument association to retrieve the givensynchronization mode.2012-01-23 Robert Dewar <dewar@adacore.com>* sem_ch10.adb, errout.adb: Minor reformatting.2012-01-23 Ed Schonberg <schonberg@adacore.com>* sem_res.adb (Resolve_Actuals): An actual in a call to anAda 2012 Reference function does not lead to a dangerous orderdependence.2012-01-23 Gary Dismukes <dismukes@adacore.com>* exp_util.adb (Is_Iterated_Container): TestIs_Entity_Name when searching for calls to the default iterator,to avoid blowing up on indirect calls which have an explicitdereference as the call name.2012-01-23 Thomas Quinot <quinot@adacore.com>* errout.adb (Set_Msg_Node): For an N_Expanded_Name, outputthe complete expanded name, rather than just its Selector_Name.2012-01-23 Thomas Quinot <quinot@adacore.com>* a-textio.adb (Put): Rewrite one-parameter Character version tojust call the two-parameter one with Current_Out.2012-01-23 Hristian Kirtchev <kirtchev@adacore.com>* freeze.adb (Check_Current_Instance): Issue anerror when the prefix of 'Unchecked_Access or 'Access does notdenote a legal aliased view of a type.(Freeze_Record_Type): Do not halt the processing of record componentsonce the Has_Controlled_Component is set as this bypasses the remainingchecks.(Is_Aliased_View_Of_Type): New routine.2012-01-23 Thomas Quinot <quinot@adacore.com>* errout.ads, freeze.adb: Minor reformatting.2012-01-23 Thomas Quinot <quinot@adacore.com>* sem_ch10.adb, sem_prag.adb: Remove redundant apostrophes in errormessages.2012-01-23 Olivier Hainque <hainque@adacore.com>* adadecode.c (__gnat_decode): Deal with empty input early,preventing potential erroneous memory access later on.2012-01-21 Eric Botcazou <ebotcazou@adacore.com>PR ada/46192* gcc-interface/decl.c (gnat_to_gnu_entity) <object>: In the case of arenaming, preserve the volatileness through the indirection, if any.2012-01-14 Andreas Schwab <schwab@linux-m68k.org>* gcc-interface/Makefile.in (OSCONS_EXTRACT): Add$(GNATLIBCFLAGS).2012-01-10 Pascal Obry <obry@adacore.com>* prj-nmsc.adb (Check_Library_Attributes):Kill check for object/source directories for aggregate libraries.2012-01-10 Matthew Heaney <heaney@adacore.com>* a-cdlili.adb, a-cdlili.ads, a-cihama.adb, a-cihama.ads, a-coinve.adb,a-coinve.ads, a-ciorse.adb, a-ciorse.ads, a-coorma.adb, a-coorma.ads,a-cborma.adb, a-cborma.ads, a-cidlli.adb, a-cidlli.ads, a-cimutr.adb,a-cimutr.ads, a-cihase.adb, a-cihase.ads, a-cohama.adb, a-cohama.ads,a-coorse.adb, a-coorse.ads, a-cbhama.adb, a-cbhama.ads, a-cborse.adb,a-cborse.ads, a-comutr.adb, a-comutr.ads, a-ciorma.adb, a-cobove.adb,a-ciorma.ads, a-cobove.ads, a-convec.adb, a-convec.ads, a-cohase.adb,a-cohase.ads, a-cbdlli.adb, a-cbdlli.ads, a-cbmutr.adb, a-cbmutr.ads,a-cbhase.adb, a-cbhase.ads (Reference, Constant_Reference): Declarecontainer parameter as aliased in/in out.Code clean ups.2012-01-10 Bob Duff <duff@adacore.com>* s-os_lib.ads: Improve comment.2012-01-10 Geert Bosch <bosch@adacore.com>* s-gearop.adb (Forward_Eliminate): Avoid improper aliasingfor complex Scalar.2012-01-10 Bob Duff <duff@adacore.com>* sem_intr.adb (Check_Shift): Use RM_Size instead of Esize, whenchecking that the 'Size is correct. If the type is "mod 2**12",for example, it's illegal, but Esize is the 'Object_Size, whichwill be something like 16 or 32, so the error ('Size = 12) wasnot detected.* gnat_rm.texi: Improve documentation of shiftand rotate intrinsics.2012-01-10 Pascal Obry <obry@adacore.com>* prj.adb (For_Every_Project_Imported): Fiximplementation to make sure we return each project only oncefor aggragte libraries. It is fine to return a project twice foraggregate projects, this was the case as a Project_Id is differentin each project tree. The new implementation use a table based onthe project name to ensure proper detection of duplicate projectin aggregate library. A new context is then created to continueretrurning duplicate project for aggregate libraries.2012-01-09 Eric Botcazou <ebotcazou@adacore.com>* gcc-interface/trans.c (call_to_gnu): Create the temporary for thereturn value in the variable-sized return type case if the target isan array with fixed size. However, do not create it if this is theexpression of an object declaration.2012-01-09 Eric Botcazou <ebotcazou@adacore.com>* gcc-interface/trans.c (addressable_p) <COMPONENT_REF>: Fix thinko.2012-01-06 Robert Dewar <dewar@adacore.com>* a-wichha.ads, a-wichun.ads, a-zchhan.ads, a-zchuni.ads,s-utf_32.ads: Add pragma Pure* s-utf_32.adb: Suppress warnings on non-static constants (nowthat this is Pure).2012-01-06 Bob Duff <duff@adacore.com>* s-rpc.ads (Read, Write): Add overriding indicators.2012-01-06 Robert Dewar <dewar@adacore.com>* gnat_rm.texi: Add documentation for conventionsAda_Pass_By_Copy and Ada_Pass_By_Reference.2012-01-06 Gary Dismukes <dismukes@adacore.com>* a-tienio.adb (Put): Add exception message onraise statements. Remove unneeded blocks and object declarations.2012-01-06 Robert Dewar <dewar@adacore.com>* sem_prag.adb: Minor reformatting.2012-01-06 Ed Schonberg <schonberg@adacore.com>* sinfo.ads, sinfo.adb (Has_Prefixed_Call): New flag to indicatethat a selected component within a generic unit has been resolvedas a prefixed call with local references.* sem_ch3.adb (Is_Visible_Component): In an instance body a selectedcomponent is always visible.* sem_ch4.adb (Analyze_Selected_Component): If the node is aprefixed call in an instance, do not look for visible componentsof the type.* sem_ch12.adb (Reset_Entity): If a selected component has resolvedto a prefixed call, mark the node accordingly when prefix andselector are local references.2012-01-02 Eric Botcazou <ebotcazou@adacore.com>* gnatvsn.ads (Current_Year): Bump to 2012.Copyright (C) 2012 Free Software Foundation, Inc.Copying and distribution of this file, with or without modification,are permitted in any medium without royalty provided the copyrightnotice and this notice are preserved.
