flush out tree-ssa-dse.c pending changes

Jeffrey A Law law@redhat.com
Fri Apr 29 00:01:00 GMT 2005


On Tue, 2005-04-26 at 13:27 -0400, Daniel Berlin wrote:
> On Tue, 2005-04-26 at 11:15 -0600, Jeffrey A Law wrote:
> > 
> 
> > I've also added several tests to the testsuite.  Including one for
> > partial dead store elimination, which we do not currently perform.
> > 
> 
> Your testcase missed one possibility, which is that we hoist i = 3 into
> the &j branch.
That would be caught by the second scan-tree-dump-times
expression.    If i = 3 were hoisted into the &j branch,
then there would be a block which looks like

<L.*>
  *p = 5;

Which is what the second scan line looks for.

jeff




More information about the Gcc-patches mailing list