From: Steven Bosscher Date: Mon, 20 Sep 2004 21:03:56 +0000 (+0000) Subject: lex.c (cxx_init): Don't set the ridpointer for RID_NULL to null_node. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d3907cc356db67b3596f502dff7aa6e19d9260f7;p=gcc.git lex.c (cxx_init): Don't set the ridpointer for RID_NULL to null_node. * lex.c (cxx_init): Don't set the ridpointer for RID_NULL to null_node. From-SVN: r87774 --- diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index c94a8ccc653..be682bc06a8 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,8 @@ +2004-09-20 Steven Bosscher + + * lex.c (cxx_init): Don't set the ridpointer for RID_NULL + to null_node. + 2004-09-19 Mark Mitchell * decl2.c (determine_visibility): Allow class visibility diff --git a/gcc/cp/lex.c b/gcc/cp/lex.c index c7b1cf6e12f..8ae7e18a30f 100644 --- a/gcc/cp/lex.c +++ b/gcc/cp/lex.c @@ -352,7 +352,6 @@ cxx_init (void) not shared. */ null_node = make_node (INTEGER_CST); TREE_TYPE (null_node) = c_common_type_for_size (POINTER_SIZE, 0); - ridpointers[RID_NULL] = null_node; /* The fact that G++ uses COMDAT for many entities (inline functions, template instantiations, virtual tables, etc.) mean