1. 14 Jun, 2012 13 commits
    • einfo.adb einfo.ads (Get_Rep_Item): Removed. · 34f3a701
      2012-06-14  Vincent Pucci  <pucci@adacore.com>
      
      	* einfo.adb einfo.ads (Get_Rep_Item): Removed.
      	(Get_Rep_Item_For_Entity): Removed.
      	(Get_Rep_Pragma): Removed.
      	(Get_Rep_Pragma_For_Entity): Removed.
      	(Has_Rep_Item): Removed.
      	(Has_Rep_Pragma): Removed.
      	(Has_Rep_Pragma_For_Entity): Removed.
      	* exp_ch9.adb (Expand_N_Task_Type_Declaration):
      	Has_Rep_Pragma_For_Entity replaced by Has_Rep_Pragma
      	and Get_Rep_Pragma_For_Entity replaced by Get_Rep_Pragma.
      	(Make_Task_Create_Call): Has_Rep_Pragma_For_Entity replaced
      	by Has_Rep_Pragma and Get_Rep_Pragma_For_Entity replaced by
      	Get_Rep_Pragma.
      	* exp_intr.adb: Dependency to Sem_Aux added for call to Get_Rep_Pragma.
      	* sem_aux.adb (Get_Rep_Item): New routine.
      	(Get_Rep_Pragma): New routine.
      	(Has_Rep_Item): New routine.
      	(Has_Rep_Pragma): New routine.
      	(Nearest_Ancestor): Minor reformatting.
      	* sem_aux.ads (Get_Rep_Item): New routine.
      	(Get_Rep_Pragma): New routine.
      	(Has_Rep_Item): New routine.
      	(Has_Rep_Pragma): New routine.
      	* sem_ch13.adb (Duplicate_Clause): Restore original error messages.
      	* sem_eval.adb (Subtypes_Statically_Match): Get_Rep_Item_For_Entity
      	replaced by Get_Rep_Item.
      	* sem_prag.adb (Analyze_Pragma): Restore original error messages.
      	(Check_Duplicate_Pragma): Restore original error messages.
      
      From-SVN: r188607
      Vincent Pucci committed
    • [multiple changes] · 3cebd1c0
      2012-06-14  Ed Schonberg  <schonberg@adacore.com>
      
      	* sem_util.adb (Is_Object_Reference): in Ada 2012, qualified
      	expressions are valid names.
      
      2012-06-14  Ed Schonberg  <schonberg@adacore.com>
      
      	* sem_ch10.adb (Analyze_Compilation_Unit): If the unit is an
      	instantiation do not emit warnings for obsolescent units. The
      	warnings belong on the corresponding generic.
      
      2012-06-14  Hristian Kirtchev  <kirtchev@adacore.com>
      
      	* einfo.adb: Update the usage of Node15.
      	(Return_Flag_Or_Transient_Decl): Removed.
      	(Set_Return_Flag_Or_Transient_Decl): Removed.
      	(Set_Status_Flag_Or_Transient_Decl): New routine.
      	(Status_Flag_Or_Transient_Decl): New routine.
      	(Write_Field15_Name): Update the output for variables and constants.
      	* einfo.ads: Remove attribute
      	Return_Flag_Or_Transient_Decl along with occurrences in nodes.
      	(Return_Flag_Or_Transient_Decl): Removed along with pragma Inline.
      	(Set_Return_Flag_Or_Transient_Decl): Removed along with pragma Inline.
      	(Set_Status_Flag_Or_Transient_Decl): New routine along with pragma
      	Inline.
      	(Status_Flag_Or_Transient_Decl): New routine along with pragma Inline.
      	* exp_ch4.adb (Create_Alternative): New routine.
      	(Expand_N_Conditional_Expression): Handle the case
      	where at least one of the conditional expression
      	alternatives prodices a controlled temporary by means of a function
      	call.
      	(Is_Controlled_Function_Call): New routine.
      	(Process_Transient_Object): Update the call to
      	Set_Return_Flag_Or_Transient_Decl.
      	* exp_ch6.adb (Enclosing_Context): New routine.
      	(Expand_N_Extended_Return_Statement): Update all calls to
      	Set_Return_Flag_Or_Transient_Decl.
      	(Expand_Ctrl_Function_Call): Prohibit the finalization of a controlled
      	function result when the context is a conditional expression.
      	* exp_ch7.adb (Process_Declarations): Update all calls to
      	Return_Flag_Or_Transient_Decl. Add processing for intermediate
      	results of conditional expressions where one of the alternatives
      	uses a controlled function call.
      	(Process_Object_Declaration): Update all calls to
      	Return_Flag_Or_Transient_Decl and rearrange the logic to process
      	"hook" objects first.
      	(Process_Transient_Objects): Update the call to
      	Set_Return_Flag_Or_Transient_Decl.
      	* exp_util.adb (Requires_Cleanup_Actions (List_Id, Boolean,
      	Boolean)): Update all calls to Return_Flag_Or_Transient_Decl. Add
      	detection for intermediate results of conditional expressions
      	where one of the alternatives uses a controlled function call.
      
      From-SVN: r188606
      Arnaud Charlet committed
    • vrp.h: New testcase. · 7579786c
      2012-06-14  Richard Guenther  <rguenther@suse.de>
      
      	* gcc.dg/tree-ssa/vrp.h: New testcase.
      	* gcc.dg/tree-ssa/vrp68.c: Likewise.
      
      From-SVN: r188604
      Richard Guenther committed
    • arm.opt (mfp=2, [...]): Delete options. · 76702923
      	* arm.opt (mfp=2, mfp=3, mfpe, mfpe=2, mfpe=3): Delete options.
              * arm-fpus.def (fpa, fpe2, fpe3, maverick): Delete FPU types.
      	* arm-tables.opt: Regenerated.
              * doc/invoke.texi: Remove references to deleted options.
      
      From-SVN: r188603
      Richard Earnshaw committed
    • re PR target/53621 ([SH] Frame pointers not generated with -fno-omit-frame-pointer on GCC 4.7.0) · 5921cd19
      PR target/53621
      * config/sh/sh.c (sh_option_override): Don't force
      flag_omit_frame_pointer and maccumulate_outgoing_args.
      * config/sh/sh.opt (maccumulate-outgoing-args): Init as Var.
      
      * gcc.dg/stack-usage-1.c: Force -fomit-frame-pointer on SH.
      
      From-SVN: r188598
      Christian Bruel committed
    • tree-vrp.c (VR_INITIALIZER): New define. · 3c9c79e8
      2012-06-14  Richard Guenther  <rguenther@suse.de>
      
      	* tree-vrp.c (VR_INITIALIZER): New define.
      	(ranges_from_anti_range): New function.
      	(extract_range_from_binary_expr_1): Decompose operations on
      	VR_ANTI_RANGEs to operations on VR_RANGE.
      	(extract_range_from_unary_expr_1): Likewise.
      	(extract_range_from_binary_expr_1, extract_range_from_binary_expr,
      	extract_range_from_unary_expr_1, extract_range_from_unary_expr,
      	extract_range_from_cond_expr, adjust_range_with_scev,
      	vrp_visit_assignment_or_call, vrp_visit_phi_node,
      	simplify_bit_ops_using_ranges): Use VR_INITIALIZER.
      
      From-SVN: r188551
      Richard Guenther committed
    • mips.exp (mips-dg-options): Handle -msynci. · 30cf3db7
      gcc/testsuite/
      	* gcc.target/mips/mips.exp (mips-dg-options): Handle -msynci.
      
      From-SVN: r188550
      Richard Sandiford committed
    • compiler, reflect: Quote package path with tabs. · c789c045
      From-SVN: r188548
      Ian Lance Taylor committed
    • libgo: Make the subdirectory in the CHECK target. · d71ec0cd
      From Andreas Schwab.
      
      From-SVN: r188547
      Ian Lance Taylor committed
    • compiler: Avoid unnecessary interface conversions. · c4675e5e
      From-SVN: r188545
      Ian Lance Taylor committed
    • Daily bump. · f7a70512
      From-SVN: r188544
      GCC Administrator committed
  2. 13 Jun, 2012 27 commits