[patch] tree-ssa-sink.c: Factor out common code.
Jeffrey A Law
law@redhat.com
Mon May 2 16:50:00 GMT 2005
On Thu, 2005-04-28 at 10:40 -0400, Kazu Hirata wrote:
> Hi,
>
> Attached is a patch to factor out common code.
>
> Note that
>
> /* Short circuit. Nothing dominates the entry block. */
> if (useblock == ENTRY_BLOCK_PTR)
> {
> BITMAP_FREE (blocks);
> return NULL;
> }
> bitmap_set_bit (blocks, useblock->index);
>
> appears both in the "then" and "else" arms of the "if" statement shown
> in the patch.
>
> Tested on i686-pc-linux-gnu. OK to apply?
>
> Kazu Hirata
>
> 2005-04-28 Kazu Hirata <kazu@cs.umass.edu>
>
> * tree-ssa-sink.c (nearest_common_dominator_of_uses): Factor
> out common code.
This is fine. Please install if you haven't already.
jeff
More information about the Gcc-patches
mailing list