aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.c
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1992-09-13 17:36:33 +0000
committerRichard Stallman <rms@gnu.org>1992-09-13 17:36:33 +0000
commit4cf8de9f3eb5c333a2d73fa813e2cf0769b12b02 (patch)
tree1c312f669ad21b99b7383b829460e4c96311d1cd /gcc/tree.c
parent0bbb7f4d247de49a2a322c384acddd11337b2e71 (diff)
downloadgcc-4cf8de9f3eb5c333a2d73fa813e2cf0769b12b02.zip
gcc-4cf8de9f3eb5c333a2d73fa813e2cf0769b12b02.tar.gz
gcc-4cf8de9f3eb5c333a2d73fa813e2cf0769b12b02.tar.bz2
(exp): Detect signed integer overflow.
Replace `(unsigned)' with `(unsigned long)'. When evaluating << and >>, compute the correct answer without shifting by more than HOST_BITS_PER_LONG, or by a negative quantity. (integer_overflow, left_shift, right_shift): New functions. From-SVN: r2118
Diffstat (limited to 'gcc/tree.c')
0 files changed, 0 insertions, 0 deletions