This is the mail archive of the gcc-patches@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: [patch] tree-vrp.c: Compute a correct range when adding two pointers.


On Thu, Jun 23, 2005 at 09:29:09AM -0600, Jeffrey A Law wrote:

> Does this ever happen in practice?  While I can follow the reasoning
> which leads to a non-null result for R, I have a hard time seeing
> this happening often enough in real code to matter.
> 
The real fix was that VRP was thinking that NULL + NULL == ~NULL.


Diego.


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