This is the mail archive of the
mailing list for the GCC project.
Re: Bug in egcs-1.1 (reduced testcase included)(PPC)
- To: David Edelsohn <dje at watson dot ibm dot com>
- Subject: Re: Bug in egcs-1.1 (reduced testcase included)(PPC)
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Sun, 16 Aug 1998 23:39:31 -0600
- cc: Franz Sirl <Franz dot Sirl-kernel at lauterbach dot com>, egcs-patches at cygnus dot com, Michael Meissner <meissner at cygnus dot com>, Hartmut Koptein <koptein at et-inf dot fho-emden dot de>
- Reply-To: law at cygnus dot com
In message <9808170533.AA35672@marc.watson.ibm.com>you write:
> I think that LIMIT_RELOAD_CLASS is the right approach. rs6000.h
> already uses PREFERRED_RELOAD_CLASS but has not yet definied
> LIMIT_RELOAD_CLASS. I would suggest something like:
I'll try it.
> Setting up SECONDARY_RELOADS for this case is a mistake, IMO.
Well, that's how most other ports deal with this kind of problem. In
fact, this kind of problem is precisely what secondary reloads are for.
> It is unfortunate that GCC cannot go back and figure out that reload's choice
> of registers was bad for the constraint so that we don't need to restrict
> r0 throughou, but thems are the breaks.
Yup. It would really be a help if we could do that. Lots of hair
in the PA port would disappear too.