Commit 15c577a8 by Richard Kenner

(left_shift_overflows): Remove; unused.

From-SVN: r11021
parent 3298a1b1
......@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment