This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug debug/52857] DW_OP_GNU_regval_type is generated with INVALID_REGNUM


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

--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> 2012-04-06 00:50:50 UTC ---
A small testcase:

[hjl@gnu-6 delta]$ cat testcase.c
extern void get_BID128 (int *);
void 
__bid128_div (long long bid_y)
{
  int res;
  get_BID128 (&res);
}
[hjl@gnu-6 delta]$ gcc -mx32 -maddress-mode=long -g -O testcase.c -c && readelf
-w testcase.o | grep "DW_OP_GNU_regval_type: 4294967295"
    <79>   DW_AT_GNU_call_site_value: 21 byte block: f5 ff ff ff ff f 25 f4 25
8 ec ff ff ff ff ff ff ff 22 f7 2c     (DW_OP_GNU_regval_type: 4294967295 (r-1)
<0x25>; DW_OP_GNU_const_type: <0x25>  8 byte block: ec ff ff ff ff ff ff ff ;
DW_OP_plus; DW_OP_GNU_convert <0x2c>)
[hjl@gnu-6 delta]$


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]