flow patch for building ia64

Richard Henderson rth@redhat.com
Mon Jul 30 09:27:00 GMT 2001


On Mon, Jul 30, 2001 at 09:14:22AM -0700, amacleod@cygnus.com wrote:
> Which of the magic pseudos should be clear? 
> 
>     /*FP RA CCV UNAT PFS LC EC */

CCV, PFS, and UNAT are call used; SP FP RA LC EC are call saved.

> Are there simply numerous places which reference call_used 
> or some derivitive that also should have FIXED registers or'd in
> as well?

That's one part of it.  The other part is that you'd need to 
update all of the backends.

> + #ifdef CALL_REALLY_USED_REGISTERS
> + static char call_really_used_regs[] = CALL_REALLY_USED_REGISTERS;
> + #endif

Suggest you always define this array, falling back to call_used
registers.  Also, -fcall-used will need to modify this, so it
can't be static.

> +    Until this problem has been 
> +    resolved this macro can be used to overcome the situation
> +    where we have a number of 'symbolic' registers at the end
> +    of the fixed register list,

Symbolic registers have nothing to do with this.  LC and EC
are real hard registers and we're not treating them live 
across calls.



r~



More information about the Gcc-bugs mailing list