r204668 - in /branches/gcc-4_8-branch/gcc/cp: C...

paolo@gcc.gnu.org paolo@gcc.gnu.org
Mon Nov 11 10:28:00 GMT 2013


Author: paolo
Date: Mon Nov 11 10:28:06 2013
New Revision: 204668

URL: http://gcc.gnu.org/viewcvs?rev=204668&root=gcc&view=rev
Log:
2013-11-10  Paolo Carlini  <paolo.carlini@oracle.com>

	* cvt.c (cp_convert_to_pointer): Call build_ptrmemfunc before
	maybe_warn_zero_as_null_pointer_constant to avoid duplicate
	-Wzero-as-null-pointer-constant diagnostics.

	* typeck.c (build_ptrmemfunc): Use cp_build_c_cast.

Modified:
    branches/gcc-4_8-branch/gcc/cp/ChangeLog
    branches/gcc-4_8-branch/gcc/cp/cvt.c
    branches/gcc-4_8-branch/gcc/cp/typeck.c



More information about the Gcc-cvs mailing list