On Thu, 23 Nov 2017, Richard Biener wrote:

On Wed, Nov 22, 2017 at 6:34 PM, Marc Glisse <marc.gli...@inria.fr> wrote:
Hello,

I hadn't implemented this simplification because I think it is invalid code,
but apparently people do write it, so we might as well handle it sensibly.
This also happens to work around PR 83104 (already fixed).

bootstrap+regtest on powerpc64le-unknown-linux-gnu.

Ok.

What about 0 - ptr?  (ok, that's even more weird)

I thought about it, but it seemed less likely (I can imagine the idiom ptr-0 being used to let the compiler guess the right type). I'll add 0-ptr if you think that may be useful.

--
Marc Glisse

Reply via email to