public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug debug/49537] New: cross-check DW_AT_name vs. demangling of linkage names
@ 2011-06-26 22:45 jan.kratochvil at redhat dot com
2011-06-27 17:14 ` [Bug debug/49537] " jason at gcc dot gnu.org
0 siblings, 1 reply; 2+ messages in thread
From: jan.kratochvil at redhat dot com @ 2011-06-26 22:45 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49537
Summary: cross-check DW_AT_name vs. demangling of linkage names
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: enhancement
Priority: P3
Component: debug
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: jan.kratochvil@redhat.com
CC: dodji@gcc.gnu.org
PR debug/49408 shows DW_AT_name "K<&S::m>" vs. demangled
DW_AT_MIPS_linkage_name prefix "K<&(S::m(int))>". This was due to a bug in
libiberty/cp-demangle.c.
http://gcc.gnu.org/ml/gcc/2011-06/msg00308.html
On Wed, Jun 22, 2011 at 10:42 AM, Jason Merrill <jason at redhat.com> wrote:
> Well, the basic issue is that the "linkage name" is produced
> by libiberty/cp-demangle.c and the DW_AT_name is produced by gcc/cp/error.c,
> and they don't always agree on the same pretty-printed representation
> of a C++ expression.
Therefore I believe there could be compile time sanity cross-check with ICE in
such cases, maybe more such bugs exist there already.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug debug/49537] cross-check DW_AT_name vs. demangling of linkage names
2011-06-26 22:45 [Bug debug/49537] New: cross-check DW_AT_name vs. demangling of linkage names jan.kratochvil at redhat dot com
@ 2011-06-27 17:14 ` jason at gcc dot gnu.org
0 siblings, 0 replies; 2+ messages in thread
From: jason at gcc dot gnu.org @ 2011-06-27 17:14 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49537
Jason Merrill <jason at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2011.06.27 17:09:28
CC| |jason at gcc dot gnu.org
Ever Confirmed|0 |1
--- Comment #1 from Jason Merrill <jason at gcc dot gnu.org> 2011-06-27 17:09:28 UTC ---
That would mean linking cp-demangle.c into cc1plus, but seems plausible.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-06-27 17:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-26 22:45 [Bug debug/49537] New: cross-check DW_AT_name vs. demangling of linkage names jan.kratochvil at redhat dot com
2011-06-27 17:14 ` [Bug debug/49537] " jason at gcc dot gnu.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).