This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Null pointer check elimination
- From: Diego Novillo <dnovillo at redhat dot com>
- To: Ian Lance Taylor <ian at airs dot com>
- Cc: David Daney <ddaney at avtrex dot com>, Anthony Green <green at redhat dot com>, java at gcc dot gnu dot org, GCC Mailing List <gcc at gcc dot gnu dot org>
- Date: Sat, 12 Nov 2005 10:37:25 -0500
- Subject: Re: Null pointer check elimination
- References: <1131747852.3205.105.camel@localhost.localdomain> <4375835F.6070106@avtrex.com> <m3veyycq69.fsf@gossamer.airs.com>
On Saturday 12 November 2005 01:53, Ian Lance Taylor wrote:
> Note that it is also possible to simply store the attribute on
> DECL_ATTRIBUTES and look it up using lookup_attribute.
>
This is my strong preference. The original RFE (PR 20318) called for
attributes to be used in C/C++ function declarations. It would be
pointless to have to lookup this attributes in two different ways inside
tree-vrp.c.