This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: representation of struct field offsets
Chris Lattner wrote:
Also, because of GCC's internal representation of integers, you have
to be careful that you have enough bits; for example, you need 72 bits
to represent things in a 64-bit address space.
Actually, just 67, right? Does GCC support structures whose size is
greater than 2^61 ?
I'm not sure -- but if it doesn't, it should. There are folks who like
to make structures corresponding to the entire address space, and then
poke at particular bytes by using fields.
--
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713