]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/testsuite/ChangeLog
[RTL ifcvt] PR rtl-optimization/71594: ICE in noce_emit_cmove due to mismatched sourc...
authorKyrylo Tkachov <kyrylo.tkachov@arm.com>
Tue, 5 Jul 2016 16:37:40 +0000 (16:37 +0000)
committerKyrylo Tkachov <ktkachov@gcc.gnu.org>
Tue, 5 Jul 2016 16:37:40 +0000 (16:37 +0000)
commit7a98fb6ed6f1b1b7d78466dfdb66bb919740098e
tree0ba36dd360470fd0381b51efa94c83ba0c3fa0f8
parent1e3d54b4299c69b4e40205dd7d6cabc888b307c5
[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.

From-SVN: r238013
gcc/ChangeLog
gcc/ifcvt.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr71594.c [new file with mode: 0644]