------- Comment #10 from rth at gcc dot gnu dot org 2010-08-04 19:33 -------
Verified with
typedef struct { int a, b; } x;
./cc1plus -g -fno-eliminate-unused-debug-types -dA z.c
.uleb128 0x2 # (DIE (0x2d) DW_TAG_structure_type)
.byte 0x8 # DW_AT_byte_size
.byte 0x1 # DW_AT_decl_file (z.c)
.byte 0x3 # DW_AT_decl_line
.byte 0x8 # DW_AT_byte_size
.byte 0x1 # DW_AT_decl_file (z.c)
.byte 0x3 # DW_AT_decl_line
Note that both byte_size and and the decl location are replicated.
This happens with the C++ compiler, but not the C compiler.
--
rth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |rth at gcc dot gnu dot org
|dot org |
Status|UNCONFIRMED |ASSIGNED
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2010-08-04 19:33:43
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45171