This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/20967] g++ generates same DW_AT_ranges info for two different functions
- From: "wilson at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Jul 2005 23:51:55 -0000
- Subject: [Bug debug/20967] g++ generates same DW_AT_ranges info for two different functions
- References: <20050412123108.20967.fnf@specifixinc.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From wilson at gcc dot gnu dot org 2005-07-26 23:51 -------
The problem reported here is not a bug. There is nothing wrong with having two
different functions with the same DW_AT_ranges info.
The underlying problem that prompted this bug report, insufficient debug info
for inlined function calls, has been fixed by adding a patch to emit
DW_AT_call_file and DW_AT_call_line info. The final patch has one additional
bug fix over the one attached here, so take the one on the gcc-patches list if
you need it.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20967