From 66e07510bbbbecfc673b3a3e6612eccf97b1dabd Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Thu, 15 Jan 2004 09:37:34 +0000 Subject: [PATCH] re PR bootstrap/13562 (bootstrap failure on m68k-linux) PR bootstrap/13562 * config/m68k/m68k.c (output_move_const_into_data_reg): Clear cc status for NOTB/NOTW/NEGW methods. From-SVN: r75909 --- gcc/ChangeLog | 6 ++++++ gcc/config/m68k/m68k.c | 5 ++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1cd9b4bccc3..4ff092af2e5 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +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-01-15 Kazu Hirata * doc/invoke.texi: Update dump file names. Fix a typo. diff --git a/gcc/config/m68k/m68k.c b/gcc/config/m68k/m68k.c index c6271a54bdb..210c63ad639 100644 --- a/gcc/config/m68k/m68k.c +++ b/gcc/config/m68k/m68k.c @@ -1,5 +1,5 @@ /* Subroutines for insn-output.c for Motorola 68000 family. - Copyright (C) 1987, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2003 + Copyright (C) 1987, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004 Free Software Foundation, Inc. This file is part of GCC. @@ -1677,12 +1677,15 @@ output_move_const_into_data_reg (rtx *operands) case MOVQ : return "moveq %1,%0"; case NOTB : + CC_STATUS_INIT; operands[1] = GEN_INT (i ^ 0xff); return "moveq %1,%0\n\tnot%.b %0"; case NOTW : + CC_STATUS_INIT; operands[1] = GEN_INT (i ^ 0xffff); return "moveq %1,%0\n\tnot%.w %0"; case NEGW : + CC_STATUS_INIT; return "moveq %#-128,%0\n\tneg%.w %0"; case SWAP : { -- 2.30.2