1. 08 Jan, 2019 1 commit
  2. 03 Dec, 2018 1 commit
    • [Ada] Fix assertion failures with -gnatde and -gnatdv · ba301a3b
      This fixes a couple of assertion failures when using -gnatde and -gnatdv
      on a compiler built with assertions enabled.  No functional changes.
      
      2018-12-03  Eric Botcazou  <ebotcazou@adacore.com>
      
      gcc/ada/
      
      	* einfo.adb (Write_Entity_Info): Don't take Scope of Standard
      	package.
      	* sem_ch4.adb (Remove_Abstract_Operations): Add missing blank
      	lines to -gnatdv output.
      	* sem_type.adb (Write_Overloads): Take Entity of entity names
      	only.
      
      From-SVN: r266751
      Eric Botcazou committed
  3. 11 Jan, 2018 1 commit
  4. 20 Oct, 2017 2 commits
    • [multiple changes] · 8ce62196
      2017-10-20  Bob Duff  <duff@adacore.com>
      
      	* sinfo.ads: Fix a comment typo.
      
      2017-10-20  Eric Botcazou  <ebotcazou@adacore.com>
      
      	* doc/gnat_ugn/building_executable_programs_with_gnat.rst (-flto): Add
      	warning against usage in conjunction with -gnatn.
      	(-fdump-xref): Delete entry.
      	* doc/gnat_ugn/gnat_utility_programs.rst (--ext): Remove mention of
      	-fdump-xref switch.
      	* gnat_ugn.texi: Regenerate.
      
      2017-10-20  Hristian Kirtchev  <kirtchev@adacore.com>
      
      	* sem_type.adb, exp_util.adb, sem_util.adb, sem_dim.adb, sem_elab.adb:
      	Minor reformatting.
      
      From-SVN: r253947
      Pierre-Marie de Rodat committed
    • sem_dim.adb (Analyze_Dimension_Binary_Op): Accept with a warning to compare a… · 8f8f531f
      sem_dim.adb (Analyze_Dimension_Binary_Op): Accept with a warning to compare a dimensioned expression with a literal.
      
      gcc/ada/
      
      2017-10-20  Yannick Moy  <moy@adacore.com>
      
      	* sem_dim.adb (Analyze_Dimension_Binary_Op): Accept with a warning to
      	compare a dimensioned expression with a literal.
      	(Dim_Warning_For_Numeric_Literal): Do not issue a warning for the
      	special value zero.
      	* doc/gnat_ugn/gnat_and_program_execution.rst: Update description of
      	dimensionality system in GNAT.
      	* gnat_ugn.texi: Regenerate.
      
      2017-10-20  Yannick Moy  <moy@adacore.com>
      
      	* sem_ch6.adb (Analyze_Expression_Function.Freeze_Expr_Types): Remove
      	inadequate silencing of errors.
      	* sem_util.adb (Check_Part_Of_Reference): Do not issue an error when
      	checking the subprogram body generated from an expression function,
      	when this is done as part of the preanalysis done on expression
      	functions, as the subprogram body may not yet be attached in the AST.
      	The error if any will be issued later during the analysis of the body.
      	(Is_Aliased_View): Trivial rewrite with Is_Formal_Object.
      
      2017-10-20  Arnaud Charlet  <charlet@adacore.com>
      
      	* sem_ch8.adb (Update_Chain_In_Scope): Add missing [-gnatwu] marker for
      	warning on ineffective use clause.
      
      2017-10-20  Eric Botcazou  <ebotcazou@adacore.com>
      
      	* exp_ch11.ads (Warn_If_No_Local_Raise): Declare.
      	* exp_ch11.adb (Expand_Exception_Handlers): Use Warn_If_No_Local_Raise
      	to issue the warning on the absence of local raise.
      	(Possible_Local_Raise): Do not issue the warning for Call_Markers.
      	(Warn_If_No_Local_Raise): New procedure to issue the warning on the
      	absence of local raise.
      	* sem_elab.adb: Add with and use clauses for Exp_Ch11.
      	(Record_Elaboration_Scenario): Call Possible_Local_Raise in the cases
      	where a scenario could give rise to raising Program_Error.
      	* sem_elab.adb: Typo fixes.
      	* fe.h (Warn_If_No_Local_Raise): Declare.
      	* gcc-interface/gigi.h (get_exception_label): Change return type.
      	* gcc-interface/trans.c (gnu_constraint_error_label_stack): Change to
      	simple vector of Entity_Id.
      	(gnu_storage_error_label_stack): Likewise.
      	(gnu_program_error_label_stack): Likewise.
      	(gigi): Adjust to above changes.
      	(Raise_Error_to_gnu): Likewise.
      	(gnat_to_gnu) <N_Goto_Statement>: Set TREE_USED on the label.
      	(N_Push_Constraint_Error_Label): Push the label onto the stack.
      	(N_Push_Storage_Error_Label): Likewise.
      	(N_Push_Program_Error_Label): Likewise.
      	(N_Pop_Constraint_Error_Label): Pop the label from the stack and issue
      	a warning on the absence of local raise.
      	(N_Pop_Storage_Error_Label): Likewise.
      	(N_Pop_Program_Error_Label): Likewise.
      	(push_exception_label_stack): Delete.
      	(get_exception_label): Change return type to Entity_Id and adjust.
      	* gcc-interface/utils2.c (build_goto_raise): Change type of first
      	parameter to Entity_Id and adjust.  Set TREE_USED on the label.
      	(build_call_raise): Adjust calls to get_exception_label and also
      	build_goto_raise.
      	(build_call_raise_column): Likewise.
      	(build_call_raise_range): Likewise.
      	* doc/gnat_ugn/building_executable_programs_with_gnat.rst (-gnatw.x):
      	Document actual default behavior.
      
      2017-10-20  Piotr Trojanek  <trojanek@adacore.com>
      
      	* einfo.ads: Minor consistent punctuation in comment.  All numbered
      	items in the comment of Is_Internal are now terminated with a period.
      
      2017-10-20  Piotr Trojanek  <trojanek@adacore.com>
      
      	* exp_util.adb (Build_Temporary): Mark created temporary entity as
      	internal.
      
      2017-10-20  Piotr Trojanek  <trojanek@adacore.com>
      
      	* sem_type.adb (In_Generic_Actual): Simplified.
      
      2017-10-20  Justin Squirek  <squirek@adacore.com>
      
      	* sem_ch12.adb (Check_Formal_Package_Instance): Add sanity check to
      	verify a renaming exists for a generic formal before comparing it to
      	the actual as defaulted formals will not have a renamed_object.
      
      2017-10-20  Javier Miranda  <miranda@adacore.com>
      
      	* exp_ch6.adb (Replace_Returns): Fix wrong management of
      	N_Block_Statement nodes.
      
      gcc/testsuite/
      
      2017-10-20  Justin Squirek  <squirek@adacore.com>
      
      	* gnat.dg/default_pkg_actual.adb, gnat.dg/default_pkg_actual2.adb: New
      	testcases.
      
      From-SVN: r253945
      Pierre-Marie de Rodat committed
  5. 09 Oct, 2017 1 commit
    • [multiple changes] · 3fc40cd7
      2017-10-09  Hristian Kirtchev  <kirtchev@adacore.com>
      
      	* sem_unit.adb (Find_Enclosing_Scope): Do not treat a block statement
      	as a scoping construct when it is byproduct of exception handling.
      
      2017-10-09  Hristian Kirtchev  <kirtchev@adacore.com>
      
      	* sinfo.ads: Update table Is_Syntactic_Field to reflect the nature of
      	semantic field Target of node N_Call_Marker.
      
      2017-10-09  Ed Schonberg  <schonberg@adacore.com>
      
      	* sem_res.adb (Resolve_Allocator): Reject properly an allocator that
      	attempts to copy a limited value, when the allocator is the expression
      	in an expression function.
      
      2017-10-09  Joel Brobecker  <brobecker@adacore.com>
      
      	* doc/share/conf.py: Tell the style checker that this is a Python
      	fragment, and therefore that pyflakes should not be run to validate
      	this file.
      
      2017-10-09  Eric Botcazou  <ebotcazou@adacore.com>
      
      	* einfo.ads (Is_Boolean_Type): Add pragma Inline.
      	(Is_Entity_Name): Likewise.
      	(Is_String_Type): Likewise.
      	* sem_type.adb (Full_View_Covers): Do not test Is_Private_Type here
      	and remove useless comparisons on the base types.
      	(Covers): Use simple tests for Standard_Void_Type.  Move up cheap tests
      	on T2.  Always test Is_Private_Type before Full_View_Covers.
      
      2017-10-09  Bob Duff  <duff@adacore.com>
      
      	* exp_ch4.adb: Minor refactoring.
      
      From-SVN: r253568
      Pierre-Marie de Rodat committed
  6. 08 Sep, 2017 2 commits
    • [multiple changes] · cc3a2986
      2017-09-08  Hristian Kirtchev  <kirtchev@adacore.com>
      
      	* sem_util.adb (Copy_Node_With_Replacement):
      	Update the Renamed_Object field of a replicated object renaming
      	declaration.
      
      2017-09-08  Patrick Bernardi  <bernardi@adacore.com>
      
      	* exp_ch9.adb (Is_Pure_Barrier): Allow type
      	conversions and components of objects. Simplified the detection
      	of the Count attribute by identifying the corresponding run-time
      	calls.
      
      2017-09-08  Yannick Moy  <moy@adacore.com>
      
      	* exp_ch9.adb, exp_disp.adb, repinfo.adb, sem_ch12.adb, sem_dim.adb,
      	sem_type.adb, sinfo.ads: Minor reformatting.
      
      2017-09-08  Ed Schonberg  <schonberg@adacore.com>
      
      	* freeze.adb (Has_Incomplete_Compoent): New predicate, subsidiary
      	of Freeze_Profile, used to inhibit the freezing of the profile
      	of an expression function declared within a nested package, when
      	some type in the profile depends on a private type declared in
      	an enclosing package.
      
      2017-09-08  Bob Duff  <duff@adacore.com>
      
      	* gnat1drv.adb (Gnat1drv): Do not set the Force_ALI_Tree_File flag in
      	the subunit case. It's still OK to set it in the "missing subunits"
      	case, because that won't cause the obsolete .ali files that cause
      	confusion.
      
      2017-09-08  Bob Duff  <duff@adacore.com>
      
      	* sinput-l.adb: Remove unused "with Unchecked_Conversion;". It's
      	unclear why this didn't cause a warning.
      	* a-uncdea.ads, a-unccon.ads: Add "Ada." to names in the
      	pragmas. It's unclear why this didn't cause an error.
      
      From-SVN: r251869
      Arnaud Charlet committed
    • [multiple changes] · 74a78a4f
      2017-09-08  Hristian Kirtchev  <kirtchev@adacore.com>
      
      	* exp_spark.adb (Expand_SPARK_N_Object_Renaming_Declaration):
      	Reimplemented.
      	(Expand_SPARK_Potential_Renaming): Code clean up.
      	* sem_prag.adb (Analyze_Initialization_Item): Add a guard in case
      	the item does not have a proper entity.
      	(Analyze_Input_Item): Add a guard in case the item does not have a
      	proper entity.
      	(Collect_States_And_Objects): Include object renamings in the
      	items being collected.
      	(Resolve_State): Update the documentation of this routine.
      	* sem_util.adb (Entity_Of): Add circuitry to handle
      	renamings of function results.
      	(Remove_Entity): New routine.
      	(Remove_Overloaded_Entity): Take advantage of factorization.
      	* sem_util.ads (Entity_Of): Update the documentation
      	of this routine.
      	(Remove_Entity): New routine.
      	(Remove_Overloaded_Entity): Update the documentation of this
      	routine.
      
      2017-09-08  Eric Botcazou  <ebotcazou@adacore.com>
      
      	* repinfo.adb (List_Record_Info): During first loop,
      	do not override the normalized position and first bit
      	if they have already been set.	Move fallback code
      	for the packed case to the case where it belongs.
      	* sem_ch13.adb (Adjust_Record_For_Reverse_Bit_Order):
      	Also adjust the normalized position of components.
      	(Adjust_Record_For_Reverse_Bit_Order_Ada_95): Likewise.
      
      2017-09-08  Ed Schonberg  <schonberg@adacore.com>
      
      	* exp_disp.adb (Make_DT, Set_All_DT_Position): Handle properly
      	the placement of a primitive operation O that renames an operation
      	R declared in an inner package, and which is thus not a primitive
      	of the dispatching type of O. In this case O is a new primitive
      	and does not inherit its dispatch table position from R (which
      	has none).
      
      2017-09-08  Ed Schonberg  <schonberg@adacore.com>
      
      	* sem_dim.adb (Analyze_Dimension_If_Expression,
      	Analyze_Dimension_Case_Expression): new subprograms to verify
      	the dimensional correctness of Ada2012 conditional expressions,
      	and set properly the dimensions of the construct.
      	* sem_res.adb (Resolve_If_Expression, Resolve_Case_Expression)):
      	call Analyze_Dimension.
      
      2017-09-08  Ed Schonberg  <schonberg@adacore.com>
      
      	* sem_type.adb (Expand_Interface_Conversion): Prevent an infinite
      	loop on an interface declared as a private extension of another
      	synchronized interface.
      
      From-SVN: r251868
      Arnaud Charlet committed
  7. 06 Sep, 2017 1 commit
    • [multiple changes] · 7d827255
      2017-09-06  Bob Duff  <duff@adacore.com>
      
      	* a-comlin.ads, a-comlin.adb (Argument): Move the constraint
      	check back to the body, because SPARK is not yet ready for
      	"or else raise Constraint_Error".
      
      2017-09-06  Ed Schonberg  <schonberg@adacore.com>
      
      	* exp_ch6.adb (Expand_Call_Helper): Replace call to null
      	procedure by a single null statement, after evaluating the
      	actuals that require it.
      
      2017-09-06  Javier Miranda  <miranda@adacore.com>
      
      	* exp_aggr.adb (Backend_Processing_Possible.Component_Check):
      	Generating C code improve the code that checks the use of nested
      	aggregates to initialize object declarations.
      
      2017-09-06  Yannick Moy  <moy@adacore.com>
      
      	* sem_ch3.adb (Derived_Type_Declaration): Detect
      	violations of new rule SPARK RM 3.4(1).  Also refactor existing
      	check to use the new function Find_Partial_View.
      
      2017-09-06  Vincent Celier  <celier@adacore.com>
      
      	* gnatcmd.adb: gnat ls -V -P... invokes gprls -V -P...	The code
      	from the Prj hierarchy has been removed from the GNAT driver.
      
      2017-09-06  Ed Schonberg  <schonberg@adacore.com>
      
      	* sem_type.adb (Interface_Present_In_Ancestor): Within an
      	expression function, or within a spec expression (default value,
      	etc) a reference to an incomplete type is legal: legality of
      	the operation will be checked when some related entity (type,
      	object or subprogram) is frozen.
      
      From-SVN: r251776
      Arnaud Charlet committed
  8. 02 May, 2017 1 commit
    • [multiple changes] · 6fdc25c4
      2017-05-02  Ed Schonberg  <schonberg@adacore.com>
      
      	* sem_ch4.adb (Find_Equality_Types, Try_One_Interp): The same relaxed
      	visibility rules for equality operators that apply within an
      	instantiation apply within an inlined body.
      	* sem_type.adb (Add_One_Interp): ditto.
      
      2017-05-02  Hristian Kirtchev  <kirtchev@adacore.com>
      
      	* sem_prag.adb (Analyze_Pragma): Forbid pragma Contract_Cases on null
      	procedures.
      
      2017-05-02  Eric Botcazou  <ebotcazou@adacore.com>
      
      	* snames.ads-tmpl
      	(Name_Assume, Name_Attribute_Definition, Name_Loop_Optimize,
      	Name_No_Tagged_Streams): Move to regular pragmas.  Add
      	placeholders for Default_Scalar_Storage_Order, Dispatching_Domain,
      	and Secondary_Stack_Size.
      	(Pragma_Id): Move Pragma_Assume,
      	Pragma_Attribute_Definition, Pragma_Loop_Optimize and
      	Pragma_No_Tagged_Streams to second part.
      
      From-SVN: r247470
      Arnaud Charlet committed
  9. 27 Apr, 2017 1 commit
    • [multiple changes] · 11775988
      2017-04-27  Hristian Kirtchev  <kirtchev@adacore.com>
      
      	* checks.adb (Generate_Range_Check): Revert previous change.
      
      2017-04-27  Gary Dismukes  <dismukes@adacore.com>
      
      	* sem_util.adb: Minor reformatting/rewording.
      
      2017-04-27  Hristian Kirtchev  <kirtchev@adacore.com>
      
      	* lib-xref.adb (Generate_Reference): The use
      	of attribute 'Result is not considered a violation of pragma
      	Unreferenced.
      
      2017-04-27  Justin Squirek  <squirek@adacore.com>
      
      	* cstand.adb (Create_Standard): Correctly set
      	Directly_Designated_Type for Any_Access.
      	* sem_type.adb (Covers): Minor grammar fixes.
      
      2017-04-27  Bob Duff  <duff@adacore.com>
      
      	* sem_attr.adb: Minor cleanup.
      
      2017-04-27  Claire Dross  <dross@adacore.com>
      
      	* a-cofuba.ads, a-cofuba.adb (Ada.Containers.Functional_Base): New
      	private child of Ada.Containers used to implement all functional
      	containers.
      	* a-cofuma.ads, a-cofuma.adb (Ada.Containers.Functional_Maps): New
      	child of Ada.Containers. It provides functional indefinite unbounded
      	maps which can be used as high level models for specification
      	of data structures.
      	* a-cofuse.ads, a-cofuse.adb (Ada.Containers.Functional_Sets): New
      	child of Ada.Containers. It provides functional indefinite unbounded
      	sets which can be used as high level models for specification
      	of data structures.
      	* a-cofuve.ads, a-cofuve.adb (Ada.Containers.Functional_Vectors): New
      	child of Ada.Containers.  It provides functional indefinite unbounded
      	vectors which can be used as high level models for specification
      	of data structures.
      	* Makefile.rtl: Add new packages.
      	* impunit.adb: Add new packages.
      
      From-SVN: r247296
      Arnaud Charlet committed
  10. 25 Apr, 2017 1 commit
    • [multiple changes] · 8f34c90b
      2017-04-25  Ed Schonberg  <schonberg@adacore.com>
      
      	* sem_util.adb (Same_Value): String literals are compile-time
      	values, and comparing them must use Expr_Value_S.
      
      2017-04-25  Ed Schonberg  <schonberg@adacore.com>
      
      	* sem_ch4.adb (Complete_Object_Interpretation): If an explicit
      	dereference is introduced for the object, and the object is
      	overloaded, do not check whether it is aliased, because it may
      	include an implicit dereference.
      	* sem_type.adb (Disambiguate): If two interpretations are access
      	attribute types with the same designated type keep either of
      	them and do not report an ambiguity.  A true ambiguity will be
      	reported elsewhere.
      
      2017-04-25  Bob Duff  <duff@adacore.com>
      
      	* a-numeri.ads: Change the encoding of Greek letter Pi from
      	brackets encoding to UTF-8.  Use pragma Wide_Character_Encoding
      	to indicate the encoding. We considered using a byte order mark
      	(BOM), but that causes various trouble (misc software eats the
      	BOM, if you have a patch with a BOM, then it's not at the start
      	of the patch, so it's not a BOM, the BOM affects with-ing files,
      	etc.).
      	* scng.adb, s-wchcnv.adb: Minor.
      
      2017-04-25  Hristian Kirtchev  <kirtchev@adacore.com>
      
      	* sem_ch3.adb, sem_ch8.adb, sem_disp.adb: Minor reformatting.
      
      From-SVN: r247197
      Arnaud Charlet committed
  11. 23 Jan, 2017 1 commit
    • [multiple changes] · 64a4f612
      2017-01-23  Hristian Kirtchev  <kirtchev@adacore.com>
      
      	* exp_ch9.adb (Expand_N_Protected_Type_Declaration): Remove extra
      	spaces from error messages.
      
      2017-01-23  Ed Schonberg  <schonberg@adacore.com>
      
      	* exp_ch3.adb (Check_Large_Modular_Array): New procedure,
      	subsidiary to Expand_N_Object_ Declaration, to compute a guard on
      	an object declaration for an array type with a modular index type
      	with the size of Long_Long_Integer. Special processing is needed
      	in this case to compute reliably the size of the object, and
      	eventually  to raise Storage_Error, when wrap-around arithmetic
      	might compute a meangingless size for the object.
      
      2017-01-23  Justin Squirek  <squirek@adacore.com>
      
      	* a-wtenau.adb, par-endh.adb, sem_prag.adb,
      	sem_type.adb: Code cleanups.
      
      From-SVN: r244775
      Arnaud Charlet committed
  12. 12 Jan, 2017 1 commit
    • [multiple changes] · 5f325af2
      2017-01-12  Yannick Moy  <moy@adacore.com>
      
      	* exp_spark.adb (Expand_SPARK_Potential_Renaming): Fix sloc of copied
      	subtree.
      
      2017-01-12  Justin Squirek  <squirek@adacore.com>
      
      	* exp_attr.adb (Expand_N_Attribute_Reference):
      	Fix Finalization_Size case by properly resolving the type after
      	rewritting the node.
      
      2017-01-12  Hristian Kirtchev  <kirtchev@adacore.com>
      
      	* exp_util.adb (Build_DIC_Procedure_Body): Semi-insert the body into
      	the tree.
      	(Build_DIC_Procedure_Declaration): Semi-insert the body into the tree.
      	* binde.adb, exp_ch5.adb, sem_type.adb, sem.ads, sem_res.adb,
      	exp_sel.ads: Minor reformatting.
      
      2017-01-12  Justin Squirek  <squirek@adacore.com>
      
      	* exp_ch6.adb (Expand_Call): Add guard to prevent
      	invariant checks from being created for internally generated
      	subprograms.
      
      2017-01-12  Bob Duff  <duff@adacore.com>
      
      	* lib-writ.ads: Remove incorrect comment.
      
      2017-01-12  Javier Miranda  <miranda@adacore.com>
      
      	* debug.adb (-gnatd.K): Enable generation of contract-only
      	procedures in CodePeer mode.
      	* contracts.adb (Build_And_Analyze_Contract_Only_Subprograms):
      	New subprogram.
      	(Analyze_Contracts): Generate contract-only procedures if -gnatdK is
      	set.
      	* scil_ll.ads, scil_ll.adb (Get_Contract_Only_Body_Name): New
      	subprogram.
      	(Get_Contract_Only_Missing_Body_Name): New subprogram.
      	(Get_Contract_Only_Body): New subprogram.
      	(Set_Contract_Only_Body): New subprogram.
      	(Is_Contract_Only_Body): New subprogram.
      	(Set_Is_Contract_Only_Body): New subprogram.
      	(SCIL_Nodes): Replace table by hash-table.
      
      From-SVN: r244356
      Arnaud Charlet committed
  13. 04 Jul, 2016 3 commits
    • sem_type.adb, [...]: Minor reformatting and typo fix. · 607114db
      2016-07-04  Gary Dismukes  <dismukes@adacore.com>
      
      	* sem_type.adb, einfo.ads, freeze.adb, exp_ch6.adb: Minor reformatting
      	and typo fix.
      
      From-SVN: r237966
      Gary Dismukes committed
    • sem_ch3.adb, [...]: Minor reformatting. · c308e762
      2016-07-04  Hristian Kirtchev  <kirtchev@adacore.com>
      
      	* sem_ch3.adb, sem_type.adb, sem_ch12.adb, xref_lib.adb,
      	freeze.adb, sinput-l.adb, sinput-l.ads, sem_ch4.adb, sem_ch8.adb:
      	Minor reformatting.
      
      From-SVN: r237965
      Hristian Kirtchev committed
    • [multiple changes] · f50f7e2c
      2016-07-04  Justin Squirek  <squirek@adacore.com>
      
      	* sem_prag.adb (Analyze_Unmodified_Or_Unused and
      	Analyze_Unreferenced_Or_Unused): Change warning message to be
      	more clear about pragma duplicates.
      
      2016-07-04  Yannick Moy  <moy@adacore.com>
      
      	* sinput-l.adb (Create_Instantiation_Source): Set component
      	Inlined_Call for inherited pragma case.
      	* sinput.adb, sinput.ads (Instantiation): Return component
      	Inlined_Call for inherited pragma case.
      
      2016-07-04  Bob Duff  <duff@adacore.com>
      
      	* sem_type.adb (Remove_Conversions): Protect
      	the call to Left_Opnd by checking for Nkind in N_Unary_Op --
      	unary operators do not have a left operand.
      
      2016-07-04  Ed Schonberg  <schonberg@adacore.com>
      
      	* sem_ch3.adb (Analyze_Object_Declaration): A declaration of a
      	constant in a protected operation may be a homonym of a private
      	component of the enclosing protected type. This declaration hides
      	the component renaming constructed within the protected operation.
      
      From-SVN: r237964
      Arnaud Charlet committed
  14. 22 Jun, 2016 1 commit
    • [multiple changes] · 497a660d
      2016-06-22  Hristian Kirtchev  <kirtchev@adacore.com>
      
      	* sem_ch3.adb, sem_type.adb, sem.adb, freeze.adb, sem_util.adb,
      	s-htable.adb, exp_ch11.adb, s-secsta.adb, restrict.adb, exp_disp.adb,
      	sem_ch8.adb, s-tpobop.adb, exp_aggr.ads, sem_ch13.adb: Minor
      	reformatting.
      
      2016-06-22  Yannick Moy  <moy@adacore.com>
      
      	* lib-xref-spark_specific.adb (Collect_SPARK_Xrefs): Inverse order of
      	treatments so that files without compilation unit are simply skipped
      	before more elaborate treatments.
      
      2016-06-22  Bob Duff  <duff@adacore.com>
      
      	* s-memory.ads: Minor typo fixes in comments.
      	* s-memory.adb: Code cleanup.
      
      From-SVN: r237697
      Arnaud Charlet committed
  15. 20 Apr, 2016 2 commits
    • [multiple changes] · 06f6c43f
      2016-04-20  Hristian Kirtchev  <kirtchev@adacore.com>
      
      	* sem_ch12.adb (Copy_Generic_Node): Handle the special
      	qualification installed for universal literals that act as
      	operands in binary or unary operators.	(Qualify_Operand): Mark
      	the qualification to signal the instantiation mechanism how to
      	handle global reference propagation.
      	* sinfo.adb (Is_Qualified_Universal_Literal): New routine.
      	(Set_Is_Qualified_Universal_Literal): New routine.
      	* sinfo.ads New attribute Is_Qualified_Universal_Literal along
      	with occurrences in nodes.
      	(Is_Qualified_Universal_Literal):
      	New routine along with pragma Inline.
      	(Set_Is_Qualified_Universal_Literal): New routine along with
      	pragma Inline.
      
      2016-04-20  Ed Schonberg  <schonberg@adacore.com>
      
      	* sem.adb (Do_Analyze): Save and restore Style_Max_Line_Length
      	so that the corresponding checks are preserved across compilations
      	that include System.Constants in their context.
      
      2016-04-20  Gary Dismukes  <dismukes@adacore.com>
      
      	* sem_type.adb: Minor typo fix and reformatting.
      	* a-conhel.ads: Update comment.
      
      2016-04-20  Bob Duff  <duff@adacore.com>
      
      	* a-cihama.adb, a-cihase.adb, a-coinve.adb (Copy): Rewrite the
      	code so it doesn't trigger an "uninit var" warning.
      
      From-SVN: r235256
      Arnaud Charlet committed
    • sem_ch12.adb (Qualify_Universal_Operands): New routine. · 5c63aafa
      2016-04-20  Hristian Kirtchev  <kirtchev@adacore.com>
      
      	* sem_ch12.adb (Qualify_Universal_Operands): New routine.
      	(Save_References_In_Operator): Add explicit qualifications in
      	the generic template for all operands of universal type.
      	* sem_type.adb (Disambiguate): Update the call to Matches.
      	(Matches): Reimplemented.
      	* sem_util.ads, sem_util.adb (Yields_Universal_Type): New routine.
      
      From-SVN: r235254
      Hristian Kirtchev committed
  16. 19 Apr, 2016 1 commit
    • [multiple changes] · b3143037
      2016-04-19  Arnaud Charlet  <charlet@adacore.com>
      
      	* sem_prag.adb, sem_attr.adb, par-prag.adb, exp_aggr.adb, sem_type.adb
      	sem_ch12.adb, sem_ch3.adb, exp_ch7.adb, exp_ch9.adb: Code cleanup.
      	* sem_res.adb, sem_util.ads, sem_util.adb (Is_OK_Volatile_Context):
      	Promoted from being a nested subprogram in Sem_Res.Resolve_Entity_Name
      	to publicly visible routine in Sem_Util.
      
      2016-04-19  Ed Schonberg  <schonberg@adacore.com>
      
      	* checks.adb (Apply_Parameter_Aliasing_Checks): Do not apply
      	the check if the type of the actual is By_Reference.
      
      From-SVN: r235199
      Arnaud Charlet committed
  17. 18 Apr, 2016 3 commits
    • [multiple changes] · be035558
      2016-04-18  Arnaud Charlet  <charlet@adacore.com>
      
      	* einfo.adb (Overridden_Operation): assert that
      	function is called for valid arguments.
      	* sem_aggr.adb, sem_ch3.adb, sem_ch5.adb, sem_type.adb,
      	s-osinte-vxworks.ads, a-ngcefu.adb, sem_ch10.adb, einfo.ads,
      	sem_prag.adb, sem_ch12.adb, sem.adb, i-cobol.ads, freeze.adb,
      	sem_util.adb, a-chtgop.ads, s-rannum.adb, exp_ch6.adb, s-bignum.adb,
      	s-osinte-freebsd.ads, par-ch5.adb, a-chtgbo.ads, a-cofove.adb:
      	No space after closing parenthesis except where required for
      	layout.
      	* sem_res.adb: Minor reformatting.
      
      2016-04-18  Arnaud Charlet  <charlet@adacore.com>
      
      	* exp_ch4.adb (Expand_N_Case_Expression): Convert into a case
      	statement when relevant.
      
      2016-04-18  Bob Duff  <duff@adacore.com>
      
      	* a-cuprqu.adb (Enqueue): Properly handle the
      	case where the new element has a unique priority.
      
      2016-04-18  Tristan Gingold  <gingold@adacore.com>
      
      	* adaint.h: Define stat structures and functions for iOS
      	simulator.
      
      From-SVN: r235146
      Arnaud Charlet committed
    • [multiple changes] · 7b47778e
      2016-04-18  Arnaud Charlet  <charlet@adacore.com>
      
      	* a-intsig.ads, a-intsig.adb: Removed, no longer used.
      	* Makefile.rtl: update accordingly.
      
      2016-04-18  Eric Botcazou  <ebotcazou@adacore.com>
      
      	* sem_type.adb (Disambiguate): Call Covers only when necessary
      	for standard operators.
      
      2016-04-18  Eric Botcazou  <ebotcazou@adacore.com>
      
      	* atree.ads (Num_Extension_Nodes): Add couple of figures
      	to comment.
      	* atree.adb: Add GNAT.Heap_Sort_G dependency.
      	(Print_Statistics): New exported procedure to print statistics.
      
      2016-04-18  Eric Botcazou  <ebotcazou@adacore.com>
      
      	* exp_ch3.adb (Build_Record_Init_Proc): Do not mark the procedure
      	as to be inlined if the type needs finalization.
      
      From-SVN: r235106
      Arnaud Charlet committed
    • [multiple changes] · d9d25d04
      2016-04-18  Arnaud Charlet  <charlet@adacore.com>
      
      	* sem_prag.adb (Process_Convention): Relax rule on exporting
      	Intrinsic types if Relaxed_RM_Semantics is True.
      
      2016-04-18  Vincent Celier  <celier@adacore.com>
      
      	* sem_ch3.adb, lib.ads, sinfo.ads, sem_ch10.adb, einfo.adb, einfo.ads,
      	checks.ads, sem_ch12.adb, sem.adb, sem_util.adb, sem_util.ads,
      	sem_res.adb, sem_attr.adb, par.adb, exp_ch4.adb, errout.ads,
      	sem_ch4.adb, atree.adb, atree.ads, sem_warn.adb, treepr.adb,
      	exp_ch3.ads, exp_unst.adb: Change "descendent" to
      	"descendant" in comments, error messages and identifiers.
      
      2016-04-18  Eric Botcazou  <ebotcazou@adacore.com>
      
      	* sem_type.adb (Operator_Matches_Spec): Call First_Formal on
      	New_S only once at the beginning of the function.
      
      From-SVN: r235100
      Arnaud Charlet committed
  18. 24 Nov, 2015 1 commit
  19. 18 Nov, 2015 1 commit
    • sem_ch4.adb (Try_Container_Indexing): When constructing the parameter list for… · 43151cfd
      sem_ch4.adb (Try_Container_Indexing): When constructing the parameter list for the potentially overloaded calls to...
      
      2015-11-18  Ed Schonberg  <schonberg@adacore.com>
      
      	* sem_ch4.adb (Try_Container_Indexing): When constructing the
      	parameter list for the potentially overloaded calls to indexing
      	functions, do not propagate overloadings if the actual is a named
      	association: overloadings appear directly on the expression in
      	the association.
      
      2015-11-18  Ed Schonberg  <schonberg@adacore.com>
      
      	* sem_type.adb (Interface_Present_In_Ancestor): If the type is
      	incomplete, the list of ancestors is found either on the full
      	view or the non-limited view of the type.
      
      From-SVN: r230547
      Ed Schonberg committed
  20. 26 Oct, 2015 1 commit
    • [multiple changes] · 21d7ef70
      2015-10-26  Ed Schonberg  <schonberg@adacore.com>
      
      	* exp_ch4.adb (Expand_N_Case_Expression): In the scope of a
      	predicate function, delay the expansion of the expression only
      	if the target type has a specified Static_ Predicate aspect,
      	because the expression is processed later. A dynamic predicate
      	must be expanded in standard fashion.
      
      2015-10-26  Claire Dross  <dross@adacore.com>
      
      	* a-nudira.ads: Remove SPARK_Mode as it currently causes an error.
      
      2015-10-26  Arnaud Charlet  <charlet@adacore.com>
      
      	* sem_aggr.adb, sem_type.adb, sem_ch12.adb, sem_res.adb, sem_ch4.adb,
      	sem_ch8.adb, exp_aggr.adb, sem_eval.adb, s-fatgen.adb, a-tienio.adb:
      	Fix typos.
      
      2015-10-26  Hristian Kirtchev  <kirtchev@adacore.com>
      
      	* sem_ch13.adb (Analyze_Aspect_Specifications): The processing
      	for aspects Abstract_State, Ghost, Initial_Condition, Initializes
      	and Refined_State no longer have to take SPARK_Mode into account.
      	(Insert_After_SPARK_Mode): Removed.
      	(Insert_Pragma): Update profile and comment on usage. The routine can
      	now insert a pragma after the "header" of an instance.
      	* sem_prag.adb (Analyze_If_Available): New routine.
      	(Analyze_Pragma): Do not reset the Analyzed flag of various
      	SPARK pragmas as they use the Is_Analyzed_Pragma attribute to
      	avoid reanalysis. Various pragmas now trigger the analysis
      	of related pragmas that depend on or are dependent on the
      	current pragma. Remove the declaration order checks related
      	to pragmas Abstract_State, Initial_Condition and Initializes.
      	(Analyze_Pre_Post_Condition): Analyze pragmas SPARK_Mode and
      	Volatile_Function prior to analyzing the pre/postcondition.
      	(Check_Declaration_Order): Removed.
      	(Check_Distinct_Name): Ensure that a potentially duplicated pragma
      	Test_Case is not the pragma being analyzed.
      	(Is_Followed_By_Pragma): Removed.
      
      From-SVN: r229331
      Arnaud Charlet committed
  21. 20 Oct, 2015 1 commit
    • [multiple changes] · b7737d1d
      2015-10-20  Bob Duff  <duff@adacore.com>
      
      	* a-contai.adb, a-coinve.ads, a-contai.ads, a-conhel.adb, a-conhel.ads,
      	Makefile.rtl, a-convec.ads: Move helper code from Ada.Containers to a
      	new package Ada.Containers.Helpers, because otherwise it's not
      	visible everywhere it needs to be (e.g. in the package
      	Ada.Containers.Red_Black_Trees, Generic_Tree_Types wants to have
      	a component of type Tamper_Counts).
      
      2015-10-20  Ed Schonberg  <schonberg@adacore.com>
      
      	* sem_type.adb (Intersect_Types): Specialize error message when
      	one operand is a limited view which is a priori incompatible
      	with all other named types.
      	* sem_prag.adb: minor fix in comment
      	* sem_ch13.adb: Code clean up.
      
      2015-10-20  Eric Botcazou  <ebotcazou@adacore.com>
      
      	* sem_ch12.adb (Need_Subprogram_Instance_Body): Also return true
      	for a subprogram nested in an inlined subprogram.
      
      From-SVN: r229040
      Arnaud Charlet committed
  22. 16 Oct, 2015 1 commit
    • exp_ch5.adb, [...]: Code clean up: remove special handling for .NET and JVM. · 535a8637
      2015-10-16  Arnaud Charlet  <charlet@adacore.com>
      
      	* exp_ch5.adb, sem_ch3.adb, frontend.adb, exp_ch7.adb, exp_ch7.ads,
      	sem_ch5.adb, sem_type.adb, exp_util.adb, exp_util.ads, comperr.adb,
      	exp_attr.adb, sinfo.ads, exp_ch9.adb, make.adb, usage.adb,
      	lib-writ.adb, sem_ch9.adb, bindgen.adb, debug.adb, einfo.adb,
      	einfo.ads, types.ads, checks.adb, sem_prag.adb, s-tasini.adb,
      	rtsfind.ads, freeze.adb, sem_util.adb, sem_util.ads, exp_dbug.adb,
      	gnatlink.adb, gnat1drv.adb, targparm.adb, targparm.ads, exp_ch4.adb,
      	exp_ch11.adb, repinfo.adb, s-soflin.adb, s-soflin.ads, exp_ch6.adb,
      	exp_ch13.adb, sem_mech.adb, sem_ch6.adb, par-prag.adb, exp_disp.adb,
      	sem_ch8.adb, exp_disp.ads, snames.adb-tmpl, exp_aggr.adb, sem_eval.adb,
      	exp_intr.adb, sem_ch13.adb, snames.ads-tmpl, sem_disp.adb, exp_ch3.adb:
      	Code clean up: remove special handling for .NET and JVM.
      
      From-SVN: r228874
      Arnaud Charlet committed
  23. 12 May, 2015 2 commits
    • [multiple changes] · e23e04db
      2015-05-12  Robert Dewar  <dewar@adacore.com>
      
      	* sem_type.adb, sem_ch10.adb, freeze.adb, sem_ch6.adb, exp_disp.adb:
      	Minor reformatting.
      
      2015-05-12  Bob Duff  <duff@adacore.com>
      
      	* exp_attr.adb (Size): Remove unnecessary check for types with
      	unknown discriminants.	That was causing the compiler to build
      	a function call _size(T), where T is a type, not an object.
      
      2015-05-12  Ed Schonberg  <schonberg@adacore.com>
      
      	* sem_ch4.adb (Extended_Primitive_Ops): Exclude overriding
      	primitive operations of a type extension declared in the package
      	body, to prevent duplicates in extended list.
      
      2015-05-12  Ed Schonberg  <schonberg@adacore.com>
      
      	* sem_ch3.adb (Analyze_Component_Declaration): If the component is
      	an unconstrained synchronized type with discriminants, create a
      	constrained default subtype for it, so that the enclosing record
      	can be given the proper size.
      	* sem_util.adb (Build_Default_Subtype): If the subtype is created
      	for a record discriminant, do not analyze the declarztion at
      	once because it is added to the freezing actions of the enclosing
      	record type.
      
      From-SVN: r223039
      Arnaud Charlet committed
    • [multiple changes] · 47346923
      2015-05-12  Robert Dewar  <dewar@adacore.com>
      
      	* exp_prag.adb (Expand_N_Pragma): Rewrite ignored pragma as
      	Null statements.
      	* namet.ads (Boolean3): Document this flag used for Ignore_Pragma.
      	* par-prag.adb (Prag): Implement Ignore_Pragma.
      	* sem_prag.adb: Implement Ignore_Pragma.
      	* snames.ads-tmpl: Add entries for pragma Ignore_Pragma.
      
      2015-05-12  Javier Miranda  <miranda@adacore.com>
      
      	* sem_ch10.adb (Build_Shadow_Entity): Link the class-wide shadow
      	entity with its corresponding real entity.
      	(Decorate_Type): Unconditionally build the class-wide shadow entity of
      	tagged types.
      	* einfo.ads, einfo.adb (Has_Non_Limited_View): New synthesized
      	attribute.
      	(Non_Limited_View): Moved from field 17 to field 19 be available
      	in class-wide entities.
      	* exp_attr.adb (Access_Cases): Code cleanup.
      	* exp_disp.adb (Expand_Interface_Actuals): Ditto.
      	* exp_util.adb (Non_Limited_Designated_Type): Ditto.
      	* freeze.adb (Build_Renamed_Bdody): Ditto.
      	* sem_aux.adb (Available_View): Ditto.
      	* sem_ch4.adb (Analyze_Selected_Component): Ditto.
      	(Try_One_Prefix_Interpretation): Ditto.
      	* sem_ch5.adb (Analyze_Assignment): Ditto.
      	* sem_ch6.adb (Detect_And_Exchange): Ditto.
      	* sem_ch8.adb (Find_Expanded_Name): Ditto.
      	* sem_disp.adb (Check_Controlling_Type): Ditto.
      	* sem_res.adb (Resolve_Type_Conversion): Ditto.
      	(Full_Designated_Type): Ditto.
      	* sem_type.adb (Covers): Ditto.
      	* sem_util.adb: Fix typo in comment.
      
      From-SVN: r223038
      Arnaud Charlet committed
  24. 05 Feb, 2015 1 commit
    • [multiple changes] · c7d22ee7
      2015-02-05  Robert Dewar  <dewar@adacore.com>
      
      	* prj-proc.adb, sem_aux.adb, exp_ch9.adb, errout.adb, prj-dect.adb,
      	prj-nmsc.adb: Minor reformatting.
      
      2015-02-05  Ed Schonberg  <schonberg@adacore.com>
      
      	* sem_type.adb (Covers): In ASIS_Mode the Corresponding_Record
      	of a protected type may not be available, so to check conformance
      	with an interface type, examine the interface list in the type
      	declaration directly.
      	(Write_Overloads): Improve information for indirect calls,
      	for debugger use.
      
      2015-02-05  Ed Schonberg  <schonberg@adacore.com>
      
      	* exp_ch3.adb (Make_Tag_Assignment): Do not perform this
      	expansion activity in ASIS mode.
      
      From-SVN: r220452
      Arnaud Charlet committed
  25. 30 Jan, 2015 1 commit
    • [multiple changes] · e5cabfac
      2015-01-30  Robert Dewar  <dewar@adacore.com>
      
      	* einfo.ads: Minor comment fix.
      	* freeze.adb (Freeze_Profile): Add test for suspicious import
      	in pure unit.
      	* sem_prag.adb (Process_Import_Or_Interface): Test for suspicious
      	use in Pure unit is now moved to Freeze (to properly catch
      	Pure_Function exemption).
      
      2015-01-30  Bob Duff  <duff@adacore.com>
      
      	* sem_res.ads: Minor comment fix.
      	* sem_type.adb: sem_type.adb (Remove_Conversions): Need to
      	check both operands of an operator.
      
      2015-01-30  Yannick Moy  <moy@adacore.com>
      
      	* a-assert.ads, a-assert.adb: Mark package spec in SPARK. Set assertion
      	policy for Pre to Ignore.
      	(Assert): Add precondition.
      
      From-SVN: r220288
      Arnaud Charlet committed
  26. 23 Oct, 2014 2 commits
    • [multiple changes] · 3ad33e33
      2014-10-23  Robert Dewar  <dewar@adacore.com>
      
      	* sem_type.adb: Minor code reorganization (use Nkind_In, Ekind_In).
      	* sem_ch3.adb: Minor reformatting.
      
      2014-10-23  Ed Schonberg  <schonberg@adacore.com>
      
      	* sem_ch12.adb (Analyze_Associations): If an actual for a formal
      	object is a call to a parameterless expression function, add
      	the function to the list of actuals to freeze.
      	* freeze.adb (Check_Expression_Function): Create freeze nodes of
      	outer types that may be references in the body of the expression.
      
      From-SVN: r216583
      Arnaud Charlet committed
    • [multiple changes] · 580d40e8
      2014-10-23  Hristian Kirtchev  <kirtchev@adacore.com>
      
      	* exp_util.ads, checks.ads: Minor comment reformatting.
      
      2014-10-23  Javier Miranda  <miranda@adacore.com>
      
      	* sem_eval (Test_In_Range): Disable removal of range_check for
      	VM targets.
      
      2014-10-23  Robert Dewar  <dewar@adacore.com>
      
      	* erroutc.adb (Validate_Specific_Warnings): Fix test for -W
      	messages, which got disabled when we unconditionally added an
      	asterisk at the start of the string.
      
      2014-10-23  Vincent Celier  <celier@adacore.com>
      
      	* gnatls.adb: Ensure that "gnatls -l" works even when there is
      	no default runtime.
      
      2014-10-23  Eric Botcazou  <ebotcazou@adacore.com>
      
      	* sem_ch3.adb (Build_Derived_Private_Type): When the parent is
      	untagged and has discriminants, build the implicit full view after
      	building the derived type. Capture original declaration and type
      	here instead of...
      	(Copy_And_Build): ...here.
      	* sem_type.adb (Full_View_Covers): Handle the Underlying_Full_View.
      
      From-SVN: r216582
      Arnaud Charlet committed
  27. 18 Jul, 2014 1 commit
    • sem_aggr.adb, [...]: Change name Packed_Array_Type to Packed_Array_Impl_Type. · 8ca597af
      2014-07-18  Robert Dewar  <dewar@adacore.com>
      
      	* sem_aggr.adb, exp_ch5.adb, sem_ch3.adb, layout.adb, sem_type.adb,
      	exp_util.adb, exp_attr.adb, einfo.adb, einfo.ads, exp_pakd.adb,
      	checks.adb, exp_pakd.ads, freeze.adb, sem_util.adb, exp_dbug.adb,
      	exp_dbug.ads, exp_ch4.adb, sem_ch8.adb, exp_aggr.adb, sem_eval.adb,
      	sem_ch13.adb: Change name Packed_Array_Type to Packed_Array_Impl_Type.
      
      From-SVN: r212797
      Robert Dewar committed
  28. 24 Feb, 2014 1 commit
    • [multiple changes] · ebb6b0bd
      2014-02-24  Yannick Moy  <moy@adacore.com>
      
      	* freeze.adb (Freeze_Entity): Do not issue warning
      	for pre/post being ignored on imported subprogram in GNATprove
      	mode.
      
      2014-02-24  Robert Dewar  <dewar@adacore.com>
      
      	* exp_ch5.adb, sem_ch5.adb, sem_type.adb, sem_res.adb, sem_attr.adb,
      	stand.ads, sem_eval.adb: Minor reformatting.
      
      2014-02-24  Yannick Moy  <moy@adacore.com>
      
      	* sem_prag.adb: Minor rewording in error message.
      
      2014-02-24  Johannes Kanig  <kanig@adacore.com>
      
      	* exp_util.adb (Expand_Subtype_From_Expr): Do not expand subtypes in
      	GNATprove_mode, gnat2why doesn't need nor use these types.
      
      2014-02-24  Gary Dismukes  <dismukes@adacore.com>
      
      	* exp_ch4.adb (Expand_N_Op_Expon): On the AAMP
      	target, in the case of signed integer exponentiation that uses a
      	run-time routine, always select the Exp_* versions, since overflow
      	checking is automatically done by AAMP arithmetic instructions.
      
      2014-02-24  Hristian Kirtchev  <kirtchev@adacore.com>
      
      	* sem_ch13.adb (Analyze_Aspect_Specifications):
      	When the related context is a package instace, insert pragma
      	Abstract_State after all internally-generated renamings related
      	to the instance "header".
      
      2014-02-24  Ed Schonberg  <schonberg@adacore.com>
      
      	* sem_ch3.adb (Analyze_Declarations): Analyze Contract of abstract
      	subprograms.
      	* sem_disp.adb (Check_Dispatching_Context): A non-dispatching
      	call to an abstract subprogram is legal if it appears in a
      	pre/postcondition of another abstract operation.
      
      From-SVN: r208070
      Arnaud Charlet committed
  29. 20 Feb, 2014 1 commit
    • [multiple changes] · 3e586e10
      2014-02-20  Robert Dewar  <dewar@adacore.com>
      
      	* a-cborma.adb, a-cbhama.adb, a-cbdlli.adb, a-cbmutr.adb: Use pragma
      	Unmodified rather than Warnings (Off). Make comments
      	uniform in the four affected units.
      
      2014-02-20  Robert Dewar  <dewar@adacore.com>
      
      	* sem_ch13.adb (Analyze_Attribute_Definition_Clause, case
      	Object_Size): For non-scalar types allow any value that is a
      	multiple of 8.
      	* gnat_rm.texi: Document Object_Size for composites more clearly.
      
      2014-02-20  Yannick Moy  <moy@adacore.com>
      
      	* sem_util.ads, sem_util.adb (Default_Initialization): Remove function.
      
      2014-02-20  Ed Schonberg  <schonberg@adacore.com>
      
      	* stand.ads: Raise_Type: new predefined entity, used as the type
      	of a Raise_Expression prior to resolution.
      	* cstand.adb: Build entity for Raise_Type.
      	* sem_ch11.adb (Analyze_Raise_Expression): use Raise_Type as the
      	initial type of the node.
      	* sem_type.adb (Covers): Raise_Type is compatible with all
      	other types.
      	* sem_res.adb (Resolve): Remove special handling of Any_Type on
      	Raise_Expression nodes.
      	(Resolve_Raise_Expression): Signal ambiguity if the type of the
      	context is still Raise_Type.
      
      From-SVN: r207950
      Arnaud Charlet committed
  30. 29 Jan, 2014 1 commit
    • a-except-2005.adb, [...]: Minor reformatting. · a90bd866
      2014-01-29  Robert Dewar  <dewar@adacore.com>
      
      	* a-except-2005.adb, a-except.adb, a-excpol-abort.adb, a-exstat.adb,
      	ali.adb, a-numaux.ads, a-numaux-darwin.ads, a-numaux-libc-x86.ads,
      	a-numaux-vms.ads, a-numaux-vxworks.ads, a-numaux-x86.ads, aspects.ads,
      	a-taside.adb, a-teioed.adb, a-textio.adb, a-textio.ads, atree.adb,
      	atree.ads, a-witeio.adb, a-witeio.ads, a-wtedit.adb, a-ztedit.adb,
      	a-ztexio.adb, bcheck.adb, binde.adb, checks.adb, comperr.adb,
      	cstand.adb, debug_a.adb, einfo.ads, errout.adb, erroutc.adb,
      	eval_fat.adb, exp_aggr.adb, exp_attr.adb, exp_ch11.adb, exp_ch3.adb,
      	exp_ch4.adb, exp_ch5.adb, exp_ch6.adb, exp_ch9.adb, exp_dbug.adb,
      	exp_disp.adb, exp_fixd.adb, exp_imgv.adb, exp_intr.adb, exp_util.adb,
      	freeze.adb, frontend.adb, g-comlin.ads, g-mbdira.adb, gnat1drv.adb,
      	gprep.adb, g-spipat.adb, i-cpp.ads, i-vxwork.ads, i-vxwork-x86.ads,
      	krunch.ads, layout.adb, lib-load.adb, lib-writ.adb, lib-writ.ads,
      	live.adb, namet.ads, osint.adb, osint-c.adb, output.ads, par.adb,
      	par-ch10.adb, par-ch13.adb, par-ch3.adb, par-ch4.adb, par-ch5.adb,
      	par-ch6.adb, par-ch9.adb, par-endh.adb, par-labl.adb, par-prag.adb,
      	par-sync.adb, par-tchk.adb, par-util.adb, prj.adb, repinfo.adb,
      	rtsfind.adb, s-arit64.adb, s-asthan-vms-alpha.adb,
      	s-asthan-vms-ia64.adb, s-bignum.adb, scans.adb, scng.adb, s-dimmks.ads,
      	sem_aggr.adb, sem_attr.adb, sem_aux.adb, sem_cat.adb, sem_ch10.adb,
      	sem_ch12.adb, sem_ch13.adb, sem_ch13.ads, sem_ch3.adb, sem_ch4.adb,
      	sem_ch5.adb, sem_ch6.adb, sem_ch8.adb, sem_disp.adb, sem_elab.adb,
      	sem_elim.adb, sem_eval.adb, sem_intr.adb, sem_prag.adb, sem_res.adb,
      	sem_type.adb, sem_util.adb, sem_warn.adb, set_targ.adb, s-fatgen.adb,
      	s-fatgen.ads, s-fileio.adb, s-imgcha.adb, s-imgrea.adb, sinfo.ads,
      	sinput-c.adb, snames.ads-tmpl, s-os_lib.adb, sprint.adb,
      	s-regpat.adb, s-secsta.adb, s-stalib.ads,
      	s-stchop.adb, s-stoele.ads, stand.ads, s-taprop-solaris.adb,
      	s-tasdeb-vms.adb, s-tasini.adb, s-tassta.adb, s-valdec.adb,
      	s-valuti.adb, s-wchjis.adb, s-wchwts.adb, system.ads, system-vms_64.ads,
      	system-vms-ia64.ads, treepr.adb, types.ads, uintp.adb, uname.adb,
      	urealp.adb, usage.adb, vxaddr2line.adb: Minor reformatting.
      
      From-SVN: r207260
      Robert Dewar committed
  31. 24 Jan, 2014 1 commit
    • [multiple changes] · 7610fee8
      2014-01-24  Doug Rupp  <rupp@adacore.com>
      
      	* init.c: Add a handler section for Android.
      
      2014-01-24  Arnaud Charlet  <charlet@adacore.com>
      
      	* i-cexten.ads (Unsigned_33..64, Unsigned_33..64): New types.
      
      2014-01-24  Ed Schonberg  <schonberg@adacore.com>
      
      	* sem_ch4.adb (Operator_Check): If one operand is a
      	Raise_Expression, set its type to that of the other operand.
      	* sem_res.adb (Resolve_Raise_Expression): new procedure.
      	(Resolve_Actuals): For an actual that is a Raise_Expression,
      	set the type to that of the formal.
      	* sem_type.adb (Find_Unique_Type): If one of the operands is a
      	Raise_Expression, return type of the other operand.
      
      2014-01-24  Ed Schonberg  <schonberg@adacore.com>
      
      	* sem_aggr.adb (Resolve_Record_Aggregate): If a scalar
      	component of the record has a type with a default aspect, and
      	the corresponding aggregate component is initiaized with a box,
      	use the default value in the rewritten aggregate.
      
      2014-01-24  Tristan Gingold  <gingold@adacore.com>
      
      	* s-interr.ads, s-interr.adb, s-interr-hwint.adb, s-interr-vms.adb,
      	s-interr-sigaction.adb,
      	s-interr-dummy.adb (Install_Restricted_Handlers): Add Prio parameter.
      	* exp_ch9.adb (Make_Initialize_Protection): Add Prio parameter
      	to the call to Install_Restricted_Handlers.
      
      2014-01-24  Emmanuel Briot  <briot@adacore.com>
      
      	* prj-nmsc.adb (Check_File): Add protection when the source is
      	not fully initialized.
      
      From-SVN: r207033
      Arnaud Charlet committed