Multiple Pointer Types on HPPA

Dima Volodin dvv@dvv.org
Mon Jun 21 15:54:00 GMT 1999


What about an architecture where the size for all pointers is one and the
same, but conversions between pointers to char types and pointers to word
types are not trivial?

Thanks

Dima

Jeffrey A Law wrote:

>   In message < 4.1.19990621123640.00bd1be0@garfield.dis.com >you write:
>   > Hi, Jeff.
>   >
>   > Is there a way to provide integral support for multiple
>   > pointer types within GCC?
> You mean short vs long?  Nope.  You only get one pointer size at a time.
>
> We have neither the machine independent bits necessary for short vs long
> pointers nor the machine dependent bits.
>
> You're probably stuck with wrappers for a long time.  Particularly on
> segmented targets like the PA.
>
> Sorry,
> jeff



More information about the Gcc mailing list