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

--- Comment #10 from Tom Tromey <tromey at gcc dot gnu.org> ---
Today I noticed another case.  If you have a template like:

template<typename R, const char *&NAME, typename A>
[...]

... then NAME is not given a value in the instantiation:

 <2><65c5>: Abbrev Number: 51 (DW_TAG_template_type_param)
    <65c6>   DW_AT_name        : R      
    <65c8>   DW_AT_type        : <0x3042>       
 <2><65cc>: Abbrev Number: 122 (DW_TAG_template_value_param)
    <65cd>   DW_AT_name        : (indirect string, offset: 0x6768): NAME        
    <65d1>   DW_AT_type        : <0x66ac>       
 <2><65d5>: Abbrev Number: 51 (DW_TAG_template_type_param)
    <65d6>   DW_AT_name        : A1     
    <65d9>   DW_AT_type        : <0x30aa>

Reply via email to