[PATCH] [PR rtl-optimization/49847] Fix ICE in CSE due to cc0-setter and cc0-user...
authorJeff Law <law@redhat.com>
Fri, 18 Dec 2015 17:17:14 +0000 (10:17 -0700)
committerJeff Law <law@gcc.gnu.org>
Fri, 18 Dec 2015 17:17:14 +0000 (10:17 -0700)
commit3f1d32a5fd3475d1e75452cb5fefe712e043540c
tree1f9cb33de6c2b56bbe4cfc7761ac15dc58e0038a
parenta012998e615e7ff43642d4de100cf4e3c369212c
[PATCH] [PR rtl-optimization/49847] Fix ICE in CSE due to cc0-setter and cc0-user in different blocks

PR rtl-optimization/49847
* cse.c (record_jump_equiv): Handle fold_rtx returning NULL_RTX.

PR rtl-optimization/49847
* g++.dg/pr49847-2.C: New test.

From-SVN: r231821
gcc/ChangeLog
gcc/cse.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/pr49847-2.C [new file with mode: 0644]