2014-09-04  Segher Boessenkool  <segher@kernel.crashing.org>

	PR target/63165
	* config/rs6000/rs6000.md (floatsi<mode>2_lfiwax_mem): Use
	indexed_or_indirect_operand instead of memory_operand.
	(floatsi<mode>2_lfiwzx_mem): Ditto.


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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@214927 138bc75d-0d04-0410-961f-82ee72b054a4
Remove dg-options for sh*-*-* from gcc.c-torture/execute/pr44683.c.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@214928 138bc75d-0d04-0410-961f-82ee72b054a4
Return type of get_ready_element

gcc/
2014-09-05  David Malcolm  <dmalcolm@redhat.com>

	* haifa-sched.c (get_ready_element): Strengthen return type from
	rtx to rtx_insn *.
	* sched-int.h (get_ready_element): Likewise.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@214929 138bc75d-0d04-0410-961f-82ee72b054a4
fixup_args_size_notes takes a pair of rtx_insn

gcc/
2014-09-05  David Malcolm  <dmalcolm@redhat.com>

	* emit-rtl.c (try_split): Update NULL_RTX to NULL in call to
	fixup_args_size_notes.
	* expr.c (fixup_args_size_notes): Strengthen first two params from
	rtx to rtx_insn *, eliminating a checked cast.
	* rtl.h (fixup_args_size_notes): Strengthen first two params from
	rtx to rtx_insn *.



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

gcc/
2014-09-05  David Malcolm  <dmalcolm@redhat.com>

	* rtl.h (modified_between_p): Strengthen params 2 and 3 from
	const_rtx to const rtx_insn *.
	* rtlanal.c (modified_between_p): Likewise, eliminating a checked
	cast.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@214931 138bc75d-0d04-0410-961f-82ee72b054a4
Remove a cast in cse.c

gcc/
2014-09-05  David Malcolm  <dmalcolm@redhat.com>

	* cse.c (cse_insn): Strengthen local "new_rtx" from rtx to
	rtx_insn *, eliminating a checked cast.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@214932 138bc75d-0d04-0410-961f-82ee72b054a4
make several emit functions take an rtx_insn *

gcc/ChangeLog:

2014-09-04  Trevor Saunders  <tsaunders@mozilla.com>

	* emit-rtl.c (emit_insn_before_noloc): Take an rtx_insn * instead of
	an rtx.
	(emit_jump_insn_before_noloc): Likewise.
	(emit_call_insn_before_noloc): Likewise.
	(emit_label_before): Likewise.
	(emit_label_after): Likewise.
	(emit_insn_before_setloc): Likewise.
	(emit_jump_insn_before_setloc): Likewise.
	(emit_call_insn_before_setloc): Likewise.
	(emit_call_insn_before): Likewise.
	* rtl.h: Adjust.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@214933 138bc75d-0d04-0410-961f-82ee72b054a4
make dead_debug_insert_temp take an rtx_insn *

gcc/ChangeLog:

2014-09-04  Trevor Saunders  <tsaunders@mozilla.com>

	* valtrack.c (dead_debug_insert_temp): Take an rtx_insn * instead of
	an rtx.
	* valtrack.h: Adjust.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@214934 138bc75d-0d04-0410-961f-82ee72b054a4
	* config/arm/arm.c (output_move_neon): Handle REG explicitly.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@214935 138bc75d-0d04-0410-961f-82ee72b054a4
	* config/arm/arm.md (arm_movqi_insn): Use Uh instead of m constraint.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@214936 138bc75d-0d04-0410-961f-82ee72b054a4
	PR target/55701
	* config/arm/arm.md (setmem): New pattern.
	* config/arm/arm-protos.h (struct tune_params): New fields.
	(arm_gen_setmem): New prototype.
	* config/arm/arm.c (arm_slowmul_tune): Initialize new fields.
	(arm_fastmul_tune, arm_strongarm_tune, arm_xscale_tune): Ditto.
	(arm_9e_tune, arm_v6t2_tune, arm_cortex_tune): Ditto.
	(arm_cortex_a8_tune, arm_cortex_a7_tune): Ditto.
	(arm_cortex_a15_tune, arm_cortex_a53_tune): Ditto.
	(arm_cortex_a57_tune, arm_cortex_a5_tune): Ditto.
	(arm_cortex_a9_tune, arm_cortex_a12_tune): Ditto.
	(arm_v7m_tune, arm_v6m_tune, arm_fa726te_tune): Ditto.
	(arm_const_inline_cost): New function.
	(arm_block_set_max_insns): New function.
	(arm_block_set_non_vect_profit_p): New function.
	(arm_block_set_vect_profit_p): New function.
	(arm_block_set_unaligned_vect): New function.
	(arm_block_set_aligned_vect): New function.
	(arm_block_set_unaligned_non_vect): New function.
	(arm_block_set_aligned_non_vect): New function.
	(arm_block_set_vect, arm_gen_setmem): New functions.

	testsuite
	* gcc.target/arm/memset-inline-1.c: New test.
	* gcc.target/arm/memset-inline-2.c: New test.
	* gcc.target/arm/memset-inline-3.c: New test.
	* gcc.target/arm/memset-inline-4.c: New test.
	* gcc.target/arm/memset-inline-5.c: New test.
	* gcc.target/arm/memset-inline-6.c: New test.
	* gcc.target/arm/memset-inline-7.c: New test.
	* gcc.target/arm/memset-inline-8.c: New test.
	* gcc.target/arm/memset-inline-9.c: New test.
	* gcc.target/arm/memset-inline-10.c: New test.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@214937 138bc75d-0d04-0410-961f-82ee72b054a4
2014-09-05  Joey Ye  <joey.ye@arm.com>

    PR plugin/59335
    * Makefile.in (PLUGIN_HEADERS): Add wide-int.h, signop.h, hash-map.h,


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@214938 138bc75d-0d04-0410-961f-82ee72b054a4
[AArch64 Obvious] Add a mode to operand 1 of sibcall_value_insn

gcc/

	* config/aarch64/aarch64.md (sibcall_value_insn): Give operand 1
	a mode.



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

	PR middle-end/63148
	* fold-const.c (try_move_mult_to_index): Remove.
	(fold_binary_loc): Do not call it.
	* tree-data-ref.c (dr_analyze_indices): Strip conversions
	from the base object again.

	c-family/
	* c-format.c (check_format_arg): Properly handle
	effectively signed POINTER_PLUS_EXPR offset.

	* gcc.dg/vect/pr63148.c: New testcase.
	* c-c++-common/pr19807-1.c: Likewise.
	* g++.dg/tree-ssa/pr19807.C: Adjust.
	* g++.dg/tree-ssa/tmmti-2.C: Remove.


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

	* cfgloop.c (mark_loop_for_removal): New function.
	* cfgloop.h (mark_loop_for_removal): Declare.
	* cfghooks.c (delete_basic_block): Use mark_loop_for_removal.
	(merge_blocks): Likewise.
	(duplicate_block): Likewise.
	* except.c (sjlj_emit_dispatch_table): Likewise.
	* tree-eh.c (cleanup_empty_eh_merge_phis): Likewise.
	* tree-ssa-threadupdate.c (ssa_redirect_edges): Likewise.
	(thread_through_loop_header): Likewise.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@214942 138bc75d-0d04-0410-961f-82ee72b054a4
[PATCH AArch64] Add a builtin for rbit(q?)_p8; add intrinsics and tests.

gcc/:

	* config/aarch64/aarch64-simd.md (aarch64_rbit<mode>): New pattern.
	* config/aarch64/aarch64-simd-builtins.def (rbit): New builtin.
	* config/aarch64/arm_neon.h (vrbit_s8, vrbit_u8, vrbitq_s8, vrbitq_u8):
	Replace temporary asm with call to builtin.
	(vrbit_p8, vrbitq_p8): New functions.

gcc/testsuite/:

	* gcc.target/aarch64/simd/vrbit_1.c: New test.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@214943 138bc75d-0d04-0410-961f-82ee72b054a4
[ARM/AArch64] Schedule alu_ext for Cortex-A53.

      * config/arm/cortex-a53.md (cortex_a53_alu_shift): Add alu_ext,
      alus_ext.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@214944 138bc75d-0d04-0410-961f-82ee72b054a4
[PATCH AArch64] Remove varargs from aarch64_simd_expand_args

        * config/aarch64/aarch64-builtins.c (aarch64_simd_expand_args): Replace
        varargs with pointer parameter.
        (aarch64_simd_expand_builtin): pass pointer into previous.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@214945 138bc75d-0d04-0410-961f-82ee72b054a4
[PATCH][AArch64] One-liner: fix type of an add in SIMD registers

	* config/aarch64/aarch64.md (adddi3_aarch64): set type to neon_add.



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