On Oct 23, 2013, at 2:09 AM, Richard Biener <rguent...@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.