Re: [PATCH] Fix VRP handling of undefined state

2012-05-23 Thread H.J. Lu
On Fri, Jul 29, 2011 at 1:46 AM, Richard Guenther wrote: > > I noticed that for binary expressions VRP contains the same bugs > that CCP once did (it treats UNDEFINED * 0 as UNDEFINED).  Then > I noticed we never hit this bug because we never end up with > any range being UNDEFINED - which is bad,

[PATCH] Fix VRP handling of undefined state

2011-07-29 Thread Richard Guenther
I noticed that for binary expressions VRP contains the same bugs that CCP once did (it treats UNDEFINED * 0 as UNDEFINED). Then I noticed we never hit this bug because we never end up with any range being UNDEFINED - which is bad, because this way we miss value-ranges for all conditionally initia