re PR rtl-optimization/63917 (r217646 caused many failures)
authorZhenqiang Chen <zhenqiang.chen@arm.com>
Fri, 12 Dec 2014 05:51:19 +0000 (05:51 +0000)
committerZhenqiang Chen <zqchen@gcc.gnu.org>
Fri, 12 Dec 2014 05:51:19 +0000 (05:51 +0000)
commit0a6aa4763eedb8b1a5383b3d9a0cc9d8ec043e4a
treed2258ae3f54efa0239da9d1d2ef4d9f2385d2c2e
parente8c8ffa90081e97f664e73f58518a95f695aaca3
re PR rtl-optimization/63917 (r217646 caused many failures)

2014-12-12  Zhenqiang Chen  <zhenqiang.chen@arm.com>

PR rtl-optimization/63917
* ifcvt.c (cc_in_cond): New function.
(end_ifcvt_sequence): Make sure new generated insns do not clobber CC.
(noce_process_if_block, check_cond_move_block): Check CC references.

testsuite/ChangeLog:
2014-12-12  Zhenqiang Chen  <zhenqiang.chen@arm.com>

* gcc.dg/pr64007.c: New test.

From-SVN: r218658
gcc/ChangeLog
gcc/ifcvt.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr64007.c [new file with mode: 0644]