]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
cp-tree.h (TI_SPEC_INFO): Remove.
authorMark Mitchell <mark@codesourcery.com>
Wed, 22 Mar 2000 00:50:51 +0000 (00:50 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Wed, 22 Mar 2000 00:50:51 +0000 (00:50 +0000)
* cp-tree.h (TI_SPEC_INFO): Remove.
(CLASSTYPE_TI_SPEC_INFO): Likewise.
* pt.c (process_partial_specialization): Likewise.

From-SVN: r32678

gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/pt.c

index 1a0029333ccd1d98dd7325f8b68aa6f32940cd3c..d8d2507d99732f10f6d0a631b67b75b64fddb4e7 100644 (file)
@@ -1,5 +1,9 @@
 2000-03-21  Mark Mitchell  <mark@codesourcery.com>
 
+       * cp-tree.h (TI_SPEC_INFO): Remove.
+       (CLASSTYPE_TI_SPEC_INFO): Likewise.
+       * pt.c (process_partial_specialization): Likewise.
+
        * class.c (build_base_field): Fix thinko in computation of binfo
        offsets.
 
index abf072ceadd2e7db60084ad5581f679f6489b6eb..f9ee2fb301de79beb4dae8835363b222d1a1f7ce 100644 (file)
@@ -2139,7 +2139,6 @@ struct lang_decl
 
 #define TI_TEMPLATE(NODE) (TREE_PURPOSE (NODE))
 #define TI_ARGS(NODE) (TREE_VALUE (NODE))
-#define TI_SPEC_INFO(NODE) (TREE_CHAIN (NODE))
 #define TI_PENDING_TEMPLATE_FLAG(NODE) TREE_LANG_FLAG_1 (NODE)
 
 /* We use TREE_VECs to hold template arguments.  If there is only one
@@ -2230,7 +2229,6 @@ struct lang_decl
 #define DECL_TI_ARGS(NODE)          TI_ARGS (DECL_TEMPLATE_INFO (NODE))
 #define CLASSTYPE_TI_TEMPLATE(NODE) TI_TEMPLATE (CLASSTYPE_TEMPLATE_INFO (NODE))
 #define CLASSTYPE_TI_ARGS(NODE)     TI_ARGS (CLASSTYPE_TEMPLATE_INFO (NODE))
-#define CLASSTYPE_TI_SPEC_INFO(NODE) TI_SPEC_INFO (CLASSTYPE_TEMPLATE_INFO (NODE))
 #define ENUM_TI_TEMPLATE(NODE)                         \
   TI_TEMPLATE (ENUM_TEMPLATE_INFO (NODE))
 #define ENUM_TI_ARGS(NODE)                     \
index abb9539439d607ead6cc66dedb7d03a95ad51bd5..d4da8b2426e8ef5417be93c38294aad1a4d0da36 100644 (file)
@@ -2183,7 +2183,7 @@ process_partial_specialization (decl)
     /* We've already got this specialization.  */
     return decl;
 
-  DECL_TEMPLATE_SPECIALIZATIONS (maintmpl) = CLASSTYPE_TI_SPEC_INFO (type)
+  DECL_TEMPLATE_SPECIALIZATIONS (maintmpl)
     = tree_cons (inner_args, inner_parms,
                 DECL_TEMPLATE_SPECIALIZATIONS (maintmpl));
   TREE_TYPE (DECL_TEMPLATE_SPECIALIZATIONS (maintmpl)) = type;