From: Geoffrey Keating Date: Wed, 16 Jun 2004 22:07:03 +0000 (+0000) Subject: * pt.c (mark_decl_instantiated): Don't call defer_fn. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=18cf0da278ff255a2f60a1ed2bef3cece298ab05;p=gcc.git * pt.c (mark_decl_instantiated): Don't call defer_fn. From-SVN: r83267 --- diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 73aec988d99..309ef0286a4 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +2004-06-16 Geoffrey Keating + + * pt.c (mark_decl_instantiated): Don't call defer_fn. + 2004-06-16 Richard Henderson * parser.c (cp_parser_labeled_statement): Update commentary. diff --git a/gcc/cp/pt.c b/gcc/cp/pt.c index 57fb87156d8..c174426908d 100644 --- a/gcc/cp/pt.c +++ b/gcc/cp/pt.c @@ -10157,11 +10157,6 @@ mark_decl_instantiated (tree result, int extern_p) else if (TREE_PUBLIC (result)) maybe_make_one_only (result); } - - if (TREE_CODE (result) == FUNCTION_DECL - && (DECL_ARTIFICIAL (result) - || (DECL_DECLARED_INLINE_P (result) && TREE_USED (result)))) - defer_fn (result); } /* Given two function templates PAT1 and PAT2, return: