2014-05-01  Jeff Law  <law@redhat.com>

	* Revert:
	2014-04-24  Jincheng Miao  <jincheng.miao@gmail.com>

	* zh_CN.po: Fix typo for -mfentry.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209997 138bc75d-0d04-0410-961f-82ee72b054a4
	PR c/60784
	* c-typeck.c (push_init_level): Set constructor_designated to
	p->designated for structures.

	* gcc.dg/pr60784.c: New test.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209998 138bc75d-0d04-0410-961f-82ee72b054a4
2014-05-01  Jeff Law  <law@redhat.com>

	Revert:

	2014-04-24  Prathamesh Kulkarni  <bilbotheelffriend@gmail.com>
	* c-parser.c (c_parser_sizeof_expression): Reorganize slightly to
	avoid goto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209999 138bc75d-0d04-0410-961f-82ee72b054a4
2014-02-26  Kito Cheng  <kito@0xlab.org>

	* defaults.h (HONOR_REG_ALLOC_ORDER): Change HONOR_REG_ALLOC_ORDER
	to a C expression marco.
	* ira-color.c (HONOR_REG_ALLOC_ORDER) : Ditto.
	* config/arm/arm.h (HONOR_REG_ALLOC_ORDER): Ditto.
	* config/nds32/nds32.h (HONOR_REG_ALLOC_ORDER): Ditto.
	* doc/tm.texi (HONOR_REG_ALLOC_ORDER): Update document for
	HONOR_REG_ALLOC_ORDER.
	* doc/tm.texi.in (HONOR_REG_ALLOC_ORDER): Ditto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210000 138bc75d-0d04-0410-961f-82ee72b054a4
	* c-tree.h (error_init): Remove declaration.
	(pedwarn_init): Likewise.
	* c-typeck.c (error_init): Make static and move above.
	(pedwarn_init): Likewise.
	(warning_init): Move above.
	(maybe_warn_string_init): Likewise.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210001 138bc75d-0d04-0410-961f-82ee72b054a4
	* doc/invoke.texi: Describe -fsanitize=float-divide-by-zero.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210002 138bc75d-0d04-0410-961f-82ee72b054a4
One-line tidy of bit-twiddle expression in aarch64.c

	* config/aarch64/aarch64.c (aarch64_expand_vec_perm_1): Tidy bit-flip
	expression.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210005 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/
	* hwint.h (zext_hwi): Fix signed overflow for prec == 63.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210006 138bc75d-0d04-0410-961f-82ee72b054a4
	PR libstdc++/59476
	* python/libstdcxx/v6/printers.py (get_value_from_Rb_tree_node): New
	function to handle both C++03 and C++11 _Rb_tree_node implementations.
	(StdRbtreeIteratorPrinter, StdMapPrinter, StdSetPrinter): Use it.
	* testsuite/libstdc++-prettyprinters/simple.cc: Update comment to
	refer to...
	* testsuite/libstdc++-prettyprinters/simple11.cc: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210008 138bc75d-0d04-0410-961f-82ee72b054a4
	* gimplify.c (gimplify_adjust_omp_clauses_1): Handle
	GOVD_FIRSTPRIVATE | GOVD_LASTPRIVATE.
	(gimplify_adjust_omp_clauses): Simd region is never
	directly nested in combined parallel.  Instead, for linear
	with copyin/copyout, if in combined for simd loop, make decl
	firstprivate/lastprivate on OMP_FOR.
	* omp-low.c (expand_omp_for_generic, expand_omp_for_static_nochunk,
	expand_omp_for_static_chunk): When setting endvar, also set
	fd->loop.v to the same value.
libgomp/
	* testsuite/libgomp.c/simd-10.c: New test.
	* testsuite/libgomp.c/simd-11.c: New test.
	* testsuite/libgomp.c/simd-12.c: New test.
	* testsuite/libgomp.c/simd-13.c: New test.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210009 138bc75d-0d04-0410-961f-82ee72b054a4
	* c.opt (Wsizeof-pointer-memaccess): Describe option.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210011 138bc75d-0d04-0410-961f-82ee72b054a4
c/
	* c-typeck.c (c_finish_return): Separate warning_at calls.
cp/
	* typeck.c (maybe_warn_about_returning_address_of_local): Separate
	warning_at calls.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210012 138bc75d-0d04-0410-961f-82ee72b054a4
	PR c/25801
	* c-typeck.c (c_size_in_bytes): Update comment.  Don't call error.
	Return size_one_node when the type is not complete.
	(pointer_diff): Remove comment.
	(build_unary_op): Improve error messages.

	* gcc.dg/pr25801.c: New test.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210013 138bc75d-0d04-0410-961f-82ee72b054a4
	PR libstdc++/61036
	* include/bits/shared_ptr_base.h (__shared_ptr::__shared_ptr(_Tp1*)):
	Check the correct type in the static assertion.
	* testsuite/20_util/shared_ptr/cons/61036.cc: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210015 138bc75d-0d04-0410-961f-82ee72b054a4
	PR c++/60992
	* lambda.c (lambda_capture_field_type): Wrap anything dependent
	other than 'this'.
	(add_capture): Check for VLA before calling it.
	* semantics.c (is_this_parameter): Accept any 'this' parameter, not
	just the current one.  Make non-static.
	* cp-tree.h: Declare it.
	* pt.c (tsubst_copy) [VAR_DECL]: Also build a new VAR_DECL if
	the operand was static or constant.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210017 138bc75d-0d04-0410-961f-82ee72b054a4
	* decl2.c (vague_linkage_p): Local statics have vague linkage.

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210026 138bc75d-0d04-0410-961f-82ee72b054a4
	PR target/61026
	* config/sh/sh.c: Include stdlib headers before everything else.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210028 138bc75d-0d04-0410-961f-82ee72b054a4
2014-05-03  Dominique d'Humieres <dominiq@lps.ens.fr>

	PR fortran/61025
	* gfortran.dg/coarray_lib_this_image_1.f90: Adjust the dg-final
	regexps for -m32.
	* gfortran.dg/coarray_lib_this_image_2.f90: Likewise.
	* gfortran.dg/coarray_poly_7.f90: Likewise.
	* gfortran.dg/coarray_poly_8.f90: Likewise.
	* gfortran.dg/coarray_poly_9.f90: Likewise.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210031 138bc75d-0d04-0410-961f-82ee72b054a4
	* config/sh/sh.h (ROUND_ADVANCE): Delete macro.
	(ROUND_REG, PASS_IN_REG_P): Move and rename macros to ...
	* config/sh/sh.c (sh_round_reg, sh_pass_in_reg_p): ... these new
	functions.
	(sh_arg_partial_bytes, sh_function_arg, sh_function_arg_advance,
	sh_setup_incoming_varargs): Replace usage of PASS_IN_REG_P with
	sh_pass_in_reg_p.
	Replace usage of ROUND_REG with sh_round_reg.
	Use CEIL instead of ROUND_ADVANCE.



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