2013-11-19 Richard Biener <rguenther@suse.de>
commit42e6d1013f3715713d079fa82da4cf7cfa8b4f59
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 19 Nov 2013 09:23:52 +0000 (19 09:23 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 19 Nov 2013 09:23:52 +0000 (19 09:23 +0000)
tree7ae2f0aa520327e984259438c26337cc442e4b68
parentb07489da46850b7ef8701e0ab902c9bad3f2e7c3
2013-11-19  Richard Biener  <rguenther@suse.de>

PR tree-optimization/57517
* tree-predcom.c (combinable_refs_p): Verify the combination
is always executed when the refs are.

* gfortran.fortran-torture/compile/pr57517.f90: New testcase.
* gcc.dg/torture/pr57517.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_8-branch@205012 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr57517.c [new file with mode: 0644]
gcc/testsuite/gfortran.fortran-torture/compile/pr57517.f90 [new file with mode: 0644]
gcc/tree-predcom.c