------- Comment #8 from rguenth at gcc dot gnu dot org  2008-04-29 14:17 -------
We already handle most of the foldings in fold_plusminus_mult_expr, just the
A + A -> 2 * A folding is not done (for a reason).

We also miss (A + A) * Cst -> A * 2 * Cst, which is what I am going to
implement
in addition to extending the tree re-association pass. 


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15255

Reply via email to