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: Question on vrp_meet in tree-vrp.c




kenner@vlsi1.ultra.nyu.edu (Richard Kenner) writes:

> [Sorry for the missing line in my last message.]
>
> I'm watching it deal with 
>
>           # small_1 = PHI <32(0), 1(1)>
>
> vrp_meet is called with [32, 32] and [1,1].
>
> It determines that the ranges don't intersect and then comes up with
>  ~[0,0] since neither contain zero.  But wouldn't [1,32] be a better
> result?

 Yes, but this may require more thinking to ensure all the cases are correct.
So, probably not something that will be done for 4.1.

-- 
Thanks,
Jim

http://www.csclub.uwaterloo.ca/~ja2morri/
http://phython.blogspot.com
http://open.nit.ca/wiki/?page=jim


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