This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/49980] New: entryval: missing DW_AT_GNU_call_site_data_value for stack-passed `double' parameter
- From: "jan.kratochvil at redhat dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 5 Aug 2011 01:20:29 +0000
- Subject: [Bug debug/49980] New: entryval: missing DW_AT_GNU_call_site_data_value for stack-passed `double' parameter
- Auto-submitted: auto-generated
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: unassigned@gcc.gnu.org
ReportedBy: jan.kratochvil@redhat.com
CC: jakub@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'.