public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Markus L <markusl.se78@gmail.com>
To: Adam Nemet <anemet@caviumnetworks.com>
Cc: gcc@gcc.gnu.org
Subject: Re: Address as HImode when Pmode is QImode?
Date: Fri, 14 Aug 2009 10:20:00 -0000	[thread overview]
Message-ID: <ddb04d10908140014j74675e50ub99d46a7cb7b99d0@mail.gmail.com> (raw)
In-Reply-To: <o7my63eexp.fsf@ropi.home>

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 <anemet@caviumnetworks.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
>

      reply	other threads:[~2009-08-14  7:14 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-13 14:56 Markus L
2009-08-13 22:54 ` Adam Nemet
2009-08-14 10:20   ` Markus L [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ddb04d10908140014j74675e50ub99d46a7cb7b99d0@mail.gmail.com \
    --to=markusl.se78@gmail.com \
    --cc=anemet@caviumnetworks.com \
    --cc=gcc@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).