lex.c (cxx_make_type): Remove call to get_pointer_type.
authorMark Mitchell <mark@codesourcery.com>
Thu, 15 Jul 2004 03:10:26 +0000 (03:10 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Thu, 15 Jul 2004 03:10:26 +0000 (03:10 +0000)
* 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

gcc/cp/ChangeLog
gcc/cp/lex.c

index df264d901e752b2a3bb8e2dc61b6ab95c2e53c68..f95168a408f80cf032b161a5ced7083b4fa110d5 100644 (file)
@@ -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.
index 4b3ba7ac93f6f38b5e397f09e2f4a4b0b252b916..6c2eef9317bc672cc28955b06782faa016ab1ab2 100644 (file)
@@ -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,