This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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]

Re: [wide-int] Make trees more like rtxes


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


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