From 4bdc8610f2c46b0474845659454926a7c950ecfd Mon Sep 17 00:00:00 2001 From: Jan Hubicka Date: Thu, 9 Jan 2003 01:00:53 +0100 Subject: [PATCH] * i386.c (ix86_expand_int_addcc): Fix thinko. From-SVN: r61059 --- gcc/ChangeLog | 4 ++++ gcc/config/i386/i386.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ed19269..3ac87ed 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +Thu Jan 9 00:57:15 CET 2003 Jan Hubicka + + * i386.c (ix86_expand_int_addcc): Fix thinko. + 2003-01-08 David Edelsohn * config/rs6000/rs6000.h (FUNCTION_MODE): Always use SImode. diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index db361d9..c8d02a4 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -9999,7 +9999,7 @@ ix86_expand_int_addcc (operands) ix86_compare_op1, &compare_op)) return 0; if (GET_CODE (compare_op) != LTU) - val = operands[3] == const1_rtx ? constm1_rtx : const1_rtx; + val = constm1_rtx; if ((GET_CODE (compare_op) == LTU) == (operands[3] == constm1_rtx)) { switch (GET_MODE (operands[0])) -- 2.7.4