This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/61463] New: g++ does not emit DW_AT_mutable
- From: "tromey at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 10 Jun 2014 16:36:41 +0000
- Subject: [Bug c++/61463] New: g++ does not emit DW_AT_mutable
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61463
Bug ID: 61463
Summary: g++ does not emit DW_AT_mutable
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: tromey at gcc dot gnu.org
DW_AT_mutable is defined by DWARF but g++ does not seem to emit it.
I tried
struct K
{
mutable int x;
};
K k;
For "x" I see:
<2><23>: Abbrev Number: 3 (DW_TAG_member)
<24> DW_AT_name : x
<26> DW_AT_decl_file : 1
<27> DW_AT_decl_line : 3
<28> DW_AT_type : <0x2e>
<2c> DW_AT_data_member_location: 0