https://bugzilla.novell.com/show_bug.cgi?id=326866#c6
--- Comment #6 from Richard Guenther 2007-09-28 08:49:43 MST ---
Text size with -fpreserve-function-arguments is 15053 bytes vs. 14771 bytes
without.
Short testcase where we generate location lists for the parameters, but gdb
does not show anything:
static inline int foo(int i)
{
return i-1;
}
int foobar(int j)
{
return foo(j);
}
int main(int argc, char **argv)
{
return foobar(argc);
}
<1><162>: Abbrev Number: 5 (DW_TAG_subprogram)
<163> DW_AT_sibling : <1b5>
<167> DW_AT_external : 1
<168> DW_AT_name : (indirect string, offset: 0xc0): foobar
<16c> DW_AT_decl_file : 1
<16d> DW_AT_decl_line : 7
<16e> DW_AT_prototyped : 1
<16f> DW_AT_type : <15b>
<173> DW_AT_low_pc : 0x400498
<17b> DW_AT_high_pc : 0x40049c
<183> DW_AT_frame_base : 2 byte block: 77 8 (DW_OP_breg7: 8)
<2><186>: Abbrev Number: 6 (DW_TAG_formal_parameter)
<187> DW_AT_name : j
<189> DW_AT_decl_file : 1
<18a> DW_AT_decl_line : 6
<18b> DW_AT_type : <15b>
<18f> DW_AT_location : 0 (location list)
<2><193>: Abbrev Number: 7 (DW_TAG_inlined_subroutine)
<194> DW_AT_abstract_origin: <140>
<198> DW_AT_low_pc : 0x400498
<1a0> DW_AT_high_pc : 0x40049b
<1a8> DW_AT_call_file : 1
<1a9> DW_AT_call_line : 8
<3><1aa>: Abbrev Number: 8 (DW_TAG_formal_parameter)
<1ab> DW_AT_abstract_origin: <151>
<1af> DW_AT_location : 0x36 (location list)
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.