Patch ping

Paul Brook paul@codesourcery.com
Wed Apr 28 14:02:00 GMT 2004


On Wednesday 28 April 2004 14:47, Richard Earnshaw wrote:
> On Wed, 2004-04-28 at 14:33, Paul Brook wrote:
> > Patch ping: Output dwarf expressions for memory locations involving
> > shifts.
> >
> > http://gcc.gnu.org/ml/gcc-patches/2004-04/msg00856.html
> >
> > Paul
>
> I don't think this is quite right.  The MULT code had some
> simplifications when one of the operands was 0.  However, a shift by
> zero is not the same as a multiply by zero -- the later results in zero,
> the former is a NOP.

Are you sure?
I see a check for (op0==0 || op1=0), but this is testing for successful 
evaluation, not actual values.

Paul



More information about the Gcc-patches mailing list