public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Florent DEFAY <spira.inhabitant@gmail.com>
To: Ian Lance Taylor <iant@google.com>
Cc: gcc-help@gcc.gnu.org
Subject: Re: memory addressed by memory, error
Date: Fri, 24 Apr 2009 12:02:00 -0000	[thread overview]
Message-ID: <8502af3c0904240502o2dc16c92oe8595151fe98b319@mail.gmail.com> (raw)
In-Reply-To: <m37i1ecat3.fsf@google.com>

Thank you Ian.

I finally solved the problem by reviewing GO_IF_LEGITIMATE_ADDRESS again.
I did not find explanation about this insn after the shorten pass.

2009/4/21 Ian Lance Taylor <iant@google.com>:
> Florent DEFAY <spira.inhabitant@gmail.com> writes:
>
>> So insn 467 appears in none dump file.
>> I looked at 277 and 278 in dump files but it did not help at finding
>> out the cause of this error.
>>
>> The last dump file where 277 and 278 appear is pr34458.c.205r.shorten:
>> _______________________________pr34458.c.205r.shorten___(cuts)__________________
>> (insn 277 4 278 pr34458.c:9 (set (mem:HI (plus:HI (reg/f:HI 6 sp)
>>                 (const_int -2 [0xfffffffe])) [0 S2 A16])
>>         (reg/f:HI 5 r5)) -1 (nil))
>>
>> (insn 278 277 279 pr34458.c:9 (set (reg/f:HI 5 r5)
>>         (reg/f:HI 6 sp)) -1 (nil))
>> ___________________________________________________________________________
>>
>> Have you any idea about the cause of such an error?
>
> That seems very odd to me.  I don't see what could introduce such an
> insn after the shorten pass.  I think your first step should be to fire
> up the debugger and find out what is creating the insn.  You can
> probably do this with a conditional breakpoint on make_insn_raw when the
> value of cur_insn_uid (a macro, so you need to look at the expanded
> definition) == 467.
>
> Ian
>

      reply	other threads:[~2009-04-24 12:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-21  7:03 Florent DEFAY
2009-04-21 14:59 ` Ian Lance Taylor
2009-04-24 12:02   ` Florent DEFAY [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=8502af3c0904240502o2dc16c92oe8595151fe98b319@mail.gmail.com \
    --to=spira.inhabitant@gmail.com \
    --cc=gcc-help@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).