Multiple Pointer Types on HPPA

Mark Klein
Mon Jun 21 12:46:00 GMT 1999

Hi, Jeff.

Is there a way to provide integral support for multiple 
pointer types within GCC?

As you know, HPPA provides for short and long pointers.
But, the machine description only appears to support a 
single pointer type and there is only a single PMODE
and POINTER_SIZE declaration possible.

I've been providing long pointer support on MPEiX through
some wrappers that force the programmer to treat long
pointers as a struct that can only be used in calls.
I would like to consider being able to natively support
long pointers to allow programmers to dereference them
as with short pointers.

Is there a way to do this within current porting


Mark Klein                                    DIS International, Ltd.                            415-892-8400
PGP Public Key Available

More information about the Gcc mailing list