On Thu, 1 Mar 2012, Bernd Schmidt 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? > > Bootstrapped and tested on i686-linux. Ok for now or stage1?
OK for stage 1. -- Joseph S. Myers jos...@codesourcery.com