projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb3eb6f
)
(arith_reg_operand): Disallow MACH_REG and MACL_REG.
author
Jim Wilson
<wilson@gcc.gnu.org>
Wed, 23 Nov 1994 19:25:55 +0000
(11:25 -0800)
committer
Jim Wilson
<wilson@gcc.gnu.org>
Wed, 23 Nov 1994 19:25:55 +0000
(11:25 -0800)
From-SVN: r8556
gcc/config/sh/sh.c
patch
|
blob
|
history
diff --git
a/gcc/config/sh/sh.c
b/gcc/config/sh/sh.c
index dcb845d8203f1678c475ee5824e077c8becbfafb..8874bb24e32aea6baadf49f03f47f4c8f9af4553 100644
(file)
--- 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;