This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug rust/21185] add i128 and u128 support to rust
- From: "palves at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Mon, 22 May 2017 15:49:51 +0000
- Subject: [Bug rust/21185] add i128 and u128 support to rust
- Auto-submitted: auto-generated
- References: <bug-21185-4717@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=21185
--- 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
issue.
--
You are receiving this mail because:
You are on the CC list for the bug.