This is the mail archive of the gcc-patches@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: Simplify ptr - 0


On Wed, Nov 22, 2017 at 6:34 PM, Marc Glisse <marc.glisse@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)

Richard.

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


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