PR middle-end/53590
	* function.c (allocate_struct_function): Revert r188667 change.

	* gimple-low.c (lower_builtin_setjmp): Use properly-typed constant.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212424 138bc75d-0d04-0410-961f-82ee72b054a4
Fix --enable-checking=fold failure.

	gcc/
	* fold-const.c (fold_checksum_tree): Look at DECL_VINDEX only for
	FUNCTION_DECLs.

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

	PR c-family/61741
	* c-c++-common/torture/pr61741.c: Use signed char.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212430 138bc75d-0d04-0410-961f-82ee72b054a4
Add addressing=absolute and isa_rev=0 to mips fuse-caller-save tests

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

	* gcc.target/mips/fuse-caller-save.c: Add addressing=absolute to
	dg-options.
	* gcc.target/mips/fuse-caller-save-micromips.c: Same.
	* gcc.target/mips/fuse-caller-save-mips16.c: Same.  Add isa_rev=0 to
	dg-options.

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

	PR tree-optimization/61757
	* tree-ssa-dom.c (loop_depth_of_name): Restore.
	(propagate_rhs_into_lhs): Revert part of last change.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212433 138bc75d-0d04-0410-961f-82ee72b054a4
	* include/experimental/any (any::_Manager_alloc::_Data): Reorder
	tuple members to simplify pretty printing.
	(any::_Manager_alloc::_Data::_M_construct): Fix uses-allocator
	construction.
	* testsuite/experimental/any/cons/4.cc: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212435 138bc75d-0d04-0410-961f-82ee72b054a4
	PR c++/61659
	PR c++/61687
gcc/c-family/
	* c.opt (-fuse-all-virtuals): New.
gcc/cp/
	* decl2.c (mark_all_virtuals): New variable.
	(maybe_emit_vtables): Check it instead of flag_devirtualize.
	(cp_write_global_declarations): Set it and give helpful diagnostic
	if it introduces errors.
	* class.c (finish_struct_1): Check it.
	* decl.c (grokdeclarator): Clear virtualp after 'virtual auto' error.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212436 138bc75d-0d04-0410-961f-82ee72b054a4
	PR c++/61661
	* semantics.c (reduced_constant_expression_p): Handle CONSTRUCTOR.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212439 138bc75d-0d04-0410-961f-82ee72b054a4
2014-07-10  Edward Smith-Rowland  <3dw4rd@verizon.net>
	    Jonathan Wakely  <jwakely@redhat.com>

	PR CPP/61389
	* macro.c (_cpp_arguments_ok, parse_params, create_iso_definition):
	Warning messages mention C++11 in c++ mode and C99 in c mode.
	* lex.c (lex_identifier_intern, lex_identifier): Ditto



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212441 138bc75d-0d04-0410-961f-82ee72b054a4
There is a stray right paren.
Fixed as obvious.


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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212445 138bc75d-0d04-0410-961f-82ee72b054a4
runtime: Drop reflectFlags tests.

The flags were used by the reflect package in the past, but
not for a couple of years now.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212446 138bc75d-0d04-0410-961f-82ee72b054a4
runtime: Rename iface.goc to go-iface.goc.

Rename in order to avoid confusion with the new
runtime/iface.goc file in the Go library master sources.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212447 138bc75d-0d04-0410-961f-82ee72b054a4
2014-07-10  Rong Xu  <xur@google.com>

	Add gcov-tool: an offline gcda profile processing tool
	Support.
	* gcc/gcov-io.c (gcov_position): Make avaialble to gcov-tool.
	(gcov_is_error): Ditto.
	(gcov_read_string): Ditto.
	(gcov_read_sync): Ditto.
	* gcc/gcov-io.h: Move counter defines to gcov-counter.def.
	* gcc/gcov-dump.c (tag_counters): Use gcov-counter.def.
	* gcc/coverage.c: Ditto.
	* gcc/gcov-tool.c: Offline gcda profile processing tool.
        (unlink_gcda_file): Remove one gcda file.
	(unlink_profile_dir): Remove gcda files from the profile path.
	(gcov_output_files): Output gcda files to an output dir.
	(profile_merge): Merge two profiles in directory.
	(print_merge_usage_message): Print merge usage.
	(merge_usage): Print merge usage and exit.
	(do_merge): Driver for profile merge sub-command.
	(profile_rewrite): Rewrite profile.
	(print_rewrite_usage_message): Print rewrite usage.
	(rewrite_usage): Print rewrite usage and exit.
	(do_rewrite): Driver for profile rewrite sub-command.
	(print_usage): Print gcov-info usage and exit.
	(print_version): Print gcov-info version.
	(process_args): Process arguments.
	(main): Main routine for gcov-tool.
	* gcc/Makefile.in: Build and install gcov-tool.
	* gcc/gcov-counter.def: New file split from gcov-io.h.
	* libgcc/libgcov-driver.c (gcov_max_filename): Make available
        to gcov-tool.
	* libgcc/libgcov-merge.c (__gcov_merge_add): Replace
        gcov_read_counter() with a Macro.
	(__gcov_merge_ior): Ditto.
	(__gcov_merge_time_profile): Ditto.
	(__gcov_merge_single): Ditto.
	(__gcov_merge_delta): Ditto.
	* libgcc/libgcov-util.c (void gcov_set_verbose): Set the verbose flag
        in the utility functions.
	(set_fn_ctrs): Utility function for reading gcda files to in-memory
        gcov_list object link lists.
	(tag_function): Ditto.
	(tag_blocks): Ditto.
	(tag_arcs): Ditto.
	(tag_lines): Ditto.
	(tag_counters): Ditto.
	(tag_summary): Ditto.
	(read_gcda_finalize): Ditto.
	(read_gcda_file): Ditto.
	(ftw_read_file): Ditto.
	(read_profile_dir_init): Ditto.
	(gcov_read_profile_dir): Ditto.
	(gcov_read_counter_mem): Ditto.
	(gcov_get_merge_weight): Ditto.
	(merge_wrapper): A wrapper function that calls merging handler.
	(gcov_merge): Merge two gcov_info objects with weights.
	(find_match_gcov_info): Find the matched gcov_info in the list.
	(gcov_profile_merge): Merge two gcov_info object lists.
	(__gcov_add_counter_op): Process edge profile counter values.
	(__gcov_ior_counter_op): Process IOR profile counter values.
	(__gcov_delta_counter_op): Process delta profile counter values.
	(__gcov_single_counter_op): Process single  profile counter values.
	(fp_scale): Callback function for float-point scaling.
	(int_scale): Callback function for integer fraction scaling. 
	(gcov_profile_scale): Scaling profile counters.
	(gcov_profile_normalize): Normalize profile counters.
	* libgcc/libgcov.h: Add headers and functions for gcov-tool use.
        (gcov_get_counter): New.
        (gcov_get_counter_target): Ditto.
        (struct gcov_info): Make the functions field mutable in gcov-tool
        compilation.
	* gcc/doc/gcc.texi: Include gcov-tool.texi.
	* gcc/doc/gcov-tool.texi: Document for gcov-tool.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212448 138bc75d-0d04-0410-961f-82ee72b054a4
	PR target/56858
	* config/alpha/alpha.c: Include tree-pass.h, context.h
	and pass_manager.h.
	(pass_data_handle_trap_shadows): New pass.
	(pass_handle_trap_shadows::gate): New pass gate function.
	(make_pass_handle_trap_shadows): New function.
	(rest_of_handle_trap_shadows): Ditto.

	(alpha_align_insns_1): Rename from alpha_align_insns.
	(pass_data_align_insns): New pass.
	(pass_align_insns::gate): New pass gate function.
	(make_pass_aling_insns): New function.
	(rest_of_align_insns): Ditto.
	(alpha_align_insns): Ditto.

	(alpha_option_override): Declare handle_trap_shadows info
	and align_insns_info.  Register handle_trap_shadows and align_insns
	passes here.
	(alpha_reorg): Do not call alpha_trap_shadows and
	alpha_align_insn from here.

	(alpha_pad_function_end): Do not skip BARRIERs.



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

	PR target/61561
	* config/arm/arm.md (*movhi_insn_arch4): Handle stack pointer.
	(*movhi_bytes): Likewise.
	(*arm_movqi_insn): Likewise. 

gcc/testsuite/
2014-07-11  Marat Zakirov  <m.zakirov@samsung.com>

	PR target/61561
	* gcc.dg/pr61561.c: New test.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212450 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/
	* gcc/config/i386/i386.c.orig


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

	PR middle-end/61473
	* builtins.c (fold_builtin_memory_op): Inline memory moves
	that can be implemented with a single load followed by a
	single store.
	(c_strlen): Only warn when only_value is not 2.

	* gcc.dg/memmove-4.c: New testcase.
	* gcc.dg/strlenopt-8.c: XFAIL.
	* gfortran.dg/coarray_lib_realloc_1.f90: Adjust.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212452 138bc75d-0d04-0410-961f-82ee72b054a4
2014-07-11  Samuel Bronson  <naesten@gmail.com>
	    Matthias Klose  <doko@ubuntu.com>

	PR libstdc++/58962
	* python/libstdcxx/v6/printers.py: Port to Python 2+3
	(imap): New compat function.
	(izip): Likewise.
	(Iterator): New mixin to allow writing iterators in Python 3 style
	regardless of which version we're running on.
	[Python3] (long) New compat alias for "int".
	* testsuite/lib/gdb-test.exp: Port to Python 2+3 (print syntax)

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212453 138bc75d-0d04-0410-961f-82ee72b054a4
	* config/xtensa/predicates.md (call expander): Update for
	DECL_SECTION_NAME being string.


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