[Bug c++/37590] New: g++ should emit different debug info for variable's type

2008-09-19 Thread tromey at gcc dot gnu dot org
Consider this code: #include string std::string s; I compiled this with -g and examined the resulting dwarf. 's' is represented as: 124e8: Abbrev Number: 63 (DW_TAG_variable) 24e9 DW_AT_name: s 24eb DW_AT_decl_file : 1 24ec DW_AT_decl_line : 3

Re: [Bug c++/37590] New: g++ should emit different debug info for variable's type

2008-09-19 Thread Andrew Thomas Pinski
Sent from my iPhone On Sep 19, 2008, at 10:58 AM, tromey at gcc dot gnu dot org [EMAIL PROTECTED] wrote: Consider this code: #include string std::string s; I compiled this with -g and examined the resulting dwarf. 's' is represented as: 124e8: Abbrev Number: 63 (DW_TAG_variable) 24e9