This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/10718] nested locals with same name broken with gcc HEAD 2003-04-11
- From: "mec at shout dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 Jul 2003 16:43:45 -0000
- Subject: [Bug debug/10718] nested locals with same name broken with gcc HEAD 2003-04-11
- References: <20030509194601.10718.mec@shout.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10718
------- Additional Comments From mec at shout dot net 2003-07-01 16:43 -------
Subject: Re: nested locals with same name broken with gcc HEAD 2003-04-11
gdb 5.3 has a test case for this, and it works fine with
gcc HEAD%20030630 now.
# gdb 5.3, gcc HEAD%20030630, binutils 2.14, -gdwarf-2
PASS: gdb.base/scope.exp: print localval, outer scope
In general I don't see how the gcc test suite can test the debug
information. I provide some coverage by testing stable gdb 5.3 with gcc
HEAD and gcc gcc-3_3-branch regularly.
Michael C