From: Jim Wilson Date: Wed, 23 Nov 1994 19:25:55 +0000 (-0800) Subject: (arith_reg_operand): Disallow MACH_REG and MACL_REG. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=07c109c894812762d2e4fc1f07ae82ed80008a3e;p=gcc.git (arith_reg_operand): Disallow MACH_REG and MACL_REG. From-SVN: r8556 --- diff --git a/gcc/config/sh/sh.c b/gcc/config/sh/sh.c index dcb845d8203..8874bb24e32 100644 --- a/gcc/config/sh/sh.c +++ b/gcc/config/sh/sh.c @@ -2365,7 +2365,9 @@ arith_reg_operand (op, mode) { if (GET_CODE (op) == REG) return (REGNO (op) != T_REG - && REGNO (op) != PR_REG); + && REGNO (op) != PR_REG + && REGNO (op) != MACH_REG + && REGNO (op) != MACL_REG); return 1; } return 0;