summaryrefslogtreecommitdiff
path: root/gcc/cp/lex.c
diff options
context:
space:
mode:
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>2004-07-15 03:10:26 +0000
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>2004-07-15 03:10:26 +0000
commit7a252450a987ac114fe9bb0467f8cb5480803de7 (patch)
tree70da52977d9ff59e7ab7100706b77d198ac272d4 /gcc/cp/lex.c
parent50fd5552a2b8eab502f23f0797d714c8571dc80d (diff)
downloadgcc-7a252450a987ac114fe9bb0467f8cb5480803de7.tar.gz
* lex.c (cxx_make_type): Remove call to get_pointer_type.
(set_inherited_value_binding_p): Add class_type parameter. (get_class_binding): Adjust. (push_class_level_binding): Don't use set_inherited_value_binding_p. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@84741 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/lex.c')
-rw-r--r--gcc/cp/lex.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/gcc/cp/lex.c b/gcc/cp/lex.c
index 4b3ba7ac93f..6c2eef9317b 100644
--- a/gcc/cp/lex.c
+++ b/gcc/cp/lex.c
@@ -777,11 +777,6 @@ cxx_make_type (enum tree_code code)
{
SET_CLASSTYPE_INTERFACE_UNKNOWN_X (t, interface_unknown);
CLASSTYPE_INTERFACE_ONLY (t) = interface_only;
-
- /* Make sure this is laid out, for ease of use later. In the
- presence of parse errors, the normal was of assuring this
- might not ever get executed, so we lay it out *immediately*. */
- build_pointer_type (t);
}
else
/* We use TYPE_ALIAS_SET for the CLASSTYPE_MARKED bits. But,