OSDN Git Service

* cp-tree.h (DECL_LANG_FLAG_4): Document more uses.
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 26 Nov 2002 17:40:56 +0000 (17:40 +0000)
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 26 Nov 2002 17:40:56 +0000 (17:40 +0000)
(template_parms_equal): Remove prototype.
* typeck.c (buuld_indirect_ref): Reformat.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59528 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 5557d2b..bd596d5 100644 (file)
@@ -1,3 +1,9 @@
+2002-11-26  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * cp-tree.h (DECL_LANG_FLAG_4): Document more uses.
+       (template_parms_equal): Remove prototype.
+       * typeck.c (buuld_indirect_ref): Reformat.
+
 2002-11-25  Mark Mitchell  <mark@codesourcery.com>
 
        * tree.c (cp_build_qualified_type_real): Correct handling of
@@ -7611,7 +7617,7 @@ Sun Feb  4 15:52:44 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
        (cp_make_fname_decl): Use size_int, not build_int_2.
        (push_inline_template_parms_recursive): Likewise.
        (end_template_parm_list): Likewise.
-       (for_each_tempalte_parm): Do not use walk_tree_without_duplicates.
+       (for_each_template_parm): Do not use walk_tree_without_duplicates.
        (tsubst_template_parms): Use size_int, not build_int_2.
        (tsubst): Likewise.
        * rtti.c (get_vmi_pseudo_type_info): Likewise.
index 262f6a1..db2f082 100644 (file)
@@ -101,6 +101,7 @@ struct diagnostic_context;
       DECL_IMPLICIT_TYPEDEF_P (in a TYPE_DECL)
    3: DECL_IN_AGGR_P.
    4: DECL_C_BIT_FIELD (in a FIELD_DECL)
+      DECL_MAYBE_TEMPLATE (in a FUNCTION_DECL)
    5: DECL_INTERFACE_KNOWN.
    6: DECL_THIS_STATIC (in VAR_DECL or FUNCTION_DECL).
    7: DECL_DEAD_FOR_LOCAL (in VAR_DECL).
@@ -4001,7 +4002,6 @@ extern int push_tinst_level                       PARAMS ((tree));
 extern void pop_tinst_level                    PARAMS ((void));
 extern int more_specialized_class              PARAMS ((tree, tree));
 extern int is_member_template                   PARAMS ((tree));
-extern int template_parms_equal                 PARAMS ((tree, tree));
 extern int comp_template_parms                  PARAMS ((tree, tree));
 extern int template_class_depth                 PARAMS ((tree));
 extern int is_specialization_of                 PARAMS ((tree, tree));
index c0e3fa6..1366ea0 100644 (file)
@@ -2327,8 +2327,8 @@ build_indirect_ref (ptr, errorstring)
           return error_mark_node;
         }
       else if (TREE_CODE (pointer) == ADDR_EXPR
-         && !flag_volatile
-         && same_type_p (t, TREE_TYPE (TREE_OPERAND (pointer, 0))))
+              && !flag_volatile
+              && same_type_p (t, TREE_TYPE (TREE_OPERAND (pointer, 0))))
        /* The POINTER was something like `&x'.  We simplify `*&x' to
           `x'.  */
        return TREE_OPERAND (pointer, 0);