1. 30 Oct, 2012 26 commits
    • re PR debug/54551 (DF resets some DEBUG_INSNs unnecessarily) · f39b1a1a
      PR debug/54551
      PR debug/54693
      * valtrack.c (dead_debug_promote_uses): Assert-check that
      global used bit was clear and initialize entry
      unconditionally.
      
      From-SVN: r193003
      Alexandre Oliva committed
    • cse.c (hash_rtx_cb): Replace RTX_UNCHANGING_P with MEM_READONLY_P in head comment. · 3e55d79b
      	* cse.c (hash_rtx_cb): Replace RTX_UNCHANGING_P with MEM_READONLY_P in
      	head comment.
      	(hash_rtx): Likewise.
      
      From-SVN: r193001
      Eric Botcazou committed
    • Remove lra_in_progress check for ARG_POINTER_REGNUM · 98072ee5
      gcc/
      
      	PR rtl-optimization/55093
      	* rtlanal.c (simplify_subreg_regno): Remove lra_in_progress
      	check for ARG_POINTER_REGNUM.
      
      gcc/testsuite/
      
      	PR rtl-optimization/55093
      	* gcc.target/i386/pr55093.c: New file.
      
      From-SVN: r193000
      H.J. Lu committed
    • Rename pr55116.c to pr55116-1.c · 478b77b9
      	* gcc.target/i386/pr55116.c: Renamed to ...
      	* gcc.target/i386/pr55116-1.c: This.
      
      From-SVN: r192997
      H.J. Lu committed
    • Add another testcase for PR middle-end/55116 · 75c3d92f
      	* gcc.target/i386/pr55116-2.c: New file.
      
      From-SVN: r192996
      H.J. Lu committed
    • mti-linux.h (SYSROOT_SUFFIX_SPEC): Change order and add mabi=64. · e64d0f55
      2012-10-30  Steve Ellcey  <sellcey@mips.com>
      
      	* config/mips/mti-linux.h (SYSROOT_SUFFIX_SPEC): Change order
      	and add mabi=64.
      	(DRIVER_SELF_SPECS): Make -n32 the default on mips64* archs.
      	* config/mips/t-mti-linux (MULTILIB_OPTIONS): Change order.
      	(MULTILIB_DIRNAMES): Ditto.
      	(MULTILIB_EXCEPTIONS): New.
      
      From-SVN: r192995
      Steve Ellcey committed
    • Fix ChangeLog typo. · 606e7d3a
      From-SVN: r192994
      Joern Rennecke committed
    • lra-constrraints.c (check_secondary_memory_needed_p): Add ATTRIBUTE_UNUSED to parameters. · fbebbadd
      	* lra-constrraints.c (check_secondary_memory_needed_p):
      	Add ATTRIBUTE_UNUSED to parameters.
      
      From-SVN: r192993
      Joern Rennecke committed
    • defaults.h (SLOW_UNALIGNED_ACCESS): Provide default definition. · 08e931f3
      gcc/
      	* defaults.h (SLOW_UNALIGNED_ACCESS): Provide default definition.
      	* expmed.c (SLOW_UNALIGNED_ACCESS): Remove default definition.
      	* expr.c (SLOW_UNALIGNED_ACCESS): Likewise.
      	* lra-constraints.c (SLOW_UNALIGNED_ACCESS): Likewise.
      	(simplify_operand_subreg): Don't check STRICT_ALIGNMENT here.
      
      From-SVN: r192992
      Richard Sandiford committed
    • tree-ssa-loop-niter.c (number_of_iterations_exit): New parameter EVERY_ITERATION… · e152d14c
      tree-ssa-loop-niter.c (number_of_iterations_exit): New parameter EVERY_ITERATION with implicit value of true.
      
      
      	* tree-ssa-loop-niter.c (number_of_iterations_exit): New parameter
      	EVERY_ITERATION with implicit value of true.
      	(record_estimate): Check dominance relationship of the basic block
      	we are estimating on instead of relying on UPPER to be false.
      	(struct ilb_data): Drop RELIABLE.
      	(idx_infer_loop_bounds): Update.
      	(infer_loop_bounds_from_ref): Drop parameter RELIABLE.
      	(infer_loop_bounds_from_array): Drop parameter RELIABLE.
      	(infer_loop_bounds_from_undefined): Update comments and handling
      	of RELIABLE.
      	(estimate_numbers_of_iterations_loop): Record all bounds.
      
      From-SVN: r192990
      Jan Hubicka committed
    • tree-ssa-loop-niter.c (number_of_iterations_exit): New parameter EVERY_ITERATION… · cd0f6278
      tree-ssa-loop-niter.c (number_of_iterations_exit): New parameter EVERY_ITERATION with implicit value of true.
      
      
      	* tree-ssa-loop-niter.c (number_of_iterations_exit): New parameter
      	EVERY_ITERATION with implicit value of true.
      	(record_estimate): Check dominance relationship of the basic block
      	we are estimating on instead of relying on UPPER to be false.
      	(struct ilb_data): Drop RELIABLE.
      	(idx_infer_loop_bounds): Update.
      	(infer_loop_bounds_from_ref): Drop parameter RELIABLE.
      	(infer_loop_bounds_from_array): Drop parameter RELIABLE.
      	(infer_loop_bounds_from_undefined): Update comments and handling
      	of RELIABLE.
      	(estimate_numbers_of_iterations_loop): Record all bounds.
      
      From-SVN: r192989
      Jan Hubicka committed
    • lra-eliminations.c (lra_eliminate_regs_1): Use simplify_gen_subreg rather than gen_rtx_SUBREG. · baa061be
      gcc/
      	* lra-eliminations.c (lra_eliminate_regs_1): Use simplify_gen_subreg
      	rather than gen_rtx_SUBREG.
      
      From-SVN: r192988
      Richard Sandiford committed
    • gimple.h (gimple_store_p): New predicate. · c12d9242
      2012-10-30  Richard Biener  <rguenther@suse.de>
      
      	* gimple.h (gimple_store_p): New predicate.
      	(gimple_assign_load_p): Likewise.
      	* tree-inline.c (estimate_num_insns): Use it.
      
      	* gcc.dg/vect/slp-perm-2.c: Adjust.
      
      From-SVN: r192987
      Richard Biener committed
    • fold-const.c (fold_binary_op_with_conditional_arg): Handle vectors. · 2e2e628b
      2012-10-30  Marc Glisse  <marc.glisse@inria.fr>
      
      	* fold-const.c (fold_binary_op_with_conditional_arg): Handle vectors.
      	(fold_binary_loc): call it for VEC_COND_EXPR.
      
      From-SVN: r192986
      Marc Glisse committed
    • 2012-10-30 James Greenhalgh <james.greenhalgh@arm.com> · 4fda1ad1
      	    Tejas Belagod  <tejas.belagod@arm.com>
      
      	* config/aarch64/aarch64-simd.md
      	(aarch64_simd_bsl<mode>_internal): New pattern.
      	(aarch64_simd_bsl<mode>): Likewise.
      	(aarch64_vcond_internal<mode>): Likewise.
      	(vcondu<mode><mode>): Likewise.
      	(vcond<mode><mode>): Likewise.
      	* config/aarch64/iterators.md (UNSPEC_BSL): Add to define_constants.
      
      
      Co-Authored-By: Tejas Belagod <tejas.belagod@arm.com>
      
      From-SVN: r192985
      James Greenhalgh committed
    • re PR tree-optimization/55111 (ICE: tree check: expected ssa_name, have… · c96cab6e
      re PR tree-optimization/55111 (ICE: tree check: expected ssa_name, have integer_cst in live_on_edge, at tree-vrp.c:89)
      
      2012-10-30  Richard Biener  <rguenther@suse.de>
      
      	PR tree-optimization/55111
      	* tree-ssa-pre.c (eliminate_insert): Properly fold the built
      	stmt.
      
      	* gcc.dg/torture/pr55111.c: New testcase.
      
      From-SVN: r192984
      Richard Biener committed
    • re PR target/54963 (Wrong code generated for libgfortran/generated/eoshift3_8.c on SH) · 01850a76
      	PR target/54963
      	* config/sh/iterators.md (SIDI): New mode iterator.
      	* config/sh/sh.md (negdi2): Use parallel around operation and T_REG
      	clobber in expander.
      	(*negdi2): Mark output operand as early clobbered.  Add T_REG clobber.
      	Split after reload.  Simplify split code.
      	(abssi2, absdi2): Fold expanders into abs<mode>2.
      	(*abssi2, *absdi2): Fold into *abs<mode>2 insn_and_split.  Split insns
      	before reload.
      	(*negabssi2, *negabsdi2): Fold into *negabs<mode>2.  Add T_REG clobber.
      	Split insns before reload.
      	(negsi_cond): Reformat.  Use emit_move_insn instead of
      	gen_movesi.
      	(negdi_cond): Reformat.  Use emit_move_insn instead of a pair
      	of gen_movsi.  Split insn before reload.
      
      From-SVN: r192983
      Oleg Endo committed
    • re PR c++/54988 (fpmath=sse target pragma causes inlining failure because of… · 197ddd06
      re PR c++/54988 (fpmath=sse target pragma causes inlining failure because of target specific option mismatch)
      
      	PR target/54988
      	* config/sh/sh.md (tstqi_t_zero): Rename to *tstqi_t_zero.
      	(*tst<mode>_t_zero): New insns.
      	* config/sh/iterators.md (lowpart_be, lowpart_le): New mode attributes.
      
      	PR target/54988
      	* gcc.target/sh/pr53988.c: New.
      
      From-SVN: r192982
      Oleg Endo committed
    • Remove alloca from dump_gimple_bb_header · 3a8ebb92
      	* gimple-pretty-print.c (dump_gimple_bb_header): Avoid alloca.
      
      From-SVN: r192981
      H.J. Lu committed
    • Add myself to MAINTAINERS · 7e0575b0
      From-SVN: r192980
      Ganesh Gopalasubramanian committed
    • re PR debug/54953 (New sra-1.c FAILs on powerpc) · 85d87497
      	PR debug/54953
      	* valtrack.h (DEBUG_TEMP_AFTER_WITH_REG_FORCE): New.
      	* valtrack.c (dead_debug_insert_temp): Use emit_debug_insn_after
      	even for where == DEBUG_TEMP_AFTER_WITH_REG_FORCE.
      	* dce.c (word_dce_process_block, dce_process_block): Pass
      	DEBUG_TEMP_AFTER_WITH_REG_FORCE if insn is needed and therefore
      	not going to be eliminated.
      
      From-SVN: r192978
      Jakub Jelinek committed
    • re PR target/54989 (FAIL: gcc.dg/hoist-register-pressure.c scan-rtl-dump hoist… · d863d143
      re PR target/54989 (FAIL: gcc.dg/hoist-register-pressure.c scan-rtl-dump hoist "PRE/HOIST: end of bb .* copying expression" on darwin)
      
      	PR target/54989
      	* gcc.dg/hoist-register-pressure-1.c: Rename from
      	hoist-register-pressure.c. Add nonpic condition.
      	* gcc.dg/hoist-register-pressure-2.c: New testcase.
      
      From-SVN: r192976
      Bin Cheng committed
    • Daily bump. · c46cf1fa
      From-SVN: r192975
      GCC Administrator committed
    • This patch implements the unification of the *bitmap interfaces as discussed. · f61e445a
      Essentially, we rename ebitmap and sbitmap functions to use the same names
      as the bitmap functions.  This rename works because we can now overload
      on the bitmap type.  Some macros now become inline functions to enable
      that overloading.
      
      The sbitmap non-bool returning bitwise operations have been merged with
      the bool versions.  Sometimes this merge involved modifying the non-bool
      version to compute the bool value, and sometimes modifying bool version to
      add additional work from the non-bool version.  The redundant routines have
      been removed.
      
      The allocation functions have not been renamed, because we often do not
      have an argument on which to overload.  The cardinality functions have not
      been renamed, because they have different parameters, and are thus not
      interchangable.  The iteration functions have not been renamed, because
      they are functionally different.
      
      Tested on x86_64, contrib/config-list.mk testing passed.
      
      
      Index: gcc/ChangeLog
      
      2012-10-29  Lawrence Crowl  <crowl@google.com>
      
      	* sbitmap.h (sbitmap_copy): Rename bitmap_copy.
      	(sbitmap_copy_n): Rename bitmap_copy_n.
      	(sbitmap_equal): Rename bitmap_equal_p.
      	(sbitmap_empty_p): Rename bitmap_empty_p.
      	(sbitmap_range_empty_p): Rename bitmap_range_empty_p.
      	(sbitmap_zero): Rename bitmap_clear.
      	(sbitmap_ones): Rename bitmap_ones.
      	(sbitmap_vector_zero): Rename bitmap_vector_clear.
      	(sbitmap_vector_ones): Rename bitmap_vector_ones.
      	(sbitmap_not): Rename bitmap_not.
      	(sbitmap_a_and_b_cg): Commented out.
      	(sbitmap_a_and_b): Rename bitmap_and.  Add bool return.
      	(sbitmap_difference): Rename bitmap_and_compl.
      	(sbitmap_a_or_b_cg): Commented out.
      	(sbitmap_a_or_b): Rename bitmap_xor.  Add bool return.
      	(sbitmap_a_xor_b_cg): Commented out.
      	(sbitmap_a_xor_b): Rename bitmap_xor.  Add bool return.
      	(sbitmap_a_and_b_or_c_cg): Rename bitmap_and_or.
      	(sbitmap_a_and_b_or_c): Commented out.
      	(sbitmap_a_or_b_and_c_cg): Rename bitmap_or_and.
      	(sbitmap_a_or_b_and_c): Commented out.
      	(sbitmap_union_of_diff_cg): Rename bitmap_ior_and_compl.
      	(sbitmap_union_of_diff): Commented out.
      	(dump_sbitmap): Rename dump_bitmap.
      	(dump_sbitmap_file): Rename dump_bitmap_file.
      	(debug_sbitmap): Rename debug_bitmap.
      	(dump_sbitmap_vector): Rename dump_bitmap_vector.
      	(sbitmap_first_set_bit): Rename bitmap_first_set_bit.
      	(sbitmap_last_set_bit): Rename bitmap_last_set_bit.
      	(sbitmap_a_subset_b_p): Rename bitmap_subset_p.
      	(sbitmap_any_common_bits): Rename bitmap_intersect_p.
      	(#define sbitmap_free): Reimplement as inline function.
      	(#define sbitmap_vector_free): Reimplement as inline function.
      	* bitmap.h (#define bitmap_zero): Remove as redundant.
      	(#define bitmap_empty_p): Reimplement as inline function.
      	(#define dump_bitmap): Reimplement as inline function.
      
      From-SVN: r192969
      Lawrence Crowl committed
  2. 29 Oct, 2012 14 commits