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

Mark Wielaard <mark at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mark at gcc dot gnu.org

--- Comment #1 from Mark Wielaard <mark at gcc dot gnu.org> ---
Replicated with gcc (GCC) 4.9.0 20140219 (experimental)

 [    d7]    array_type
             type                 (ref4) [    d0]

 [    ee]    const_type
             type                 (ref4) [    d7]

 [   124]    const_type
             type                 (ref4) [    d7]

DIE ee is referenced from:

 [    66]      variable
               name                 (string) "r"
               decl_file            (data1) 1
               decl_line            (data1) 17
               type                 (ref4) [    ee]
               location             (exprloc)                 [   0] fbreg -96

That is const char r[] = "ijk\0lmn"; in main ().

DIE 124 is referenced from:

 [   111]    variable
             name                 (string) "b"
             decl_file            (data1) 1
             decl_line            (data1) 2
             type                 (ref4) [   124]
             location             (exprloc)               [   0] addr 0x400644
<b>

That is the global static const char b[8] = "rstuv";

Do those 2 really represent the same type?

Reply via email to