[wide-int] Make trees more like rtxes

Richard Sandiford rdsandiford@googlemail.com
Wed Oct 23 21:41:00 GMT 2013


Mike Stump <mikestump@comcast.net> writes:
> On Oct 23, 2013, at 5:00 AM, Richard Sandiford
> <rsandifo@linux.vnet.ibm.com> wrote:
>> offset_int, max_int, wi::to_offset and wi::to_max sound OK to me.
>> Kenny?  Mike?
>
> Those two names seem reasonable.  to_offset should document that these
> are for address offsets (and address constants) exclusively.

Reading this back, I realise "max_int" might sound too similar to INT_MAX.
Maybe we could follow the current HOST_* stuff and use: offset_int, widest_int,
wi::to_offset and wi::to_widest.

Bah.  I'm no good at naming stuff...

Richard



More information about the Gcc-patches mailing list