[patch] MIN/MAX_EXPR transform in phiopts

Diego Novillo dnovillo@redhat.com
Sat Mar 12 15:23:00 GMT 2005


On 03/11/05 03:52, Zdenek Dvorak wrote:

> !   ENTRY_BLOCK_PTR->flags |= BB_VISITED;
> !   FOR_EACH_BB (x)
> !     {
> !       if (x->flags & BB_VISITED)
> ! 	continue;
> ! 
No.  BB_VISITED should not be used by passes:

/* Masks for basic_block.flags.

    BB_VISITED should not be used by passes, it is used internally by
    dfs_enumerate_from.

    BB_HOT_PARTITION and BB_COLD_PARTITION should be preserved throughout
    the compilation, so they are never cleared.

    All other flags may be cleared by clear_bb_flags().  It is generally
    a bad idea to rely on any flags being up-to-date.  */


Diego.



More information about the Gcc-patches mailing list