1. 13 Jul, 2012 4 commits
  2. 12 Jul, 2012 14 commits
    • pt.c (instantiate_decl): Check typedefs access here. · b52259e1
      	* pt.c (instantiate_decl): Check typedefs access here.
      	(instantiate_template_1): Not here.
      
      From-SVN: r189444
      Jason Merrill committed
    • pt.c (deduction_tsubst_fntype): Just suppress access checking. · 77a24503
      	* pt.c (deduction_tsubst_fntype): Just suppress access checking.
      	(instantiate_template_1): Set DECL_TI_TEMPLATE before access checking.
      	(push_deduction_access_scope, pop_deduction_access_scope): Remove.
      
      From-SVN: r189443
      Jason Merrill committed
    • trans-expr.c (conv_isocbinding_procedure): Generate · 0d87d307
      2012-07-12  Tobias Burnus  <burnus@net-b.de>
      
              * trans-expr.c (conv_isocbinding_procedure): Generate
              * c_f_pointer code
              inline.
      
      2012-07-12  Tobias Burnus  <burnus@net-b.de>
      
              * gfortran.dg/c_f_pointer_shape_tests_5.f90: New.
              * gfortran.dg/c_f_pointer_tests_3.f90: Update
              scan-tree-dump-times pattern.
      
      From-SVN: r189442
      Tobias Burnus committed
    • re PR rtl-optimization/53176 (gcc.dg/lower-subreg-1.c FAILs) · e098c169
      	PR rtl-optimization/53176
      	* rtlanal.c (rtx_cost): Adjust default cost for X with a
      	UNITS_PER_WORD factor for all X according to the size of
      	its mode, not just for SUBREGs with untieable modes.
      	Handle SET.  Use factor * factor for MULT, DIV, UDIV,
      	MOD, UMOD.
      
      From-SVN: r189441
      Hans-Peter Nilsson committed
    • i386.md (QImode and HImode cmove splitters): Merge QImode and HImode splitters. · 8c15b4b0
      	* config/i386/i386.md (QImode and HImode cmove splitters): Merge
      	QImode and HImode splitters.  Use ix86_comparison_operator.
      	Explicitly match FLAGS_REG.
      	(DFmode cmove splitter): Explicitly match FLAGS_REG.
      
      From-SVN: r189440
      Uros Bizjak committed
    • [multiple changes] · 75965852
      2012-07-12  Vasiliy Fofanov  <fofanov@adacore.com>
      
      	* vms_data.ads: Add VMS qualifiers for -gnatn1/2 switches.
      
      2012-07-12  Thomas Quinot  <quinot@adacore.com>
      
      	* exp_ch5.adb, exp_pakd.adb, rtsfind.ads, freeze.adb, sem_util.adb,
      	sem_util.ads, exp_aggr.adb
      	(Exp_Aggr.Packed_Array_Aggregate_Handled): Simplify processing
      	for reverse storage order aggregate.
      	(Exp_Pakd.Byte_Swap): New utility routine used by...
      	(Exp_Pakd.Expand_Bit_Packed_Element_Set,
      	Expand_Packed_Element_Reference): For the case of a free-standing
      	packed array with reverse storage order, perform byte swapping.
      	(Rtsfind): Make new entities RE_Bswap_{16,32,64} available.
      	(Freeze.Check_Component_Storage_Order): New utility routine
      	to enforce legality rules for nested composite types whose
      	enclosing composite has an explicitly defined Scalar_Storage_Order
      	attribute.
      	(Sem_Util.In_Reverse_Storage_Order_Object): Renamed from
      	Sem_Util.In_Reverse_Storage_Order_Record, as SSO now applies to
      	array types as well.
      	(Exp_Ch5.Expand_Assign_Array): Remove now unnecessary kludge
      	for change of scalar storage order in assignments. The Lhs and
      	Rhs now always have the same scalar storage order.
      
      2012-07-12  Hristian Kirtchev  <kirtchev@adacore.com>
      
      	* g-debpoo.adb (Allocate): Add local constant
      	No_Element. Initialize the allocated memory chunk to No_Element.
      
      2012-07-12  Ed Schonberg  <schonberg@adacore.com>
      
      	* sem_ch12.adb (Validate_Derived_Type_Instance): Handle properly
      	the case of an instance of a child unit where a formal derived
      	type DT is an extension of a type T declared in a parent unit,
      	and the actual in the instance of the child is the type T declared
      	in the parent instance, and that actual is not a derived type.
      
      2012-07-12  Eric Botcazou  <ebotcazou@adacore.com>
      	    Tristan Gingold  <gingold@adacore.com>
      
      	* system-hpux-ia64.ads: Enable ZCX by default.
      	* gcc-interface/Makefile.in: Use alternate stack on ia64-hpux.
      	Change soext to .so.
      
      From-SVN: r189439
      Arnaud Charlet committed
    • [multiple changes] · 727e7b1a
      2012-07-12  Robert Dewar  <dewar@adacore.com>
      
      	* s-atopri.adb, s-atopri.ads: Minor reformatting.
      
      2012-07-12  Robert Dewar  <dewar@adacore.com>
      
      	* ali.adb: Add circuitry to read new named form of restrictions lines.
      	* debug.adb: Add doc for new -gnatd.R switch (used positional
      	notation for output of restrictions data in ali file).
      	* lib-writ.adb: Implement new named format for restrictions lines.
      	* lib-writ.ads: Add documentation for new named format for
      	restrictions in ali files.
      	* restrict.adb, restrict.ads, sem_prag.adb: Update comments.
      	* rident.ads: Go back to withing System.Rident
      	* s-rident.ads: Add extensive comment on dealing with consistency
      	checking.
      
      2012-07-12  Thomas Quinot  <quinot@adacore.com>
      
      	* par_sco.adb, scos.ads: Emit detailed SCOs for SELECT statements.
      
      From-SVN: r189438
      Arnaud Charlet committed
    • [multiple changes] · 03459f40
      2012-07-12  Robert Dewar  <dewar@adacore.com>
      
      	* sem_disp.adb: Minor reformatting
      	* s-bytswa.ads: Minor comment update.
      
      2012-07-12  Vincent Pucci  <pucci@adacore.com>
      
      	* exp_ch9.adb (Build_Lock_Free_Unprotected_Subprogram_Body):
      	Atomic_Load_N replaced by Lock_Free_Read_N. Atomic_Compare_Exchange_N
      	replaced by Lock_Free_Try_Write_N.
      	Renaming of several local variables. For
      	procedure, Expected_Comp declaration moved to the declaration
      	list of the procedure.
      	* rtsfind.ads: RE_Atomic_Compare_Exchange_8,
      	RE_Atomic_Compare_Exchange_16, RE_Atomic_Compare_Exchange_32,
      	RE_Atomic_Compare_Exchange_64, RE_Atomic_Load_8,
      	RE_Atomic_Load_16, RE_Atomic_Load_32, RE_Atomic_Load_64,
      	RE_Atomic_Synchronize, RE_Relaxed removed.  RE_Lock_Free_Read_8,
      	RE_Lock_Free_Read_16, RE_Lock_Free_Read_32, RE_Lock_Free_Read_64,
      	RE_Lock_Free_Try_Write_8, RE_Lock_Free_Try_Write_16,
      	RE_Lock_Free_Try_Write_32, RE_Lock_Free_Try_Write_64 added.
      	* s-atopri.adb: New file.
      	* s-atopri.ads (Atomic_Compare_Exchange_8): Renaming of
      	parameters.  Import primitive __sync_val_compare_and_swap_1.
      	(Atomic_Compare_Exchange_16): Renaming of parameters.
      	Import primitive __sync_val_compare_and_swap_2.
      	(Atomic_Compare_Exchange_32): Renaming of parameters.
      	Import primitive __sync_val_compare_and_swap_4.
      	(Atomic_Compare_Exchange_64): Renaming of parameters.  Import
      	primitive __sync_val_compare_and_swap_8.
      	(Atomic_Load_8): Ptr renames parameter X.
      	(Atomic_Load_16): Ptr renames parameter X.
      	(Atomic_Load_32): Ptr renames parameter X.
      	(Atomic_Load_64): Ptr renames parameter X.
      	(Lock_Free_Read_8): New routine.
      	(Lock_Free_Read_16): New routine.
      	(Lock_Free_Read_32): New routine.
      	(Lock_Free_Read_64): New routine.
      	(Lock_Free_Try_Write_8): New routine.
      	(Lock_Free_Try_Write_16): New routine.
      	(Lock_Free_Try_Write_32): New routine.
      	(Lock_Free_Try_Write_64): New routine.
      
      From-SVN: r189437
      Arnaud Charlet committed
    • [multiple changes] · 8926d369
      2012-07-12  Robert Dewar  <dewar@adacore.com>
      
      	* exp_attr.adb, exp_ch9.adb, sem_ch9.adb, exp_aggr.adb: Minor
      	reformatting.
      
      2012-07-12  Vincent Pucci  <pucci@adacore.com>
      
      	* sem_dim.adb (Analyze_Dimension_Function_Call): Reformatting of error
      	msgs for elementary functions.
      
      2012-07-12  Vincent Pucci  <pucci@adacore.com>
      
      	* sem_attr.adb (Eval_Attribute): Minor reformatting.
      
      2012-07-12  Pascal Obry  <obry@adacore.com>
      
      	* prj-nmsc.adb (Check_Library_Attributes): Allow the same library
      	project in different project tree (different aggregated projects).
      
      2012-07-12  Thomas Quinot  <quinot@adacore.com>
      
      	* s-bytswa.adb, g-bytswa.adb, g-bytswa.ads, s-bytswa.ads: Further
      	reorganization of byte swapping routines.
      
      2012-07-12  Ed Schonberg  <schonberg@adacore.com>
      
      	* sem_disp.adb (Check_Dispatching_Context): Refine legality
      	checks on tagg indeterminate calls to abstract operations,
      	that appear in the context of other calls.
      
      From-SVN: r189436
      Arnaud Charlet committed
    • [multiple changes] · 1e4b91fc
      2012-07-12  Thomas Quinot  <quinot@adacore.com>
      
      	* s-bytswa.adb (Swapped2.Bswap16): Remove local function,
      	no longer needed.
      
      2012-07-12  Javier Miranda  <miranda@adacore.com>
      
      	* exp_attr.adb (Expand_N_Attribute_Reference): For
      	attributes 'access, 'unchecked_access and 'unrestricted_access,
      	iff the current instance reference is located in a protected
      	subprogram or entry then rewrite the access attribute to be the
      	name of the "_object" parameter.
      
      2012-07-12  Tristan Gingold  <gingold@adacore.com>
      
      	* raise.h: Revert previous patch: structure is used in init.c
      	by vms.
      
      2012-07-12  Vincent Celier  <celier@adacore.com>
      
      	* make.adb (Binding_Phase): If --subdirs was used, but not
      	-P, change the working directory to the specified subdirectory
      	before invoking gnatbind.
      	(Linking_Phase): If --subdirs was used, but not -P, change the working
      	directory to the specified subdirectory before invoking gnatlink.
      
      2012-07-12  Vincent Pucci  <pucci@adacore.com>
      
      	* exp_ch9.adb (Build_Lock_Free_Unprotected_Subprogram_Body):
      	For a procedure, instead of replacing each Comp reference by a
      	reference to Current_Comp, make a renaming Comp of Current_Comp
      	that rewrites the original renaming generated by the compiler
      	during the analysis. Move the declarations of the procedure
      	inside the generated block.
      	(Process_Stmts): Moved in the body
      	of Build_Lock_Free_Unprotected_Subprogram_Body.
      	(Process_Node):
      	Moved in the body of Build_Lock_Free_Unprotected_Subprogram_Body.
      	* sem_ch9.adb (Allows_Lock_Free_Implementation): Restrict any
      	non-elementary out parameters in protected procedures.
      
      2012-07-12  Thomas Quinot  <quinot@adacore.com>
      
      	* sem_ch13.adb (Analyze_Attribute_Definition_Clause, case
      	Scalar_Storage_Order): Attribute applies to base type only.
      
      From-SVN: r189435
      Arnaud Charlet committed
    • [multiple changes] · d9819bbd
      2012-07-12  Ed Schonberg  <schonberg@adacore.com>
      
      	* exp_aggr.adb (Convert_To_Positional): Increase acceptable size
      	of static aggregate when Static_Elaboration_Desired is requested.
      	Add a warning if the request cannot be satisfied either because
      	some components or some array bounds are non-static.
      
      2012-07-12  Thomas Quinot  <quinot@adacore.com>
      
      	* exp_pakd.adb: Minor reformatting.
      
      2012-07-12  Tristan Gingold  <gingold@adacore.com>
      
      	* tracebak.c: Fix warnings.
      	* raise-gcc.c (__gnat_adjust_context): New function
      	(__gnat_personality_seh0): Call __gnat_adjust_context to adjust
      	PC in machine frame for exceptions that occur in the current
      	function.
      
      2012-07-12  Thomas Quinot  <quinot@adacore.com>
      
      	* g-bytswa.adb, g-bytswa.ads, s-bytswa.adb, s-bytswa.ads, Makefile.rtl:
      	Move GNAT.Byte_Swapping to System (with a renaming under GNAT)
      	so that it is usable in expanded code.
      
      2012-07-12  Tristan Gingold  <gingold@adacore.com>
      
      	* s-osinte-hpux.ads: Increase alternate stack size on hpux.
      
      From-SVN: r189434
      Arnaud Charlet committed
    • [multiple changes] · 2ed5b748
      2012-07-12  Javier Miranda  <miranda@adacore.com>
      
      	* exp_ch3.adb (Make_Neq_Body): Fix typo in comment.
      
      2012-07-12  Eric Botcazou  <ebotcazou@adacore.com>
      
      	* tb-gcc.c (trace_callback): On IA-64/HP-UX, use workaround only
      	if USE_LIBUNWIND_EXCEPTIONS is defined.
      	* init.c: Further tweaks for IA-64/HP-UX.
      
      2012-07-12  Tristan Gingold  <gingold@adacore.com>
      
      	* raise-gcc.c: Do not include unwind-dw2-fde.h. Adjust comments.
      	(db_region_for): Second argument is ip.  Do not recompute ip.
      	(action_kind): Remove typedef, add unhandler enum const.
      	(action_descriptor): Adjust type of kind field.
      	(db_action_for): Second argument is ip, do not recompute it.
      	(get_call_site_action_for): First argument is call_site, do not
      	recompute it.  Remove useless return.
      	(is_handled_by): Now return enum action_kind.
      	Handle GNAT_ALL_OTHERS first.
      	Return unhandler for GNAT_UNHANDLED_OTHERS.
      	(get_action_description_for): First argument is now ip, do not
      	recompute it.  Adjust code for call to is_handled_by.
      	(__gnat_notify_unhandled_exception): Add prototype.
      	(PERSONALITY_FUNCTION): Call get_ip_from_context.  Adjust calls.
      	Handle unhandler case.
      	(__gnat_cleanupunwind_handler): Add comments, add
      	ATTRIBUTE_UNUSED on arguments.
      	(__gnat_Unwind_RaiseException, __gnat_Unwind_ForcedUnwind): Define
      	only once.
      	* raise.h: Makes struct Exception_Data opaque.
      
      From-SVN: r189433
      Arnaud Charlet committed
    • [multiple changes] · cd20e505
      2012-07-12  Robert Dewar  <dewar@adacore.com>
      
      	* make.adb, sem_ch9.adb, prj.adb, s-rident.ads, snames.ads-tmpl: Minor
      	reformatting.
      
      2012-07-12  Javier Miranda  <miranda@adacore.com>
      
      	* exp_ch3.adb (Is_User_Defined_Equality): New subprogram.
      	(Make_Neq_Body): New subprogram.
      	(Make_Predefined_Primitive_Specs): Adding local variable
      	Has_Predef_Eq_ Renaming to ensure that we enable the machinery
      	which handles renamings of predefined primitive operators.
      
      From-SVN: r189432
      Arnaud Charlet committed
    • Daily bump. · 381ec0f4
      From-SVN: r189431
      GCC Administrator committed
  3. 11 Jul, 2012 8 commits
  4. 10 Jul, 2012 14 commits
    • re PR target/53886 (Seg fault in sh_insn_length_adjustment) · b6d10335
      	PR target/53886
      	* gcc.c-torture/compile/pr53886.c: New.
      
      From-SVN: r189417
      Oleg Endo committed
    • re PR target/53911 ([SH] Improve displacement addressing) · c03cfe1e
      	PR target/53911
      	* config/sh/sh.md: Remove displacement addresssing related splits.
      
      From-SVN: r189416
      Oleg Endo committed
    • Implement -freuse-stack= option · 87e2a8fd
      From-SVN: r189413
      Xinliang David Li committed
    • arm.md (movsi): Don't split symbol refs here. · 2f011375
      2012-07-10  Julian Brown  <julian@codesourcery.com>
      
      	* config/arm/arm.md (movsi): Don't split symbol refs here.
      	(define_split): New.
      
      From-SVN: r189411
      Julian Brown committed
    • re PR bootstrap/53913 (resource.c:1179:5: error: 'current_function_decl'… · 175aed00
      re PR bootstrap/53913 (resource.c:1179:5: error: 'current_function_decl' undeclared broke m68k bootstrap)
      
      PR bootstrap/53913
      * config/m68k/m68k.c (m68k_epilogue_uses): New.
      * config/m68k/m68k.h (EPILOGUE_USES): Use it.
      * config/m68k/m68k-protos.h (m68k_epilogue_uses): Add prototype.
      
      From-SVN: r189410
      Andreas Schwab committed
    • Zap now unused builtin_mul_widen_even/odd target hooks · 30a7bac9
              * target.def (builtin_mul_widen_even, builtin_mul_widen_odd): Remove.
              * system.h (TARGET_VECTORIZE_BUILTIN_MUL_WIDEN_EVEN): Poison.
              (TARGET_VECTORIZE_BUILTIN_MUL_WIDEN_ODD): Poison.
              * config/i386/i386.c (IX86_BUILTIN_VEC_WIDEN_SMUL_ODD_V4SI): Remove.
              (IX86_BUILTIN_VEC_WIDEN_SMUL_ODD_V8SI): Remove.
              (IX86_BUILTIN_VEC_WIDEN_UMUL_ODD_V4SI): Remove.
              (IX86_BUILTIN_VEC_WIDEN_UMUL_ODD_V8SI): Remove.
              (IX86_BUILTIN_VEC_WIDEN_SMUL_EVEN_V4SI): Remove.
              (IX86_BUILTIN_VEC_WIDEN_UMUL_EVEN_V4SI): Remove.
              (IX86_BUILTIN_VEC_WIDEN_UMUL_EVEN_V8SI): Remove.
              (bdesc_args): Remove entries to match.
              (ix86_builtin_mul_widen_even, ix86_builtin_mul_widen_odd): Remove.
              (TARGET_VECTORIZE_BUILTIN_MUL_WIDEN_EVEN): Remove.
              (TARGET_VECTORIZE_BUILTIN_MUL_WIDEN_ODD): Remove.
              * config/rs6000/rs6000.c (rs6000_builtin_mul_widen_even): Remove.
              (rs6000_builtin_mul_widen_odd): Remove.
              (TARGET_VECTORIZE_BUILTIN_MUL_WIDEN_EVEN): Remove.
              (TARGET_VECTORIZE_BUILTIN_MUL_WIDEN_ODD): Remove.
              * config/spu/spu.c (spu_builtin_mul_widen_even): Remove.
              (spu_builtin_mul_widen_odd): Remove.
              (TARGET_VECTORIZE_BUILTIN_MUL_WIDEN_EVEN): Remove.
              (TARGET_VECTORIZE_BUILTIN_MUL_WIDEN_ODD): Remove.
              * doc/tm.texi.in: Don't document the removed hooks.
      
      From-SVN: r189409
      Richard Henderson committed
    • Use VEC_WIDEN_MULT_EVEN/ODD_EXPR in supportable_widening_operation · 6ae6116f
              * tree-vect-stmts.c (supportable_widening_operation): Expand
              WIDEN_MULT_EXPR via VEC_WIDEN_MULT_EVEN/ODD_EXPR if possible.
      
      From-SVN: r189408
      Richard Henderson committed
    • Move vector highpart emulation to the optabs layer · 00f07b86
              * expmed.c (expmed_mult_highpart): Rename from expand_mult_highpart.
              (expmed_mult_highpart_optab): Rename from expand_mult_highpart_optab.
              * optabs.c (can_mult_highpart_p): New.
              (expand_mult_highpart): New.
              * expr.c (expand_expr_real_2) [MULT_HIGHPART_EXPR): Use it.
              * tree-vect-generic.c (expand_vector_operations_1): Don't expand
              by pieces if can_mult_highpart_p.
              (expand_vector_divmod): Use can_mult_highpart_p and always
              generate MULT_HIGHPART_EXPR.
              * tree-vect-patterns.c (vect_recog_divmod_pattern): Likewise.
              * tree-vect-stmts.c (vectorizable_operation): Likewise.
      
      From-SVN: r189407
      Richard Henderson committed
    • spu: Rename patterns for vec_widen_<s>mult_even/odd_<mode> · 9283726f
              * config/spu/spu-builtins.md (spu_mpy): Move to spu.md.
              (spu_mpyu, spu_mpyhhu, spu_mpyhh): Likewise.
              * config/spu/spu.md (vec_widen_smult_odd_v8hi): Rename from spu_mpy.
              (vec_widen_umult_odd_v8hi): Rename from spu_mpyu.
              (vec_widen_smult_even_v8hi): Rename from spu_mpyhh.
              (vec_widen_umult_even_v8hi): Rename from spu_mpyhhu.
              * config/spu/spu-builtins.def: Update pattern names to match.
      
      From-SVN: r189406
      Richard Henderson committed
    • rs6000: Rename patterns for vec_widen_<s>mult_even/odd_<mode> · 2371eaec
              * config/rs6000/altivec.md (vec_widen_umult_even_v16qi): Rename
              from altivec_vmuleub.
              (vec_widen_smult_even_v16qi): Rename from altivec_vmulesb.
              (vec_widen_umult_even_v8hi): Rename from altivec_vmuleuh.
              (vec_widen_smult_even_v8hi): Rename from altivec_vmulesh.
              (vec_widen_umult_odd_v16qi): Rename from altivec_vmuloub.
              (vec_widen_smult_odd_v16qi): Rename from altivec_vmulosb.
              (vec_widen_umult_odd_v8hi): Rename from altivec_vmulouh.
              (vec_widen_smult_odd_v8hi): Rename from altivec_vmulosh.
              * config/rs6000/rs6000-builtin.def: Update pattern names to match.
      
      From-SVN: r189405
      Richard Henderson committed
    • i386: Rename patterns for vec_widen_<s>mult_even/odd_<mode> · c6b37fab
              * config/i386/sse.md (vec_widen_umult_even_v8si): Rename from
              avx2_umulv4siv4di3.
              (vec_widen_umult_even_v4si): Rename from sse2_umulv2siv2di3.
              (vec_widen_smult_even_v8si): Rename from avx2_mulv4siv4di3.
              (mulv4si3): Remove XOP test shadowed by SSE4 test.
              * config/i386/i386.c (bdesc_args): Update pattern names.
              (ix86_expand_sse2_mulvxdi3): Likewise.
              (ix86_expand_mul_widen_evenodd): Likewise.  Remove XOP test
              shadowed by SSE4 test.
      
      From-SVN: r189404
      Richard Henderson committed
    • Add VEC_WIDEN_MULT_EVEN/ODD_EXPR · 3f30a9a6
              * tree.def (VEC_WIDEN_MULT_EVEN_EXPR, VEC_WIDEN_MULT_ODD_EXPR): New.
              * cfgexpand.c (expand_debug_expr): Handle them.
              * expr.c (expand_expr_real_2): Likewise.
              * fold-const.c (fold_binary_loc): Likewise.
              * gimple-pretty-print.c (dump_binary_rhs): Likewise.
              * optabs.c (optab_for_tree_code): Likewise.
              * tree-cfg.c (verify_gimple_assign_binary): Likewise.
              * tree-inline.c (estimate_operator_cost): Likewise.
              * tree-pretty-print.c (dump_generic_node): Likewise.
              * tree.c (commutative_tree_code): Likewise.
              * tree-vect-generic.c (expand_vector_operations_1): Likewise.
              Handle type change before looking up optab.
              * optabs.h (OTI_vec_widen_umult_even, OTI_vec_widen_umult_odd): New.
              (OTI_vec_widen_smult_even, OTI_vec_widen_smult_odd): New.
              (vec_widen_umult_even_optab, vec_widen_umult_odd_optab): New.
              (vec_widen_smult_even_optab, vec_widen_smult_odd_optab): New.
              * genopinit.c (optabs): Initialize them.
              * doc/md.texi: Document them.
      
      From-SVN: r189403
      Richard Henderson committed
    • tree.h (phi_arg_d): New field. · e53a3e77
      2012-07-10  Dehao Chen  <dehao@google.com>
      
      	* tree.h (phi_arg_d): New field.
      	* tree-flow-inline.h (gimple_phi_arg_block): New function.
      	(gimple_phi_arg_block_from_edge): New function.
      	(gimple_phi_arg_set_block): New function.
      	(gimple_phi_arg_has_block): New function.
      	(redirect_edge_var_map_block): New function.
      	* tree-flow.h (_edge_var_map): New field.
      	* tree-ssa-live.c (remove_unused_locals): Mark phi_arg's block
      	as used.
      	* tree-eh.c (cleanup_empty_eh_merge_phis): Add block debug info for
      	redirect_edge_var_map_add.
      	* tree-outof-ssa.c (_elim_graph): New field.
      	(insert_partition_copy_on_edge): New parameter.
      	(insert_value_copy_on_edge): New parameter.
      	(insert_rtx_to_part_on_edge): New parameter.
      	(insert_part_to_rtx_on_edge): New parameter.
      	(elim_graph_add_edge): New parameter.
      	(elim_graph_remove_succ_edge): New parameter.
      	(FOR_EACH_ELIM_GRAPH_SUCC): New parameter.
      	(FOR_EACH_ELIM_GRAPH_PRED): New parameter.
      	(new_elim_graph): Add block debug info.
      	(clear_elim_graph): Likewise.
      	(delete_elim_graph): Likewise.
      	(elim_graph_add_node): Likewise.
      	(elim_graph_add_edge): Likewise.
      	(elim_graph_remove_succ_edge): Likewise.
      	(eliminate_build): Likewise.
      	(elim_forward): Likewise.
      	(elim_unvisited_predecessor): Likewise.
      	(elim_backward): Likewise.
      	(elim_create): Likewise.
      	(eliminate_phi): Likewise.
      	(insert_backedge_copies): Likewise.
      	* tree-into-ssa.c (insert_phi_nodes_for): Add block debug info for
      	add_phi_arg.
      	(rewrite_add_phi_arguments): Likewise.
      	* tree-ssa-loop-im.c (execute_sm_if_changed): Likewise.
      	* tree-ssa-tail-merge.c (replace_block_by): Likewise.
      	* tree-ssa-threadupdate.c (copy_phi_args): Likewise.
      	* tree-loop-distribution.c (update_phis_for_loop_copy): Likewise.
      	* tree-ssa-loop-manip.c (create_iv): Likewise.
      	(add_exit_phis_edge): Likewise.
      	(split_loop_exit_edge): Likewise.
      	(copy_phi_node_args): Likewise.
      	(tree_transform_and_unroll_loop): Likewise.
      	* value-prof.c (gimple_ic): Likewise.
      	(gimple_stringop_fixed_value): Likewise.
      	* tree-tailcall.c (add_successor_phi_arg): Likewise.
      	(eliminate_tail_call): Likewise.
      	(create_tailcall_accumulator): Likewise.
      	(tree_optimize_tail_calls_1): Likewise.
      	* tree-phinodes.c (add_phi_arg): Likewise.
      	(make_phi_node): Likewise.
      	(resize_phi_node): Likewise.
      	(remove_phi_arg_num): Likewise.
      	* omp-low.c (expand_parallel_call): Likewise.
      	(expand_omp_for_static_chunk): Likewise.
      	* tree-vect-loop-manip.c (slpeel_update_phis_for_duplicate_loop):
      	Likewise.
      	(slpeel_update_phi_nodes_for_guard1): Likewise.
      	(slpeel_update_phi_nodes_for_guard2): Likewise.
      	(slpeel_tree_duplicate_loop_to_edge_cfg): Likewise.
      	(set_prologue_iterations): Likewise.
      	(slpeel_tree_peel_loop_to_edge): Likewise.
      	(vect_loop_versioning): Likewise.
      	* tree-parloops.c (create_phi_for_local_result): Likewise.
      	(transform_to_exit_first_loop): Likewise.
      	(create_parallel_loop): Likewise.
      	* ipa-split.c (split_function): Likewise.
      	* tree-vect-loop.c (get_initial_def_for_induction): Likewise.
      	(vect_create_epilog_for_reduction): Likewise.
      	* tree-vect-data-refs.c (vect_setup_realignment): Likewise.
      	* graphite-scop-detection.c (canonicalize_loop_closed_ssa): Likewise.
      	* tree-ssa-phiopt.c (cond_store_replacement): Likewise.
      	(cond_if_else_store_replacement_1): Likewise.
      	* tree-cfgcleanup.c (remove_forwarder_block): Likewise.
      	(remove_forwarder_block_with_phi): Likewise.
      	* tree-ssa-pre.c (insert_into_preds_of_block): Likewise.
      	* tree-predcom.c (initialize_root_vars): Likewise.
      	(initialize_root_vars_lm): Likewise.
      	* sese.c (sese_add_exit_phis_edge): Likewise.
      	* tree-ssa-dce.c (forward_edge_to_pdom): Likewise.
      	* tree-ssa.c (flush_pending_stmts): Likewise.
      	(redirect_edge_var_map_add): Likewise.
      	(ssa_redirect_edge): Likewise.
      	* gimple-streamer-in.c (input_phi): Likewise.
      	* tree-vect-stmts.c (vectorizable_load): Likewise.
      	* tree-inline.c (copy_phis_for_bb): Likewise.
      	* tree-ssa-phiprop.c (phiprop_insert_phi): Likewise.
      	* tree-switch-conversion.c (fix_phi_nodes): Likewise.
      	* tree-cfg.c (reinstall_phi_args): Likewise.
      	(gimple_make_forwarder_block): Likewise.
      	(add_phi_args_after_copy_edge): Likewise.
      	(gimple_duplicate_sese_tail): Likewise.
      
      From-SVN: r189402
      Dehao Chen committed
    • Daily bump. · 1ee4995f
      From-SVN: r189401
      GCC Administrator committed