Re: Help with traversing block statements in pragma handler

2006-12-15 Thread Diego Novillo
Ferad Zyulkyarov wrote on 12/15/06 08:46: And something more, what is the difference between c_register_pragma and cpp_register_deferred_pragma functions? Unfortunately, I couldn't fined a descriptive information about these two functions. You need to look in ../libcpp/directives.c. Deferred p

Re: Help with traversing block statements in pragma handler

2006-12-15 Thread Ferad Zyulkyarov
Thanks Diego, I will throw more precise look on OMP. And something more, what is the difference between c_register_pragma and cpp_register_deferred_pragma functions? Unfortunately, I couldn't fined a descriptive information about these two functions. Ferad Zyulkyarov On 12/15/06, Diego Novillo

Re: Help with traversing block statements in pragma handler

2006-12-15 Thread Diego Novillo
Ferad Zyulkyarov wrote on 12/15/06 05:02: 9: FOR_EACH_BB_FN (bb, this_cfun) 10: for (bsi = bsi_start(bb); !bsi_end_p(bsi); bsi_next(&bsi)) 11: { 12: tree stmt = bsi_stmt(bsi); 13: debug_tree(stmt); 14: /* Do something */ 15: } 16: } /* End of void hand