This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
regarding basic blocks
- From: ranjith kumar <ranjit_kumar_b4u at yahoo dot co dot uk>
- To: gcc-help at gcc dot gnu dot org
- Date: Wed, 18 Jul 2007 14:16:00 +0100 (BST)
- Subject: regarding basic blocks
Hi,
I was printing all statements in all basic blocks
using the code shown below.
The statements which declare variables are not printed
by the below code. Why?
I think all the statements which declare variables
should be present in a basic block. I am right??
Thanks in advance.
FOR_EACH_BB (bb)
{
block_stmt_iterator si;
fprintf(vect_dump,"\nbb=%u\n",bb);
for (si = bsi_start (bb); !bsi_end_p (si); bsi_next
(&si))
{
tree stmt = bsi_stmt (si);
fprintf(vect_dump,"\n statement: ");
print_generic_stmt (vect_dump, stmt, 0);
}
}
___________________________________________________________
Yahoo! Mail is the world's favourite email. Don't settle for less, sign up for
your free account today http://uk.rd.yahoo.com/evt=44106/*http://uk.docs.yahoo.com/mail/winter07.html