On Oct 17, 2017, at 5:18 AM, Richard Sandiford <richard.sandif...@linaro.org> wrote: > > Aldy Hernandez <al...@redhat.com> writes: >> This produces confusing dumps to say the least
> That's the intended behaviour though. > 0x0ffffffff -> (1 << 32) - 1 to infinite precision > (i.e. a positive value) > 0xffffffff -> -1 Another potential way around this would be to print the leading - when applicable and negate the number. I don't have any strong opinions about this, but thought I would mention it. This would then allow the trimming of the leading 0 without confusion.