re PR rtl-optimization/38774 (ice in df_refs_verify, at df-scan.c:4307)
authorJakub Jelinek <jakub@redhat.com>
Tue, 13 Jan 2009 22:36:06 +0000 (23:36 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 13 Jan 2009 22:36:06 +0000 (23:36 +0100)
commitd3302fd3185bb03a499e9698d1995ade81ee0321
tree4718c31eaf240b0488be6f53ac949577827b42bc
parent7ab23fd0b97eff95faf1f48828784f4025ceca59
re PR rtl-optimization/38774 (ice in df_refs_verify, at df-scan.c:4307)

PR rtl-optimization/38774
* combine.c (simplify_set): When undoing cc_use change, don't do
PUT_CODE on the newly created comparison, but instead put back the
old comparison.

* gcc.dg/torture/pr38774.c: New test.

From-SVN: r143355
gcc/ChangeLog
gcc/combine.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr38774.c [new file with mode: 0644]