* pt.c (mark_decl_instantiated): Don't call defer_fn.
authorGeoffrey Keating <geoffk@apple.com>
Wed, 16 Jun 2004 22:07:03 +0000 (22:07 +0000)
committerGeoffrey Keating <geoffk@gcc.gnu.org>
Wed, 16 Jun 2004 22:07:03 +0000 (22:07 +0000)
From-SVN: r83267

gcc/cp/ChangeLog
gcc/cp/pt.c

index 73aec988d993d80d80f04b1206da5bd61eb4d476..309ef0286a49d1eddfff031a614befdc2cbdb512 100644 (file)
@@ -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.
index 57fb87156d866e74729f5253652a2cbe69190093..c174426908de823735dbab9f1709f0c3c0571e78 100644 (file)
@@ -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: