Consolidate ABI warning into type_natural_mode

gcc/

	PR target/59794
	* config/i386/i386.c (type_natural_mode): Add a bool parameter
	to indicate if type is used for function return value.  Warn
	ABI change if the vector mode isn't available for function
	return value.
	(ix86_function_arg_advance): Pass false to type_natural_mode.
	(ix86_function_arg): Likewise.
	(ix86_gimplify_va_arg): Likewise.
	(function_arg_32): Don't warn ABI change.
	(ix86_function_value): Pass true to type_natural_mode.
	(ix86_return_in_memory): Likewise.
	(ix86_struct_value_rtx): Removed.
	(TARGET_STRUCT_VALUE_RTX): Likewise.

gcc/testsuite/

	PR target/59794
	* g++.dg/ext/vector23.C: Also prune ABI change for Linux/x86.
	* gcc.target/i386/pr39162.c (y): New __m256i variable.
	(bar): Change return type to void.  Set y to x.
	* gcc.target/i386/pr59794-1.c: New testcase.
	* gcc.target/i386/pr59794-2.c: Likewise.
	* gcc.target/i386/pr59794-3.c: Likewise.
	* gcc.target/i386/pr59794-4.c: Likewise.
	* gcc.target/i386/pr59794-5.c: Likewise.
	* gcc.target/i386/pr59794-6.c: Likewise.
	* gcc.target/i386/pr59794-7.c: Likewise.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206603 138bc75d-0d04-0410-961f-82ee72b054a4
2014-01-14  Vladimir Makarov  <vmakarov@redhat.com>

	PR target/59787
	* config/arm/arm.c (arm_coproc_mem_operand): Add lra_in_progress.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206605 138bc75d-0d04-0410-961f-82ee72b054a4
2014-01-14  Vladimir Makarov  <vmakarov@redhat.com>

	* ira-costs.c (find_costs_and_classes): Add missed
	ira_init_register_move_cost_if_necessary.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206606 138bc75d-0d04-0410-961f-82ee72b054a4
2014-01-14  Andrew Pinski  <apinski@cavium.com>

	* config/aarch64/aarch64-protos.h (tune_params): Add issue_rate.
	* config/aarch64/aarch64.c (generic_tunings): Add issue rate of 2.
	(cortexa53_tunings): Likewise.
	(aarch64_sched_issue_rate): New function.
	(TARGET_SCHED_ISSUE_RATE): Define.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206609 138bc75d-0d04-0410-961f-82ee72b054a4
compiler: Add Backend Function type.


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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206614 138bc75d-0d04-0410-961f-82ee72b054a4
compiler: Use backend interface for interface info and field expressions.

	* go-gcc.cc (Gcc_backend::compound_expression): New function.
	(Gcc_backend::conditional_expression): New function.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206615 138bc75d-0d04-0410-961f-82ee72b054a4
	PR c/58943
	* c-typeck.c (build_modify_expr): For lhs op= rhs, if rhs has side
	effects, preevaluate rhs using SAVE_EXPR first.

	* c-omp.c (c_finish_omp_atomic): Set in_late_binary_op around
	build_modify_expr with non-NOP_EXPR opcode.  Handle return from it
	being COMPOUND_EXPR.
	(c_finish_omp_for): Handle incr being COMPOUND_EXPR with first
	operand a SAVE_EXPR and second MODIFY_EXPR.

	* gcc.c-torture/execute/pr58943.c: New test.
	* gcc.dg/tree-ssa/ssa-fre-33.c (main): Avoid using += in the test.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206620 138bc75d-0d04-0410-961f-82ee72b054a4
	PR other/58712
	* builtins.c (determine_block_size): Initialize *probable_max_size
	even if len_rtx is CONST_INT.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206621 138bc75d-0d04-0410-961f-82ee72b054a4
2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

	* config/s390/s390.c (s390_preferred_reload_class): Don't return
	ADDR_REGS for invalid symrefs in non-PIC code.

2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

	* gcc.c-torture/compile/pr59803.c: New testcase.




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

	PR rtl-optimization/59802
	* lcm.c (compute_available): Use inverted postorder to seed
	the initial worklist.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206624 138bc75d-0d04-0410-961f-82ee72b054a4
Add
PR target/59803
reference to ChangeLog entries.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206625 138bc75d-0d04-0410-961f-82ee72b054a4
2014-01-15  Matthew Gretton-Dann  <matthew.gretton-dann@linaro.org>
            Kugan Vivekanandarajah  <kuganv@linaro.org>

	gcc/
	PR target/59695
	* config/aarch64/aarch64.c (aarch64_build_constant): Fix incorrect
	truncation.

	gcc/testsuite/
	PR target/59695
	* g++.dg/pr59695.C: New testcase.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206628 138bc75d-0d04-0410-961f-82ee72b054a4
        PR target/59808
        * gcc.target/i386/sse-12.c: Add `-mavx512[cd, er, pf]' options.
        * gcc.target/i386/sse-14.c: Fix PR59808.



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