This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/14079] [3.3/3.4/3.5 Regression] wrong debug info for extern boolean variable in debug mode
- From: "austern at apple dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Mar 2004 18:20:13 -0000
- Subject: [Bug debug/14079] [3.3/3.4/3.5 Regression] wrong debug info for extern boolean variable in debug mode
- References: <20040209100109.14079.konstantin@mysql.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From austern at apple dot com 2004-03-05 18:20 -------
I have a fix, which I've verified by hand-inspecting the assembly. I'm a bit uncertain about whether to
check in a test case, though. The right test is either to put in a scan-assembler looking for the debug
symbols or to run gdb and look for information about the variable in question. However, it doesn't look
like tests like that exist anywhere in our test suite. It would be weird to invent a mechanism like that
just for this one special case.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14079