2014-05-09  Richard Biener  <rguenther@suse.de>

	* Makefile.in (GTFILES): Remove tree-ssa-propagate.c.
	* tree-ssa-propagate.c: Do not include gt-tree-ssa-propagate.h.
	(interesting_ssa_edges, varying_ssa_edges): Move out of GC space.
	(add_ssa_edge, process_ssa_edge_worklist, ssa_prop_init,
	ssa_propagate): Adjust.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210261 138bc75d-0d04-0410-961f-82ee72b054a4
	PR c/50459
c-family/
	* c-common.c (check_user_alignment): Return -1 if alignment is error
	node.
	(handle_aligned_attribute): Don't call default_conversion on
	FUNCTION_DECLs.
	(handle_vector_size_attribute): Likewise.
	(handle_tm_wrap_attribute): Handle case when wrap_decl is error node.
	(handle_sentinel_attribute): Call default_conversion and allow even
	integral types as an argument.
c/
	* c-parser.c (c_parser_attributes): Parse the arguments as an
	expression-list if the attribute takes identifier.
testsuite/
	* c-c++-common/attributes-1.c: Move test line to a new test.
	* c-c++-common/attributes-2.c: New test.
	* c-c++-common/pr50459.c: New test.
	* c-c++-common/pr59280.c: Add "undeclared" to dg-error.
	* gcc.dg/nonnull-2.c: Likewise.
	* gcc.dg/pr55570.c: Modify dg-error.
	* gcc.dg/tm/wrap-2.c: Likewise.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210262 138bc75d-0d04-0410-961f-82ee72b054a4
Revert wide-int change.

2014-05-09  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>

	Revert:
	2014-05-08  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>

	* wide-int.cc (UTItype): Define.
	(UDWtype): Define for appropriate W_TYPE_SIZE.



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

	* files.c (find_file_in_dir): Always try to shorten for DOS
	non-system headers.
	* init.c (ENABLE_CANONICAL_SYSTEM_HEADERS): Default enabled for DOS.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210264 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/config/avr
	PR target/61055
	* config/avr/avr.md (cc): Add new attribute set_vzn.
	(addqi3, addqq3, adduqq3, subqi3, subqq3, subuqq3, negqi2) [cc]:
	Set cc insn attribute to set_vzn instead of set_zn for alternatives
	with INC, DEC or NEG.
	* config/avr/avr.c (avr_notice_update_cc): Handle SET_VZN.
	(avr_out_plus_1): ADIW sets cc0 to CC_SET_CZN.
	INC, DEC and ADD+ADC set cc0 to CC_CLOBBER.

gcc/testsuite/
	PR target/61055
	* gcc.target/avr/torture/pr61055.c: New test.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210267 138bc75d-0d04-0410-961f-82ee72b054a4
	* 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