------- Comment #3 from jakub at gcc dot gnu dot org 2006-03-27 16:29 ------- What we perhaps could do is hack up C++ lang_decl_name etc., so that for the artificially created .omp_fn* functions the diagnostic machinery would instead print the name of the original function, perhaps annotated with #pragma omp region of ... or something similar. Not sure if we can use for that just if (DECL_ARTIFICIAL (current_function_decl) && name starts with create_omp_child_function_name prefix) or if we would need to add some special attribute or bit (and if the latter, if it is worth doing).
-- jakub at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rth at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25015