On May 27, 2016 4:12:06 PM GMT+02:00, Kugan Vivekanandarajah <kugan.vivekanandara...@linaro.org> wrote: >Hi, > >This fix the missing swap for stmt-to_insert. I tested this with the >attached test case which is not valid any more due to some other >commits. This I believe an is obvious fix and maybe the test case is >needed. > >I am running bootstrap and regression testing on x86-64-linux gnu. Is >this OK for trunk if the testing is fine ?
OK. Richard. >Thanks, > >Kugan > > >gcc/ChangeLog: > >2016-05-28 Kugan Vivekanandarajah <kugan.vivekanandara...@linaro.org> > >* tree-ssa-reassoc.c (swap_ops_for_binary_stmt): Fix swap such that > >all fields including stmt_to_insert are swapped. > >gcc/testsuite/ChangeLog: > >2016-05-28 Kugan Vivekanandarajah <kugan.vivekanandara...@linaro.org> > >* gcc.dg/tree-ssa/pr71252-2.c: New test.