search.c (lookup_field_r): Set the TREE_TYPE of an ambiguous lookup to error_mark_nod...
authorMark Mitchell <mark@codesourcery.com>
Mon, 3 May 1999 15:08:33 +0000 (15:08 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Mon, 3 May 1999 15:08:33 +0000 (15:08 +0000)
commitaa65d1a2adda3ca65e8e4e71295074b3ad647c65
tree4f8d68559a4ca64c60ede627fb30d919f290f50c
parent2f8ec491ba5250824d0375d8b8e488c2cd689764
search.c (lookup_field_r): Set the TREE_TYPE of an ambiguous lookup to error_mark_node here.

* search.c (lookup_field_r): Set the TREE_TYPE of an ambiguous
lookup to error_mark_node here.
(lookup_member): Revise documentation.  Add comments.  Don't set
the TREE_TYPE to error_mark_node here, and don't build up an extra
TREE_LIST for ambiguous lookups.
(setup_class_bindings): Adjust accordingly.
(push_class_decls): Revise out-of-date comments.

From-SVN: r26754
gcc/cp/ChangeLog
gcc/cp/search.c
gcc/testsuite/g++.old-deja/g++.pt/typedef4.C [new file with mode: 0644]