This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]