1. 06 Feb, 2014 14 commits
    • [multiple changes] · a0367a97
      2014-02-06  Pascal Obry  <obry@adacore.com>
      
      	* prj-util.adb (For_Interface_Sources): Fix handling of required
      	bodies for aggregate libs.
      
      2014-02-06  Robert Dewar  <dewar@adacore.com>
      
      	* nlists.ads: Minor comment clarifications.
      
      2014-02-06  Robert Dewar  <dewar@adacore.com>
      
      	* gnat1drv.adb (Adjust_Global_Switches): Set Modify_Tree_For_C
      	if gnatd.V set.
      	* opt.ads (Modify_Tree_For_C): New flag.
      	* output.ads, output.adb (Last_Char): New function.
      
      2014-02-06  Pascal Obry  <obry@adacore.com>
      
      	* projects.texi, prj-env.adb (Initialize_Default_Project_Path): Add
      	share/gpr for cross-builds.
      
      From-SVN: r207542
      Arnaud Charlet committed
    • Fix pr59597.c test to work with PIC variants too · ce3904da
      From-SVN: r207541
      Ian Bolton committed
    • exp_util.ads, [...]: Minor reformatting and code clean ups. · 155b4fcc
      2014-02-06  Robert Dewar  <dewar@adacore.com>
      
      	* exp_util.ads, checks.adb, sem_prag.adb, prj-util.adb, sem_ch13.adb:
      	Minor reformatting and code clean ups.
      
      From-SVN: r207540
      Robert Dewar committed
    • aarch64-cores.def (cortex-a53): Specify CRC32 and crypto support. · c366d38c
      2014-02-06  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
      
      	* config/aarch64/aarch64-cores.def (cortex-a53): Specify CRC32
      	and crypto support.
      	(cortex-a57): Likewise.
      	(cortex-a57.cortex-a53): Likewise.
      
      From-SVN: r207539
      Kyrylo Tkachov committed
    • prj-util.adb (For_Interface_Sources): Skip non compilable languages. · 49d8d177
      2014-02-06  Pascal Obry  <obry@adacore.com>
      
      	* prj-util.adb (For_Interface_Sources): Skip non compilable languages.
      	* prj.ads: Minor typo fix in comment.
      
      From-SVN: r207538
      Pascal Obry committed
    • [multiple changes] · 8e1e62e3
      2014-02-06  Hristian Kirtchev  <kirtchev@adacore.com>
      
      	* sem_prag.adb (Analyze_Depends_In_Decl_Part): Add
      	local variable Expr. Flag clauses with extra parenthesis as this
      	is not allowed by the syntax of the pragma. Code reformatting.
      
      2014-02-06  Hristian Kirtchev  <kirtchev@adacore.com>
      
      	* exp_attr.adb (Expand_N_Attribute_Reference): Alphabetize
      	variables. Rename variabme Tnn to Temp. Do not create a temporary
      	if assertions are disabled. Find enclosing routine _Postconditions
      	and insert the temporary that captures the value of the prefix
      	before the routine.
      	* exp_ch6.adb (Build_Postconditions_Procedure):
      	Insert the generated _Postconditions routine
      	before the first source declaration of the related
      	subprogram.
      	(Insert_After_Last_Declaration): Removed.
      	(Insert_Before_First_Source_Declaration): New routine.
      
      2014-02-06  Ed Schonberg  <schonberg@adacore.com>
      
      	* exp_util.adb, exp_util.ads (Within_Internal_Subprogram):
      	Utility to determine whether current expansion is for the body
      	of a predefined primitive operation.
      	(Make_Predicate_Check): Use Within_Internal_Subpgram
      	* checks.adb (Apply_Predicate_Check): Use
      	Within_Internal_Subprogram
      	* sem_ch13.adb (Freeze_Entity_Checks): Ditto.
      
      2014-02-06  Pascal Obry  <obry@adacore.com>
      
      	* prj.ads, prj-util.adb: Minor reformatting.
      
      From-SVN: r207537
      Arnaud Charlet committed
    • [multiple changes] · cbee4f74
      2014-02-06  Ed Schonberg  <schonberg@adacore.com>
      
      	* exp_ch6.adb (Expand_Subprogram_Contract, Append_Enabled_Item):
      	Take into account the Split_PPC flag to ensure that conjuncts
      	in a composite postcondition aspect are tested in source order.
      
      2014-02-06  Hristian Kirtchev  <kirtchev@adacore.com>
      
      	* sem_ch6.adb (Analyze_Generic_Subprogram_Body): Flag illegal
      	use of SPARK_Mode.
      	* sem_ch12.adb (Analyze_Generic_Subprogram_Declaration): Flag
      	illegal use of SPARK_Mode.
      	(Instantiate_Subprogram_Body): Flag illegal use of SPARK_Mode.
      	* sem_prag.adb (Analyze_Pragma): Code reformatting.
      	* sem_util.adb Add with and use clause for Aspects.
      	(Check_SPARK_Mode_In_Generic): New routine.
      	* sem_util.ads (Check_SPARK_Mode_In_Generic): New routine.
      
      2014-02-06  Thomas Quinot  <quinot@adacore.com>
      
      	* a-calend.adb (Formatting_Operations.Split): Ensure that
      	Time_Error is raised for invalid time values.
      
      From-SVN: r207536
      Arnaud Charlet committed
    • [multiple changes] · e2ef0ff6
      2014-02-06  Arnaud Charlet  <charlet@adacore.com>
      
      	* sem_prag.adb (Analyze_Pragma): Rewrite as a null statement
      	in GNATprove_Mode.
      
      2014-02-06  Robert Dewar  <dewar@adacore.com>
      
      	* einfo.ads, einfo.adb (Is_Discriminant_Check_Function): New flag.
      	* exp_ch3.adb (Build_Dcheck_Function): Set
      	Is_Discriminant_Check_Function.
      
      2014-02-06  Hristian Kirtchev  <kirtchev@adacore.com>
      
      	* exp_ch7.adb (Is_Subprogram_Call): Inspect
      	the original tree in certain cases where a construct has been
      	factored out and replaced by a reference to a temporary.
      
      2014-02-06  Ed Schonberg  <schonberg@adacore.com>
      
      	* sem_ch3.adb (Process_Full_View): Fix typo in the order of
      	parameters when propagating predicate function to full view.
      	(Find_Type_Of_Object): Freeze base type of object type to catch
      	premature use of discriminated private type without a full view.
      
      From-SVN: r207535
      Arnaud Charlet committed
    • [multiple changes] · 97779c34
      2014-02-06  Robert Dewar  <dewar@adacore.com>
      
      	* sprint.adb: Minor reformatting.
      
      2014-02-06  Hristian Kirtchev  <kirtchev@adacore.com>
      
      	* exp_ch4.adb (Process_Transient_Object): Add local variable
      	Temp_Ins. When the transient object is initialized by an
      	aggregate, the hook must capture the object after the last
      	component assignment takes place.
      	* exp_ch7.adb (Detect_Subprogram_Call): Expose the subprogram to
      	routine Is_Subprogram_Call.
      	(Is_Subprogram_Call): Inspect an
      	aggregate that has been heavily expanded for subprogram calls.
      	(Process_Transient_Objects): Add local variables Expr, Ptr_Id
      	and Temp_Ins.  Remove the nested declare block and adjust the
      	indentation. When the transient object is initialized by an
      	aggregate, the hook must capture the object after the last
      	component assignment takes place.
      
      2014-02-06  Hristian Kirtchev  <kirtchev@adacore.com>
      
      	* sem_prag.adb (Analyze_Global_Item): Detect illegal uses of
      	external states with enabled properties that do not match the
      	global mode.
      	(Property_Error): New routine.
      	* sem_res.adb (Property_Error): New routine.
      	(Resolve_Actuals): Detect illegal uses of external variables with
      	enabled properties in procedure calls that do not match the mode of
      	the corresponding formal parameter.
      
      2014-02-06  Hristian Kirtchev  <kirtchev@adacore.com>
      
      	* sem_util.adb (Has_Enabled_Property): Rename
      	formal parameter Prop_Nam to Property. Update the comment on usage
      	and all occurrences in the body. Add local variable Prop_Nam. When
      	inspecting a property with an expression, the property name
      	appears as the first choice of the component association.
      
      From-SVN: r207534
      Arnaud Charlet committed
    • arm.c (arm_vector_alignment_reachable): Check unaligned_access. · c801e246
      2014-02-06  Yury Gribov  <y.gribov@samsung.com>
      	    Kugan Vivekanandarajah  <kuganv@linaro.org>
      
      gcc/
      	* config/arm/arm.c (arm_vector_alignment_reachable): Check
      	unaligned_access.
      	* config/arm/arm.c (arm_builtin_support_vector_misalignment): Likewise.
      
      testsuite/
      	* gcc.target/arm/vect-noalign.c: New file.
      
      Co-Authored-By: Kugan Vivekanandarajah <kuganv@linaro.org>
      
      From-SVN: r207533
      Yury Gribov committed
    • tree-cfg.c (gimple_duplicate_sese_region): Fix ordering of set_loop_copy and… · d50f7b84
      tree-cfg.c (gimple_duplicate_sese_region): Fix ordering of set_loop_copy and initialize_original_copy_tables.
      
      2014-02-06  Richard Biener  <rguenther@suse.de>
      
      	* tree-cfg.c (gimple_duplicate_sese_region): Fix ordering of
      	set_loop_copy and initialize_original_copy_tables.
      
      From-SVN: r207532
      Richard Biener committed
    • [AArch64] Shift right pattern fix · 179d2941
      gcc/
      
      	* config/aarch64/aarch64-simd.md
      	(aarch64_ashr_simddi): Change QI to SI.
      
      From-SVN: r207531
      Alex Velenko committed
    • re PR middle-end/60013 (Build of 176.gcc from CPU2000 loops in cc1 starting with r207231) · 78b1469d
      
      	PR middle-end/60013
      	* ipa-inline-analysis.c (compute_bb_predicates): Ensure monotonicity
      	of the dataflow.
      	* gcc.dg/pr60013.c: New testcase.
      
      Co-Authored-By: Jakub Jelinek <jakub@redhat.com>
      
      From-SVN: r207529
      Jan Hubicka committed
    • Daily bump. · d24d2cef
      From-SVN: r207528
      GCC Administrator committed
  2. 05 Feb, 2014 23 commits
  3. 04 Feb, 2014 3 commits