summaryrefslogtreecommitdiff
path: root/gcc/config/m68k
diff options
context:
space:
mode:
authorschwab <schwab@138bc75d-0d04-0410-961f-82ee72b054a4>2004-01-15 09:37:34 +0000
committerschwab <schwab@138bc75d-0d04-0410-961f-82ee72b054a4>2004-01-15 09:37:34 +0000
commit1f24a83f17a925c9cfb4039614363451f01be9cc (patch)
treeab386843f334d347b021b907b1e8f8f8a4c56609 /gcc/config/m68k
parentfa6735a1337288fe6cb08e7af17d1c408f520b46 (diff)
downloadgcc-1f24a83f17a925c9cfb4039614363451f01be9cc.tar.gz
PR bootstrap/13562
* config/m68k/m68k.c (output_move_const_into_data_reg): Clear cc status for NOTB/NOTW/NEGW methods. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75909 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/m68k')
-rw-r--r--gcc/config/m68k/m68k.c5
1 files changed, 4 insertions, 1 deletions
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 :
{