------- Comment #7 from dje at watson dot ibm dot com 2006-04-25 15:21 -------
Subject: Re: [4.2 regression] ICE in final_scan_insn, at final.c:2448 - could
not split insn
The patch may be necessary, but does not fix the testcase. The testcase
needs the patch that Andrew originally tested:
Index: combine.c
===================================================================
--- combine.c (revision 113239)
+++ combine.c (working copy)
@@ -8210,7 +8209,8 @@ simplify_and_const_int (rtx x, enum mach
return tem;
if (!x)
- x = simplify_gen_binary (AND, GET_MODE (varop), varop, GEN_INT (constop));
+ x = simplify_gen_binary (AND, GET_MODE (varop), varop,
+ gen_int_mode (constop, mode));
if (GET_MODE (x) != mode)
x = gen_lowpart (mode, x);
return x;
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27282