[PATCH] fix possible FP reassociation problem in simplify-rtx.c
Alan Modra
amodra@bigpond.net.au
Thu Dec 1 04:33:00 GMT 2005
On Thu, Dec 01, 2005 at 02:55:55PM +1030, Alan Modra wrote:
> @@ -2835,12 +2844,6 @@ simplify_plus_minus (enum rtx_code code,
> n_ops--;
> }
>
> - /* Count the number of CONSTs that we generated. */
> - n_consts = 0;
> - for (i = 0; i < n_ops; i++)
> - if (GET_CODE (ops[i].op) == CONST)
> - n_consts++;
> -
> /* Put a non-negated operand first, if possible. */
>
> for (i = 0; i < n_ops && ops[i].neg; i++)
Hmm, I see input_consts is also never used. Code setting that should go
too.
--
Alan Modra
IBM OzLabs - Linux Technology Centre
More information about the Gcc-patches
mailing list