PR ipa/61324
	* testsuite/g++.dg/pr61324.C: New testcase by Trevor Saunders.
	* testsuite/g++.dg/tm/pr51411-2.C: Update se the extern function is
	not eliminated early.
	* testsuite/gcc.target/i386/pr57756.c: Turn extern inline into static
	inline.

	* passes.c (execute_todo): Update call of remove_unreachable_nodes.
	* ipa-chkp.c (chkp_produce_thunks): Use TODO_remove_functions.
	* cgraphunit.c (symbol_table::process_new_functions): Add
	IPA_SSA_AFTER_INLINING.
	(ipa_passes): Update call of remove_unreachable_nodes.
	(symbol_table::compile): Remove call of remove_unreachable_nodes.
	* ipa-inline.c (inline_small_functions): Do not ICE with
	-flto-partition=none
	(ipa_inline): Update symtab->state; fix formatting
	update call of remove_unreachable_nodes.
	* cgraphclones.c (symbol_table::materialize_all_clones): Likewise.
	* cgraph.h (enum symtab_state): Add IPA_SSA_AFTER_INLINING.
	(remove_unreachable_nodes): Update.
	* ipa.c (process_references): Keep external references only
	when optimizing.
	(walk_polymorphic_call_targets): Keep possible polymorphic call
	target only when devirtualizing.
	(symbol_table::remove_unreachable_nodes): Remove BEFORE_INLINING_P
	parameter.
	(ipa_single_use): Update comment.
	* ipa-pure-const.c (cdtor_p): New function.
	(propagate_pure_const): Track if some cdtor was turned pure/const.
	(execute): Return TODO_remove_functions if needed.
	* ipa-comdats.c (ipa_comdats): Update comment.
	
	* lto.c (read_cgraph_and_symbols): Update call of
	remove_unreachable_nodes.
	(do_whole_program_analysis): Remove call of
	symtab->remove_unreachable_nodes


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@218640 138bc75d-0d04-0410-961f-82ee72b054a4
	* gcc.dg/builtin-arith-overflow-1.c (fn2): Take signed char.
	(fn3): Likewise.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@218641 138bc75d-0d04-0410-961f-82ee72b054a4
	* doc/md.texi (Insn Lengths): Fix description of (pc).


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

        * config/aarch64/aarch64-protos.h (tune_params): Add align field.
        * config/aarch64/aarch64.c (generic_tunings): Specify align.
        (cortexa53_tunings): Likewise.
        (cortexa57_tunings): Likewise.
        (thunderx_tunings): Likewise.
        (aarch64_override_options): Set align_loops, align_jumps,
        align_functions based on what the tuning struct.



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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@218651 138bc75d-0d04-0410-961f-82ee72b054a4
Adjust the comment in contrib/download_prerequisties.

contrib/
	* download_prerequisites: Modify the comment for GRAPHITE_LOOP_OPT.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@218652 138bc75d-0d04-0410-961f-82ee72b054a4
	PR c++/57510
	* typeck2.c (split_nonconstant_init_1): Handle arrays here.
	(store_init_value): Not here.
	(split_nonconstant_init): Look through TARGET_EXPR.  No longer static.
	* cp-tree.h: Declare split_nonconstant_init.
	* call.c (set_up_extended_ref_temp): Use split_nonconstant_init.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@218653 138bc75d-0d04-0410-961f-82ee72b054a4
	PR c++/64248
	Revert:
	* parser.c (cp_parser_unqualified_id): Handle __func__ here.
	(cp_parser_primary_expression): Not here.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@218654 138bc75d-0d04-0410-961f-82ee72b054a4
	Remove N3639 "array of runtime length" from -std=c++14.
gcc/cp/
	* decl.c (compute_array_index_type): VLAs are not part of C++14.
	(create_array_type_for_decl, grokdeclarator): Likewise.
	* lambda.c (add_capture): Likewise.
	* pt.c (tsubst): Likewise.
	* rtti.c (get_tinfo_decl): Likewise.
	* semantics.c (finish_decltype_type): Likewise.
	* typeck.c (cxx_sizeof_or_alignof_type): Likewise.
	(cp_build_addr_expr_1): Likewise.
	* init.c (build_vec_init): Don't throw bad_array_length.
gcc/c-family/
	* c-cppbuiltin.c (c_cpp_builtins): Define __cpp_runtime_arrays if
	we aren't complaining about VLAs.
libstdc++-v3/
	* libsupc++/new (bad_array_length): Move...
	* bad_array_length.cc: ...here.
	* cxxabi.h, eh_aux_runtime.cc (__cxa_throw_bad_array_new_length): Also
	move to bad_array_length.cc.

	* c-cppbuiltin.c (c_cpp_builtins): Define __cpp_runtime_arrays if
	we aren't complaining about VLAs.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@218655 138bc75d-0d04-0410-961f-82ee72b054a4
	* c-cppbuiltin.c (c_cpp_builtins): Enable C++14 __cpp_constexpr.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@218656 138bc75d-0d04-0410-961f-82ee72b054a4
	gcc/testsuite
	* gcc.target/aarch64/ldp_stp_2.c: Make test less vulnerable.
	* gcc.target/aarch64/ldp_stp_3.c: Ditto.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@218657 138bc75d-0d04-0410-961f-82ee72b054a4
2014-12-12  Zhenqiang Chen  <zhenqiang.chen@arm.com>

	PR rtl-optimization/63917
	* ifcvt.c (cc_in_cond): New function.
	(end_ifcvt_sequence): Make sure new generated insns do not clobber CC.
	(noce_process_if_block, check_cond_move_block): Check CC references.

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

	* gcc.dg/pr64007.c: New test.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@218658 138bc75d-0d04-0410-961f-82ee72b054a4
	* ipa-devirt.c (possible_polymorphic_call_targets): Return early
	if otr_type has no BINFO.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@218659 138bc75d-0d04-0410-961f-82ee72b054a4
	* ipa-inline.c (ipa_inline): Fix condition on when
	TODO_remove_unreachable_functions is needed.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@218660 138bc75d-0d04-0410-961f-82ee72b054a4
[libstdc++][testsuite] Mark as UNSUPPORTED tests that don't fit into tiny memory model

	* testsuite/lib/libstdc++.exp: Include target-utils.exp.
	(v3_target_compile): Check if test is unsupported.
	(v3_target_compile_as_c): Likewise.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@218661 138bc75d-0d04-0410-961f-82ee72b054a4
[libgomp][testsuite] Explicitly include target-utils.exp (fix libgomp testsuite ERROR)

	* testsuite/lib/libgomp.exp: Load target-utils.exp.
	Move load of target-supportes.exp earlier.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@218662 138bc75d-0d04-0410-961f-82ee72b054a4
2014-12-12  Marc Glisse  <marc.glisse@inria.fr>

	* real.h (HONOR_SNANS, HONOR_INFINITIES, HONOR_SIGNED_ZEROS,
	HONOR_SIGN_DEPENDENT_ROUNDING): Replace macros with 3 overloaded
	declarations.
	* real.c (HONOR_NANS): Fix indentation.
	(HONOR_SNANS, HONOR_INFINITIES, HONOR_SIGNED_ZEROS,
	HONOR_SIGN_DEPENDENT_ROUNDING): Define three overloads.
	* builtins.c (fold_builtin_cproj, fold_builtin_signbit,
	fold_builtin_fmin_fmax, fold_builtin_classify): Simplify argument
	of HONOR_*.
	* fold-const.c (operand_equal_p, fold_comparison, fold_binary_loc):
	Likewise.
	* gimple-fold.c (gimple_val_nonnegative_real_p): Likewise.
	* ifcvt.c (noce_try_move, noce_try_minmax, noce_try_abs): Likewise.
	* omp-low.c (omp_reduction_init): Likewise.
	* rtlanal.c (may_trap_p_1): Likewise.
	* simplify-rtx.c (simplify_const_relational_operation): Likewise.
	* tree-ssa-dom.c (record_equality, record_edge_info): Likewise.
	* tree-ssa-phiopt.c (value_replacement, abs_replacement): Likewise.
	* tree-ssa-reassoc.c (eliminate_using_constants): Likewise.
	* tree-ssa-uncprop.c (associate_equivalences_with_edges): Likewise.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@218663 138bc75d-0d04-0410-961f-82ee72b054a4
Add load of target-utils.exp to libatomic, libitm, libvtv, libgo testsuite drivers

	* testsuite/lib/libatomic.exp: Load target-utils.exp

	* testsuite/lib/libitm.exp: Load target-utils.exp.
	Move load of target-supports.exp earlier.

	* testsuite/lib/libvtv.exp: Load target-utils.exp


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@218664 138bc75d-0d04-0410-961f-82ee72b054a4
	PR rtl-optimization/64255
	* gcc.c-torture/execute/pr64255.c: New test.

	PR rtl-optimization/64260
	* gcc.c-torture/execute/pr64260.c: New test.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@218665 138bc75d-0d04-0410-961f-82ee72b054a4
Add use of zex instruction for moxie port

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