]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR rtl-optimization/49847 (NULL deref in fold_rtx (prev_insn_cc0 == NULL))
authorMikael Pettersson <mikpe@it.uu.se>
Thu, 27 Feb 2014 19:02:18 +0000 (20:02 +0100)
committerJeff Law <law@gcc.gnu.org>
Thu, 27 Feb 2014 19:02:18 +0000 (12:02 -0700)
commit728acca06e395451f2aa26ffbadb8b90af24c90b
tree54fb29df472b4dafd12a4cf8703a088a272047d7
parentb076556843574ba6beb9712502af8ed135944b83
re PR rtl-optimization/49847 (NULL deref in fold_rtx (prev_insn_cc0 == NULL))

PR rtl-optimization/49847
* cse.c (fold_rtx) Handle case where cc0 setter and cc0 user
are in different blocks.
* doc/tm.texi (Condition Code Status): Update documention for
relative locations of cc0-setter and cc0-user.

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

Co-Authored-By: Jeff Law <law@redhat.com>
From-SVN: r208203
gcc/ChangeLog
gcc/cse.c
gcc/doc/tm.texi
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/pr49847.C [new file with mode: 0644]