diff options
author | Manuel López-Ibáñez <manu@gcc.gnu.org> | 2007-01-30 22:29:11 +0000 |
---|---|---|
committer | Manuel López-Ibáñez <manu@gcc.gnu.org> | 2007-01-30 22:29:11 +0000 |
commit | b9edb4b11c99720e10625b41d37dc440bd468f2c (patch) | |
tree | 6ab5f599b4f4444b77112bd54a7ebdc103ca2f51 /gcc/testsuite/ChangeLog | |
parent | 14734fc701357c82967954578c822f3ddede043f (diff) | |
download | gcc-b9edb4b11c99720e10625b41d37dc440bd468f2c.zip gcc-b9edb4b11c99720e10625b41d37dc440bd468f2c.tar.gz gcc-b9edb4b11c99720e10625b41d37dc440bd468f2c.tar.bz2 |
re PR c++/24745 (unpleasant warning for "if (NULL)")
2007-01-30 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
PR c++/24745
* doc/invoke.texi (Wpointer-arith): Document warning.
cp/
* typeck.c (build_binary_op): Fix logic for warning. Move warning
to -Wpointer-arith.
* call.c (convert_like_real): Don't warn when converting to
boolean type.
testsuite/
* g++.dg/warn/null4.C: New.
From-SVN: r121361
Diffstat (limited to 'gcc/testsuite/ChangeLog')
-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 68eb3da..dccd3b9 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2007-01-30 Manuel Lopez-Ibanez <manu@gcc.gnu.org> + + PR c++/24745 + * g++.dg/warn/null4.C: New. + 2001-01-30 Roger Sayle <roger@eyesopen.com> Uros Bizjak <ubizjak@gmail.com> |