2013-05-03  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/54318
	* g++.dg/cpp0x/pr54318.C: New.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@198573 138bc75d-0d04-0410-961f-82ee72b054a4
[AArch64] Support scalar FABD

gcc/ChangeLog

2013-05-02  Vidya Praveen  <vidyapraveen@arm.com>

        * config/aarch64/aarch64-simd.md (*fabd_scalar<mode>3): Support
          scalar form of FABD instruction.

gcc/testsuite/ChangeLog

2013-05-02  Vidya Praveen <vidyapraveen@arm.com>

        * gcc.target/aarch64/fabd.c: New file.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@198574 138bc75d-0d04-0410-961f-82ee72b054a4
[AArch64] Correct simd_fabd comment text.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@198575 138bc75d-0d04-0410-961f-82ee72b054a4
2013-05-03  Richard Biener  <rguenther@suse.de>

	* double-int.h (lshift): New overload without precision
	and arith argument.
	(operator *=, operator +=, operator -=): Move ...
	* double-int.c (operator *=, operator +=, operator -=): ... here
	and implement more efficiently.
	(mul_double_with_sign): Remove.
	(lshift_double): Adjust to take unsinged shift argument, push
	dispatching code to callers.
	(mul_double_wide_with_sign): Add early out for callers that
	are not interested in high parts or overflow.
	(lshift): New function.
	(lshift, rshift, alshift, arshift, llshift, lrshift): Add
	dispatch code here.
	(lrotate, rrotate): Use logical shifts.
	* expr.c (get_inner_reference): Use lshift.
	* fixed-value.c (do_fixed_divide): Likewise.
	* tree-dfa.c (get_ref_base_and_extent): Likewise.
	* tree-ssa-alias.c (indirect_ref_may_alias_decl_p): Likewise.
	(indirect_refs_may_alias_p): Likewise.
	(stmt_kills_ref_p_1): Likewise.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@198576 138bc75d-0d04-0410-961f-82ee72b054a4
2013-05-03  Joern Rennecke <joern.rennecke@embecosm.com>

        PR tree-optimization/57027
        * tree-ssa-math-opts.c (convert_mult_to_fma): When checking for
        fnms opportunity, check we got the prerequisite kind of tree / gimple
        before using accessor functions.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@198577 138bc75d-0d04-0410-961f-82ee72b054a4
	* config/i386/i386.md (isa): Add x64_sse4_noavx and x64_avx members.
	(enabled): Handle new members.
	* config/i386/sse.md (*vec_concatv2si): Merge from
	*vec_concatv2si_sse2 and vec_concatv2si_sse.
	(vec_concatv2di): Merge with *vec_concatv2di_rex64.

testsuite/ChangeLog:

	* gcc.target/i386/sse2-init-v2di-2.c: Update scan assembler string.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@198578 138bc75d-0d04-0410-961f-82ee72b054a4
	PR rtl-optimization/57130
	* combine.c (make_compound_operation) <case SUBREG>: Pass
	SET instead of COMPARE as in_code to the recursive call
	if needed.

	* gcc.c-torture/execute/pr57130.c: New test.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@198579 138bc75d-0d04-0410-961f-82ee72b054a4
	PR tree-optimization/57411
	* tree-vrp.c (simplify_cond_using_ranges): Verify the constant
	operand of the condition will bit into the new type when eliminating
	a cast feeding a condition.

	PR tree-optimization/57411
	* gcc.c-torture/execute/pr57144.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@198582 138bc75d-0d04-0410-961f-82ee72b054a4
Fix typos in ChangeLog entries

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@198583 138bc75d-0d04-0410-961f-82ee72b054a4
2013-05-03  Teresa Johnson  <tejohnson@google.com>

	PR bootstrap/57154
	* sched-rgn.c (compute_dom_prob_ps): Ensure accumulated probabilities
	do not exceed REG_BR_PROB_BASE.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@198584 138bc75d-0d04-0410-961f-82ee72b054a4
AArch64 test cases for TST instruction

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@198585 138bc75d-0d04-0410-961f-82ee72b054a4
gcc:

2013-05-03  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

	* gimple-ssa-strength-reduction.c (cand_kind): Add CAND_PHI.
	(slsr_cand_d): Redefine def_phi.
	(stride_status, phi_adjust_status, count_phis_status): New enums.
	(find_phi_def): New.
	(find_basis_for_base_expr): New.
	(find_basis_for_candidate): Handle hidden bases.
	(alloc_cand_and_find_basis): Handle phi candidates.
	(slsr_process_phi): New.
	(create_mul_ssa_cand): Exclude phi base candidates; use integer_onep.
	(create_mul_imm_cand): Likewise.
	(create_add_ssa_cand): Exclude phi base candidates.
	(create_add_imm_cand): Likewise.
	(slsr_process_cast): Likewise.
	(slsr_process_copy): Likewise.
	(find_candidates_in_block): Handle phi candidates.
	(dump_candidate): Likewise.
	(unconditional_cands): Delete.
	(unconditional_cands_with_known_stride_p): Delete.
	(phi_dependent_cand_p): New.
	(cand_increment): Handle phi-dependent candidates.
	(replace_dependent): Delete.
	(replace_mult_candidate): New.
	(replace_unconditional_candidate): New.
	(incr_vec_index): Move to avoid forward reference.
	(create_add_on_incoming_edge): New.
	(create_phi_basis): New.
	(replace_dependents): Delete.
	(replace_conditional_candidate): New.
	(phi_add_costs): New.
	(replace_uncond_cands_and_profitable_phis): New.
	(record_increment): Handle phi adjustments.
	(record_phi_increments): New.
	(record_increments): Handle phi adjustments.
	(phi_incr_cost): New.
	(lowest_cost_path): Handle phis.
	(total_savings): Likewise.
	(analyze_increments): Likewise.
	(ncd_with_phi): New.
	(ncd_of_cand_and_phis): New.
	(nearest_common_dominator_for_cands): Handle phi increments.
	(all_phi_incrs_profitable): New.
	(replace_profitable_candidates): Handle phi-dependent candidates.
	(analyze_candidates_and_replace): Likewise.

gcc/testsuite:

2013-05-03  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

	* gcc.dg/tree-ssa/slsr-32.c: New.
	* gcc.dg/tree-ssa/slsr-33.c: New.
	* gcc.dg/tree-ssa/slsr-34.c: New.
	* gcc.dg/tree-ssa/slsr-35.c: New.
	* gcc.dg/tree-ssa/slsr-36.c: New.
	* gcc.dg/tree-ssa/slsr-37.c: New.
	* gcc.dg/tree-ssa/slsr-38.c: New.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@198586 138bc75d-0d04-0410-961f-82ee72b054a4
Remove "\\" from scan-assembler-times

2013-05-03  Dominique d'Humieres  <dominiq@lps.ens.fr>
p
	* gcc.target/i386/sse2-init-v2di-2.c: Remove "\\" from
	scan-assembler-times.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@198587 138bc75d-0d04-0410-961f-82ee72b054a4
Daily bump.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@198590 138bc75d-0d04-0410-961f-82ee72b054a4
	* coverage.c (coverage_obj_init): Move the construction of gcov
	constructor to
	(build_init_ctor): here.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@198591 138bc75d-0d04-0410-961f-82ee72b054a4
gcc:

2013-05-03  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

	* gimple-ssa-strength-reduction.c (slsr_process_phi): Disable.
	(find_candidates_in_block): Disable slsr_process_phi.

gcc/testsuite:

2013-05-03  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

	* gcc.dg/tree-ssa/slsr-32.c: Skip test for now.
	* gcc.dg/tree-ssa/slsr-33.c: Likewise.
	* gcc.dg/tree-ssa/slsr-34.c: Likewise.
	* gcc.dg/tree-ssa/slsr-35.c: Likewise.
	* gcc.dg/tree-ssa/slsr-36.c: Likewise.
	* gcc.dg/tree-ssa/slsr-37.c: Likewise.
	* gcc.dg/tree-ssa/slsr-38.c: Likewise.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@198592 138bc75d-0d04-0410-961f-82ee72b054a4
Revert "Revert "Follow-on patch to r197595 to complete the replacement of truncating divides""

This reverts commit 825d07dd050ef3641f5bef441b59200fb1bdb875.
Merge remote-tracking branch 'gnu/master' into 4.9.0