public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/25015] [gomp] Function names cannot be demangled due to ".omp_fn" suffix
       [not found] <bug-25015-4@http.gcc.gnu.org/bugzilla/>
@ 2011-09-27  8:54 ` paolo.carlini at oracle dot com
  2013-12-16  1:04 ` d.g.gorbachev at gmail dot com
  1 sibling, 0 replies; 6+ messages in thread
From: paolo.carlini at oracle dot com @ 2011-09-27  8:54 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25015

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|gcc-bugs at gcc dot gnu.org |jakub at gcc dot gnu.org

--- Comment #4 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-09-27 08:49:04 UTC ---
Now it says "In function ‘<built-in>’". Jakub, could we do better here?


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug c++/25015] [gomp] Function names cannot be demangled due to ".omp_fn" suffix
       [not found] <bug-25015-4@http.gcc.gnu.org/bugzilla/>
  2011-09-27  8:54 ` [Bug c++/25015] [gomp] Function names cannot be demangled due to ".omp_fn" suffix paolo.carlini at oracle dot com
@ 2013-12-16  1:04 ` d.g.gorbachev at gmail dot com
  1 sibling, 0 replies; 6+ messages in thread
From: d.g.gorbachev at gmail dot com @ 2013-12-16  1:04 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25015

--- Comment #5 from Dmitry Gorbachev <d.g.gorbachev at gmail dot com> ---
Now, `_Z3foov._omp_fn.0' is demangled as `foo() [clone ._omp_fn.0]'. GCC could
use that instead of just '<built-in>'.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug c++/25015] [gomp] Function names cannot be demangled due to ".omp_fn" suffix
  2005-11-24 10:36 [Bug c++/25015] New: " reichelt at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2006-02-26 19:16 ` pinskia at gcc dot gnu dot org
@ 2006-03-27 16:29 ` jakub at gcc dot gnu dot org
  3 siblings, 0 replies; 6+ messages in thread
From: jakub at gcc dot gnu dot org @ 2006-03-27 16:29 UTC (permalink / raw)
  To: gcc-bugs



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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug c++/25015] [gomp] Function names cannot be demangled due to ".omp_fn" suffix
  2005-11-24 10:36 [Bug c++/25015] New: " reichelt at gcc dot gnu dot org
  2005-11-25 20:31 ` [Bug c++/25015] " pinskia at gcc dot gnu dot org
  2005-11-25 22:38 ` rth at gcc dot gnu dot org
@ 2006-02-26 19:16 ` pinskia at gcc dot gnu dot org
  2006-03-27 16:29 ` jakub at gcc dot gnu dot org
  3 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-02-26 19:16 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement
   Last reconfirmed|2005-11-25 20:31:54         |2006-02-26 19:11:26
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25015


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug c++/25015] [gomp] Function names cannot be demangled due to ".omp_fn" suffix
  2005-11-24 10:36 [Bug c++/25015] New: " reichelt at gcc dot gnu dot org
  2005-11-25 20:31 ` [Bug c++/25015] " pinskia at gcc dot gnu dot org
@ 2005-11-25 22:38 ` rth at gcc dot gnu dot org
  2006-02-26 19:16 ` pinskia at gcc dot gnu dot org
  2006-03-27 16:29 ` jakub at gcc dot gnu dot org
  3 siblings, 0 replies; 6+ messages in thread
From: rth at gcc dot gnu dot org @ 2005-11-25 22:38 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from rth at gcc dot gnu dot org  2005-11-25 22:38 -------
No, this isn't a failure of the demangler.  Nor do ever expect these 
functions to ever be demangled.  That they contain the original function
name at all is merely an aid to us the compiler developer.

I don't see that this is any better or worse, from the user's perspective,
than just "__omp_fn.N", which is what we had before the patch.

Unless you can come up with some convincing user usage scenario, I'm not
going to address this problem at all.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25015


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug c++/25015] [gomp] Function names cannot be demangled due to ".omp_fn" suffix
  2005-11-24 10:36 [Bug c++/25015] New: " reichelt at gcc dot gnu dot org
@ 2005-11-25 20:31 ` pinskia at gcc dot gnu dot org
  2005-11-25 22:38 ` rth at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-11-25 20:31 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2005-11-25 20:31 -------
actually there is no demangling in the C++ front-end.  What is usually is
giving is just a friendly version of the string (there is a way to do this but
I don't know how).

Now the demangler might need to be expanded to support this (but that is a
different issue from the C++ front-end issue).


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-11-25 20:31:54
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25015


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-12-16  1:04 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-25015-4@http.gcc.gnu.org/bugzilla/>
2011-09-27  8:54 ` [Bug c++/25015] [gomp] Function names cannot be demangled due to ".omp_fn" suffix paolo.carlini at oracle dot com
2013-12-16  1:04 ` d.g.gorbachev at gmail dot com
2005-11-24 10:36 [Bug c++/25015] New: " reichelt at gcc dot gnu dot org
2005-11-25 20:31 ` [Bug c++/25015] " pinskia at gcc dot gnu dot org
2005-11-25 22:38 ` rth at gcc dot gnu dot org
2006-02-26 19:16 ` pinskia at gcc dot gnu dot org
2006-03-27 16:29 ` jakub at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).