aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/pt.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cp/pt.c')
-rw-r--r--gcc/cp/pt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/pt.c b/gcc/cp/pt.c
index 2d80847..43fc5ab 100644
--- a/gcc/cp/pt.c
+++ b/gcc/cp/pt.c
@@ -10942,7 +10942,7 @@ instantiate_decl (tree d, int defer_ok)
/* Finish the function. */
d = finish_function (0);
- expand_body (d);
+ expand_or_defer_fn (d);
}
/* We're not deferring instantiation any more. */