This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: does gcc support multiple sizes, or not?


> I'll again point out that in your reset-vector example you don't
> actually need any pointer operations.

I'm not trying to dereference any of these nonstandard pointers.  I
just need to do all the other things - assignment, copy, storage, cast
to/from integers, etc.  Rarely, calling a function indirectly, but
that would have to be specific to the target, and documented therein.
These are the kinds of things that are often needed for interfacing to
odd hardware or OS ABIs.

To make nonstandard sized pointers "first class pointers", i.e.
allowing dereferencing in all cases, is a MUCH harder problem, which
even cc1 doesn't even come close to solving.  This is a different
rant, too, which I've done before.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]