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

--- Comment #7 from ktkachov at gcc dot gnu.org ---
Author: ktkachov
Date: Tue Jul  5 16:37:40 2016
New Revision: 238013

URL: https://gcc.gnu.org/viewcvs?rev=238013&root=gcc&view=rev
Log:
[RTL ifcvt] PR rtl-optimization/71594: ICE in noce_emit_cmove due to mismatched
source modes

        PR rtl-optimization/71594
        * ifcvt.c (noce_convert_multiple_sets): Wrap new_val or old_val
        into subregs of appropriate mode before trying to emit a conditional
        move.

        * gcc.dg/torture/pr71594.c: New test.


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

Reply via email to