This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/39563] C block scopes have no DW_TAG_lexical_block
- From: "jakub at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 Mar 2009 12:38:17 -0000
- Subject: [Bug debug/39563] C block scopes have no DW_TAG_lexical_block
- References: <bug-39563-12292@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from jakub at gcc dot gnu dot org 2009-03-27 12:38 -------
This seems to be just a C FE problem, C++ FE compiling the exact same testcase
gives the expected output (DW_TAG_lexical_block with DW_TAG_variable with
DW_AT_external). So IMHO just the C FE should be fixed to handle it like the
C++ FE and if there are gdb bugs, they should be fixed in gdb.
--
jakub at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2009-03-27 12:38:16
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39563