short pointers (32 bit) in 64 bit apps

Reza Roboubi reza@parvan.net
Wed May 19 05:58:00 GMT 2010


Ian Lance Taylor wrote:
> Reza Roboubi <reza@parvan.net> writes:
> 
>> Is there support for "short" pointers in 64 bit applications?  As
>> struct members, these short pointers would save space, but when
>> accessed, they would automatically be treated as 64 bit pointers into
>> the "current" 4GB space (namely where the containing struct resides.)
> 
> No.
> 
> Sorry.
> 
> Ian

Do you know what it takes to do it?  How much work for a newcomer to get 
up to speed with gcc?  (Maybe this should go to the developer list?)

Thanks a lot.

Reza.



More information about the Gcc-help mailing list