[Bug target/42891] [4.5 Regression] ice in extract_insn, at recog.c:2097
ubizjak at gmail dot com
gcc-bugzilla@gcc.gnu.org
Thu Jan 28 12:33:00 GMT 2010
------- Comment #3 from ubizjak at gmail dot com 2010-01-28 12:33 -------
This regression was introduced by me in
2009-11-24 Uros Bizjak <ubizjak@gmail.com>
...
(ix86_expand_int_movcc): Update calls to gen_x86_mov{si,di}cc_0_m1.
...
Following revert fixes this PR:
Index: i386.c
===================================================================
--- i386.c (revision 156311)
+++ i386.c (working copy)
@@ -15463,11 +15463,10 @@ ix86_expand_int_movcc (rtx operands[])
tmp = gen_reg_rtx (mode);
if (mode == DImode)
- insn = gen_x86_movdicc_0_m1;
+ emit_insn (gen_x86_movdicc_0_m1 (tmp, flags, compare_op));
else
- insn = gen_x86_movsicc_0_m1;
-
- emit_insn (insn (tmp, flags, compare_op));
+ emit_insn (gen_x86_movsicc_0_m1
+ (gen_lowpart (SImode, tmp), flags, compare_op));
}
else
{
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42891
More information about the Gcc-bugs
mailing list