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

           Summary: entryval: missing DW_AT_GNU_call_site_data_value for
                    stack-passed `double' parameter
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: debug
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: jan.kratoch...@redhat.com
                CC: ja...@redhat.com
            Target: x86_64-unknown-linux-gnu


FAIL: gcc (GCC) 4.7.0 20110804 (experimental)
-------------------------------------------------------------------------------
static int v;
static void __attribute__((noinline, noclone))
f (int &i, double &d)
{
  i = 10;
  d = 3.5;
  v = 1;
}
int
main ()
{
  int i = 1;
  double d = 9.5;
  f (i, d);
}
-------------------------------------------------------------------------------
-Wall -g -O2 
-------------------------------------------------------------------------------
 <4><ec>: Abbrev Number: 13 (DW_TAG_GNU_call_site_parameter)
    <ed>   DW_AT_location    : 1 byte block: 54              (DW_OP_reg4 (rsi))
    <ef>   DW_AT_GNU_call_site_value: 2 byte block: 91 70    (DW_OP_fbreg: -16)

but there should be also DW_AT_GNU_call_site_data_value like for that `i'.

Reply via email to