From: Matthias Klose Date: Mon, 29 Mar 2004 19:03:24 +0000 (+0000) Subject: backport: re PR bootstrap/13562 (bootstrap failure on m68k-linux) X-Git-Tag: releases/gcc-3.3.4~118 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a2b5ec5e5109fd68f3e4ff24004f894e60e61c8e;p=thirdparty%2Fgcc.git backport: re PR bootstrap/13562 (bootstrap failure on m68k-linux) 2004-03-29 Matthias Klose Backport: 2004-01-15 Andreas Schwab PR bootstrap/13562 * config/m68k/m68k.c (output_move_const_into_data_reg): Clear cc status for NOTB/NOTW/NEGW methods. From-SVN: r80063 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 73188c2ce3e6..71ca1457cc55 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,12 @@ +2004-03-29 Matthias Klose + + Backport: + 2004-01-15 Andreas Schwab + + 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 PR 14219 diff --git a/gcc/config/m68k/m68k.c b/gcc/config/m68k/m68k.c index 694162dd3d63..8c19b5e7bd48 100644 --- a/gcc/config/m68k/m68k.c +++ b/gcc/config/m68k/m68k.c @@ -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