This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] MIN/MAX_EXPR transform in phiopts
On Sun, Mar 13, 2005 at 08:17:25PM +0100, Zdenek Dvorak wrote:
> given that blocks_in_phiopt_order does not call dfs_enumerate_from and
> clears the BB_VISITED flag, this usage is OK. I may change it to using
> sbitmap.
>
Please do. I've been burnt once or twice by BB_VISITED already.
It's very easy to mess it up. It'd be nice to get rid of it
completely, but I understand why dfs_enumerate_from needs to use
it.
Perhaps we should remove it completely, rename the bitfield to
'reserved' and have dfs_enumerate_from use it directly.
Diego.