Subject: Re: compiler bug with -mcpu=strongarm
To: Valeriy E. Ushakov <uwe@ptc.spbu.ru>
From: Richard Earnshaw <rearnsha@buzzard.freeserve.co.uk>
List: port-arm
Date: 09/19/2002 23:08:39
> On Mon, Sep 16, 2002 at 23:25:50 +0100, Chris Gilbert wrote:
> 
> > uic.cpp:158: internal error--unrecognizable insn:
> > (insn 28560 28557 28553 (set (reg:QI 5 r5)
> >         (mem:QI (plus:SI (reg:SI 4 r4)
> >                 (const_int -484 [0xfffffe1c])) 0)) -1 (nil)
> >     (nil))
> 
> Hmm, this look very familiar.  Few days ago I was cross-building
> netwinder world on macppc with "-O2 -march=armv4 -mtune=strongarm"
> (stolen from netwinder's GENERIC) and got for gnu/dist/cvs/src/client.c,
> iirc:
> 
> unrecognizable insn:
> (insn 2184 2181 105 (set (reg:QI 14 lr)
>         (mem:QI (plus:SI (reg:SI 14 lr)
>                 (const_int -312 [0xfffffec8])) 0)) -1 (nil)
>     (nil))
> 
> I saved this bit "just in case" meaning to ask about it eventually.
> I will only have access to the machine with full build log tomorrow.
> 

I've just fixed this bug for gcc on -current and submitted a pullup 
request for the branch.

Chris, can you check that it's also solved your kde bug.

R.