]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
i386.c (notice_update_cc): Remove bogus pentium GCC code.
authorBernd Schmidt <crux@ohara.Informatik.RWTH-Aachen.DE>
Fri, 19 Dec 1997 08:47:13 +0000 (08:47 +0000)
committerJeff Law <law@gcc.gnu.org>
Fri, 19 Dec 1997 08:47:13 +0000 (01:47 -0700)
        * i386.c (notice_update_cc): Remove bogus pentium GCC code.
Fix x86 codegen bug exposed by latest glibc.

From-SVN: r17150

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

index 4a41846bde24eb57fd1845c0eef5774ddc0a9321..917e3e2c23c66bfafb18747e78aceffee77fef6a 100644 (file)
@@ -1,3 +1,7 @@
+Fri Dec 19 09:50:30 1997  Bernd Schmidt <crux@ohara.Informatik.RWTH-Aachen.DE>
+
+       * i386.c (notice_update_cc): Remove bogus pentium GCC code.
+
 Fri Dec 19 09:39:48 1997  Jeffrey A Law  (law@cygnus.com)
 
        * stmt.c (warn_if_unused_value): Don't warn for TRY_CATCH_EXPR.
index fafdabc91b4ef589a02b89dee26b405c96e958d8..cda52fad9711479956bbb94519f527d123af680a 100644 (file)
@@ -3385,16 +3385,7 @@ notice_update_cc (exp)
       /* Jumps do not alter the cc's.  */
       if (SET_DEST (exp) == pc_rtx)
        return;
-#ifdef IS_STACK_MODE
-      /* Moving into a memory of stack_mode may have been moved
-         in between the use and set of cc0 by loop_spl(). So
-         old value of cc.status must be retained */
-      if(GET_CODE(SET_DEST(exp))==MEM 
-         && IS_STACK_MODE(GET_MODE(SET_DEST(exp))))
-        {
-          return;
-        }
-#endif
+
       /* Moving register or memory into a register:
         it doesn't alter the cc's, but it might invalidate
         the RTX's which we remember the cc's came from.