This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[3.4-BIB] Fix i686 bootstrap failure
- From: Jan Hubicka <jh at suse dot cz>
- To: gcc-patches at gcc dot gnu dot org, rth at cygnus dot com
- Date: Tue, 26 Nov 2002 22:45:48 +0100
- Subject: [3.4-BIB] Fix i686 bootstrap failure
Hi,
I've just noticed that my cmove patch causes bootstrap to fail on i686
(but not other subtargets). I am just testing the attached patch and
will install it as obvious if it passes.
Tue Nov 26 22:43:50 CET 2002 Jan Hubicka <jh@suse.cz>
* i386.c (ix86_expand_int_movcc): Do not emit lea for short mode on
partial_reg_stall target.
Index: i386.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/i386/i386.c,v
retrieving revision 1.447.2.32
diff -c -3 -p -r1.447.2.32 i386.c
*** i386.c 26 Nov 2002 21:29:54 -0000 1.447.2.32
--- i386.c 26 Nov 2002 21:43:44 -0000
*************** ix86_expand_int_movcc (operands)
*** 9484,9489 ****
--- 9484,9490 ----
if ((diff == 1 || diff == 2 || diff == 4 || diff == 8
|| diff == 3 || diff == 5 || diff == 9)
+ && ((mode != QImode && mode != HImode) || !TARGET_PARTIAL_REG_STALL)
&& (mode != DImode || x86_64_sign_extended_value (GEN_INT (cf), 0)))
{
/*