aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorKazu Hirata <kazu@cs.umass.edu>2005-04-17 01:44:41 +0000
committerKazu Hirata <kazu@gcc.gnu.org>2005-04-17 01:44:41 +0000
commita5cb820a4940911d3d0cd75b966939f832ff0ff5 (patch)
treedafd6e12a6d03487debf7373e6320fc50e4018a1 /gcc
parent10dcf221829e724a85e850057a83f5784c8e341b (diff)
downloadgcc-a5cb820a4940911d3d0cd75b966939f832ff0ff5.zip
gcc-a5cb820a4940911d3d0cd75b966939f832ff0ff5.tar.gz
gcc-a5cb820a4940911d3d0cd75b966939f832ff0ff5.tar.bz2
* c-lex.c (WCHAR_TYPE_SIZE, WCHAR_BYTES): Remove.
From-SVN: r98245
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog2
-rw-r--r--gcc/c-lex.c6
2 files changed, 2 insertions, 6 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 57a83b9..ecb58e3 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -8,6 +8,8 @@
<GE_EXPR>: Pass op0 and op1 to fold_build2 to avoid creating
type mismatches.
+ * c-lex.c (WCHAR_TYPE_SIZE, WCHAR_BYTES): Remove.
+
2005-04-16 Richard Henderson <rth@redhat.com>
PR target/21051
diff --git a/gcc/c-lex.c b/gcc/c-lex.c
index d7d52a0..5e69536 100644
--- a/gcc/c-lex.c
+++ b/gcc/c-lex.c
@@ -46,12 +46,6 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
static int header_time, body_time;
static splay_tree file_info_tree;
-#undef WCHAR_TYPE_SIZE
-#define WCHAR_TYPE_SIZE TYPE_PRECISION (wchar_type_node)
-
-/* Number of bytes in a wide character. */
-#define WCHAR_BYTES (WCHAR_TYPE_SIZE / BITS_PER_UNIT)
-
int pending_lang_change; /* If we need to switch languages - C++ only */
int c_header_level; /* depth in C headers - C++ only */