1. 30 Jan, 2012 13 commits
    • charlet's avatar
      2012-01-30 Hristian Kirtchev <kirtchev@adacore.com> · 516da07f
      charlet authored
      	* exp_ch7.adb (Build_Finalizer_Call): Set loc again.
      	* exp_ch11.adb (Expand_At_End_Handler): Do not provide a source
      	location for the wrapped call to the original AT_END routine
      	and 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 seconds
      	to 25 and add the hard time value for 2012-06-30.
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183711 138bc75d-0d04-0410-961f-82ee72b054a4
      516da07f
    • charlet's avatar
      2012-01-30 Robert Dewar <dewar@adacore.com> · 30fe3fdc
      charlet authored
      	* 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.
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183710 138bc75d-0d04-0410-961f-82ee72b054a4
      30fe3fdc
    • charlet's avatar
      2012-01-30 Thomas Quinot <quinot@adacore.com> · 27121718
      charlet authored
      	* s-rannum.adb, s-ransee.adb, s-ransee.ads (Get_Seed): Return
      	Unsigned_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.
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183708 138bc75d-0d04-0410-961f-82ee72b054a4
      27121718
    • charlet's avatar
      2012-01-30 Yannick Moy <moy@adacore.com> · 7b9b2f05
      charlet authored
      	* gnat_ugn.texi: Minor correction of GNAT UG, to take into
      	account 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 source
      	location when creating a call to a finalizer.
      	* exp_ch11.adb (Expand_Exception_Handlers): Do not provide
      	a source location for the first actual of Save_Occurrence for
      	consistency 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_Object
      	to a different position to accomodate new aspect attributes.
      	* freeze.adb (Freeze_Entity): Use new attributes to retrieve value
      	of defaults set with an aspect specification, rather than using
      	the list of aspects attached to the type, to prevent issues with
      	partial views.
      	* sem_ch13.adb (Analyze_Aspect_Specifications): For aspects
      	Default_Value and Default_Component _Value, store corresponding
      	expression in type entity.
      	(Check_Aspect_At_End_Of_Declaration): If the default aspects
      	are declared on the full view, use the full view to resolve the
      	correseponding expression.
      	* exp_ch3.adb (Init_Component): Use attribute
      	Default_Aspect_Component_Value to perform default initialization,
      	rather than relying on the rep item list for the type.
      	(Get_Simple_Init_Val): Ditto.
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183707 138bc75d-0d04-0410-961f-82ee72b054a4
      7b9b2f05
    • charlet's avatar
      2012-01-30 Thomas Quinot <quinot@adacore.com> · 013c9832
      charlet authored
      	* a-strhas.ads: Document risk of collision attack.
      
      2012-01-30  Yannick Moy  <moy@adacore.com>
      
      	* gnat_ugn.texi: Minor update wrt warning switches.
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183706 138bc75d-0d04-0410-961f-82ee72b054a4
      013c9832
    • charlet's avatar
      2012-01-30 Vincent Celier <celier@adacore.com> · 9f64ee09
      charlet authored
      	* prj-nmsc.adb (Check_Interfaces): Report an error when a
      	unit 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): Parent
      	links 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.
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183705 138bc75d-0d04-0410-961f-82ee72b054a4
      9f64ee09
    • charlet's avatar
      2012-01-30 Pascal Obry <obry@adacore.com> · 9f269bd8
      charlet authored
      	* prj.ads, prj.adb (For_Each_Source): Add support for skipping
      	sources 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 predicates
      	appear on a private type and the full view is available, ensure
      	existence of freeze node for full view.
      	(Build_Predicate_Function): Attach predicate function to both
      	views of a private type.
      
      2012-01-30  Vincent Celier  <celier@adacore.com>
      
      	* prj-nmsc.adb (Check_Interfaces): Compute the Lib_Interface_ALIs
      	for the project if either attribute Library_Interface or
      	Interfaces is declared.
      	(Check_Stand_Alone_Library): Use Lib_Interface_ALIs computed in
      	Check_Interfaces.
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183704 138bc75d-0d04-0410-961f-82ee72b054a4
      9f269bd8
    • charlet's avatar
      2012-01-30 Pascal Obry <obry@adacore.com> · a82d9bf4
      charlet authored
      	* prj-proc.adb (Recursive_Process): Set From_Encapsulated_Lib
      	boolean 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): Set
      	From_Encapsulated_Lib boolean flag.
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183703 138bc75d-0d04-0410-961f-82ee72b054a4
      a82d9bf4
    • charlet's avatar
      2012-01-30 Vincent Pucci <pucci@adacore.com> · caad910a
      charlet authored
      	* sem_dim.adb (Expand_Put_Call_With_Dimension_Symbol): Minor
      	code clean up.
      	* s-diflio.ads: Minor change.
      
      2012-01-30  Javier Miranda  <miranda@adacore.com>
      
      	* exp_ch9.adb (Build_Dispatching_Requeue): Add missing call
      	to Get_Entry_Index.  Required to generate code which provides
      	the 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 to
      	fix issue with zcx on VxWorks5.
      
      2012-01-30  Pascal Obry  <obry@adacore.com>
      
      	* prj.ads, prj.adb (For_Every_Project_Imported): Remove
      	In_Aggregate_Lib.
      	(For_Every_Project_Imported_Context): New generic routine with
      	a context parameter.
      	* prj-nmsc.adb: Revert to use For_Every_Project_Imported Avoid
      	distributed complexity.
      	* prj-env.adb, prj-conf.adb, makeutl.adb, gnatcmd.adb: Ditto.
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183702 138bc75d-0d04-0410-961f-82ee72b054a4
      caad910a
    • charlet's avatar
      2012-01-30 Thomas Quinot <quinot@adacore.com> · 04e29e1d
      charlet authored
      	* exp_aggr.adb (Expand_Record_Aggregate): After creating the
      	_parent aggregate for an extension aggregate, check whether it
      	requires 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: Rename
      	and change the position of parameter Symbols in every Put routine.
      	* s-dimmks.ads: Convert long float type Mks_Type into long
      	long float.
      	* s-llflex.ads: Modifications in comments.
      
      2012-01-30  Hristian Kirtchev  <kirtchev@adacore.com>
      
      	* sem_ch12.adb (Earlier): Do not use the
      	top level source locations of the two input nodes.
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183701 138bc75d-0d04-0410-961f-82ee72b054a4
      04e29e1d
    • charlet's avatar
      2012-01-30 Robert Dewar <dewar@adacore.com> · c5824929
      charlet authored
      	* exp_aggr.adb, sem_aggr.adb: Minor reformatting.
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183700 138bc75d-0d04-0410-961f-82ee72b054a4
      c5824929
    • charlet's avatar
      2012-01-30 Robert Dewar <dewar@adacore.com> · daa6a3ae
      charlet authored
      	* einfo.ads, sem_prag.adb, sem_attr.adb, aspects.ads,
      	sem_cat.adb, sem_aggr.adb, exp_aggr.adb: Minor reformatting.
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183699 138bc75d-0d04-0410-961f-82ee72b054a4
      daa6a3ae
    • charlet's avatar
      2012-01-30 Robert Dewar <dewar@adacore.com> · 14cf7fa7
      charlet authored
      	* 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 from
      	Sem_Cat.Validate_Remote_Access_Object_Type_Declaration).
      	(Einfo.Is_Remote_Types): Now applies to generic types. Update
      	documentation accordingly.
      	(Sem_Ch12.Analyze_Associations): A RACW type is acceptable as
      	actual for a formal type to which a pragma Remote_Access_Type
      	applies.
      	(Aspects, Par.Prag, Sem_Prag): Support for new pramga/aspect
      	Remote_Access_Type.
      	(Sem_Attr.Analyze_Attribute, case Stub_Type): Attribute can
      	be applied to a generic type if pragma Remote_Access_Type
      	applies, in which case the type of the attribute is
      	System.Partition_Interface.RACW_Stub_Type.
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183698 138bc75d-0d04-0410-961f-82ee72b054a4
      14cf7fa7
  2. 27 Jan, 2012 6 commits
  3. 23 Jan, 2012 15 commits
    • charlet's avatar
      2012-01-23 Robert Dewar <dewar@adacore.com> · 4db325e6
      charlet authored
      	* sem_prag.ads, sem_prag.adb: Minor reformatting.
      
      2012-01-23  Robert Dewar  <dewar@adacore.com>
      
      	* sem_ch13.adb (Analyze_Aspect_Specifications): Check for
      	language defined aspect applied to renaming or formal type
      	declaration (not permitted)
      
      2012-01-23  Matthew Heaney  <heaney@adacore.com>
      
      	* a-cdlili.adb, a-cidlli.adb, a-cbdlli.adb (Vet): Replaced
      	comment with pragma Assert.
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183423 138bc75d-0d04-0410-961f-82ee72b054a4
      4db325e6
    • charlet's avatar
      2012-01-23 Vincent Pucci <pucci@adacore.com> · cf46479c
      charlet authored
      	* sem_ch12.adb (Analyze_Generic_Subprogram_Declaration): Call
      	to 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): New
      	routine. In ASIS mode, convert any PPC pragmas into aspects in generic
      	subprogram declaration in order to enable the analysis of PPC boolean
      	expressions.
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183422 138bc75d-0d04-0410-961f-82ee72b054a4
      cf46479c
    • charlet's avatar
      Minor reformatting. · 316bdf8e
      charlet authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183421 138bc75d-0d04-0410-961f-82ee72b054a4
      316bdf8e
    • charlet's avatar
      2012-01-23 Robert Dewar <dewar@adacore.com> · 24f0ba72
      charlet authored
      	* sem_ch3.adb (Analyze_Object_Declaration): Properly
      	handle Current_Value for volatile variables (also propagate
      	Treat_As_Volatile from type to object).
      
      2012-01-23  Hristian Kirtchev  <kirtchev@adacore.com>
      
      	* sem_ch12.adb (Install_Body): Detect the case
      	where the enclosing context is a package with a stub body that
      	has already been replaced by the actual body. In such cases,
      	the freeze node for the enclosing context must be inserted after
      	the real body.
      
      2012-01-23  Ed Schonberg  <schonberg@adacore.com>
      
      	* sem_prag.adb (Analyze_Pragma, case Debug): Freeze the called
      	subprogram before expanding the pragma into an if-statement with
      	a block, to ensure that when the subprogram is null its body is
      	properly generated before expansion.
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183420 138bc75d-0d04-0410-961f-82ee72b054a4
      24f0ba72
    • charlet's avatar
      2012-01-23 Hristian Kirtchev <kirtchev@adacore.com> · 362e5ece
      charlet authored
      	* sem_ch12.adb (Analyze_Associations): Alphabetize local variables and
      	constants. Rename Actual_Types to Actuals_To_Freeze. Rename Next_Formal
      	to Saved_Formal.
      	Freeze all eligible subprograms which appear as actuals in
      	the instantiation.
      	(Has_Fully_Defined_Profile): New routine.
      	(Renames_Standard_Subprogram): New routine.
      	(Earlier): Add local variable N. Comment update. Do not use source
      	locations when trying to determine whether one node precedes another.
      
      2012-01-23  Gary Dismukes  <dismukes@adacore.com>
      
      	* exp_ch4.adb (Expand_Concatenate): In the case
      	where the result of a concatentation can be null, set the to
      	result have both the low and high bounds of the right operand (not
      	just the high bound, as was the case prior to this fix). Also,
      	fix the saved high bound setting (Last_Opnd_High_Bound) in the
      	empty 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 not
      	omit statement SCOs for disabled pragmas.
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183419 138bc75d-0d04-0410-961f-82ee72b054a4
      362e5ece
    • charlet's avatar
      2012-01-23 Matthew Heaney <heaney@adacore.com> · dee4c239
      charlet authored
      	* 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.
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183418 138bc75d-0d04-0410-961f-82ee72b054a4
      dee4c239
    • charlet's avatar
      2012-01-23 Robert Dewar <dewar@adacore.com> · 25122b4c
      charlet authored
      	* a-catizo.ads, a-calend.adb, a-calend.ads, par-ch13.adb: Minor
      	reformatting.
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183417 138bc75d-0d04-0410-961f-82ee72b054a4
      25122b4c
    • charlet's avatar
      2012-01-23 Ed Schonberg <schonberg@adacore.com> · 98108069
      charlet authored
      	* sem_ch6.adb (Analyze_Subprogram_Declaration): Do not set the
      	Corresponding_Body on a defaulted null formal subprogram.
      	* sem_ch12.adb (Check_Formal_Package_Instance): No check needed
      	on 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 local
      	constant Subp_Alias and local variable Impl_Subp. Properly
      	handle aliases of synchronized wrappers. Code cleanup.
      	(Check_Pragma_Implemented (Entity_Id; Entity_Id)): Add
      	Name_Optional as part of the condition.
      	* sem_prag.adb (Analyze_Pragma): Add "Optional" as one of the
      	valid 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 aspect
      	specification.
      
      2012-01-23  Hristian Kirtchev  <kirtchev@adacore.com>
      
      	* a-calend.adb: Add with clause for Interfaces.C. Add constant
      	Unix_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 parameter
      	Is_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 parameter
      	Date.
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183414 138bc75d-0d04-0410-961f-82ee72b054a4
      98108069
    • charlet's avatar
      2012-01-23 Robert Dewar <dewar@adacore.com> · f65e883c
      charlet authored
      	* 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. Update
      	the parameter profile of procedure localtime_tzoff and its associated
      	comment.
      	(Day_Of_Week): Do not treat the input date as historical
      	with respect to time zones.
      	(Split): Do not treat the input
      	date as historical with respect to time zones.	(Time_Of): Do
      	not treat the input constituents as forming a historical date
      	with respect to time zones.
      	(UTC_Time_Offset): Add new formal
      	parameter Is_Historic. Add local variable Flag. Update the call
      	to localtime_tzoff.
      	* a-catizo.ads, a-catizo.adb (UTC_Time_Offset): New routine.
      	(UTC_Time_Offset (Time)): Update the call to
      	Time_Zone_Operations.UTC_Time_Offset.
      	* sysdep.c (__gnat_localtime_tzoff): Update parameter
      	profile. Split the processing of offsets on Windows into two - one
      	part of historic time stamps and the other for the current time.
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183413 138bc75d-0d04-0410-961f-82ee72b054a4
      f65e883c
    • charlet's avatar
      2012-01-23 Robert Dewar <dewar@adacore.com> · 6d852e2b
      charlet authored
      	* a-calend.adb: Minor reformatting.
      
      2012-01-23  Ed Schonberg  <schonberg@adacore.com>
      
      	* exp_ch9.adb, sem_ch9.adb: Handle array of access to synchronized
      	interface in requeue statement.
      
      2012-01-23  Cyrille Comar  <comar@adacore.com>
      
      	* projects.texi: Remove references to main units and replace
      	with references to main programs to be coherent with the
      	documentation.
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183412 138bc75d-0d04-0410-961f-82ee72b054a4
      6d852e2b
    • charlet's avatar
      2012-01-23 Robert Dewar <dewar@adacore.com> · cb9cb2d7
      charlet authored
      	* s-utf_32.adb: Minor reformatting.
      
      2012-01-23  Vincent Celier  <celier@adacore.com>
      
      	* snames.ads-tmpl: Minor comment addition Indicate that
      	Name_Library_Encapsulated_Options is only used in gprbuild.
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183411 138bc75d-0d04-0410-961f-82ee72b054a4
      cb9cb2d7
    • charlet's avatar
      2012-01-23 Robert Dewar <dewar@adacore.com> · 49213728
      charlet authored
      	* sem_ch10.adb (Analyze_Subunit): Properly save/restore cunit
      	restrictions.
      
      2012-01-23  Ed Schonberg  <schonberg@adacore.com>
      
      	* snames.ads-tmpl: Add Name_Synchronization.
      	* aspects.ads, aspects.adb: Add Aspect_Synchronization to
      	enumeration type and related maps.
      	* sem_ch13.adb (Analyze_Aspect_Specifications): Handle Aspect
      	Synchronization, build corresponding pragma Implemented.
      	* sem_util.adb (Implementation_Kind): Handle both explicit and
      	implicit pragma_argument association to retrieve the given
      	synchronization mode.
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183410 138bc75d-0d04-0410-961f-82ee72b054a4
      49213728
    • charlet's avatar
      2012-01-23 Robert Dewar <dewar@adacore.com> · bc3646ef
      charlet authored
      	* 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 an
      	Ada 2012 Reference function does not lead to a dangerous order
      	dependence.
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183409 138bc75d-0d04-0410-961f-82ee72b054a4
      bc3646ef
    • charlet's avatar
      2012-01-23 Gary Dismukes <dismukes@adacore.com> · 6daf2e31
      charlet authored
      	* exp_util.adb (Is_Iterated_Container): Test
      	Is_Entity_Name when searching for calls to the default iterator,
      	to avoid blowing up on indirect calls which have an explicit
      	dereference as the call name.
      
      2012-01-23  Thomas Quinot  <quinot@adacore.com>
      
      	* errout.adb (Set_Msg_Node): For an N_Expanded_Name, output
      	the 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 to
      	just call the two-parameter one with Current_Out.
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183408 138bc75d-0d04-0410-961f-82ee72b054a4
      6daf2e31
    • charlet's avatar
      2012-01-23 Hristian Kirtchev <kirtchev@adacore.com> · 2691091b
      charlet authored
      	* freeze.adb (Check_Current_Instance): Issue an
      	error when the prefix of 'Unchecked_Access or 'Access does not
      	denote a legal aliased view of a type.
      	(Freeze_Record_Type): Do not halt the processing of record components
      	once the Has_Controlled_Component is set as this bypasses the remaining
      	checks.
      	(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 error
      	messages.
      
      2012-01-23  Olivier Hainque  <hainque@adacore.com>
      
      	* adadecode.c (__gnat_decode): Deal with empty input early,
      	preventing potential erroneous memory access later on.
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183407 138bc75d-0d04-0410-961f-82ee72b054a4
      2691091b
  4. 21 Jan, 2012 1 commit
  5. 14 Jan, 2012 1 commit
  6. 10 Jan, 2012 2 commits
    • charlet's avatar
      2012-01-10 Pascal Obry <obry@adacore.com> · ae8e99a3
      charlet authored
      	* 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): Declare
      	container 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 aliasing
      	for complex Scalar.
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183060 138bc75d-0d04-0410-961f-82ee72b054a4
      ae8e99a3
    • charlet's avatar
      2012-01-10 Bob Duff <duff@adacore.com> · 43537c96
      charlet authored
      	* sem_intr.adb (Check_Shift): Use RM_Size instead of Esize, when
      	checking that the 'Size is correct. If the type is "mod 2**12",
      	for example, it's illegal, but Esize is the 'Object_Size, which
      	will be something like 16 or 32, so the error ('Size = 12) was
      	not detected.
      	* gnat_rm.texi: Improve documentation of shift
      	and rotate intrinsics.
      
      2012-01-10  Pascal Obry  <obry@adacore.com>
      
      	* prj.adb (For_Every_Project_Imported): Fix
      	implementation to make sure we return each project only once
      	for aggragte libraries. It is fine to return a project twice for
      	aggregate projects, this was the case as a Project_Id is different
      	in each project tree. The new implementation use a table based on
      	the project name to ensure proper detection of duplicate project
      	in aggregate library. A new context is then created to continue
      	retrurning duplicate project for aggregate libraries.
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183059 138bc75d-0d04-0410-961f-82ee72b054a4
      43537c96
  7. 09 Jan, 2012 2 commits