re PR rtl-optimization/69570 (if-conversion bug on i?86)
authorJakub Jelinek <jakub@redhat.com>
Mon, 1 Feb 2016 08:47:27 +0000 (09:47 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 1 Feb 2016 08:47:27 +0000 (09:47 +0100)
commit654745e6f967ebf1c8819f9d51a74a042c153639
tree7bcc0c81e3c7db63d667990548f937db05f85f56
parente6c0c44b5b43c4fef77f3a566d035db5c589ff99
re PR rtl-optimization/69570 (if-conversion bug on i?86)

PR rtl-optimization/69570
* ifcvt.c (bb_ok_for_noce_convert_multiple_sets): Return true only
if there is more than one set, not if there is a single set.

* g++.dg/opt/pr69570.C: New test.

From-SVN: r233033
gcc/ChangeLog
gcc/ifcvt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/opt/pr69570.C [new file with mode: 0644]