2014-04-16  Paul Pluzhnikov  <ppluzhnikov@google.com>

	PR c++/59295
	* friend.c (add_friend, make_friend_class): Move repeated friend
	warning under Wredundant_decls.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209444 138bc75d-0d04-0410-961f-82ee72b054a4
	* include/std/functional (__is_location_invariant): Use __or_ helper.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209445 138bc75d-0d04-0410-961f-82ee72b054a4
	* config/avr/avr-mcus.def: Correct typo for atxmega256a3bu macro.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209446 138bc75d-0d04-0410-961f-82ee72b054a4
2014-04-16  Patrick Palka  <patrick@parcs.ath.cx>

	PR c++/60765
	* decl2.c (cplus_decl_attributes): Handle
	pointer-to-member-function declarations.

2014-04-16  Patrick Palka  <patrick@parcs.ath.cx>

	PR c++/60764
	* call.c (build_user_type_coversion): Use build_dummy_object
	to create the placeholder object for a constructor method call.
	(build_special_member_call): Likewise.
	(build_over_call): Check for the placeholder object with
	is_dummy_object.
	(build_new_method_call_1): Likewise.  Don't attempt to resolve
	a dummy object for a constructor method call.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209447 138bc75d-0d04-0410-961f-82ee72b054a4
libgo: Remove Solaris 8 & 9 support.

From Rainer Orth.


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

gcc/cp/
	* decl.c (reshape_init_r): Handle a single element of vector type.
gcc/testsuite/
	* g++.dg/cpp0x/initlist-vect.C: New file.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209449 138bc75d-0d04-0410-961f-82ee72b054a4
2014-04-16  Catherine Moore  <clm@codesourcery.com>

	gcc/
	* mips.md (*mov<mode>_internal, *movhi_internal, *movqi_internal):
	Adjust constraints for microMIPS store patterns.

	testsuite/
	* gcc.target/mips/umips-store16-2.c: New test.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209450 138bc75d-0d04-0410-961f-82ee72b054a4
	* final.c (compute_alignments): Do not apply loop alignment to a block
	falling through to the exit.


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

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

	* config/host-linux.c (TRY_EMPTY_VM_SPACE): Change aarch64 ilp32
        definition.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209457 138bc75d-0d04-0410-961f-82ee72b054a4
	PR ipa/60854
	* ipa.c (symtab_remove_unreachable_nodes): Mark targets of
	external aliases alive, too.
	* g++.dg/torture/pr60854.C: New testcase.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209459 138bc75d-0d04-0410-961f-82ee72b054a4
	PR lto/60820
	* gcc.dg/lto/pr60820_0.c: New testcase.
	* gcc.dg/lto/pr60820_1.c: New testcase.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209460 138bc75d-0d04-0410-961f-82ee72b054a4
	* ipa-devirt.c (odr_type_d): Add field all_derivations_known.
	(type_all_derivations_known_p): New predicate.
	(type_all_ctors_visible_p): New predicate.
	(type_possibly_instantiated_p): New predicate.
	(get_odr_type): Compute all_derivations_known.
	(dump_odr_type): Dump the flag.
	(maybe_record_type): Cleanup.
	(record_target_from_binfo): Add bases_to_consider array;
	record bases for types w/o instances and skip CXX destructor.
	(possible_polymorphic_call_targets_1): Add bases_to_consider
	and consider_construction parameters; check if type may
	have instance.
	(get_polymorphic_call_info): Set maybe_in_construction to true
	when we know nothing.
	(record_targets_from_bases): Skip CXX destructors; they are
	never called for types in construction.
	(possible_polymorphic_call_targets): Do not record target when
	type may not have instance.

	* g++.dg/ipa/devirt-31.C: New testcase.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209461 138bc75d-0d04-0410-961f-82ee72b054a4
	* opts.c (common_handle_option): Disable -fipa-reference coorectly
	with -fuse-profile.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209462 138bc75d-0d04-0410-961f-82ee72b054a4
2014-04-17  Joey Ye  <joey.ye@arm.com>

        * opts.c (OPT_fif_conversion, OPT_fif_conversion2): Disable for Og.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209463 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/
        * config/i386/i386.c (slm_cost): Adjust vec_to_scalar_cost.
        * config/i386/i386.c (intel_cost): Ditto.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209464 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/
        * config/i386/x86-tune.def (TARGET_SLOW_PSHUFB): New tune definition.
        * config/i386/i386.h (TARGET_SLOW_PSHUFB): New tune flag.
        * config/i386/i386.c (expand_vec_perm_even_odd_1): Avoid byte shuffles
        for TARGET_SLOW_PSHUFB



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209465 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/
        * config/i386/i386.c (x86_add_stmt_cost): Fix vector cost model for
        Silvermont.



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

	PR tree-optimization/60841
	* tree-vect-data-refs.c (vect_analyze_data_refs): Count stmts.
	* tree-vect-loop.c (vect_analyze_loop_2): Pass down number
	of stmts to SLP build.
	* tree-vect-slp.c (vect_slp_analyze_bb_1): Likewise.
	(vect_analyze_slp): Likewise.
	(vect_analyze_slp_instance): Likewise.
	(vect_build_slp_tree): Limit overall SLP tree growth.
	* tree-vectorizer.h (vect_analyze_data_refs,
	vect_analyze_slp): Adjust prototypes.

	* gcc.dg/vect/pr60841.c: New testcase.


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

	PR tree-optimization/60836
	* tree-vect-loop.c (vect_create_epilog_for_reduction): Force
	initial PHI args to be gimple values.

	* g++.dg/vect/pr60836.cc: New testcase.


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