This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Bug in egcs-1.1 (reduced testcase included)(PPC)



  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.

jeff


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]