1. 11 Mar, 2008 9 commits
    • arm.c (use_return_insn): Check TARGET_APCS_FRAME. · ec6237e4
      2008-03-11  Paul Brook  <paul@codesourcery.com>
      	Vladimir Prus  <vladimir@codesourcery.com>
      
      	* config/arm/arm.c (use_return_insn): Check TARGET_APCS_FRAME.
      	(arm_compute_save_reg0_reg12_mask): Always
      	check if register 11 must be saved.  Always safe hard frame pointer
      	when frame_pointer_needeed.
      	(arm_compute_save_reg_mask): Save IP and PC
      	only with apcs frames.
      	(arm_output_epilogue): Adjust Thumb2 codepath to
      	be also invoked and work for ARM non-apcs frames.
      	(arm_expand_prologue): Don't bother saving IP
      	for non-apcs frame, since it's not clobbered by
      	prologue code.  Implement non-apcs frame
      	layout.
      
      From-SVN: r133117
      Paul Brook committed
    • re PR rtl-optimization/35281 (multiply with 0 generated for 64*32->64) · 2f6025a1
      2008-03-11  Paolo Bonzini  <bonzini@gnu.org>
      
      	PR rtl-optimization/35281
      	* expr.c (convert_move): Use a new pseudo for the intermediate
      	from_mode->word_mode result.
      
      From-SVN: r133116
      Paolo Bonzini committed
    • langhooks-def.h (LANG_HOOKS_CLEAR_BINDING_STACK): Delete. · 30e257e5
      2008-03-11  Paolo Bonzini  <bonzini@gnu.org>
      
              * langhooks-def.h (LANG_HOOKS_CLEAR_BINDING_STACK): Delete.
              * langhooks.h (struct lang_hooks): Delete clear_binding_stack member.
              * toplev.c (compile_file): Don't call it.
      
      fortran:
      2008-03-11  Paolo Bonzini  <bonzini@gnu.org>
      
              * f95-lang.c (LANG_HOOKS_CLEAR_BINDING_STACK): Delete.
              (gfc_be_parse_file): Call clear_binding_stack from here.
      	(gfc_clear_binding_stack): Rename to clear_binding_stack.
      
      java:
      2008-03-11  Paolo Bonzini  <bonzini@gnu.org>
      
              * jcf-parse.c (java_parse_file): Assert binding levels are
              left in order.
              * lang.c (LANG_HOOKS_CLEAR_BINDING_STACK, java_clear_binding_stack):
              Delete.
      
      From-SVN: r133115
      Paolo Bonzini committed
    • override-attribs.C: Require ilp32 x86 target. · 608766dc
      	* g++.dg/inherit/override-attribs.C: Require ilp32 x86 target.
      
      From-SVN: r133111
      Uros Bizjak committed
    • md5.c (md5_process_bytes): Do not assume that memcpy will provide a return value. · 73b38fce
      * md5.c (md5_process_bytes): Do not assume that memcpy will
        provide a return value.
      
      From-SVN: r133107
      Nick Clifton committed
    • re PR c/35526 (ICE on memcpy) · ab669042
      	PR middle-end/35526
      	* expr.c (store_expr): Call emit_block_move if the mode
      	of "temp" RTX is BLKmode.
      
      testsuite/ChangeLog:
      
      	PR middle-end/35526
      	* g++.dg/torture/pr35526.C: New test.
      
      From-SVN: r133106
      Uros Bizjak committed
    • re PR libfortran/32812 (random_seed and date_and_time) · 2d3ca8b7
      	PR libfortran/32812
      	* intrinsics/random.c (scramble_seed, unscramble_seed): New
      	functions.
      	(random_seed_i4): Scramble the seed the user gives us before
      	storing it, and unscramble it when we return it back later.
      
      From-SVN: r133104
      Francois-Xavier Coudert committed
    • re PR tree-optimization/31358 (IV-OPTs produces a weird MEM_REF) · 1ffe34d9
      2008-03-11  Andrew Pinski  <andrew_pinski@playstation.sony.com>
      	Richard Guenther  <rguenther@suse.de>
      
      	PR tree-optimization/31358
      	* tree-ssa-loop-manip.c (create_iv): Call force_gimple_operand for
      	the step with a NULL_TREE.
      	* tree-ssa-loop-ivopts.c (find_bivs): Convert the step
      	to sizetype if type is a pointer type.
      	(add_candidate_1): Don't convert the base and step to
      	the generic type if the orginal type is a pointer type.
      	(add_iv_value_candidates): Use sizetype for the step
      	if type is a pointer type.
      	(cand_value_at): Likewise.
      	* tree-ssa-address.c (add_to_parts): Use POINTER_PLUS_EXPR
      	for pointer types.
      	* tree-affine.c (tree_to_aff_combination <POINTER_PLUS_EXPR>):
      	Don't convert the tem affine to the type.
      	(add_elt_to_tree): Use sizetype for the step if a pointer.
      	Use POINTER_PLUS_EXPR for pointers.
      	(aff_combination_to_tree): Use sizetype for the step if a
      	pointer.
      
      Co-Authored-By: Richard Guenther <rguenther@suse.de>
      
      From-SVN: r133102
      Andrew Pinski committed
    • Daily bump. · 7f2ad78b
      From-SVN: r133100
      GCC Administrator committed
  2. 10 Mar, 2008 17 commits
  3. 09 Mar, 2008 8 commits
  4. 08 Mar, 2008 6 commits
    • re PR testsuite/35350 (FAIL: gcc.target/i386/isa-10.c execution test) · 945a52ae
      2008-03-08  H.J. Lu  <hongjiu.lu@intel.com>
      
      	PR target/35350
      	* gcc.target/i386/isa-1.c: Add -march=x86-64.
      	* gcc.target/i386/isa-2.c: Likewise.
      	* gcc.target/i386/isa-3.c: Likewise.
      	* gcc.target/i386/isa-10.c: Likewise.
      	* gcc.target/i386/isa-11.c: Likewise.
      	* gcc.target/i386/isa-12.c: Likewise.
      	* gcc.target/i386/isa-13.c: Likewise.
      	* gcc.target/i386/isa-14.c: Likewise.
      
      From-SVN: r133044
      H.J. Lu committed
    • sse2-mmx.c (unsigned_add3): Use _mm_setzero_si64 to zero carry. · 8c729fb2
      	* gcc.target/i386/sse2-mmx.c (unsigned_add3): Use _mm_setzero_si64
      	to zero carry.
      
      From-SVN: r133043
      Uros Bizjak committed
    • coverage.h (tree_coverage_counter_addr): Declare. · fc9161c1
      2008-03-08  Richard Guenther  <rguenther@suse.de>
      
      	* coverage.h (tree_coverage_counter_addr): Declare.
      	* coverage.c (tree_coverage_counter_addr): New function.
      	* tree-profile.c (tree_gen_edge_profiler): Unshare counter
      	before using again.
      	(tree_gen_pow2_profiler): Use tree_coverage_counter_addr.
      	(tree_gen_one_value_profiler): Likewise.
      	(tree_gen_ic_profiler): Likewise.
      	(tree_gen_average_profiler): Likewise.
      	(tree_gen_ior_profiler): Likewise.
      
      From-SVN: r133041
      Richard Guenther committed
    • decl.c (maybe_pad_type): Use value_factor_p. · 892f6e65
      	* decl.c (maybe_pad_type): Use value_factor_p.
      
      From-SVN: r133039
      Eric Botcazou committed
    • tree-ssa-sccvn.h (vn_binary_op_lookup): Remove. · 49a1fb2d
      2008-03-08  Richard Guenther  <rguenther@suse.de>
      
      	* tree-ssa-sccvn.h (vn_binary_op_lookup): Remove.
      	(vn_binary_op_insert): Likewise.
      	(vn_unary_op_lookup): Likewise.
      	(vn_unary_op_insert): Likewise.
      	(vn_nary_op_lookup): Declare.
      	(vn_nary_op_insert): Likewise.
      	* tree-ssa-sccvn.c (struct vn_tables_s): Merge unary
      	and binary hashes, use a single obstack for unary_op_pool
      	and binary_op_pool.
      	(struct vn_binary_op_s, struct vn_unary_op_s): Replace with
      	a single struct vn_nary_op_s.  Store tree code length and
      	a variable number of operands.
      	(struct vn_reference_op_struct): Remove unused op2.
      	(vn_reference_op_eq): Do not compare op2.
      	(vn_reference_op_compute_hash): Do not compute hash of op2.
      	(vn_unary_op_hash, vn_binary_op_hash): Replace with vn_nary_op_hash.
      	(vn_unary_op_compute_hash, vn_binary_op_compute_hash): Replace
      	with vn_nary_op_compute_hash.
      	(vn_unary_op_eq, vn_binary_op_eq): Replace with vn_nary_op_eq.
      	(vn_unary_op_lookup, vn_binary_op_lookup): Replace with
      	vn_nary_op_lookup.
      	(vn_unary_op_insert, vn_binary_op_insert): Replace with
      	vn_nary_op_insert.
      	(visit_unary_op): Call nary functions.
      	(visit_binary_op): Likewise.
      	(process_scc): Adjust for struct vn_tables_s changes.
      	(allocate_vn_table): Likewise.
      	(free_vn_table): Likewise.
      	* tree-vn.c (vn_add): Call nary functions.
      	(vn_lookup): Likewise.
      
      From-SVN: r133038
      Richard Guenther committed
    • re PR fortran/34956 (-fbounds-check: bounds_check_9.f90: Use of uninitialized memory) · ba4698e1
      	PR fortran/34956
      	* trans-array.c (gfc_conv_ss_startstride): Fix the logic to avoid
      	checking bounds of absent optional arguments.
      
      From-SVN: r133037
      Francois-Xavier Coudert committed