[Bug debug/111847] New: Debug info for structure members is not generated for structure in template class

2023-10-17 Thread EngyCZ at gmail dot com via Gcc-bugs
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}, }
   ^^

[Bug debug/111847] Debug info for structure member is not generated for structure in template class

2023-10-17 Thread EngyCZ at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111847

Jiří Engelthaler  changed:

   What|Removed |Added

 Resolution|--- |INVALID
 Status|UNCONFIRMED |RESOLVED

--- Comment #1 from Jiří Engelthaler  ---
Wrong bug report