lex.c (cxx_init): Don't set the ridpointer for RID_NULL to null_node.
authorSteven Bosscher <stevenb@suse.de>
Mon, 20 Sep 2004 21:03:56 +0000 (21:03 +0000)
committerSteven Bosscher <steven@gcc.gnu.org>
Mon, 20 Sep 2004 21:03:56 +0000 (21:03 +0000)
* lex.c (cxx_init): Don't set the ridpointer for RID_NULL
to null_node.

From-SVN: r87774

gcc/cp/ChangeLog
gcc/cp/lex.c

index c94a8ccc653d1eb906129714964b482a6939805c..be682bc06a861b687413bfa9d0535e84f02d0371 100644 (file)
@@ -1,3 +1,8 @@
+2004-09-20  Steven Bosscher  <stevenb@suse.de>
+
+       * lex.c (cxx_init): Don't set the ridpointer for RID_NULL
+       to null_node.
+
 2004-09-19  Mark Mitchell  <mark@codesourcery.com>
 
        * decl2.c (determine_visibility): Allow class visibility
index c7b1cf6e12f4945fd1b798ddb6e0120dbafe7aa0..8ae7e18a30f06c7c7c0af8d9f4cdcda205316ce4 100644 (file)
@@ -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