diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 0b2de7208fe4a3673d1a9339ff8bc4e641a7f0bc..75d599df912cc1829b44d30ff33f640f681fbe96 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2002-06-28  Aaron Lehmann  <aaronl@vitelus.com>
+
+        * fold-cont.c: Remove unused CHARMASK.
+
 2002-06-29  Neil Booth  <neil@daikokuya.co.uk>
 
 	PR preprocessor/7150
diff --git a/gcc/fold-const.c b/gcc/fold-const.c
index f9f3a64943363adb4121d8672a0f20fb2ce53745..72266c5ed773e69405909840740cca7271f7078e 100644
--- a/gcc/fold-const.c
+++ b/gcc/fold-const.c
@@ -110,13 +110,6 @@ static tree fold_binary_op_with_conditional_arg
   PARAMS ((enum tree_code, tree, tree, tree, int));
 static bool fold_real_zero_addition_p	PARAMS ((tree, tree, int));
 
-#if defined(HOST_EBCDIC)
-/* bit 8 is significant in EBCDIC */
-#define CHARMASK 0xff
-#else
-#define CHARMASK 0x7f
-#endif
-
 /* The following constants represent a bit based encoding of GCC's
    comparison operators.  This encoding simplifies transformations
    on relational comparison operators, such as AND and OR.  */