projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3298a1b
)
(left_shift_overflows): Remove; unused.
author
Richard Kenner
<kenner@gcc.gnu.org>
Tue, 16 Jan 1996 13:56:11 +0000
(08:56 -0500)
committer
Richard Kenner
<kenner@gcc.gnu.org>
Tue, 16 Jan 1996 13:56:11 +0000
(08:56 -0500)
From-SVN: r11021
gcc/fold-const.c
patch
|
blob
|
history
diff --git
a/gcc/fold-const.c
b/gcc/fold-const.c
index
1c51ba8
..
e4cf9e6
100644
(file)
--- a/
gcc/fold-const.c
+++ b/
gcc/fold-const.c
@@
-84,9
+84,6
@@
static tree strip_compound_expr PROTO((tree, tree));
#define BRANCH_COST 1
#endif
-/* Yield nonzero if a signed left shift of A by B bits overflows. */
-#define left_shift_overflows(a, b) ((a) != ((a) << (b)) >> (b))
-
/* Suppose A1 + B1 = SUM1, using 2's complement arithmetic ignoring overflow.
Suppose A, B and SUM have the same respective signs as A1, B1, and SUM1.
Then this yields nonzero if overflow occurred during the addition.