Richard Earnshaw wrote:

> It seems to me that find_dummy_reload is doing an unsafe thing by
> permitting the use of a register in fixed_regs[] as a reload register --
> writing to fixed regs could have unspecified side effects on the
> machine, so they should only be used in the ways that earlier passes
> have deemed to be safe, and using them as a temporary is not one of those.

This sounds reasonable, agreed.

>       * reload.c (find_dummy_reload): Don't use OUT as a reload reg
>       for IN if it overlaps a fixed register.

OK.

Thanks,
Ulrich

-- 
  Dr. Ulrich Weigand
  GNU Toolchain for Linux on System z and Cell BE
  ulrich.weig...@de.ibm.com

Reply via email to