pt.c (tsubst_decl, [...]): Clear DECL_SAVED_TREE.
authorJason Merrill <jason@redhat.com>
Thu, 22 Jun 2000 20:54:48 +0000 (16:54 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 22 Jun 2000 20:54:48 +0000 (16:54 -0400)
commit655dc6eebfd39f08c7887a55a7c0895ac5e44b6e
treea9d13ba02c4103d59a41ecf0eaa05e6157457e33
parentbe05b708246e30cb94ee4df510b07bb0a70e9469
pt.c (tsubst_decl, [...]): Clear DECL_SAVED_TREE.

        * pt.c (tsubst_decl, case FUNCTION_DECL): Clear DECL_SAVED_TREE.
        (tsubst_friend_function): Copy it here.

        * decl.c (grok_op_properties): Fix typo.

        * decl2.c (delete_sanity): Clarify warning, avoid failure on
        deleting void*.

        * pt.c (check_explicit_specialization): Clarify error.

        * decl.c (pushdecl): Also pull out one of the FUNCTION_DECLs from
        an old OVERLOAD when we're declaring a non-function.
        (pushdecl, destroy_local_var): Check for error_mark_node.
        (warn_extern_redeclared_static): Also bail early if
        we're a CONST_DECL.
        (push_overloaded_decl): Ignore an old error_mark_node.

From-SVN: r34652
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/cp/decl2.c
gcc/cp/pt.c