This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug debug/10718] nested locals with same name broken with gcc HEAD 2003-04-11


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]