aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/cp-cilkplus.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cp/cp-cilkplus.c')
-rw-r--r--gcc/cp/cp-cilkplus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/cp-cilkplus.c b/gcc/cp/cp-cilkplus.c
index f3a2aff..daa9b8e 100644
--- a/gcc/cp/cp-cilkplus.c
+++ b/gcc/cp/cp-cilkplus.c
@@ -118,7 +118,7 @@ cilk_install_body_with_frame_cleanup (tree fndecl, tree orig_body, void *wd)
tree dtor = create_cilk_function_exit (frame, false, false);
add_local_decl (cfun, frame);
- cfun->language = ggc_alloc_cleared_language_function ();
+ cfun->language = ggc_cleared_alloc<language_function> ();
location_t loc = EXPR_LOCATION (orig_body);
tree list = alloc_stmt_list ();