ChangeLog
2014-08-07  Zhenqiang Chen  <zhenqiang.chen@arm.com>

	* tree-ssa-loop-ivopts.c (get_address_cost): Try aligned offset.

testsuite/ChangeLog
2014-08-07  Zhenqiang Chen  <zhenqiang.chen@arm.com>

	* gcc.target/arm/get_address_cost_aligned_max_offset.c: New test.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@213691 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/
2014-08-07  Kugan Vivekanandarajah  <kuganv@linaro.org>

	* config/arm/arm.c (bdesc_2arg): Fix typo.
	(arm_atomic_assign_expand_fenv): Remove The default implementation.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@213692 138bc75d-0d04-0410-961f-82ee72b054a4
For cproj test-case, use glibc version xfail

2014-08-04  Tom de Vries  <tom@codesourcery.com>

	* gcc.dg/cproj-fails-with-broken-glibc.c: Use xfail for broken glibc
	version instead of required-target.
	* lib/target-supports.exp
	(check_effective_target_not_glibc_2_11_or_earlier): Replace by ...
	(check_effective_target_glibc_2_11_or_earlier): ... this.

	* doc/sourcebuild.texi (glibc, glibc_2_12_or_later)
	(glibc_2_11_or_earlier): Document effective-target keywords.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@213693 138bc75d-0d04-0410-961f-82ee72b054a4
Remove cproj-fails-with-broken-glibc.c

2014-08-07  Tom de Vries  <tom@codesourcery.com>

	* gcc.dg/cproj-fails-with-broken-glibc.c: Remove test.
	* lib/target-supports.exp (check_effective_target_glibc)
	(check_effective_target_glibc_2_12_or_later)
	(check_effective_target_glibc_2_11_or_earlier): Remove proc.

	* doc/sourcebuild.texi (glibc, glibc_2_12_or_later)
	(glibc_2_11_or_earlier): Remove effective-target keywords.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@213694 138bc75d-0d04-0410-961f-82ee72b054a4
2014-08-07  Marat Zakirov  <m.zakirov@samsung.com>

	* config/arm/thumb1.md (*thumb1_movhi_insn): Handle stack pointer.
	(*thumb1_movqi_insn): Likewise.
	* config/arm/thumb2.md (*thumb2_movhi_insn): Likewise.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@213695 138bc75d-0d04-0410-961f-82ee72b054a4
Remove duplicate ChangeLog entries

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@213697 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/
	* config/elfos.h (ASM_DECLARE_OBJECT_NAME): Use decl size
	instead of type size.
	(ASM_FINISH_DECLARE_OBJECT): Likewise.

gcc/testsuite/
	* gcc.target/i386/struct-size.c: New.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@213699 138bc75d-0d04-0410-961f-82ee72b054a4
	* fold-const.c (fold_binary_loc): Add folding of 
	(PTR0 - (PTR1 p+ A) -> (PTR0 - PTR1) - A.
c/
	* c-typeck.c (pointer_diff): Remove P - (P + CST) optimization.
testsuite/
	* gcc.dg/fold-reassoc-3.c: New test.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@213700 138bc75d-0d04-0410-961f-82ee72b054a4
Remove arm-specific -march in test.

	* gcc.dg/pr61756.c: Remove arm-specific dg-options.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@213701 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/testsuite
	* Add forgotten file.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@213702 138bc75d-0d04-0410-961f-82ee72b054a4
convert the rest of the users of pointer_map to hash_map

gcc/

	* hash-map.h (default_hashmap_traits): Adjust overloads of hash
	function to not conflict.
	* alias.c, cfgexpand.c, dse.c, except.h, gimple-expr.c,
	gimple-ssa-strength-reduction.c, gimple-ssa.h, ifcvt.c,
	lto-streamer-out.c, lto-streamer.h, tree-affine.c, tree-affine.h,
	tree-predcom.c, tree-scalar-evolution.c, tree-ssa-loop-im.c,
	tree-ssa-loop-niter.c, tree-ssa.c, value-prof.c: Use hash_map instead
	of pointer_map.

gcc/cp/

	* cp-tree.h, pt.c: Use hash_map instead of pointer_map.

gcc/lto/

	* lto-partition.c, lto.c: Use hash_map instead of pointer_map.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@213703 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/
	* config/i386/sse.md (vec_extract_lo_<mode><mask_name>): Fix
	constraint.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@213704 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/testsuite
	* gcc.target/i386/avx512f-vfixupimmpd-2.c: Include float.h instead of
	values.h, change MAXDOUBLE for DBL_MAX.
	* gcc.target/i386/avx512f-vfixupimmsd-2.c: Ditto.
	* gcc.target/i386/avx512f-vfixupimmps-2.c: Include float.h instead of
	values.h, change MAXFLOAT for FLT_MAX.
	* gcc.target/i386/avx512f-vfixupimmss-2.c: Ditto.
	* gcc.target/i386/avx512f-vpermi2d-2.c: Do not include values.h.
	* gcc.target/i386/avx512f-vpermi2pd-2.c: Ditto.
	* gcc.target/i386/avx512f-vpermi2ps-2.c: Ditto.
	* gcc.target/i386/avx512f-vpermi2q-2.c: Ditto.
	* gcc.target/i386/avx512f-vpermt2d-2.c: Ditto.
	* gcc.target/i386/avx512f-vpermt2pd-2.c: Ditto.
	* gcc.target/i386/avx512f-vpermt2ps-2.c: Ditto.
	* gcc.target/i386/avx512f-vpermt2q-2.c: Ditto.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@213706 138bc75d-0d04-0410-961f-82ee72b054a4
Fix INSN_TICK heuristic for SCHED_PRESSURE

	* haifa-sched.c (rank_for_schedule): Fix INSN_TICK-based heuristics.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@213708 138bc75d-0d04-0410-961f-82ee72b054a4
Add statistical printout of rank_for_schedule decisions

	* haifa-sched.c (SCHED_SORT): Delete.  Macro used exactly once.
	(enum rfs_decition:RFS_*): New constants wrapped in an enum.
	(rfs_str): String corresponding to RFS_* constants.
	(rank_for_schedule_stats_t): New typedef.
	(rank_for_schedule_stats): New static variable.
	(rfs_result): New static function.
	(rank_for_schedule): Track statistics for deciding heuristics.
	(rank_for_schedule_stats_diff, print_rank_for_schedule_stats): New
	static functions.
	(ready_sort): Use them for debug printouts.
	(schedule_block): Init statistics state.  Print statistics on
	rank_for_schedule decisions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@213709 138bc75d-0d04-0410-961f-82ee72b054a4
2014-08-07  Marat Zakirov  <m.zakirov@samsung.com>

	* config/arm/thumb1.md (*thumb1_movqi_insn): Copy of thumb1_movhi_insn.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@213710 138bc75d-0d04-0410-961f-82ee72b054a4
[AArch64] Use MOVN to generate 64-bit negative immediates where sensible

	* config/aarch64/aarch64.c (aarch64_expand_mov_immediate):
	Use MOVN when one of the half-words is 0xffff.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@213711 138bc75d-0d04-0410-961f-82ee72b054a4
[AArch64] Restrict usage of FP/SIMD registers for TImode reload and absdi2 patterns for non-float/simd targets.

	* config/aarch64/aarch64.md (absdi2): Set simd attribute.
	(aarch64_reload_mov<mode>): Predicate on TARGET_FLOAT.
	(aarch64_movdi_<mode>high): Likewise.
	(aarch64_mov<mode>high_di): Likewise.
	(aarch64_movdi_<mode>low): Likewise.
	(aarch64_mov<mode>low_di): Likewise.
	(aarch64_movtilow_tilow): Likewise.
	Add comment explaining usage of fp,simd attributes and of
	TARGET_FLOAT and TARGET_SIMD.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@213712 138bc75d-0d04-0410-961f-82ee72b054a4
[ARM] Delete f_sels, f_seld types, use fcsel instead.

	* config/arm/arm.md (*cmov<mode>): Set type attribute to fcsel.
	* config/arm/types.md (f_sels, f_seld): Delete.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@213713 138bc75d-0d04-0410-961f-82ee72b054a4
	* include/bits/stl_list.h (_List_base::_List_base(_List_base&&)):
	Optimize.
	* testsuite/23_containers/list/requirements/dr438/assign_neg.cc:
	Adjust dg-error line number.
	* testsuite/23_containers/list/requirements/dr438/constructor_1_neg.cc:
	Likewise.
	* testsuite/23_containers/list/requirements/dr438/constructor_2_neg.cc:
	Likewise.
	* testsuite/23_containers/list/requirements/dr438/insert_neg.cc:
	Likewise.

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