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]
Other format: [Raw text]

Re: [3.1 PATCH] Serious regression on s390


On Thu, Apr 25, 2002 at 05:11:50PM +0200, Ulrich Weigand wrote:
> 	* config/s390/s390.c (s390_emit_epilogue): Always restore fixed
> 	registers, even if they are used as global regs.

This is incorrect.  A global register _must_ be a fixed
in order to be useful.  Otherwise the register allocator
can clobber it on its own.

In particular, consider the usage in the Linux kernel
for Alpha and Sparc64 current, where we force particular
registers to be fixed via command line options.


r~


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