This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On Fri, Feb 28, 2003 at 03:19:23PM -0800, Dan Kegel wrote: > Dan Kegel wrote: > >I've been using gcc3.0.2 built for ppc403 (patched to > >support ppc405; see http://www.kegel.com/xgcc3/ ) > >for about a year with no trouble, but compiling kaffe > >exposed an internal compiler error. Since updating > >to a new compiler is a somewhat major effort, I thought > >I'd post details about it here, and see if anyone knows > >what version of gcc (if any) fixes this problem before > >I start trying versions at random. Here's the compiler > >error when building kaffe: > > > >../../../kaffe-1.0.7-libtool1.4e/kaffe/kaffevm/support.c:1051: Insn does > >not satisfy its constraints: > >(insn 1003 1000 533 (set (reg/v:DF 40 f8 [77]) > > (mem:DF (plus:SI (reg/f:SI 31 r31) > > (const_int 8 [0x8])) 0)) 293 {*movdf_softfloat32} (nil) > > (nil)) > >../../../kaffe-1.0.7-libtool1.4e/kaffe/kaffevm/support.c:1051: Internal > >compiler error in reload_cse_simplify_operands, at reload1.c:8364 > > > This probably has to do with the fact that Kaffe is doing > floating point stuff, but the ppc405 doesn't have floating > point support: Correct. Asm'ing a variable into a floating-point register is going to make GCC very confused when you tell it that it can't use the floating point registers. > http://www.kaffe.org/pipermail/kaffe/2002-October/009100.html > > Sigh. I guess I should do a better job with google before I post! > I'm still interested in whether there's a good way to > make gcc output a more sensible error, if that's all it is. Not really. Hmm, perhaps the code for associating a variable with a fixed register could detect this; I'm not sure we have enough information to realize that fr1 is unusable. -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer ------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe at sources dot redhat dot com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |