On Thu, Mar 1, 2012 at 9:23 PM, Bernd Schmidt <bernds_...@t-online.de> wrote:
> In pointer_diff we still expect pointer addition to use PLUS_EXPR. I
> discovered this while working on a new port with somewhat unusual
> pointer types.
>
> Interestingly, the C++ frontend also has a pointer_diff function, but
> doesn't seem to attempt to optimize. Is there a reason for this?

Frontends should not optimize when they are not required to.

> Bootstrapped and tested on i686-linux. Ok for now or stage1?
>
>
> Bernd

Reply via email to