Re: [1/2] tree-ssa-strlen optimization pass

2011-09-26 Thread Richard Guenther
On Thu, Sep 15, 2011 at 7:00 PM, Jakub Jelinek wrote: > Hi! > > Here is an updated version of the support patch for the tree-ssa-strlen.c > optimization.  The only change is the propagation of gimple_block > to the new call from the old call, otherwise Wobjsize-1.c testcase > fails when we optimiz

[1/2] tree-ssa-strlen optimization pass

2011-09-15 Thread Jakub Jelinek
Hi! Here is an updated version of the support patch for the tree-ssa-strlen.c optimization. The only change is the propagation of gimple_block to the new call from the old call, otherwise Wobjsize-1.c testcase fails when we optimize that __strcpy_chk into __memcpy_chk, but don't propagate its BLO