[RFT/RFA] Fix AIX fallout from PR/19653 patch

Paolo Bonzini paolo.bonzini@lu.unisi.ch
Wed Apr 5 07:12:00 GMT 2006


> This part of the pr19653 reload.c patch looks wrong to me.
> @@ -1885,7 +1894,11 @@
>  
>    /* Narrow down the reg class, the same way push_reload will;
>       otherwise we might find a dummy now, but push_reload won't.  */
> -  class = PREFERRED_RELOAD_CLASS (in, class);
> +  {
> +    enum reg_class preferred_class = PREFERRED_RELOAD_CLASS (in, class);
> +    if (class != NO_REGS)
> +      class = preferred_class;
> +  }
>
> "if (preferred_class != NO_REGS)" ?
I agree and will bootstrap/regtest the obvious fix on 
i686-pc-linux-gnu.  However, fixing this does not bring AIX in better shape.

Paolo



More information about the Gcc-patches mailing list