This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hi,This is an attempt to fix missed optimization: x+x+x+x -> 4*x as reported in PR63586.
Regression tested and bootstrapped on x86-64-linux-gnu with no new regressions.
Is this OK for next stage1? Thanks, Kugan gcc/testsuite/ChangeLog: 2016-02-26 Kugan Vivekanandarajah <kuganv@linaro.org> PR middle-end/63586 * gcc.dg/tree-ssa/reassoc-14.c: Fix multiply count. gcc/ChangeLog: 2016-02-26 Kugan Vivekanandarajah <kuganv@linaro.org> PR middle-end/63586 * tree-ssa-reassoc.c (transform_add_to_multiply): New. (reassociate_bb): Call transform_add_to_multiply.
Attachment:
PR63586.txt
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |