aboutsummaryrefslogtreecommitdiff
path: root/gcc/fold-const.c
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1996-01-16 08:56:11 -0500
committerRichard Kenner <kenner@gcc.gnu.org>1996-01-16 08:56:11 -0500
commit15c577a80fc70c9e3db99925427d119a7b1da632 (patch)
treec208cbcee523f3096838174f8f27b3e1a77e0177 /gcc/fold-const.c
parent3298a1b11fc88045c41f4bcfa5d1e2205cceeb69 (diff)
downloadgcc-15c577a80fc70c9e3db99925427d119a7b1da632.zip
gcc-15c577a80fc70c9e3db99925427d119a7b1da632.tar.gz
gcc-15c577a80fc70c9e3db99925427d119a7b1da632.tar.bz2
(left_shift_overflows): Remove; unused.
From-SVN: r11021
Diffstat (limited to 'gcc/fold-const.c')
-rw-r--r--gcc/fold-const.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/gcc/fold-const.c b/gcc/fold-const.c
index 1c51ba8..e4cf9e6 100644
--- 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.