projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03fbfef
)
(shift_value_ok): Can't shift by negative values.
author
Steve Chamberlain
<sac@gnu.org>
Mon, 10 May 1993 15:57:26 +0000
(15:57 +0000)
committer
Steve Chamberlain
<sac@gnu.org>
Mon, 10 May 1993 15:57:26 +0000
(15:57 +0000)
From-SVN: r4409
gcc/config/sh/sh.c
patch
|
blob
|
history
diff --git
a/gcc/config/sh/sh.c
b/gcc/config/sh/sh.c
index 07c82576f1fd67e79bb9b0549fd33d51f4fde1c1..6b3ec017d49f137960976f9c13c01b5c5bbd67e2 100644
(file)
--- a/
gcc/config/sh/sh.c
+++ b/
gcc/config/sh/sh.c
@@
-897,7
+897,7
@@
ok_shift_value (p)
return 1;
default:
if (TARGET_FASTCODE)
- return
1
;
+ return
INTVAL(p) >= 0
;
}
}
return 0;