[Bug translator/5023] problem setting variables or constants to 0x8000000000000000

fche at redhat dot com sourceware-bugzilla@sourceware.org
Wed Sep 12 15:19:00 GMT 2007


------- Additional Comments From fche at redhat dot com  2007-09-12 13:31 -------
> Yes. I'm thinking that the following patch should correct the problem and seems
> to do so.  

It seems that buildok/ten.stp needs to be extended for this corner case.
The emitted literal value from 0x80000.... is -9223372036854775808, which
is not a valid C 64-bit number.  It'd have to be emitted as -92..807-1.
I'd rather change just this case rather than changing the whole signedness
cast, which is working fine for other numbers.


-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=5023

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the Systemtap mailing list