2013-11-13  Vladimir Makarov  <vmakarov@redhat.com>

	* ira-color.c (coalesce_allocnos): Don't allocate and free
	sorted_copies.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204771 138bc75d-0d04-0410-961f-82ee72b054a4
2013-11-13  Vladimir Makarov  <vmakarov@redhat.com>

	* ira.c: Add comment about threads at the top of file.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204772 138bc75d-0d04-0410-961f-82ee72b054a4
	PR tree-optimization/59102
	* gimple-ssa-isolate-paths.c
	(insert_trap_and_remove_trailing_statments): Ensure STMT is a
	gimple assignment before looking at gimple_assign_lhs.

	PR tree-optimization/59102
	* gcc.c-torture/compile/pr59102.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204773 138bc75d-0d04-0410-961f-82ee72b054a4
	PR target/59101
	* config/i386/i386.md (*anddi_2): Only allow CCZmode if
	operands[2] satisfies_constraint_Z that might have bit 31 set.

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


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204774 138bc75d-0d04-0410-961f-82ee72b054a4
Added testcase for 58533, fixed by rev 204714.

gcc/testsuite/
	PR c++/58533
	* g++.dg/cpp1y/pr58533.C: New testcase (fixed by r204714).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204776 138bc75d-0d04-0410-961f-82ee72b054a4
        PR target/57491
        * config/ia64/ia64.c (ia64_split_tmode_move): Relax `dead'
        flag setting.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204777 138bc75d-0d04-0410-961f-82ee72b054a4
2013-11-14  Julian Brown  <julian@codesourcery.com>
        Joey Ye  <joey.ye@arm.com>

        * config/arm/arm.c (arm_cortex_m_branch_cost): New.
        (arm_v7m_tune): New.
        (arm_slowmul_tune, arm_fastmul_tune,
        arm_strongarm_tune, arm_9e_tune, arm_v6t2_tune,
        arm_cortex_tune, arm_cortex_a15_tune,
        arm_cortex_a5_tune, arm_v6m_tune): Add comments
        for Sched adj cost.
        * config/arm/arm-cores.def (cortex-m4, cortex-m3):
        Use arm_v7m_tune.

testsuite:
2013-11-14  Joey Ye  <joey.ye@arm.com>

        * gcc.dg/tree-ssa/forwprop-28.c: Disable for cortex_m.
        * gcc.dg/tree-ssa/vrp47.c: Likewise.
        * gcc.dg/tree-ssa/vrp87.c: Likewise.
        * gcc.dg/tree-ssa/ssa-dom-thread-4.c: Ingore for cortex_m.
        * gcc.dg/tree-ssa/ssa-vrp-thread-1.c: Likewise.



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

	* config/aarch64/aarch64.c: Include aarch-cost-tables.h.
	(generic_rtx_cost_table): Remove.
	(aarch64_rtx_costs): Use fields from cpu_cost_table.
	* config/aarch64/aarch64-protos.h (tune_params): Use cpu_cost_table for
	insn_extra_cost.
	(cpu_rtx_cost_table): Remove.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204779 138bc75d-0d04-0410-961f-82ee72b054a4
Fix gcc.dg/atomic/c11-atomic-exec-[45].c tests on Solaris 10+

	* gcc.dg/atomic/c11-atomic-exec-4.c: Define _XOPEN_SOURCE=600 on
	*-*-solaris2.1[0-9]*.
	* gcc.dg/atomic/c11-atomic-exec-5.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204780 138bc75d-0d04-0410-961f-82ee72b054a4
[AArch64] [-mtune cleanup 1/5] Remove -march=generic.

gcc/
	* config/aarch64/aarch64.c (all_architectures): Remove "generic".



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204781 138bc75d-0d04-0410-961f-82ee72b054a4
[AArch64] [-mtune cleanup 2/5] Tune for Cortex-A53 by default.

gcc/
	* config/aarch64/aarch64-arches.def (armv8-a): Tune for cortex-a53.
	* config/aarch64/aarch64.md: Do not include aarch64-generic.md.
	* config/aarch64/aarch64.c (aarch64_tune): Initialize to cortexa53.
	(all_cores): Use cortexa53 when tuning for "generic".
	(aarch64_override_options): Fix comment.
	* config/aarch64/aarch64.h (TARGET_CPU_DEFAULT): Set to cortexa53.
	* config/aarch64/aarch64-generic.md: Delete.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204782 138bc75d-0d04-0410-961f-82ee72b054a4
[AArch64] [-mtune cleanup 3/5] [Temporary] When asked to tune for
 Cortex-A57, tune for Cortex-A15

gcc/
	* config/aarch64/aarch64-cores.def (cortex-a57): Tune for cortexa15.
	* config/aarch64/aarch64-tune.md: Regenerate.
	* config/aarch64/aarch64.md: Include cortex-a15 pipeline model.
	(generic_sched): "no" if we are	tuning for cortexa15.
	* config/arm/cortex-a15.md: Include cortex-a15-neon.md by
	relative path.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204783 138bc75d-0d04-0410-961f-82ee72b054a4
[AArch64] [-mtune cleanup 4/5] Remove "example-1", "example-2" tuning options.

gcc/
	* config/aarch64/aarch64-cores.def (example-1): Remove.
	(example-2): Likewise.
	* config/aarch64/aarch64-tune.md: Regenerate.
	* config/aarch64/aarch64.md: Do not include "large.md" or "small.md".
	(generic_sched): Remove "large", "small".
	* config/aarch64/large.md: Delete.
	* config/aarch64/small.md: Delete.

gcc/testsuite/
	* gcc.target/aarch64/cpu-diagnostics-2.c: Change "-mcpu="
	to "cortex-a53".
	* gcc.target/aarch64/cpu-diagnostics-3.c: Change "-mcpu="
	to "cortex-a53".



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204784 138bc75d-0d04-0410-961f-82ee72b054a4
[AArch64] [-mtune cleanup 5/5] Update invoke.texi

gcc/
	* doc/invoke.texi: Update documentation for AArch64's -mcpu
	and -mtune options.



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



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204787 138bc75d-0d04-0410-961f-82ee72b054a4
XFAIL addr1.ads and atomic1.ads on x32

	* gnat.dg/specs/addr1.ads: XFAIL on x32.
	* gnat.dg/specs/atomic1.ads: Likewise.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204789 138bc75d-0d04-0410-961f-82ee72b054a4
	* include/bits/alloc_traits.h (__allow_copy_cons): Remove.
	(__check_copy_constructible): Likewise.
	* include/bits/unordered_map.h (unordered_map, unordered_multimap):
	Do not derive from __check_copy_constructible.
	* include/bits/unordered_set.h (unordered_set, unordered_multiset):
	Likewise.
	* testsuite/23_containers/unordered_map/55043.cc: It is no longer
	necessary for is_copy_constructible to be correct to use nested
	unordered containers.
	* testsuite/23_containers/unordered_multimap/55043.cc: Likewise.
	* testsuite/23_containers/unordered_set/55043.cc: Likewise.
	* testsuite/23_containers/unordered_multiset/55043.cc: Likewise.

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

	* gcc.dg/tree-ssa/ssa-vrp-thread-1.c: Fix target selector.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204791 138bc75d-0d04-0410-961f-82ee72b054a4
Require fenv_exceptions in gcc.dg/torture/float128* tests

	* gcc.dg/torture/float128-cmp-invalid.c: Require fenv_exceptions.
	* gcc.dg/torture/float128-div-underflow.c: Likewise.
	* gcc.dg/torture/float128-extend-nan.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204792 138bc75d-0d04-0410-961f-82ee72b054a4
	* tree-ssa-threadedge.c (thread_through_normal_block): Only push
	the EDGE_START_JUMP_THREAD marker if the jump threading path is
	empty.

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