ChangeLog:
2014-09-09  Zhenqiang Chen  <zhenqiang.chen@arm.com>

	* shrink-wrap.h: #define SHRINK_WRAPPING_ENABLED.
	* ira.c: #include "shrink-wrap.h"
	(split_live_ranges_for_shrink_wrap): Use SHRINK_WRAPPING_ENABLED.
	* ifcvt.c: #include "shrink-wrap.h"
	(dead_or_predicable): Use SHRINK_WRAPPING_ENABLED.

testsuite/ChangeLog:
2014-09-09  Zhenqiang Chen  <zhenqiang.chen@arm.com>

	* gcc.target/arm/split-live-ranges-for-shrink-wrap.c: New test.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215041 138bc75d-0d04-0410-961f-82ee72b054a4
	* doc/invoke.texi (Optimization Options): Add missing @gol to the
	end of a line.
	(S/390 and zSeries Options): Remove superfluous word from the
	description of the -mhotpatch option.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215044 138bc75d-0d04-0410-961f-82ee72b054a4
[AArch64] PR 61749: Do not ICE in lane intrinsics when passed non-constant lane number

	PR target/61749
	* config/aarch64/aarch64-builtins.c (aarch64_types_quadop_qualifiers):
	Use qualifier_immediate for last operand.  Rename to...
	(aarch64_types_ternop_lane_qualifiers): ... This.
	(TYPES_QUADOP): Rename to...
	(TYPES_TERNOP_LANE): ... This.
	(aarch64_simd_expand_args): Return const0_rtx when encountering user
	error.  Change return of 0 to return of NULL_RTX.
	(aarch64_crc32_expand_builtin): Likewise.
	(aarch64_expand_builtin): Return NULL_RTX instead of 0.
	ICE when expanding unknown builtin.
	* config/aarch64/aarch64-simd-builtins.def (sqdmlal_lane): Use
	TERNOP_LANE qualifiers.
	(sqdmlsl_lane): Likewise.
	(sqdmlal_laneq): Likewise.
	(sqdmlsl_laneq): Likewise.
	(sqdmlal2_lane): Likewise.
	(sqdmlsl2_lane): Likewise.
	(sqdmlal2_laneq): Likewise.
	(sqdmlsl2_laneq): Likewise.

	* gcc.target/aarch64/vqdml_lane_intrinsics-bad_1.c: New test.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215046 138bc75d-0d04-0410-961f-82ee72b054a4
2014-09-09  Tony Wang  <tony.wang@arm.com>

    gcc/testsuite/
    * gcc.target/arm/xordi3-opt.c: Disable this
    test case for thumb1 target.
    * gcc.target/arm/iordi3-opt.c: Ditto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215047 138bc75d-0d04-0410-961f-82ee72b054a4
[Obvious] Change Linux to GNU/LINUX in ARM options documentation

gcc/
	* doc/invoke.texi (-march): Use GNU/Linux rather than Linux.
	(-mtune): Likewise.
	(-mcpu): Likewise.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215049 138bc75d-0d04-0410-961f-82ee72b054a4
[ARM][1/7] Convert FP mnemonics to UAL | mov patterns.

	* config/arm/arm.c (output_move_vfp): Use UAL syntax for load/store
	multiple.
	(arm_print_operand): Don't convert real values to decimal
	representation in default case.
	(fp_immediate_constant): Delete.
	* config/arm/arm-protos.h (fp_immediate_constant): Likewise.
	* config/arm/vfp.md (*arm_movsi_vfp): Convert to VFP moves to UAL
	syntax.
	(*thumb2_movsi_vfp): Likewise.
	(*movdi_vfp): Likewise.
	(*movdi_vfp_cortexa8): Likewise.
	(*movhf_vfp_neon): Likewise.
	(*movhf_vfp): Likewise.
	(*movsf_vfp): Likewise.
	(*thumb2_movsf_vfp): Likewise.
	(*movdf_vfp): Likewise.
	(*thumb2_movdf_vfp): Likewise.
	(*movsfcc_vfp): Likewise.
	(*thumb2_movsfcc_vfp): Likewise.
	(*movdfcc_vfp): Likewise.
	(*thumb2_movdfcc_vfp): Likewise.

	* gcc.target/arm/pr51835.c: Update expected assembly.
	* gcc.target/arm/vfp-1.c: Likewise.
	* gcc.target/arm/vfp-ldmdbd.c: Likewise.
	* gcc.target/arm/vfp-ldmdbs.c: Likewise.
	* gcc.target/arm/vfp-ldmiad.c: Likewise.
	* gcc.target/arm/vfp-ldmias.c: Likewise.
	* gcc.target/arm/vfp-stmdbd.c: Likewise.
	* gcc.target/arm/vfp-stmdbs.c: Likewise.
	* gcc.target/arm/vfp-stmiad.c: Likewise.
	* gcc.target/arm/vfp-stmias.c: Likewise.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215050 138bc75d-0d04-0410-961f-82ee72b054a4
[ARM][2/7] Convert FP mnemonics to UAL | add/sub/div/abs patterns.

	* config/arm/vfp.md (*abssf2_vfp): Use UAL assembly syntax.
	(*absdf2_vfp): Likewise.
	(*negsf2_vfp): Likewise.
	(*negdf2_vfp): Likewise.
	(*addsf3_vfp): Likewise.
	(*adddf3_vfp): Likewise.
	(*subsf3_vfp): Likewise.
	(*subdf3_vfp): Likewise.
	(*divsf3_vfp): Likewise.
	(*divdf3_vfp): Likewise.

	* gcc.target/arm/vfp-1.c: Updated expected assembly.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215051 138bc75d-0d04-0410-961f-82ee72b054a4
[3/7] Convert FP mnemonics to UAL | mul+add patterns

	* config/arm/vfp.md (*mulsf3_vfp): Use UAL assembly syntax.
	(*muldf3_vfp): Likewise.
	(*mulsf3negsf_vfp): Likewise.
	(*muldf3negdf_vfp): Likewise.
	(*mulsf3addsf_vfp): Likewise.
	(*muldf3adddf_vfp): Likewise.
	(*mulsf3subsf_vfp): Likewise.
	(*muldf3subdf_vfp): Likewise.
	(*mulsf3negsfaddsf_vfp): Likewise.
	(*fmuldf3negdfadddf_vfp): Likewise.
	(*mulsf3negsfsubsf_vfp): Likewise.
	(*muldf3negdfsubdf_vfp): Likewise.

	* gcc.target/arm/vfp-1.c: Updated expected assembly.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215052 138bc75d-0d04-0410-961f-82ee72b054a4
[ARM][4/7] Convert FP mnemonics to UAL | vcvt patterns

	* config/arm/vfp.md (*extendsfdf2_vfp): Use UAL assembly syntax.
	(*truncdfsf2_vfp): Likewise.
	(*truncsisf2_vfp): Likewise.
	(*truncsidf2_vfp): Likewise.
	(fixuns_truncsfsi2): Likewise.
	(fixuns_truncdfsi2): Likewise.
	(*floatsisf2_vfp): Likewise.
	(*floatsidf2_vfp): Likewise.
	(floatunssisf2): Likewise.
	(floatunssidf2): Likewise.

	* gcc.target/arm/vfp-1.c: Updated expected assembly.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215053 138bc75d-0d04-0410-961f-82ee72b054a4
[ARM][5/7] Convert FP mnemonics to UAL | sqrt and FP compare patterns

	* config/arm/vfp.md (*sqrtsf2_vfp): Use UAL assembly syntax.
	(*sqrtdf2_vfp): Likewise.
	(*cmpsf_vfp): Likewise.
	(*cmpsf_trap_vfp): Likewise.
	(*cmpdf_vfp): Likewise.
	(*cmpdf_trap_vfp): Likewise.

	* gcc.target/arm/vfp-1.c: Updated expected assembly.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215054 138bc75d-0d04-0410-961f-82ee72b054a4
[ARM][6/7] Convert FP mnemonics to UAL | movcc_vfp (fmstat)

	* config/arm/vfp.md (*movcc_vfp): Use UAL syntax.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215055 138bc75d-0d04-0410-961f-82ee72b054a4
[ARM][7/7] Convert FP mnemonics to UAL | f{ld,st}m -> v{ld,st}m

	* config/arm/arm.md (vfp_pop_multiple_with_writeback): Use vldm
	mnemonic instead of fldmfdd.
	* config/arm/arm.c (vfp_output_fstmd): Rename to...
	(vfp_output_vstmd): ... This.  Convert output to UAL syntax.
	Output vpush when address register is SP.
	* config/arm/arm-protos.h (vfp_output_fstmd): Rename to...
	(vfp_output_vstmd): ... This.
	* config/arm/vfp.md (push_multi_vfp): Update call to
	vfp_output_vstmd.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215056 138bc75d-0d04-0410-961f-82ee72b054a4
	PR c++/62255
	* pt.c (instantiate_decl): Handle recursive instantiation of
	static data member.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215062 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/
	* bb-reorder.h (default_target_bb_reorder): Remove redundant GTY.
	* builtins.h (default_target_builtins): Likewise.
	* gcse.h (default_target_gcse): Likewise.
	* target-globals.h (target_globals): Add a destructor.  Convert
	void-pointer fields back to their real type and change from
	GTY((atomic)) to GTY((skip)).
	(restore_target_globals): Remove casts accordingly.
	* target-globals.c (save_target_globals): Use XCNEW rather than
	ggc_internal_cleared_alloc to allocate non-GC structures.
	Use ggc_cleared_alloc to allocate the target_globals structure
	itself.
	(target_globals::~target_globals): Define.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215063 138bc75d-0d04-0410-961f-82ee72b054a4
[ARM] Enable auto-vectorization for copysignf

  gcc/
    * config/arm/arm.c (NEON_COPYSIGNF): New enum.
    (arm_init_neon_builtins): Support NEON_COPYSIGNF.
    (arm_builtin_vectorized_function): Likewise.
    * config/arm/arm_neon_builtins.def: New macro for copysignf.
    * config/arm/neon.md (neon_copysignf<mode>): New pattern for vector
    copysignf.

  gcc/testsuite/
    * gcc.target/arm/vect-copysignf.c: New testcase.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215067 138bc75d-0d04-0410-961f-82ee72b054a4
	* typeck.c (build_class_member_access_expr): Move
	-Winvalid-offsetof code...
	* semantics.c (finish_offsetof): ...here.
	* parser.c (cp_parser_builtin_offsetof): Remember the location of
	the type argument.
	* pt.c (tsubst_copy_and_build) [OFFSETOF_EXPR]: Preserve it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215070 138bc75d-0d04-0410-961f-82ee72b054a4
[AArch64 Testsuite]Fix scan-assembler test false alarm on aarch64-linux-gnu

        * gcc.target/aarch64/simd/int_comparisons_1.c: Tighten regexp.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215071 138bc75d-0d04-0410-961f-82ee72b054a4
[AArch64 Testsuite] Add test of vld[234]q? intrinsic

	* gcc.target/aarch64/vldN_1.c: New test.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215072 138bc75d-0d04-0410-961f-82ee72b054a4
Update email address for recent commits, to comply with company policy.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215074 138bc75d-0d04-0410-961f-82ee72b054a4
[AArch64 Testsuite] Extend test of vld1+vst1 intrinsics to cover more variants

	* gcc.target/aarch64/vld1-vst1_1.c: Rewrite to test all variants.


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