PR libgomp/59194
	* omp-low.c (expand_omp_atomic_pipeline): Expand the initial
	load as __atomic_load_N if possible.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206572 138bc75d-0d04-0410-961f-82ee72b054a4
	* gcc.dg/vect/vect-simd-clone-10.c: Add dg-do run.
	* gcc.dg/vect/vect-simd-clone-12.c: Likewise.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206574 138bc75d-0d04-0410-961f-82ee72b054a4
2014-01-13  Christian Bruel  <christian.bruel@st.com>

	* config/sh/sh-mem.cc (sh_expand_cmpnstr): Unroll small sizes and
	  optimized non constant lengths.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206575 138bc75d-0d04-0410-961f-82ee72b054a4
	* builtins.c (get_object_alignment_2): Minor tweak.
	* tree-ssa-loop-ivopts.c (may_be_unaligned_p): Rewrite.


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

	* g++.dg/lto/lto.exp: Do check_effective_target_lto check before
	adjusting mathlib options.
	* gfortran.dg/lto/lto.exp: Likewise.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206577 138bc75d-0d04-0410-961f-82ee72b054a4
2014-01-13  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>

	* config/arm/arm.h (MAX_CONDITIONAL_EXECUTE): Fix typo in description.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206580 138bc75d-0d04-0410-961f-82ee72b054a4
	PR tree-optimization/59387
	* tree-scalar-evolution.c: Include gimple-fold.h and gimplify-me.h.
	(scev_const_prop): If folded_casts and type has undefined overflow,
	use force_gimple_operand instead of force_gimple_operand_gsi and
	for each added stmt if it is assign with
	arith_code_with_undefined_signed_overflow, call
	rewrite_to_defined_overflow.
	* tree-ssa-loop-im.c: Don't include gimplify-me.h, include
	gimple-fold.h instead.
	(arith_code_with_undefined_signed_overflow,
	rewrite_to_defined_overflow): Moved to ...
	* gimple-fold.c (arith_code_with_undefined_signed_overflow,
	rewrite_to_defined_overflow): ... here.  No longer static.
	Include gimplify-me.h.
	* gimple-fold.h (arith_code_with_undefined_signed_overflow,
	rewrite_to_defined_overflow): New prototypes.

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


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206583 138bc75d-0d04-0410-961f-82ee72b054a4
	PR target/59617
	* config/i386/i386.c (ix86_vectorize_builtin_gather): Uncomment
	AVX512F gather builtins.
	* tree-vect-stmts.c (vectorizable_mask_load_store): For now punt
	on gather decls with INTEGER_TYPE masktype.
	(vectorizable_load): For INTEGER_TYPE masktype, put the INTEGER_CST
	directly into the builtin rather than hoisting it before loop.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206585 138bc75d-0d04-0410-961f-82ee72b054a4
* config/msp430/msp430.md (call_internal): Don't allow memory
references with SP as the base register.
(call_value_internal): Likewise.
* config/msp430/constraints.md (Yc): New.  For memory references
that don't use SP as a base register.

* config/msp430/msp430.c (msp430_print_operand): Add 'J' to mean
"an integer without a # prefix"
* config/msp430/msp430.md (epilogue_helper): Use it.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206586 138bc75d-0d04-0410-961f-82ee72b054a4
Make sure that -msse/-mavx are appended at the end

	PR libitm/53113
	* Makefile.am (x86_sse.lo): Append -msse to CXXFLAGS.
	(x86_avx.lo): Append -mavx to CXXFLAGS.
	* Makefile.in: Regenerate.


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