From b757e352816a7880ec42011666c5c7b33d6b7f4e Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Mon, 15 Apr 1996 08:21:56 -0400 Subject: [PATCH] (notice_update_cc, case ASHIFT{,RT}, LSHIFTRT, ROTATE{,RT}): Don't set CC_NO_OVERFLOW. From-SVN: r11785 --- gcc/config/m68k/m68k.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gcc/config/m68k/m68k.c b/gcc/config/m68k/m68k.c index 8da249d88c1..9dc952aa376 100644 --- a/gcc/config/m68k/m68k.c +++ b/gcc/config/m68k/m68k.c @@ -1675,8 +1675,10 @@ notice_update_cc (exp, insn) { case PLUS: case MINUS: case MULT: case DIV: case UDIV: case MOD: case UMOD: case NEG: +#if 0 /* These instructions always clear the overflow bit */ case ASHIFT: case ASHIFTRT: case LSHIFTRT: case ROTATE: case ROTATERT: +#endif if (GET_MODE (cc_status.value2) != VOIDmode) cc_status.flags |= CC_NO_OVERFLOW; break;