diff options
author | Jan Hubicka <jh@suse.cz> | 2003-01-09 01:00:53 +0100 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2003-01-09 00:00:53 +0000 |
commit | 4bdc8610f2c46b0474845659454926a7c950ecfd (patch) | |
tree | d6ebd15527c228fb45d6217e13542b2ffbe6cd36 | |
parent | 5b71a4e7aca0ce49e11ad30cad705d10fbbc3be5 (diff) | |
download | gcc-4bdc8610f2c46b0474845659454926a7c950ecfd.zip gcc-4bdc8610f2c46b0474845659454926a7c950ecfd.tar.gz gcc-4bdc8610f2c46b0474845659454926a7c950ecfd.tar.bz2 |
* i386.c (ix86_expand_int_addcc): Fix thinko.
From-SVN: r61059
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/config/i386/i386.c | 2 |
2 files changed, 5 insertions, 1 deletions
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 <jh@suse.cz> + + * i386.c (ix86_expand_int_addcc): Fix thinko. + 2003-01-08 David Edelsohn <edelsohn@gnu.org> * 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])) |