https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62225
--- Comment #2 from Yao Qi <qiyao at gcc dot gnu.org> --- arm-none-eabi gcc mainline (4.10.0 20140818) and 4.9.2 has this problem too. The test case is compiled with -mthumb flag. <1><71>: Abbrev Number: 6 (DW_TAG_subprogram) <72> DW_AT_external : 1 <72> DW_AT_name : (indirect string, offset: 0x6a): wack <76> DW_AT_decl_file : 1 <77> DW_AT_decl_line : 13 <78> DW_AT_prototyped : 1 <78> DW_AT_type : <0xc4> <7c> DW_AT_low_pc : 0x8214 <80> DW_AT_high_pc : 0x44 <84> DW_AT_frame_base : 1 byte block: 9c (DW_OP_call_frame_cfa) <86> DW_AT_GNU_all_tail_call_sites: 1 <86> DW_AT_sibling : <0xc4> <2><8a>: Abbrev Number: 5 (DW_TAG_formal_parameter) <8b> DW_AT_name : u <8d> DW_AT_decl_file : 1 <8e> DW_AT_decl_line : 13 <8f> DW_AT_type : <0x25> <93> DW_AT_location : 6 byte block: 50 93 4 51 93 4 (DW_OP_reg0 (r0); DW_OP_piece: 4; DW_OP_reg1 (r1); DW_OP_piece: 4) <2><9a>: Abbrev Number: 5 (DW_TAG_formal_parameter) <9b> DW_AT_name : v <9d> DW_AT_decl_file : 1 <9e> DW_AT_decl_line : 13 <9f> DW_AT_type : <0x25> <a3> DW_AT_location : 6 byte block: 52 93 4 53 93 4 (DW_OP_reg2 (r2); DW_OP_piece: 4; DW_OP_reg3 (r3); DW_OP_piece: 4) <2><aa>: Abbrev Number: 7 (DW_TAG_variable) <ab> DW_AT_name : l <ad> DW_AT_decl_file : 1 <ae> DW_AT_decl_line : 15 <af> DW_AT_type : <0x25> <b3> DW_AT_location : 6 byte block: 54 93 4 55 93 4 (DW_OP_reg4 (r4); DW_OP_piece: 4; DW_OP_reg5 (r5); DW_OP_piece: 4) <2><ba>: Abbrev Number: 8 (DW_TAG_variable) <bb> DW_AT_name : r <bd> DW_AT_decl_file : 1 <be> DW_AT_decl_line : 15 <bf> DW_AT_type : <0x25> <2><c3>: Abbrev Number: 0