(build_index_type): Leave TYPE_MAX_VALUE as -1 if it was;
authorRichard Stallman <rms@gnu.org>
Thu, 31 Dec 1992 08:32:47 +0000 (08:32 +0000)
committerRichard Stallman <rms@gnu.org>
Thu, 31 Dec 1992 08:32:47 +0000 (08:32 +0000)
commitcdc5a032d9dd6e37b1f7678897199dc13a7d6ea0
tree13a0ea447ddc2c1304796c0e1c6634d7eb577e66
parent7d27b36c31fd19c6a68d45466e32c31b74b8d842
(build_index_type): Leave TYPE_MAX_VALUE as -1 if it was;

don't truncate the high bits.

(size_in_bytes): Call force_fit_type with end result.
(int_size_in_bytes): Avoid overflow as long as result fits.
Return type is now unsigned int.

From-SVN: r3006
gcc/tree.c