This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Supporting multiple pointer sizes in GCC
On Mar 25, 2011, at 1:37 PM, DJ Delorie wrote:
>
> "Jayant R. Sonar" <Jayant.Sonar@kpitcummins.com> writes:
>> Is it possible to support multiple pointer sizes (e.g. 16bit, 32bit)
>> which can co-exist in single compilation unit?
>> Whether it is supported in GCC now?
>> Is there any other architecture which has this feature already
>> implemented?
>
> Yes, there are three that I know of - mips64, s390 (tpf), and m32c.
? MIPS has two pointer sizes, but a given compilation (gcc invocation) uses only one of them, it comes from the chosen ABI.
paul