2013-11-19 Richard Biener <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 19 Nov 2013 09:21:07 +0000 (09:21 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 19 Nov 2013 09:21:07 +0000 (09:21 +0000)
commitf8d7b728334e5d0a1934e917a31fdcdce13cca91
tree701e6a088cef351b4a7274c7c7aa0195f16be89a
parent8aae250d6e924f3c398f3ffe73c5ffd3fccf1683
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/trunk@205010 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