PR tree-optimization/60559
	* vectorizable_mask_load_store): Replace scalar MASK_LOAD
	with build_zero_cst assignment.

	* g++.dg/vect/pr60559.cc: New test.


git-svn-id: svn://gcc.gnu.org/svn/gcc/trunk@208676 138bc75d-0d04-0410-961f-82ee72b054a4
2014-03-19  Richard Biener  <rguenther@suse.de>

	PR lto/59543
	* lto-streamer-in.c (input_function): In WPA stage do not drop
	debug stmts.


git-svn-id: svn://gcc.gnu.org/svn/gcc/trunk@208677 138bc75d-0d04-0410-961f-82ee72b054a4
2014-03-19  Richard Biener  <rguenther@suse.de>

	* lto.c (lto_wpa_write_files): Move call to
	lto_promote_cross_file_statics ...
	(do_whole_program_analysis): ... here, into the partitioning
	block.  Do not ggc_collect after lto_wpa_write_files but
	for a last time before it.


git-svn-id: svn://gcc.gnu.org/svn/gcc/trunk@208679 138bc75d-0d04-0410-961f-82ee72b054a4
Require tls_runtime in gcc.dg/tls/pr58595.c

	* gcc.dg/tls/pr58595.c: Require tls_runtime instead of tls.

git-svn-id: svn://gcc.gnu.org/svn/gcc/trunk@208680 138bc75d-0d04-0410-961f-82ee72b054a4
	PR sanitizer/60569
	* ubsan.c (ubsan_type_descriptor): Check that DECL_NAME is nonnull
	before accessing it.
testsuite/
	* g++.dg/ubsan/pr60569.C: New test.



git-svn-id: svn://gcc.gnu.org/svn/gcc/trunk@208681 138bc75d-0d04-0410-961f-82ee72b054a4
2014-03-19  Richard Biener  <rguenther@suse.de>

	PR middle-end/60553
	* tree-core.h (tree_type_common): Re-order pointer members
	to reduce recursion depth during GC walks.

	lto/
	* lto-tree.h (lang_tree_node): For types use TYPE_NEXT_VARIANT 
	instead of TREE_CHAIN as chain_next.


git-svn-id: svn://gcc.gnu.org/svn/gcc/trunk@208682 138bc75d-0d04-0410-961f-82ee72b054a4
[ARM] [Trivial] Fix shortening of field name extend.

gcc/
	* config/arm/aarch-common-protos.h
	(alu_cost_table): Fix spelling of "extend".
	* config/arm/arm.c (arm_new_rtx_costs): Fix spelling of "extend".



git-svn-id: svn://gcc.gnu.org/svn/gcc/trunk@208683 138bc75d-0d04-0410-961f-82ee72b054a4
2014-03-19  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/60332
	* g++.dg/cpp1y/pr60332.C: New.


git-svn-id: svn://gcc.gnu.org/svn/gcc/trunk@208684 138bc75d-0d04-0410-961f-82ee72b054a4
Log environment variables in set_ld_library_path_env_vars

GNU linker sets DT_RPATH from the environment variable LD_RUN_PATH.
set_ld_library_path_env_vars sets a few environment variables including
LD_RUN_PATH.  This patch logs all environment variables set by
set_ld_library_path_env_vars so that one can recreate the same
executable as "make check" run.

	PR testsuite/60590
	* lib/target-libpath.exp (set_ld_library_path_env_vars): Log
	LD_LIBRARY_PATH, LD_RUN_PATH, SHLIB_PATH, LD_LIBRARY_PATH_32,
	LD_LIBRARY_PATH_64 and DYLD_LIBRARY_PATH.


git-svn-id: svn://gcc.gnu.org/svn/gcc/trunk@208685 138bc75d-0d04-0410-961f-82ee72b054a4
/cp
2014-03-19  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/51474
	* call.c (build_new_method_call_1): Handle pure virtuals called by
	NSDMIs too.

/testsuite
2014-03-19  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/51474
	* g++.dg/cpp0x/nsdmi-virtual2.C: New.


git-svn-id: svn://gcc.gnu.org/svn/gcc/trunk@208686 138bc75d-0d04-0410-961f-82ee72b054a4
2014-03-18  Tobias Burnus  <burnus@net-b.de>

        PR fortran/60543
        PR fortran/60283
        * gfortran.h (gfc_unset_implicit_pure): New prototype.
        * resolve.c (gfc_unset_implicit_pure): New.
        (resolve_structure_cons, resolve_function,
        pure_subroutine): Use it.
        * decl.c (match_old_style_init, gfc_match_data,
        match_pointer_init, variable_decl): Ditto.
        * expr.c (gfc_check_pointer_assign): Ditto.
        * intrinsic.c (gfc_intrinsic_sub_interface): Ditto.
        * io.c (match_vtag, gfc_match_open, gfc_match_close,
        match_filepos, gfc_match_inquire, gfc_match_print,
        gfc_match_wait): Ditto.
        * match.c (gfc_match_critical, gfc_match_stopcode,
        lock_unlock_statement, sync_statement, gfc_match_allocate,
        gfc_match_deallocate): Ditto.
        * parse.c (decode_omp_directive): Ditto.
        * symbol.c (gfc_add_save): Ditto.

2014-03-18  Tobias Burnus  <burnus@net-b.de>

        PR fortran/60543
        PR fortran/60283
        * gfortran.dg/implicit_pure_4.f90: New.



git-svn-id: svn://gcc.gnu.org/svn/gcc/trunk@208687 138bc75d-0d04-0410-961f-82ee72b054a4
	PR target/60039
	* config/sh/sh.md (udivsi3_i1): Clobber R1 register



git-svn-id: svn://gcc.gnu.org/svn/gcc/trunk@208688 138bc75d-0d04-0410-961f-82ee72b054a4
Merge remote-tracking branch 'gcc trunk rev208688' into linaro-4.9

Signed-off-by: Hieu Phan <aznrice2k4@gmail.com>
Daily bump.

git-svn-id: svn://gcc.gnu.org/svn/gcc/trunk@208691 138bc75d-0d04-0410-961f-82ee72b054a4
ChangeLog:
2014-03-20  Zhenqiang Chen  <zhenqiang.chen@linaro.org>

	* config/arm/arm.c (arm_dwarf_register_span): Update the element number
	of parts.

testsuite/ChangeLog:
2014-03-20  Zhenqiang Chen  <zhenqiang.chen@linaro.org>

	* gcc.target/arm/neon-modes-3.c: Add "-g" option.



git-svn-id: svn://gcc.gnu.org/svn/gcc/trunk@208692 138bc75d-0d04-0410-961f-82ee72b054a4
2014-03-19  Tobias Burnus  <burnus@net-b.>

        PR fortran/60543
        * io.c (check_io_constraints): Use gfc_unset_implicit_pure.
        * resolve.c (resolve_ordinary_assign): Ditto.



git-svn-id: svn://gcc.gnu.org/svn/gcc/trunk@208693 138bc75d-0d04-0410-961f-82ee72b054a4
	* calls.c (store_one_arg): Remove incorrect const qualification on the
	type of the temporary.
	* cfgexpand.c (expand_return): Likewise.
	* expr.c (expand_constructor): Likewise.
	(expand_expr_real_1): Likewise.


git-svn-id: svn://gcc.gnu.org/svn/gcc/trunk@208694 138bc75d-0d04-0410-961f-82ee72b054a4
	* config/sparc/sparc.c (sparc_do_work_around_errata): Implement work
	around for store forwarding issue in the FPU on the UT699.
	* config/sparc/sparc.md (in_branch_delay): Return false for single FP
	loads and operations if -mfix-ut699 is specified.
	(divtf3_hq): Tweak attribute.
	(sqrttf2_hq): Likewise.


git-svn-id: svn://gcc.gnu.org/svn/gcc/trunk@208695 138bc75d-0d04-0410-961f-82ee72b054a4
Delete obsolete definition of MEMORY_MOVE_COST in AArch64.

2014-03-20  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>

        * config/aarch64/aarch64.c (MEMORY_MOVE_COST): Delete.



git-svn-id: svn://gcc.gnu.org/svn/gcc/trunk@208705 138bc75d-0d04-0410-961f-82ee72b054a4
	PR target/60568
	* config/i386/i386.c (x86_output_mi_thunk): Surround UNSPEC_GOT
	into CONST, put pic register as first operand of PLUS.  Use
	gen_const_mem for both 32-bit and 64-bit PIC got loads.


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