aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorBrendan Kehoe <brendan@gcc.gnu.org>1994-09-27 18:26:24 -0400
committerBrendan Kehoe <brendan@gcc.gnu.org>1994-09-27 18:26:24 -0400
commit5b065c2142e716bad47cacb9d710a1243491d796 (patch)
tree6f3180c276aa754864e569a32eaff082fd4acfa4 /gcc
parentad912eec58fc79b4f500a1a1f94a6bd6b816988c (diff)
downloadgcc-5b065c2142e716bad47cacb9d710a1243491d796.zip
gcc-5b065c2142e716bad47cacb9d710a1243491d796.tar.gz
gcc-5b065c2142e716bad47cacb9d710a1243491d796.tar.bz2
revert previous change
From-SVN: r8145
Diffstat (limited to 'gcc')
-rw-r--r--gcc/cp/ChangeLog5
-rw-r--r--gcc/cp/search.c4
2 files changed, 0 insertions, 9 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 286c8cc..2515e5c 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,8 +1,3 @@
-Tue Sep 27 10:18:57 1994 Brendan Kehoe (brendan@lisa.cygnus.com)
-
- * search.c (lookup_field): Return a NULL_TREE if XBASETYPE is
- itself null.
-
Wed Sep 14 10:17:27 1994 Michael I Bushnell <mib@churchy.gnu.ai.mit.edu>
* g++.c: Include <sys/errno.h> in case `errno' is a macro
diff --git a/gcc/cp/search.c b/gcc/cp/search.c
index bd4f043..6623ab4 100644
--- a/gcc/cp/search.c
+++ b/gcc/cp/search.c
@@ -1031,10 +1031,6 @@ lookup_field (xbasetype, name, protect, want_type)
accurate error messages for access control. */
int index = MEMOIZED_HASH_FN (name);
- /* We sometimes go looking with XBASETYPE pre-set to null. */
- if (xbasetype == NULL_TREE)
- return NULL_TREE;
-
/* If we are looking for a constructor in a templated type, use the
unspecialized name, as that is how we store it. */
if (IDENTIFIER_TEMPLATE (name))