This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap 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 translator/5023] problem setting variables or constants to 0x8000000000000000


------- 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.


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