diff options
author | Mark Mitchell <mark@codesourcery.com> | 2004-07-15 03:10:26 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 2004-07-15 03:10:26 +0000 |
commit | cc5e9f5a4c9d096ecd1516088eeb92e1c3473575 (patch) | |
tree | 70da52977d9ff59e7ab7100706b77d198ac272d4 | |
parent | cd9dd3eec8dc91a5943a2107b447f0e106ad0875 (diff) | |
download | gcc-cc5e9f5a4c9d096ecd1516088eeb92e1c3473575.zip gcc-cc5e9f5a4c9d096ecd1516088eeb92e1c3473575.tar.gz gcc-cc5e9f5a4c9d096ecd1516088eeb92e1c3473575.tar.bz2 |
lex.c (cxx_make_type): Remove call to get_pointer_type.
* 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.
From-SVN: r84741
-rw-r--r-- | gcc/cp/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/cp/lex.c | 5 |
2 files changed, 5 insertions, 5 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index df264d9..f95168a 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,5 +1,10 @@ 2004-07-14 Mark Mitchell <mark@codesourcery.com> + * 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. + * cp-tree.h (IDENTIFIER_VALUE): Remove. (BINFO_PUSHDECLS_MARKED): Likewise. (maybe_inject_for_scope_var): Likewise. diff --git a/gcc/cp/lex.c b/gcc/cp/lex.c index 4b3ba7a..6c2eef9 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, |