inttoptr and noalias returns

As far as I know there’s no one working on this stuff.

The plan is to restrict the “inttoptr(ptrtoint(x))->x” optimization to the safe cases. And then make alias analysis less conservative when dealing with inttoptr (instead of always giving up). Plus make sure optimizations don’t produce inttoptr (this bit has improved a lot in the past year).

There isn’t a major pressure to fix all this, as inttoptr is not very common (in most C/C++ programs, at least).

That said, this year we got many applications for google summer of code of students wanting to fix bugs, so this one actually came to my mind. Let’s see how many slots we get…