This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Pmode != INT (e.g., SImode)
- From: DJ Delorie <dj at redhat dot com>
- To: Michael Eager <eager at eagercon dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Mon, 22 Sep 2008 14:35:04 -0400
- Subject: Re: Pmode != INT (e.g., SImode)
- References: <48D67B15.7010205@eagercon.com>
Michael Eager <eager@eagercon.com> writes:
> Are there any architectures which have Pmode != INT?
m32c has Pmode == PSImode, at least with -mcpu=m32c. The r8c/m16c
variants have Pmode == HImode == int.
> I'm running into a number of problems.
Yup! GCC doesn't like ports where sizeof(pointer) != sizeof(some int
type).
It likes 24 bit registers even less :-P