* config/avr/avr-fixed.md (round<mode>3): Use -1U instead of -1 in
	unsigned int initializers for regno_in, regno_out.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210272 138bc75d-0d04-0410-961f-82ee72b054a4
014-05-09  David Wohlferd <LimeGreenSocks@yahoo.com>
	Andrew Haley <aph@redhat.com>
	Richard Sandiford <rdsandiford@googlemail.com>

	* doc/extend.texi: Rewrite inline asm page / re-org asm-related
	pages.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210273 138bc75d-0d04-0410-961f-82ee72b054a4
2014-05-06  Kenneth Zadeck  <zadeck@naturalbridge.com>

	PR middle-end/61111
	* fold-const.c (fold_binary_loc): Changed width of mask.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210274 138bc75d-0d04-0410-961f-82ee72b054a4
-fstack-protector-strong: Instrumentation for return slots

This patch fixes a loophole in the -fstack-protector-strong protection.
If a function call uses a return slot, the caller needs stack protector
instrumentation because the return slot is addressable. 

gcc/

2014-05-09  Florian Weimer  <fweimer@redhat.com>

	* cfgexpand.c (stack_protect_decl_p): New function, extracted from
	expand_used_vars.
	(stack_protect_return_slot_p): New function.
	(expand_used_vars): Call stack_protect_decl_p and
	stack_protect_return_slot_p for -fstack-protector-strong.

gcc/testsuite/

2014-05-09  Florian Weimer  <fweimer@redhat.com>

	* gcc.dg/fstack-protector-strong.c: Add coverage for return slots.
	* g++.dg/fstack-protector-strong.C: Likewise.
	* gcc.target/i386/ssp-strong-reg.c: New file.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210275 138bc75d-0d04-0410-961f-82ee72b054a4
fixed date of changelog entry

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210276 138bc75d-0d04-0410-961f-82ee72b054a4
	PR fortran/61109
        * trans-array.c (gfc_conv_array_initializer): Fix wide-int
	conversion bug.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210277 138bc75d-0d04-0410-961f-82ee72b054a4
	PR c/61096
	* c-parser.c (c_parser_braced_init): Pass brace_loc to push_init_level.
	(c_parser_initelt): Pass location to set_init_label.  Pass array index
	location to set_init_index.
	* c-tree.h (push_init_level): Update declaration.
	(pop_init_level): Likewise.
	(set_init_index): Likewise.
	(set_init_label): Likewise.
	* c-typeck.c (error_init): Add location parameter.  Call error_at
	instead of error.
	(digest_init): Pass init_loc to error_init.
	(really_start_incremental_init):
	(push_init_level): Add location parameter.  Pass loc to pop_init_level
	and error_init.
	(pop_init_level): Likewise.
	(set_designator): Add location parameter.  Pass loc to pop_init_level,
	push_init_level, and error_init.
	(set_init_index): Add location parameter.  Pass loc to error_init and
	set_designator.
	(set_init_label): Likewise.
	(output_init_element): Pass loc to error_init.
	(process_init_element): Pass loc to error_init, pop_init_level,
	pedwarn_init, and push_init_level.

	* gcc.dg/pr61096-1.c: New test.
	* gcc.dg/pr61096-2.c: New test.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210280 138bc75d-0d04-0410-961f-82ee72b054a4
	PR c++/22434
	* call.c (build_conditional_expr_1): Don't try to pool cv-quals
	if we didn't find a conversion.
	Don't accept a bad conversion too early.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210281 138bc75d-0d04-0410-961f-82ee72b054a4
	PR c++/32019
	* call.c (build_conditional_expr_1): Improve ambiguity diagnostic.

	PR c++/54348
	* call.c (build_conditional_expr_1): If overload resolution finds
	no match, just say "different types".

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210282 138bc75d-0d04-0410-961f-82ee72b054a4
	PR c++/58714
	* tree.c (stabilize_expr): A stabilized prvalue is an xvalue.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210283 138bc75d-0d04-0410-961f-82ee72b054a4
	DR 5
	PR c++/60019
	* call.c (build_user_type_conversion_1): The copy-init temporary
	is cv-unqualified.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210284 138bc75d-0d04-0410-961f-82ee72b054a4
	DR 587
	PR c++/51317
	* call.c (build_conditional_expr_1, conditional_conversion): Handle
	non-class lvalues and xvalues that differ only in cv-qualifiers.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210285 138bc75d-0d04-0410-961f-82ee72b054a4
2014-05-09  Teresa Johnson  <tejohnson@google.com>

	* cgraphunit.c (analyze_functions): Use correct dump file.


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

	* pt.c (convert_nontype_argument_function): Add tsubst_flags_t
	parameter.
	(convert_nontype_argument): Adjust calls.
	(coerce_template_parameter_pack): Add missing complain & tf_error
	check.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210289 138bc75d-0d04-0410-961f-82ee72b054a4
	* config/abi/pre/gnu.ver (GLIBCXX_3.4.20): Correct regex_error export.
	(GLIBCXX_3.4.21): Export base object constructor for regex_error.
	* acinclude.m4 (libtool_VERSION): Bump.
	* configure: Regenerate.
	* testsuite/util/testsuite_abi.cc: Add GLIBCXX_3.4.21 version.
	* testsuite/28_regex/regex_error/base.cc: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210290 138bc75d-0d04-0410-961f-82ee72b054a4
Fix typo in ChangeLog-2013

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210291 138bc75d-0d04-0410-961f-82ee72b054a4
	PR c++/60463
	PR c++/60755
	* lambda.c (lambda_expr_this_capture): Add new parameter
	add_capture_p controlling whether the functions will try to
	capture 'this' via the default capture.
	(maybe_resolve_dummy): Likewise.
	* cp-tree.h: Adjust prototypes.
	* call.c, semantics.c: Change callers of these functions.
	* call.c (build_new_method_call_1): Use the actual 'this' that
	would be potentially captured for the overload resolution, instead
	of the dummy object.

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210298 138bc75d-0d04-0410-961f-82ee72b054a4
	* lib/target-supports.exp
	(check_effective_target_logical_op_short_circuit): Add mmix-*-*
	to the list.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210299 138bc75d-0d04-0410-961f-82ee72b054a4
	* c-parser.c (c_parser_declaration_or_fndef): Pass init_loc to
	maybe_warn_string_init.
	(c_parser_postfix_expression_after_paren_type): Pass type_loc to
	maybe_warn_string_init.
	* c-tree.h (maybe_warn_string_init): Update declaration.
	* c-typeck.c (maybe_warn_string_init): Add location parameter.
	Call pedwarn_init with loc instead of with input_location.
	(digest_init): Pass init_loc to maybe_warn_string_init.
	(pop_init_level): Call pedwarn_init with loc instead of with
	input_location.
	(set_init_index): Likewise.
	(process_init_element): Likewise.

	* gcc.dg/pedwarn-init.c: New test.
	* gcc.dg/init-string-1.c: Adjust dg-error.


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