This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/42891] [4.5 Regression] ice in extract_insn, at recog.c:2097
- From: "ubizjak at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 Jan 2010 12:33:33 -0000
- Subject: [Bug target/42891] [4.5 Regression] ice in extract_insn, at recog.c:2097
- References: <bug-42891-12544@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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