http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57370
--- Comment #10 from eraman at gcc dot gnu.org --- Author: eraman Date: Wed Sep 4 17:48:15 2013 New Revision: 202262 URL: http://gcc.gnu.org/viewcvs?rev=202262&root=gcc&view=rev Log: 2013-09-04 Easwaran Raman <era...@google.com> PR middle-end/57370 PR tree-optimization/58011 * tree-ssa-reassoc.c (get_stmt_uid_with_default): New function, (build_and_add_sum): Use it. (appears_later_in_bb): Simplify code. gcc/testsuite/ChangeLog: 2013-09-04 Easwaran Raman <era...@google.com> PR middle-end/57370 PR tree-optimization/58011 * gfortran.dg/reassoc_12.f90: New testcase. * gcc.dg/tree-ssa/reassoc-31.c: New testcase. Added: trunk/gcc/testsuite/gcc.dg/tree-ssa/reassoc-31.c trunk/gcc/testsuite/gfortran.dg/reassoc_12.f90 Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-ssa-reassoc.c