1. 12 May, 2015 9 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
    • Minor reformatting. · 0cc1540d
      From-SVN: r223037
      Arnaud Charlet committed
    • [multiple changes] · 84dad556
      2015-05-12  Robert Dewar  <dewar@adacore.com>
      
      	* exp_unst.adb (Get_Real_Subp): New subprogram.
      	(Unnest_Subprogram): Use Get_Real_Subp.
      	(Uplev_Refs_For_One_Subp): Skip if no ARECnU entity.
      	(Uplev_Refs_For_One_Subp): Use actual subtype in unconstrained case.
      
      2015-05-12  Robert Dewar  <dewar@adacore.com>
      
      	* a-reatim.adb ("/"): Add explicit check for Time_Span_First / -1.
      
      2015-05-12  Ed Schonberg  <schonberg@adacore.com>
      
      	* sem_ch4.adb (Extended_Primitive_Ops): New subprogram,
      	auxiliary to Try_Primitive_Operation to handle properly prefixed
      	calls where the operation is not a primitive of the type, but
      	is declared in the package body that is in the immediate scope
      	of the type.
      
      From-SVN: r223036
      Arnaud Charlet committed
    • [multiple changes] · ddbc55d8
      2015-05-12  Robert Dewar  <dewar@adacore.com>
      
      	* sem_util.adb (Is_Variable): Allow X'Deref(Y) as a variable.
      
      2015-05-12  Ed Schonberg  <schonberg@adacore.com>
      
      	* sem_ch8.adb (Find_Expanded_Name): Handle properly a fully
      	qualified name for an instance of a generic grand-child unit in
      	the body its parent.
      
      2015-05-12  Robert Dewar  <dewar@adacore.com>
      
      	* exp_unst.adb (Upref_Name): New subprogram.
      	(Unnest_Subprogram): Use Upref_Name.
      	(Unnest_Subprogram): Use new Deref attribute.
      	* exp_unst.ads: Doc updates.
      
      2015-05-12  Thomas Quinot  <quinot@adacore.com>
      
      	* adaint.c: Enable Large File Support in adaint so that __gnat_readdir
      	can access files on filesystems mounted from servers that use large
      	NFS file handles.
      
      From-SVN: r223035
      Arnaud Charlet committed
    • combine.c i (set_nonzero_bits_and_sign_copies): Split code updating… · 3a857fd0
      combine.c i (set_nonzero_bits_and_sign_copies): Split code updating rsp->sign_bit_copies and rsp->nonzero_bits into ...
      
      2015-05-12  Thomas Preud'homme  <thomas.preudhomme@arm.com>
      
          * combine.c i(set_nonzero_bits_and_sign_copies): Split code updating
          rsp->sign_bit_copies and rsp->nonzero_bits into ...
          (update_rsp_from_reg_equal): This.  Also use REG_EQUAL note on src if
          present to get more accurate information about the number of sign bit
          copies and non zero bits.
      
      From-SVN: r223034
      Thomas Preud'homme committed
    • tree-vect-slp.c (vect_build_slp_tree_1): For BB vectorization do not allow unrolling. · dfc55d30
      2015-05-12  Richard Biener  <rguenther@suse.de>
      
      	* tree-vect-slp.c (vect_build_slp_tree_1): For BB vectorization
      	do not allow unrolling.
      
      	* gcc.dg/vect/bb-slp-35.c: New testcase.
      
      From-SVN: r223033
      Richard Biener committed
    • re PR fortran/66041 (Matmul ICE) · 9b7df66f
      2015-05-12  Thomas Koenig  <tkoenig@gcc.gnu.org>
      
      	PR fortran/66041
      	PR fortran/37131
      	* gfortran.h (gfc_array_spec):  Add field resolved.
      	* array.c (gfc_resolve_array_spec):  Resolve array spec
      	only once.
      
      From-SVN: r223031
      Thomas Koenig committed
    • Daily bump. · 3591a123
      From-SVN: r223030
      GCC Administrator committed
  2. 11 May, 2015 30 commits
  3. 10 May, 2015 1 commit
    • ipa-devirt.c (warn_types_mismatch): Do not ICE when warning about mismatch… · ad5bc324
      ipa-devirt.c (warn_types_mismatch): Do not ICE when warning about mismatch between C and C++ type...
      
      	* ipa-devirt.c (warn_types_mismatch): Do not ICE when warning about
      	mismatch between C and C++ type; compoare correctly ARG_TYPES
      	for non-prototypes and output correctly parameter index for METHOD_TYPE.
      	(odr_types_equivalent_p): Fix wording of warning about attributes;
      	it is OK to match prototype and non-prototype.
      
      From-SVN: r222985
      Jan Hubicka committed