https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111847
Bug ID: 111847
Summary: Debug info for structure members is not generated for
structure in template class
Product: gcc
Version: 13.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: debug
Assignee: unassigned at gcc dot gnu.org
Reporter: EngyCZ at gmail dot com
Target Milestone: ---
Created attachment 56131
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56131&action=edit
Sample source code
Source code attached.
No debug information for "a" member of structure variable *Str (A.Str->a)
GDB reports "No data fields":
(gdb) print &x
$1 = 0x7fffe1cf ""
(gdb) print A
$2 = {> = {Str = 0x7fffe1cf}, }
^^