This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
PR target/16909: [3.5 Regression] "unrecognizable insn" ICE
- From: "H. J. Lu" <hjl at lucon dot org>
- To: gcc-patches at gcc dot gnu dot org
- Cc: jakub at redhat dot com
- Date: Sat, 7 Aug 2004 09:31:00 -0700
- Subject: PR target/16909: [3.5 Regression] "unrecognizable insn" ICE
during bootstrap
Reply-To:
There is a typo in
http://gcc.gnu.org/ml/gcc-patches/2004-08/msg00305.html
I will check in this patch as an obvious fix.
H.J.
---
2004-08-06 H.J. Lu <hongjiu.lu@intel.com>
* config/i386/i386.c (ix86_expand_clrmem): Properly call
gen_strset for 64bit target.
--- gcc/config/i386/i386.c.64 2004-08-06 11:07:16.000000000 -0700
+++ gcc/config/i386/i386.c 2004-08-07 09:23:31.006373343 -0700
@@ -11569,7 +11569,10 @@ ix86_expand_clrmem (rtx dst, rtx count_e
rtx mem = adjust_automodify_address_nv (dst,
GET_MODE (zeroreg),
destreg, offset);
- emit_insn (gen_strset (destreg, mem, zeroreg));
+ emit_insn (gen_strset (destreg, mem,
+ (TARGET_64BIT
+ ? gen_rtx_SUBREG (SImode, zeroreg, 0)
+ : zeroreg)));
offset += size;
}
else