* 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