diff options
author | Paolo Carlini <paolo@gcc.gnu.org> | 2011-11-09 17:22:22 +0000 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2011-11-09 17:22:22 +0000 |
commit | e8089b4a9d21a6bbd5f17443fde6335fecee3730 (patch) | |
tree | cc83a5f9a8be8cadbc593a8a8a5da00adb1a1dbb /gcc | |
parent | 6d96d7ff5ec3d6bd88127ec0d5f5fa65fac5c650 (diff) | |
download | gcc-e8089b4a9d21a6bbd5f17443fde6335fecee3730.zip gcc-e8089b4a9d21a6bbd5f17443fde6335fecee3730.tar.gz gcc-e8089b4a9d21a6bbd5f17443fde6335fecee3730.tar.bz2 |
re PR c++/51045 (erroneous zero as null pointer constant warning at delete)
/cp
2011-11-09 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/51045
* init.c (build_new_1, build_vec_delete_1, build_delete):
Use nullptr_node.
/testsuite
2011-11-09 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/51045
* g++.dg/warn/Wzero-as-null-pointer-constant-2.C: New.
2011-11-09 Paolo Carlini <paolo.carlini@oracle.com>
* doc/invoke.texi ([Option Summary, C++ Language Options]):
Add -Wzero-as-null-pointer-constant.
From-SVN: r181215
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 03691b5..691711d 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,5 +1,10 @@ 2011-11-09 Paolo Carlini <paolo.carlini@oracle.com> + PR c++/51045 + * g++.dg/warn/Wzero-as-null-pointer-constant-2.C: New. + +2011-11-09 Paolo Carlini <paolo.carlini@oracle.com> + PR c++/51047 * g++.dg/cpp0x/sfinae29.C: New. |