public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug debug/67162] New: g2 generates incorrect decl_line
@ 2015-08-09 6:17 dehao at gcc dot gnu.org
0 siblings, 0 replies; only message in thread
From: dehao at gcc dot gnu.org @ 2015-08-09 6:17 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67162
Bug ID: 67162
Summary: g2 generates incorrect decl_line
Product: gcc
Version: 6.0
Status: RESOLVED
Severity: normal
Priority: P3
Component: debug
Assignee: unassigned at gcc dot gnu.org
Reporter: dehao at gcc dot gnu.org
Target Milestone: ---
Status: RESOLVED
Resolution: FIXED
#g++ -c -o ValueStore.o -O2 -g1 ValueStore.ii
#objdump --dwarf=info ValueStore.o|grep -A 2 isDuplicateOf
<615> DW_AT_name : (indirect string, offset: 0x490): isDuplicateOf
<619> DW_AT_decl_file : 11
<61a> DW_AT_decl_line : 297
#g++ -c -o ValueStore.o -O2 -g2 ValueStore.ii
#objdump --dwarf=info ValueStore.o|grep -A 2 isDuplicateOf
<5114> DW_AT_name : (indirect string, offset: 0x563d):
isDuplicateOf
<5118> DW_AT_decl_file : 51
<5119> DW_AT_decl_line : 150
g1 generates correct decl_line, but g2 generates incorrect decl_line (150 is
the decl_line for another function: addValue)
--- Comment #1 from dehao at gcc dot gnu.org ---
dup entry
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2015-08-09 6:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-09 6:17 [Bug debug/67162] New: g2 generates incorrect decl_line dehao 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).