This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Difference between 'FOR_EACH_BB' and 'for (i=0; i<n_basic_blocks; i++){}'
- From: Diego Novillo <dnovillo at redhat dot com>
- To: sean yang <seanatpurdue at hotmail dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Thu, 01 Jun 2006 15:51:54 -0400
- Subject: Re: Difference between 'FOR_EACH_BB' and 'for (i=0; i<n_basic_blocks; i++){}'
- References: <BAY105-F21A517BB70992ED24F26AFC0900@phx.gbl>
sean yang wrote on 06/01/06 15:28:
> Thanks. after reading expunge_block(), i am curious whether " 'for (i=0;
> i<n_basic_blocks; i++){}" even works.
>
That was my point: it doesn't, unless you can guarantee that the CFG has
been compacted.