https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67456

--- Comment #5 from ktkachov at gcc dot gnu.org ---
Author: ktkachov
Date: Mon Sep 28 08:23:47 2015
New Revision: 228194

URL: https://gcc.gnu.org/viewcvs?rev=228194&root=gcc&view=rev
Log:
[RTL-ifcvt] PR rtl-optimization/67465: Handle pairs of complex+simple blocks
and empty blocks more gracefully

        PR rtl-optimization/67456
        PR rtl-optimization/67464
        PR rtl-optimization/67465
        * ifcvt.c (noce_try_cmove_arith): Bail out if cannot conditionally
        move in the mode of x.  Handle combination of complex and simple
        block pairs as well as the case when one is empty.

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


Added:
    trunk/gcc/testsuite/gcc.dg/pr67465.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/ifcvt.c
    trunk/gcc/testsuite/ChangeLog

Reply via email to