This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/25015] [gomp] Function names cannot be demangled due to ".omp_fn" suffix



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]