Ferad Zyulkyarov wrote on 12/15/06 05:02:
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.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 */
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.
