aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorGeoffrey Keating <geoffk@apple.com>2004-06-16 22:07:03 +0000
committerGeoffrey Keating <geoffk@gcc.gnu.org>2004-06-16 22:07:03 +0000
commit18cf0da278ff255a2f60a1ed2bef3cece298ab05 (patch)
tree320c0bbf5d714db8bef548dd7c514a567f35b3b0 /gcc
parent5e04daf3171dcb6095a9ee91fe09bf5a70df43a0 (diff)
downloadgcc-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/ChangeLog4
-rw-r--r--gcc/cp/pt.c5
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: