public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Dave Korn <dave.korn.cygwin@googlemail.com>
To: daniel tian <daniel.xntian@gmail.com>
Cc: gcc@gcc.gnu.org, Ian Lance Taylor <iant@google.com>,
	  yxun lan <dennis.yxun@gmail.com>
Subject: Re: internal compiler error: in reload_combine_note_use, at  	postreload.c:1093
Date: Wed, 13 May 2009 11:58:00 -0000	[thread overview]
Message-ID: <4A0AB284.3040202@gmail.com> (raw)
In-Reply-To: <121fadb80905130255h47064421we320de6c54dabed2@mail.gmail.com>

daniel tian wrote:
> I have ported gcc4.0.2  to 32bit RISC chip. But internal compiler
> error happened: in reload_combine_note_use, at postreload.c:1093 . I
> tracked the code with insight.  error occurred in "CASE REG", when the
> register number is larger than FIRST_PSEUDO_REGISTER. Does this mean
> the reload register allocation failed?  What I know is that there is
> no pseudo register used after reload completed (Is this right?).

  Yes, this is correct.

> Can anyone give me some advice?

  It is most likely one of the expanders or other patterns in your MD file is
unconditionally calling a function such as force_reg() without checking the
reload_completed / reload_in_progress flags.  If this pattern gets invoked
post-reload, that will allocate a pseudo and then fail later.

    cheers,
      DaveK


  reply	other threads:[~2009-05-13 11:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-13 11:29 daniel tian
2009-05-13 11:58 ` Dave Korn [this message]
2009-05-14 11:53   ` daniel tian
2009-05-14 22:18     ` Jean Christophe Beyler

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=4A0AB284.3040202@gmail.com \
    --to=dave.korn.cygwin@googlemail.com \
    --cc=daniel.xntian@gmail.com \
    --cc=dennis.yxun@gmail.com \
    --cc=gcc@gcc.gnu.org \
    --cc=iant@google.com \
    /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).