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
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
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
Hi,
In a pragma handler that I put in c-pragma.c file I try to traverse
the statements of a function. Based on one of my previous postings, I
was advised to look at how this is done in cgraph_create_edges
function in cgraphunit.c file. I implement everything in the same way
as in cgraph_create_ed