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


On Oct 23, 2013, at 2:09 AM, Richard Biener <rguenther@suse.de> wrote:
> Good.  Better names - ah well, wi::to_max_wide_int (t) and
> wi::to_addr_wide_int (t)?  Btw, "addr_wide_int" is an odd name

The idea was to have one type to rule them all…  everything address related...  bit offsets, byte offsets…  Bit offset is the wrong name, as that would be a wrong type to use for a byte offset.  Someone that has a bit offset type, would naturally want to /8 to get a byte offset.  If one wanted a bit offset, then it should be split into two, bit offset and byte offset.

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