2014-07-12  Ulrich Drepper  <drepper@gmail.com>

	* include/ext/random: Add uniform_on_sphere_distribution definition.
	* include/ext/random.tcc: Add out-of-band member function definitions
	for uniform_on_sphere_distribution.
	* testsuite/ext/random/uniform_on_sphere_distribution/
	cons/default.cc: New file.
	* testsuite/ext/random/uniform_on_sphere_distribution/
	operators/equal.cc: New file.
	* testsuite/ext/random/uniform_on_sphere_distribution/
	operators/inequal.cc: New file.
	* testsuite/ext/random/uniform_on_sphere_distribution/
	operators/serialize.cc: New file.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212492 138bc75d-0d04-0410-961f-82ee72b054a4
2014-07-13  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/60967
	* g++.dg/cilk-plus/pr60967.C: New.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212493 138bc75d-0d04-0410-961f-82ee72b054a4
cp/
	
2014-07-13  Edward Smith-Rowland  <3dw4rd@verizon.net>

	PR C++/60209 - Declaration of user-defined literal operator cause error
	* cp/parser.c (cp_parser_operator()): Fold treatment of strings
	and user-defined string literals.  Use the full string parser.
	(cp_parser_string_literal()): Add flag to not look for literal operator.


testsuite/
	
2014-07-13  Edward Smith-Rowland  <3dw4rd@verizon.net>

	PR C++/60209 - Declaration of user-defined literal operator cause error
	* g++.dg/cpp0x/pr60209-neg.C: New.
	* g++.dg/cpp0x/pr60209.C: New.
	* g++.dg/cpp1y/udlit-empty-string-neg.C: Adjust messages.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212494 138bc75d-0d04-0410-961f-82ee72b054a4
Add xmm-register version of fuse-caller-save testcase

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

	* gcc.target/i386/fuse-caller-save-xmm-run.c: New test.
	* gcc.target/i386/fuse-caller-save-xmm.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212495 138bc75d-0d04-0410-961f-82ee72b054a4
	* include/ext/random.tcc: Fix operator>> and operator<< for
	uniform_on_sphere_distribution.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212496 138bc75d-0d04-0410-961f-82ee72b054a4
	* ipa-devirt.c (odr_subtypes_equivalent_p): Disable temporary hack
	forgotten in previous commit.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212497 138bc75d-0d04-0410-961f-82ee72b054a4
	* cgraph.h (symtab_node): Add nonzero_address.
	(decl_in_symtab_p): Break out from ...
	(symtab_get_node): ... here.
	* fold-const.c: Include cgraph.h
	(tree_single_nonzero_warnv_p): Use symtab to determine
	if symbol is non-zero.
	* symtab.c (symtab_node::nonzero_address): New method.

	* gcc.dg/pr36901.h: Simplify because non-zero symbol folding no
	longer happens during parsing.
	* gcc.dg/pr44024.c: Update template.
	* g++.dg/tree-ssa/nonzero-2.C: New testcase.
	* g++.dg/tree-ssa/nonzero-1.C: New testcase.
	* gcc.dg/tree-ssa/nonzero-1.c: New testcase.


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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212502 138bc75d-0d04-0410-961f-82ee72b054a4
	PR c++/58636
	* call.c (build_list_conv): Don't try to build a list of references.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212503 138bc75d-0d04-0410-961f-82ee72b054a4
	PR c++/60628
	* decl.c (create_array_type_for_decl): Only check for auto once.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212504 138bc75d-0d04-0410-961f-82ee72b054a4
	PR c++/58612
	* tree.c (bot_replace): Only replace a dummy 'this' parm.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212505 138bc75d-0d04-0410-961f-82ee72b054a4
	PR c++/58611
	* decl.c (check_initializer): Don't finish_compound_literal
	on erroneous constexpr init.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212506 138bc75d-0d04-0410-961f-82ee72b054a4
	PR c++/58511
	* semantics.c (is_instantiation_of_constexpr): Return true for
	defaulted functions, too.
	(explain_invalid_constexpr_fn): Only use
	explain_implicit_non_constexpr if !DECL_DECLARED_CONSTEXPR_P.
	* method.c (explain_implicit_non_constexpr): Pass
	DECL_INHERITED_CTOR_BASE to explain_implicit_non_constexpr.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212507 138bc75d-0d04-0410-961f-82ee72b054a4
	PR target/61656
	* config/i386/i386.c (classify_argument): Don't merge classes above
	number of words.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212509 138bc75d-0d04-0410-961f-82ee72b054a4
	PR middle-end/61294
gcc/c-family/
	* c.opt (Wmemset-transposed-args): New warning.
gcc/c/
	* c-parser.c (c_parser_expr_list): Add new argument literal_zero_mask.
	If non-NULL, call c_parser_check_literal_zero.
	(c_parser_check_literal_zero): New function.
	(c_parser_postfix_expression_after_primary): Adjust
	c_parser_expr_list caller, handle -Wmemset-transposed-args.
gcc/cp/
	* cp-tree.h (LITERAL_ZERO_P): Define.
	* parser.c (cp_parser_parenthesized_expression_list): Add
	want_literal_zero_p argument, if true, for literal zeros
	insert INTEGER_CSTs with LITERAL_ZERO_P flag set.
	(cp_parser_postfix_expression): Adjust
	cp_parser_parenthesized_expression_list caller, handle
	-Wmemset-transposed-args.
	(literal_zeros): New variable.
gcc/
	* doc/invoke.texi (-Wmemset-transposed-args): Document.
gcc/testsuite/
	* c-c++-common/Wmemset-transposed-args1.c: New test.
	* c-c++-common/Wmemset-transposed-args2.c: New test.
	* g++.dg/warn/Wmemset-transposed-args-1.C: New test.


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

	* cgraph.h (decl_in_symtab_p): Make inline.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212511 138bc75d-0d04-0410-961f-82ee72b054a4
[ARM] Handle clz, rbit types in arm pipeline descriptions.

	* config/arm/cortex-a15.md (cortex_a15_alu): Handle clz, rbit.
	* config/arm/cortex-a5.md (cortex_a5_alu): Likewise.
	* config/arm/cortex-a53.md (cortex_a53_alu): Likewise.
	* config/arm/cortex-a7.md (cortex_a7_alu_reg): Likewise.
	* config/arm/cortex-a9.md (cortex_a9_dp): Likewise.
	* config/arm/cortex-m4.md (cortex_m4_alu): Likewise.
	* config/arm/cortex-r4.md (cortex_r4_alu): Likewise.



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

	PR tree-optimization/61757
	PR tree-optimization/61783
	PR tree-optimization/61787
	* tree-ssa-dom.c (record_equality): Revert canonicalization
	change and add comment.
	(propagate_rhs_into_lhs): Revert previous fix, removing
	loop depth restriction again.

	* gcc.dg/torture/pr61757.c: New testcase.
	* gcc.dg/torture/pr61787.c: Likewise.


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

	* builtins.c (c_strlen): Make only_value == 2 really only
	affect warning generation.


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

	PR tree-optimization/61786
	* gcc.dg/torture/pr61786.c: New testcase.
	* gcc.dg/lto/pr61786_0.c: Likewise.
	* gcc.dg/lto/pr61786_1.c: Likewise.


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