2013-05-29  Easwaran Raman  <eraman@google.com>

	PR tree-optimization/57442
	* tree-ssa-reassoc.c (appears_later_in_bb): Return correct value
	when control exits the main loop.

2013-05-29  Easwaran Raman  <eraman@google.com>

	PR tree-optimization/57442
	* gcc.dg/tree-ssa/reassoc-30.c: New testcase.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@199418 138bc75d-0d04-0410-961f-82ee72b054a4