]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
backport: re PR bootstrap/13562 (bootstrap failure on m68k-linux)
authorMatthias Klose <doko@debian.org>
Mon, 29 Mar 2004 19:03:24 +0000 (19:03 +0000)
committerMatthias Klose <doko@gcc.gnu.org>
Mon, 29 Mar 2004 19:03:24 +0000 (19:03 +0000)
2004-03-29  Matthias Klose  <doko@debian.org>

        Backport:
        2004-01-15  Andreas Schwab  <schwab@suse.de>

        PR bootstrap/13562
        * config/m68k/m68k.c (output_move_const_into_data_reg): Clear cc
        status for NOTB/NOTW/NEGW methods.

From-SVN: r80063

gcc/ChangeLog
gcc/config/m68k/m68k.c

index 73188c2ce3e6fa9151839e53a085fded8610c314..71ca1457cc5525a3f45a00c877ad3e8bc0249576 100644 (file)
@@ -1,3 +1,12 @@
+2004-03-29  Matthias Klose  <doko@debian.org>
+
+       Backport:
+       2004-01-15  Andreas Schwab  <schwab@suse.de>
+       PR bootstrap/13562
+       * config/m68k/m68k.c (output_move_const_into_data_reg): Clear cc
+       status for NOTB/NOTW/NEGW methods.
+
 2004-03-29  Aldy Hernandez  <aldyh@redhat.com>
  
         PR 14219
index 694162dd3d63937fbe2dbb649ebbea6f72599212..8c19b5e7bd48fa25d3b00b3e805eda1a1d25f252 100644 (file)
@@ -1737,6 +1737,7 @@ output_move_const_into_data_reg (operands)
       return "moveq %1,%0";
 #endif
     case NOTB :
+      CC_STATUS_INIT;
       operands[1] = GEN_INT (i ^ 0xff);
 #if defined (MOTOROLA) && !defined (CRDS)
       return "moveq%.l %1,%0\n\tnot%.b %0";
@@ -1744,6 +1745,7 @@ output_move_const_into_data_reg (operands)
       return "moveq %1,%0\n\tnot%.b %0";
 #endif  
     case NOTW :
+      CC_STATUS_INIT;
       operands[1] = GEN_INT (i ^ 0xffff);
 #if defined (MOTOROLA) && !defined (CRDS)
       return "moveq%.l %1,%0\n\tnot%.w %0";
@@ -1751,6 +1753,7 @@ output_move_const_into_data_reg (operands)
       return "moveq %1,%0\n\tnot%.w %0";
 #endif  
     case NEGW :
+      CC_STATUS_INIT;
 #if defined (MOTOROLA) && !defined (CRDS)
       return "moveq%.l %#-128,%0\n\tneg%.w %0";
 #else