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 <[EMAIL PROTECTED]> wrote:
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 handle_pragma_test */
>
This is way too early in the compilation.  At this point we are not even
in GIMPLE mode, so there will not be a flowgraph.

I recommend that you follow what happens when GCC handles structurally
similar pragmas.  In your case, try following through #pragma omp
parallel.  Its behaviour is very similar to what you show in your
#pragma test.

Reply via email to