[Bug c++/53301] [4.8 Regression] Spurious -Wzero-as-null-pointer-constant with reference arguments
paolo at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu May 10 21:07:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53301
--- Comment #3 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> 2012-05-10 21:06:52 UTC ---
Author: paolo
Date: Thu May 10 21:06:42 2012
New Revision: 187378
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=187378
Log:
/cp
2012-05-10 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/53301
* decl.c (check_default_argument): Fix typo (POINTER_TYPE_P
instead of TYPE_PTR_P) in zero-as-null-pointer-constant warning.
/testsuite
2012-05-10 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/53301
* g++.dg/warn/Wzero-as-null-pointer-constant-6.C: New.
Added:
branches/gcc-4_7-branch/gcc/testsuite/g++.dg/warn/Wzero-as-null-pointer-constant-6.C
Modified:
branches/gcc-4_7-branch/gcc/cp/ChangeLog
branches/gcc-4_7-branch/gcc/cp/decl.c
branches/gcc-4_7-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list