diff options
author | Geoffrey Keating <geoffk@apple.com> | 2004-06-16 22:07:03 +0000 |
---|---|---|
committer | Geoffrey Keating <geoffk@gcc.gnu.org> | 2004-06-16 22:07:03 +0000 |
commit | 18cf0da278ff255a2f60a1ed2bef3cece298ab05 (patch) | |
tree | 320c0bbf5d714db8bef548dd7c514a567f35b3b0 /gcc | |
parent | 5e04daf3171dcb6095a9ee91fe09bf5a70df43a0 (diff) | |
download | gcc-18cf0da278ff255a2f60a1ed2bef3cece298ab05.zip gcc-18cf0da278ff255a2f60a1ed2bef3cece298ab05.tar.gz gcc-18cf0da278ff255a2f60a1ed2bef3cece298ab05.tar.bz2 |
* pt.c (mark_decl_instantiated): Don't call defer_fn.
From-SVN: r83267
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/cp/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/cp/pt.c | 5 |
2 files changed, 4 insertions, 5 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 73aec98..309ef02 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +2004-06-16 Geoffrey Keating <geoffk@apple.com> + + * pt.c (mark_decl_instantiated): Don't call defer_fn. + 2004-06-16 Richard Henderson <rth@redhat.com> * parser.c (cp_parser_labeled_statement): Update commentary. diff --git a/gcc/cp/pt.c b/gcc/cp/pt.c index 57fb871..c174426 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: |