This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/25015] [gomp] Function names cannot be demangled due to ".omp_fn" suffix
- From: "jakub at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 Mar 2006 16:29:06 -0000
- Subject: [Bug c++/25015] [gomp] Function names cannot be demangled due to ".omp_fn" suffix
- References: <bug-25015-1771@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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