http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55641

--- Comment #6 from Mark Wielaard <mark at gcc dot gnu.org> ---
Note that if we add:

  const foo g(x);

It comes out with just one const_type added:

 [    60]    variable
             name                 (string) "g"
             decl_file            (data1) 1
             decl_line            (data1) 4
             type                 (ref4) [    73]
             external             (flag_present) Yes
             location             (exprloc)               [   0] addr
.rodata+0x
8 <g>
 [    73]    const_type
             type                 (ref4) [    1d]

So the new DIE 73 is a duplicate of DIE 5b.

Reply via email to