diff options
author | Nathan Sidwell <nathan@codesourcery.com> | 2004-12-22 22:06:35 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@gcc.gnu.org> | 2004-12-22 22:06:35 +0000 |
commit | 938802033e97eb1c384ddabf8f9f2065632d02a4 (patch) | |
tree | d3c41d1fad0a4d7bc84d1e78f14516a820e2e648 /gcc/system.h | |
parent | 5e001b48afe2374f1f63b01e01fb6e308f0365ed (diff) | |
download | gcc-938802033e97eb1c384ddabf8f9f2065632d02a4.zip gcc-938802033e97eb1c384ddabf8f9f2065632d02a4.tar.gz gcc-938802033e97eb1c384ddabf8f9f2065632d02a4.tar.bz2 |
system.h (IN_RANGE): Restore HOST_WIDE_INT cast.
* system.h (IN_RANGE): Restore HOST_WIDE_INT cast.
* tree.h (IS_EXPR_CODE_CLASS): Do not use IN_RANGE.
From-SVN: r92511
Diffstat (limited to 'gcc/system.h')
-rw-r--r-- | gcc/system.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/system.h b/gcc/system.h index 0efd414..676869e 100644 --- a/gcc/system.h +++ b/gcc/system.h @@ -179,7 +179,7 @@ extern int errno; UPPER. However the bounds themselves can be either positive or negative. */ #define IN_RANGE(VALUE, LOWER, UPPER) \ - ((unsigned)((VALUE) - (LOWER)) <= ((UPPER) - (LOWER))) + ((unsigned HOST_WIDE_INT)((VALUE) - (LOWER)) <= ((UPPER) - (LOWER))) /* Infrastructure for defining missing _MAX and _MIN macros. Note that macros defined with these cannot be used in #if. */ |