This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix PR optimization/10876
> > Now, on Sparc, the addsi3 expander may emit a MINUS under certain
> > circumstances, which confuses calculate_giv_inc().
>
> This is incorrect. We should *never* generate
>
> (minus (reg) (const_int))
Does the "never" pertain to:
(1) the whole compiler,
(2) the SPARC port,
(3) the addsi3 pattern in general,
(4) the addsi3 pattern of the SPARC port,
(5) increment insns associated to an induction variable ?
--
Eric Botcazou