Hi Adam, Looks like you were right! My SIZE_TYPE was undefined so it defaulted to "long unsigned int". Setting it to "unsigned int" solved my problems.
Thank you very much! /Markus 2009/8/13 Adam Nemet <ane...@caviumnetworks.com>: > Markus L <markusl.s...@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 >