This is the mail archive of the gcc@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: Painful problems with -fpic implementation on powerpc-sysv



  In message <9808211609.AA36466@marc.watson.ibm.com>you write:
  > 	The movdf define_splits to load a const_double into an FPR
  > currently have "... && reload_completed" as a final condition.  Would
  > changing this to "... && (reload_in_progress || reload_completed)" have a
  > positive effect?  This might allow reload to create the constant in GPRs
  > and move it via the stack instead of creating a GOT symbol, depending on
  > what reload is trying to accomplish when these failures are occurring.
This could work for cases where one is trying to build up a constant,
but would not work if (for example) reload decided try and put
(const (plus (symbol_ref) (offset)) into the constant pool.  Yes, this
does really happen and it is painful.

jeff


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