re PR tree-optimization/51246 (ICE in replace_ref_with, at tree-predcom.c:1309)
authorJakub Jelinek <jakub@redhat.com>
Thu, 1 Dec 2011 17:03:33 +0000 (18:03 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 1 Dec 2011 17:03:33 +0000 (18:03 +0100)
commit7e8b1c4bd8462271c21112f735c804a995a2d2f3
tree5c2386eb5272e0528a4f005297028f3f5b9d53ad
parent0397b9654739300f9a1e8a76c8cc816d3cb83bc7
re PR tree-optimization/51246 (ICE in replace_ref_with, at tree-predcom.c:1309)

PR tree-optimization/51246
* tree-predcom.c (replace_ref_with): Handle also clobber on the
rhs.

* gcc.c-torture/compile/pr51246.c: New test.

From-SVN: r181884
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr51246.c [new file with mode: 0644]
gcc/tree-predcom.c