On Wed, Nov 22, 2017 at 06:34:08PM +0100, Marc Glisse 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.

I guess we'll need to disable it for -fsanitize=pointer-subtraction
once/if it makes it in, because it should be still diagnosed as invalid.

> 2017-11-22  Marc Glisse  <marc.gli...@inria.fr>
> 
>       * match.pd (ptr-0): New transformation.
> 
> -- 
> Marc Glisse

        Jakub

Reply via email to