2014-06-26  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/56633
	* g++.dg/cpp0x/deleted8.C: New.


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

	* doc/invoke.texi: Fix typo.
	* dumpfile.c: Add support for documented -fdump-* options
	optimized/missed/note/optall.



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

	* c-family/c-common.h (get_dump_info): Declare.
	* c-family/c-gimplify.c (c_genericize): Use saved dump files.
	* c-family/c-opts.c (c_common_parse_file): Begin and end dumps
	once around parsing invocation.
	(get_dump_info): New function.
	* cp/class.c (dump_class_hierarchy): Use saved dump files.
	(dump_vtable): Ditto.
	(dump_vtt): Ditto.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212041 138bc75d-0d04-0410-961f-82ee72b054a4
	* c-common.h (enum cxx_dialect): Add cxx1z.
	* c.opt (std=c++1z, std=c++17, std=gnu++1z, std=gnu++17): New.
	* c-opts.c (c_common_handle_option, set_std_cxx1z): Handle it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212042 138bc75d-0d04-0410-961f-82ee72b054a4
	N3994 Ranged-based for-loops: The Next Generation
	* parser.c (cp_lexer_nth_token_is): New.
	(cp_parser_for_init_statement): Allow "for (id : init)".

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212043 138bc75d-0d04-0410-961f-82ee72b054a4
	* parser.c (cp_parser_for_init_statement): Change range-for error
	to pedwarn.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212044 138bc75d-0d04-0410-961f-82ee72b054a4
2014-06-26  François Dumont  <fdumont@gcc.gnu.org>

	* testsuite/util/testsuite_allocator.h
	(tracker_allocator_counter::allocate): Remove new invocation, only
	collect information.
	(tracker_allocator_counter::deallocate): Remove delete invocation, only
	collect information.
	(check_inconsistent_alloc_value_type): New.
	(tracker_allocator): Transform as a facade for any allocator type.
	(uneq_allocator): Likewise.
	(propagating_allocator): Likewise.
	* testsuite/23_containers/forward_list/debug/move_assign_neg.cc: Use an
	explicitly non propagating allocator.
	* testsuite/23_containers/map/debug/move_assign_neg.cc: Likewise.
	* testsuite/23_containers/multimap/debug/move_assign_neg.cc: likewise.
	* testsuite/23_containers/multiset/debug/move_assign_neg.cc: Likewise.
	* testsuite/23_containers/set/debug/move_assign_neg.cc: Likewise.
	* testsuite/23_containers/unordered_map/debug/move_assign_neg.cc:
	Likewise.
	* testsuite/23_containers/unordered_multimap/debug/move_assign_neg.cc:
	Likewise.
	* testsuite/23_containers/unordered_multiset/debug/move_assign_neg.cc:
	Likewise.
	* testsuite/23_containers/unordered_set/debug/move_assign_neg.cc:
	Likewise.
	* testsuite/23_containers/vector/debug/move_assign_neg.cc: Likewise.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212046 138bc75d-0d04-0410-961f-82ee72b054a4
2014-06-26  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

	PR target/61542
	* config/rs6000/vsx.md (vsx_extract_v4sf): Fix bug with element
	extraction other than index 3.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212047 138bc75d-0d04-0410-961f-82ee72b054a4
	* doc/invoke.texi (-fsemantic-interposition): Document.
	* common.opt (fsemantic-interposition): New flag.
	* varasm.c (decl_replaceable_p): Use it.
	* gcc.dg/tree-ssa/interposition.c: New testcase.


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

	PR c++/57573
	* g++.dg/template/pr57573.C: New.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212052 138bc75d-0d04-0410-961f-82ee72b054a4
	PR target/61586
	* config/alpha/alpha.c (alpha_handle_trap_shadows): Handle BARRIER RTX.

testsuite/ChangeLog:

2014-06-26  Uros Bizjak  <ubizjak@gmail.com>

	PR target/61586
	* gcc.target/alpha/pr61586.c: New test.



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


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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212058 138bc75d-0d04-0410-961f-82ee72b054a4
2014-06-26  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR libgfortran/61499
	* io/list_read.c (eat_spaces): Use a 'for' loop instead of
	'while' loop to skip the loop if there are no bytes left in the
	string. Only seek if actual spaces can be skipped.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212059 138bc75d-0d04-0410-961f-82ee72b054a4
2014-06-26  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

	PR libgfortran/61499
	gfortran.dg/arrayio_15.f90: New test.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212060 138bc75d-0d04-0410-961f-82ee72b054a4
	* c-c++-common/ubsan/bounds-2.c: Adjust dg-output.
	(fn1): Remove store to out-of-bounds location.  Add memory barrier.
	(fn2): Likewise.
	(fn5): Likewise.
	(fn6): Likewise.
	(fn7): Likewise.
	(fn8): Likewise.
	(fn9): Likewise.
	(fn11): Likewise.
	* c-c++-common/ubsan/bounds-5.c (fn1): Remove store to out-of-bounds
	location.  Add memory barrier.
	(fn2): Likewise.
	(fn3): Likewise.
	(fn4): Likewise.
	(fn5): Likewise.
	* c-c++-common/ubsan/bounds-7.c: New test.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212061 138bc75d-0d04-0410-961f-82ee72b054a4
	* c-parser.c (c_parser_declaration_or_fndef): Discard all type
	qualifiers in __auto_type for atomic types.
	(c_parser_typeof_specifier): Discard all type qualifiers in
	__typeof__ for atomic types.

	* gcc.dg/typeof-2.c: New testcase.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212062 138bc75d-0d04-0410-961f-82ee72b054a4
	PR tree-optimization/57233
	PR tree-optimization/61299
	* tree-vect-generic.c (get_compute_type, count_type_subparts): New
	functions.
	(expand_vector_operations_1): Use them.  If {L,R}ROTATE_EXPR
	would be lowered to scalar shifts, check if corresponding
	shifts and vector BIT_IOR_EXPR are supported and don't lower
	or lower just to narrower vector type in that case.
	* expmed.c (expand_shift_1): Fix up handling of vector
	shifts and rotates.

	* gcc.dg/pr57233.c: New test.
	* gcc.target/i386/pr57233.c: New test.
	* gcc.target/i386/sse2-pr57233.c: New test.
	* gcc.target/i386/avx-pr57233.c: New test.
	* gcc.target/i386/avx2-pr57233.c: New test.
	* gcc.target/i386/avx512f-pr57233.c: New test.
	* gcc.target/i386/xop-pr57233.c: New test.


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

	* parser.c (cp_parser_compound_literal_p): New.
	(cp_parser_postfix_expression, cp_parser_sizeof_operand): Use it.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@212064 138bc75d-0d04-0410-961f-82ee72b054a4
Merge remote-tracking branch 'parent/master' into ipa-ref-alias