From 9afabe903210e1a00b4dd99f830807e24a4c94a4 Mon Sep 17 00:00:00 2001 From: geoffk Date: Wed, 16 Jun 2004 22:07:03 +0000 Subject: [PATCH] * pt.c (mark_decl_instantiated): Don't call defer_fn. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83267 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/cp/ChangeLog | 4 ++++ gcc/cp/pt.c | 5 ----- 2 files changed, 4 insertions(+), 5 deletions(-) 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: -- 2.11.4.GIT