This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Address as HImode when Pmode is QImode?
- From: Adam Nemet <anemet at caviumnetworks dot com>
- To: Markus L <markusl dot se78 at gmail dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Thu, 13 Aug 2009 11:39:30 -0700
- Subject: Re: Address as HImode when Pmode is QImode?
- References: <ddb04d10908130629g6c8fd0e8wba8ba83d7da28676@mail.gmail.com>
Markus L <markusl.se78@gmail.com> writes:
> I run into an assert in convert_memory_address not beeing able to
> convert the address rtx (beeing HImode) into to Pmode (i.e. QImode). A
> few frames up the I can dump the tree node and it looks like the
> address calculations are done in HImode. Why is the address beeing
> calculated as unsigned long int and not as unsigned int which would be
> Pmode for my target? Is this expected (and my problem originates from
> elsewhere) or am I missing something obvious here?
What's your sizetype? This could be related to:
http://gcc.gnu.org/ml/gcc/2008-05/msg00313.html
Adam