OSDN Git Service

2009-07-02 Mark Mitchell <mark@codesourcery.com>
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 2 Jul 2009 17:52:37 +0000 (17:52 +0000)
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 2 Jul 2009 17:52:37 +0000 (17:52 +0000)
commit6e25bee3c2132f7046bb32472444e75a3e1e1f9c
treefd9bab8aa6e746e12c41996a03231a4540cf1e4c
parent9f432531c5a392244f2c1015f29151129846ca87
2009-07-02  Mark Mitchell  <mark@codesourcery.com>

* typeck.c (cp_build_binary_op): Move warnings about use of NULL
in arithmetic earlier and allow comparisions of NULL with
pointers-to-members.

2009-07-02  Mark Mitchell  <mark@codesourcery.com>

* g++.dg/warn/null4.C: Extend.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@149190 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/warn/null4.C