regarding basic blocks

ranjith kumar ranjit_kumar_b4u@yahoo.co.uk
Wed Jul 18 13:16:00 GMT 2007


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 



More information about the Gcc-help mailing list