[Bug debug/91507] wrong debug for completed array with previous incomplete declaration
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Aug 22 10:35:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91507
--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
Note that lldb has
(lldb) p zzz
(char *[2]) $0 = ([0] = "abc", [1] = "cde")
for the proposed variant with an extra DW_AT_type in the specification DIE and
(lldb) p zzz
error: incomplete type 'char *[]' where a complete type is required
for the variant GCC currently generates.
More information about the Gcc-bugs
mailing list