This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [tree-ssa] Remove useless null pointer checks
- From: Jason Merrill <jason at redhat dot com>
- To: Daniel Berlin <dberlin at dberlin dot org>
- Cc: Jeff Sturm <jsturm at one-point dot com>, Diego Novillo <dnovillo at redhat dot com>, Andrew Haley <aph at redhat dot com>, Jeff Law <law at redhat dot com>, "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 31 Jul 2003 13:28:37 -0400
- Subject: Re: [tree-ssa] Remove useless null pointer checks
- References: <Pine.LNX.4.44.0307311248480.13833-100000@ops2.one-point.com><E33D67C8-C37B-11D7-95F1-000A95A34564@dberlin.org>
On Thu, 31 Jul 2003 13:24:49 -0400, Daniel Berlin <dberlin@dberlin.org> wrote:
>> Would it be worthwhile to express this in GIMPLE, i.e. NEW_EXPR?
>
> Not really, it can be discovered without a new expression.
Yep. An attribute/flag on the FUNCTION_DECL and/or CALL_EXPR would be more
appropriate.
Jason