public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "tromey at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/54410] New: doubled DW_TAG_template_type_param Date: Wed, 29 Aug 2012 15:25:00 -0000 [thread overview] Message-ID: <bug-54410-4@http.gcc.gnu.org/bugzilla/> (raw) http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54410 Bug #: 54410 Summary: doubled DW_TAG_template_type_param Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: debug AssignedTo: unassigned@gcc.gnu.org ReportedBy: tromey@gcc.gnu.org I'm using a relatively recent git gcc: commit d789d72be457df9811328179702cab8ac5830465 Author: walt <walt@138bc75d-0d04-0410-961f-82ee72b054a4> Date: Mon Aug 27 17:27:04 2012 +0000 I compiled this program, derived from a libstdc++ test case: #include <unordered_set> #include <string> typedef std::unordered_set<std::string> Set; Set m; int main() { } The DWARF shows duplicate template arguments for unordered_set. I think each parameter name should appear just a single time: <3><38a8>: Abbrev Number: 46 (DW_TAG_template_type_param) <38a9> DW_AT_name : (indirect string, offset: 0x6e7): _Value <38ad> DW_AT_type : <0x1d44> <3><38b1>: Abbrev Number: 46 (DW_TAG_template_type_param) <38b2> DW_AT_name : (indirect string, offset: 0x6f29): _Hash <38b6> DW_AT_type : <0x379c> <3><38ba>: Abbrev Number: 46 (DW_TAG_template_type_param) <38bb> DW_AT_name : (indirect string, offset: 0x9ebb): _Pred <38bf> DW_AT_type : <0x3934> <3><38c3>: Abbrev Number: 46 (DW_TAG_template_type_param) <38c4> DW_AT_name : (indirect string, offset: 0x7826): _Alloc <38c8> DW_AT_type : <0x453a> <3><38cc>: Abbrev Number: 46 (DW_TAG_template_type_param) <38cd> DW_AT_name : (indirect string, offset: 0x6e7): _Value <38d1> DW_AT_type : <0x1d44> <3><38d5>: Abbrev Number: 46 (DW_TAG_template_type_param) <38d6> DW_AT_name : (indirect string, offset: 0x6f29): _Hash <38da> DW_AT_type : <0x379c> <3><38de>: Abbrev Number: 46 (DW_TAG_template_type_param) <38df> DW_AT_name : (indirect string, offset: 0x9ebb): _Pred <38e3> DW_AT_type : <0x3934> <3><38e7>: Abbrev Number: 46 (DW_TAG_template_type_param) <38e8> DW_AT_name : (indirect string, offset: 0x7826): _Alloc <38ec> DW_AT_type : <0x453a>
next reply other threads:[~2012-08-29 15:25 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2012-08-29 15:25 tromey at gcc dot gnu.org [this message] 2013-01-25 19:55 ` [Bug debug/54410] [4.6/4.7/4.8 Regression] " law at redhat dot com 2013-01-31 12:02 ` aldyh at gcc dot gnu.org 2013-01-31 16:34 ` jason at gcc dot gnu.org 2013-01-31 16:44 ` jason at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-54410-4@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).