diff options
author | Jim Wilson <wilson@gcc.gnu.org> | 1994-11-23 11:25:55 -0800 |
---|---|---|
committer | Jim Wilson <wilson@gcc.gnu.org> | 1994-11-23 11:25:55 -0800 |
commit | 07c109c894812762d2e4fc1f07ae82ed80008a3e (patch) | |
tree | 95b8ba820a9686bba821a868b72bcb8b558505db | |
parent | fb3eb6f6b5e4cb4d997718a3643a7df718b06a8c (diff) | |
download | gcc-07c109c894812762d2e4fc1f07ae82ed80008a3e.zip gcc-07c109c894812762d2e4fc1f07ae82ed80008a3e.tar.gz gcc-07c109c894812762d2e4fc1f07ae82ed80008a3e.tar.bz2 |
(arith_reg_operand): Disallow MACH_REG and MACL_REG.
From-SVN: r8556
-rw-r--r-- | gcc/config/sh/sh.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/config/sh/sh.c b/gcc/config/sh/sh.c index dcb845d..8874bb2 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; |