[Bug rust/21185] add i128 and u128 support to rust

palves at redhat dot com sourceware-bugzilla@sourceware.org
Mon May 22 15:49:00 GMT 2017


--- Comment #9 from Pedro Alves <palves at redhat dot com> ---
> It seems like it would hard to even find the places, unless maybe the new
> type was a class that did not allow conversions from integer types.
> Hmm...

Yeah, I think a class (plus arithmetic operators) would be what I'd try too.  
Maybe we could borrow gcc's wide_int (or parts of it).

Not sure about disabling conversions from integer types.  I'd assume it to be
handy, to allow natural initialization from 0 and 1 [integer foo = 1;], etc. 
I'd think that it's conversion to (narrower) integer types that would be an

You are receiving this mail because:
You are on the CC list for the bug.

More information about the Gdb-prs mailing list