diff options
author | steven <steven@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-09-20 21:03:56 +0000 |
---|---|---|
committer | steven <steven@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-09-20 21:03:56 +0000 |
commit | 0ee14aba4f213a5201c55c38aeb13e4cab496282 (patch) | |
tree | f76eb9209e59a0e642de979b86ed9bf5ee05975d /gcc/cp | |
parent | 03ce66517e438773af887bd8375cfcc03caf2a0b (diff) | |
download | gcc-0ee14aba4f213a5201c55c38aeb13e4cab496282.tar.gz |
* lex.c (cxx_init): Don't set the ridpointer for RID_NULL
to null_node.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87774 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp')
-rw-r--r-- | gcc/cp/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/cp/lex.c | 1 |
2 files changed, 5 insertions, 1 deletions
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 <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 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 |