Re: Missing DWARF children for variable templates

2023-11-14 Thread Jonathan Wakely via Gcc
On Sat, 11 Nov 2023 at 02:06, Nima Hamidi via Gcc wrote: > > Another similar issue is with alias templates. The following code: Please report both cases to Bugzilla, thanks. > > ``` > template > struct Cls { > using ptr = T *; > }; > > template > using Cls_ptr = typename Cls::ptr; > > Cls_pt

Re: Missing DWARF children for variable templates

2023-11-10 Thread Nima Hamidi via Gcc
Another similar issue is with alias templates. The following code: ``` template struct Cls {  using ptr = T *; }; template using Cls_ptr = typename Cls::ptr; Cls_ptr ai; Cls_ptr af; ``` produces ``` < 1><0x0029> DW_TAG_typedef  DW_AT_type <0x003d>  DW_AT_name (indexed string: 0x0