This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Patch for null pointer constant issues
- From: "Giovanni Bajo" <rasky at develer dot com>
- To: "Joseph S. Myers" <joseph at codesourcery dot com>
- Cc: <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 5 Dec 2005 00:12:15 +0100
- Subject: Re: Patch for null pointer constant issues
- References: <Pine.LNX.4.64.0512042304570.29029@digraph.polyomino.org.uk>
Joseph S. Myers <joseph@codesourcery.com> wrote:
> I put the TREE_CONSTANT_OVERFLOW check in null_pointer_constant_p,
> even though it's also in integer_zerop, in the hope that a similar
> change can be made to the C++ front end and then integer_zerop can
> stop checking TREE_CONSTANT_OVERFLOW.
Can you please add a comment to that effect in the body of integer_zerop?
Giovanni Bajo