This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Null pointer check elimination


On Saturday 12 November 2005 12:27, Per Bothner wrote:

> I think you're missing the point.  The proposal is for a "type variant"
> -  not that different from say "constant".
>
Ah, yes, sorry about that.  Yes, that would be useful as well.  However, 
that is an orthogonal issue to having non-NULL function attributes.  We 
can use both.

If the front end guarantees that all instances of a type are non-NULL, as 
in the Ada case just posted, then VRP can and should make use of that.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]