OSDN Git Service

* i386.c (ix86_expand_int_addcc): Fix thinko.
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 9 Jan 2003 00:00:53 +0000 (00:00 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 9 Jan 2003 00:00:53 +0000 (00:00 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61059 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/i386/i386.c

index ed19269..3ac87ed 100644 (file)
@@ -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.
index db361d9..c8d02a4 100644 (file)
@@ -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]))