Painful problems with -fpic implementation on powerpc-sysv
Jeffrey A Law
law@cygnus.com
Wed Aug 26 00:13:00 GMT 1998
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
More information about the Gcc
mailing list