2013-05-23 Richard Biener <rguenther@suse.de>
commit6979886b98fc36ed277a387711e0eedf4eab0cd2
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 23 May 2013 12:23:59 +0000 (23 12:23 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 23 May 2013 12:23:59 +0000 (23 12:23 +0000)
tree817c953d76e27cedecd6b9e444751bfe1da13db0
parentb776525d87d46c43c6dec2084ee99b0d3370f191
2013-05-23  Richard Biener  <rguenther@suse.de>

PR tree-optimization/57380
* tree-ssa-phiprop.c (propagate_with_phi): Do not require at
least one invariant or re-used load.
* passes.c (init_optimization_passes): Move pass_phiprop before
pass_forwprop.

* g++.dg/tree-ssa/pr57380.C: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@199246 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/passes.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/tree-ssa/pr57380.C [new file with mode: 0644]
gcc/tree-ssa-phiprop.c